* { box-sizing: border-box; font-family: "Microsoft YaHei", "Segoe UI", sans-serif; }
body { margin: 0; min-height: 100vh; background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); display: flex; justify-content: center; align-items: center; }
.login-container { width: 100%; max-width: 420px; background: #ffffff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); padding: 35px 30px 30px; }
.system-title { text-align: center; margin-bottom: 30px; }
.system-title h2 { margin: 0; font-size: 22px; color: #1e293b; }
.system-title p { margin-top: 6px; font-size: 13px; color: #64748b; }
label { font-size: 13px; color: #475569; margin-bottom: 6px; display: block; }
.input-group { position: relative; margin-bottom: 20px; }
.input-group input { width: 100%; padding: 12px 14px; font-size: 15px; border: 1px solid #cbd5e1; border-radius: 8px; transition: all .25s; }
.input-group input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); outline: none; }
.buttons { display: flex; gap: 12px; margin-top: 10px; }
button { flex: 1; padding: 12px 0; border-radius: 8px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: all .25s; }
button[type="submit"] { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; }
button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,.35); }
button[type="reset"] { background: #e5e7eb; color: #334155; }
button[type="reset"]:hover { background: #d1d5db; }
.footer { margin-top: 22px; text-align: center; }
.footer a { font-size: 13px; color: #64748b; text-decoration: none; }
.footer a:hover { color: #2563eb; text-decoration: underline; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none; justify-content: center; align-items: center; z-index: 999; }
.modal-content { width: 520px; max-width: 92%; background: #fff; border-radius: 12px; box-shadow: 0 25px 60px rgba(0,0,0,.35); animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.modal-header { padding: 16px 20px; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { margin: 0; font-size: 17px; color: #1e293b; }
.close { font-size: 22px; cursor: pointer; color: #94a3b8; }
.close:hover { color: #334155; }
.modal-body { padding: 18px 20px; font-size: 14px; color: #475569; line-height: 1.7; max-height: 320px; overflow-y: auto; }
.modal-body p { margin: 6px 0; }
.modal-footer { padding: 14px 20px; border-top: 1px solid #e5e7eb; text-align: right; }
.modal-footer button { padding: 8px 18px; border-radius: 6px; background: #2563eb; color: #fff; font-size: 14px; }