/* ════════════════════════════════════════════════════════════════════
   Login Page Styles
   ════════════════════════════════════════════════════════════════════ */

.login-body {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  animation: fadeIn .25s ease;
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}
.login-header svg { margin-bottom: 12px; }
.login-header h1  { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.login-subtitle   { font-size: 12px; color: var(--text-muted); }

.login-error {
  background: rgba(248,81,73,.12);
  border: 1px solid rgba(248,81,73,.35);
  border-radius: var(--radius-sm);
  color: var(--red);
  font-size: 13px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.login-info {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.login-field label {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.login-field .hint { font-size: 10px; color: var(--text-dim); }

.login-field input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  padding: 10px 12px;
  transition: border-color .15s;
}
.login-field input:focus {
  outline: none;
  border-color: var(--blue);
}

.btn-full { width: 100%; justify-content: center; margin-top: 4px; padding: 10px; font-size: 14px; }

/* SSO */
.login-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 0; color: var(--text-dim); font-size: 12px;
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.btn-sso {
  width: 100%; justify-content: center;
  background: var(--surface-2); border-color: var(--border);
  padding: 10px; font-size: 13px; gap: 8px;
  margin-bottom: 8px;
}
.btn-sso:hover { background: var(--surface-3); }

/* 2FA */
.login-2fa-icon { text-align: center; margin-bottom: 8px; }
.login-2fa-title { font-size: 16px; font-weight: 600; text-align: center; margin-bottom: 8px; }

.input-otp {
  text-align: center !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: 8px !important;
  padding: 12px !important;
}

.btn-link {
  background: none; border: none;
  color: var(--text-muted); font-size: 12px;
  cursor: pointer; margin-top: 12px;
  display: block; text-align: center; width: 100%;
}
.btn-link:hover { color: var(--text); }

.login-footer {
  margin-top: 24px;
  font-size: 11px;
  color: var(--text-dim);
}
