/* 登录页样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
.navbar {
  height: 52px; background: #1e3a5f; display: flex; align-items: center;
  padding: 0 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
}
.navbar-brand { font-size: 15px; font-weight: 700; color: #fff; }
body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d6a9f 100%);
  font-family: system-ui, -apple-system, sans-serif;
  padding-top: 52px; position: relative; overflow: hidden;
}
body::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.03); pointer-events: none;
}
body::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.025); pointer-events: none;
}
.bg-decor { position: absolute; pointer-events: none; z-index: 0; }
.bg-card {
  position: absolute; border-radius: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(2px); pointer-events: none; z-index: 0;
}
.card {
  background: #fff; border-radius: 12px; padding: 40px 36px;
  width: 360px; box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative; z-index: 1;
}
.logo { text-align: center; margin-bottom: 28px; }
.logo h1 { font-size: 20px; color: #1e3a5f; font-weight: 700; }
.logo p { font-size: 13px; color: #6b7280; margin-top: 4px; }
.form-group { margin-bottom: 18px; }
label { display: block; font-size: 13px; color: #374151; margin-bottom: 6px; font-weight: 500; }
input {
  width: 100%; padding: 10px 12px; border: 1px solid #d1d5db;
  border-radius: 7px; font-size: 14px; outline: none; transition: border-color 0.2s;
}
input:focus { border-color: #2d6a9f; box-shadow: 0 0 0 3px rgba(45,106,159,0.12); }
.error {
  background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626;
  border-radius: 7px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px;
}
.btn {
  width: 100%; padding: 11px; background: #2d6a9f; color: #fff; border: none;
  border-radius: 7px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background 0.2s; margin-top: 4px;
}
.btn:hover { background: #1e3a5f; }
.footer { text-align: center; margin-top: 20px; font-size: 13px; color: #6b7280; }
.footer a { color: #2d6a9f; text-decoration: none; font-weight: 500; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .card { width: 92%; max-width: 360px; padding: 28px 20px; }
  .bg-card { display: none; }
  .logo h1 { font-size: 18px; }
}
