/* ============================================
   TraumGmbH — Login Page
   ============================================ */

.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg-white); padding: 24px;
}
.login-box {
  width: 100%; max-width: 360px;
  display: flex; flex-direction: column; align-items: center;
}
.logo-mark {
  width: 52px; height: 52px; background: var(--accent); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: white;
}
.login-title { font-size: 21px; font-weight: 800; margin-bottom: 2px; }
.login-sub { font-size: 14px; color: var(--text-sec); margin-bottom: 40px; }
.login-form { width: 100%; }
.login-error {
  padding: 12px 16px; margin-bottom: 16px;
  background: var(--danger-pale); border-radius: var(--r-sm);
  font-size: 13px; color: var(--accent); font-weight: 600;
  display: none;
}
.login-error.show { display: block; }

/* === 2FA Setup (Profile Page) === */
.twofa-setup {
  margin-top: 20px; padding: 24px;
  background: var(--bg-white); border-radius: var(--r);
  border: 1px solid var(--border);
}
.twofa-setup-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.twofa-setup-desc {
  font-size: 13px; color: var(--text-sec);
  line-height: 1.5; margin-bottom: 20px;
}
.twofa-qr {
  display: flex; justify-content: center; padding: 20px;
  background: white; border-radius: var(--r-sm);
  border: 1px solid var(--border); margin-bottom: 16px;
}
.twofa-secret-box {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--bg-input);
  border-radius: var(--r-sm); border: 1px solid var(--border);
}
.twofa-secret-label { font-size: 11px; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.twofa-secret-value {
  flex: 1; font-size: 13px; font-weight: 700;
  font-family: monospace; letter-spacing: 1px; word-break: break-all;
}
.twofa-secret-copy {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 8px; cursor: pointer; color: var(--text-sec);
  transition: all 0.1s; display: flex; align-items: center;
}
.twofa-secret-copy:hover { border-color: var(--accent); color: var(--accent); }