/* Auth pages - centered card on warm background */

.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--grad-hero);
  display: flex;
  flex-direction: column;
}
.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 480px) {
  .auth-card { padding: 28px 24px; border-radius: var(--radius); }
}
.auth-header { text-align: center; }
.auth-header .logo-mark {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
}
.auth-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.auth-header p { color: var(--text-soft); font-size: .95rem; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.remember-row {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.remember-row:hover {
  border-color: var(--border-2);
  background: var(--accent-soft);
}
.remember-row strong { color: var(--text); font-weight: 600; }
.remember-row .muted-deep { display: block; margin-top: 2px; font-size: .8rem; }
.auth-error {
  background: #ffe9e9;
  border: 1px solid #ffcaca;
  color: #7d2727;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  display: none;
}
.auth-error.show { display: block; }

.auth-divider {
  text-align: center;
  color: var(--text-mute);
  font-size: .85rem;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}
.auth-divider a { color: var(--rose); font-weight: 600; }

.password-wrap { position: relative; }
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-mute);
  cursor: pointer;
  padding: 6px;
  font-size: 1rem;
}
.password-toggle:hover { color: var(--rose); }

/* Strength meter */
.strength-meter {
  height: 5px;
  border-radius: 99px;
  background: var(--bg-soft);
  overflow: hidden;
  margin-top: 6px;
}
.strength-bar {
  height: 100%;
  width: 0;
  border-radius: 99px;
  transition: width .25s ease, background .25s ease;
  background: #d05757;
}
.strength-bar.weak  { width: 25%; background: #d05757; }
.strength-bar.fair  { width: 50%; background: #d99c30; }
.strength-bar.good  { width: 75%; background: #6ec07a; }
.strength-bar.strong{ width: 100%; background: var(--ok); }

.tiny-footer {
  text-align: center;
  color: var(--text-mute);
  font-size: .8rem;
  padding: 24px 20px 30px;
}
.tiny-footer a { color: var(--text-soft); }
.tiny-footer a:hover { color: var(--rose); }
