/**
 * Login page styles (2FA modal + layout).
 * Externalized for CSP: no unsafe-inline in style-src for index/login.
 */

/* Navbar */
.login-page .navbar.navbar-fixed-top {
  height: 129px;
}
.login-page .navbar-brand {
  color: white;
  font-size: 2em;
  position: relative;
  display: block;
}
.login-page .navbar-brand img {
  width: 200px;
}
.login-page .navbar-brand .version {
  font-size: 11px;
}

/* Spinner */
#spinner {
  margin-top: 7em;
}

/* Auth form spacing */
.login-form-title-spacer {
  margin-top: 1em;
}

/* 2FA Modal */
#twoFactorModal .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
#twoFactorModal .modal-header {
  border-bottom: 1px solid #e9ecef;
  background: linear-gradient(135deg, #2f6b9d 0%, #092033 100%);
  border-radius: 12px 12px 0 0;
  padding: 1.5rem;
}
#twoFactorModal .modal-title {
  color: #fff;
  font-weight: 600;
}
#twoFactorModal .btn-close {
  filter: brightness(0) invert(1);
}
#twoFactorModal .modal-body {
  padding: 2rem;
}
#twoFactorModal .verification-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2f6b9d 0%, #092033 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
#twoFactorModal .verification-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}
#twoFactorModal .verification-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}
#twoFactorModal .verification-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
#twoFactorCode {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  padding: 0.75rem;
  font-weight: 600;
}
#twoFactorCode::placeholder {
  letter-spacing: normal;
  font-size: 1rem;
  font-weight: normal;
}
#twoFactorError {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-align: center;
}
#twoFactorError.hidden {
  display: none;
}
#twoFactorModal .btn-verify {
  background: linear-gradient(135deg, #2f6b9d 0%, #092033 100%);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  width: 100%;
  margin-top: 1rem;
}
#twoFactorModal .btn-verify:hover {
  background: linear-gradient(135deg, #2f6b9d 0%, #092033 100%);
}
#twoFactorModal .btn-verify:disabled {
  background: #ccc;
}
#twoFactorModal .resend-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}
#twoFactorModal .resend-link a {
  color: #667eea;
  text-decoration: none;
}
#twoFactorModal .resend-link a:hover {
  text-decoration: underline;
}
