/* Trang đăng nhập — tách từ LOGIN_TEMPLATE trong app_constants.py (19/09/2026).
   Chỉ dùng cho templates/login.html, không load ở trang khác. */
body {
  min-height: 100vh;
  background: linear-gradient(160deg, #1a1a1a 0%, #2a2a2a 60%, #1a1a1a 100%);
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.login-outer {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: #222222;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.65);
  overflow: hidden;
  border: 1px solid rgba(245,158,11,.25);
  border-top: 3px solid #F59E0B;
}
.login-header {
  background: #1a1a1a;
  padding: 32px 32px 28px;
  text-align: center;
  color: #fff;
  border-bottom: 1px solid rgba(245,158,11,.12);
}
.login-header .brand-icon {
  width: 64px;
  height: 64px;
  background: rgba(245,158,11,.15);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 14px;
  border: 2px solid rgba(245,158,11,.4);
  color: #F59E0B;
}
.login-header h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #fff;
}
.login-header h1 span { color: #F59E0B; }
.login-header p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.login-body {
  padding: 28px 32px 32px;
  background: #222222;
}
.login-body .form-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 6px;
}
.login-body .form-control {
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.1);
  background: #2e2e2e;
  color: #f9fafb;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.login-body .form-control::placeholder { color: rgba(255,255,255,.3); }
.back-intro {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 18px; padding: 10px; border-radius: 12px;
  text-decoration: none; font-size: 14px; font-weight: 600;
  color: rgba(245,158,11,.9); border: 1px solid rgba(245,158,11,.28);
  background: rgba(245,158,11,.06); transition: .15s;
}
.back-intro:hover { background: rgba(245,158,11,.14); color: #F59E0B; }
.login-body .form-control:focus {
  background: #2e2e2e;
  color: #f9fafb;
  border-color: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245,158,11,.18);
}
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap .bi {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.3);
  font-size: 15px;
  pointer-events: none;
}
.input-icon-wrap .form-control {
  padding-left: 36px;
}
.btn-login {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  background: #F59E0B;
  border: none;
  color: #1a1a1a;
  transition: background .15s, transform .1s;
}
.btn-login:hover { background: #d97706; color: #1a1a1a; }
.btn-login:active { transform: scale(.98); }
.login-footer {
  text-align: center;
  padding: 16px 16px 24px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.login-footer a { color: rgba(245,158,11,.85); text-decoration: none; }
.login-footer .version-badge {
  display: inline-block;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 11px;
  margin-bottom: 8px;
  color: #F59E0B;
}
