/* ════════════════════════════════════════════════════════════════════
   rd-login.css — Dancer login page
   Requires: rd-base.css
   ════════════════════════════════════════════════════════════════════ */

body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--ivory);
}

/* ── NAV ── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.nav-signup-link {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(14,11,11,0.4); text-decoration: none; transition: color 0.2s;
}
.nav-signup-link:hover { color: var(--ink); }

/* ── PAGE WRAP ── */
.page-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem;
}

/* ── LOGIN CARD ── */
.login-card {
  width: 100%; max-width: 440px;
  animation: fadeUp 0.6s ease 0.1s both;
}

.login-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.login-eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: var(--gold); }

.login-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300; line-height: 1.05;
  color: var(--ink); margin-bottom: 0.4rem;
}
.login-heading em { font-style: italic; color: var(--rose); }

.login-sub {
  font-size: 0.88rem; line-height: 1.7;
  color: rgba(14,11,11,0.45); margin-bottom: 2.5rem;
}

/* ── FIELDS ── */
.field-group { gap: 1.25rem; }

/* show/hide password toggle */
.pw-wrap { position: relative; }
.pw-toggle {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(14,11,11,0.35); font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}
.pw-toggle:hover { color: var(--ink); }

/* ── SUBMIT ── */
.form-actions { margin-top: 2rem; }
.btn-submit {
  width: 100%; padding: 1rem;
  background: var(--ink); color: var(--ivory);
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px;
  transition: background 0.25s, transform 0.15s;
}
.btn-submit:hover    { background: var(--rose); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-actions-row { display: flex; align-items: stretch; gap: 0.6rem; }
.form-actions-row .btn-submit { width: auto; flex: 1; }
.btn-passkey {
  box-sizing: border-box;
  flex: 0 0 auto; aspect-ratio: 1; width: auto;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 2px; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-passkey svg { flex: 0 0 auto; }
.btn-passkey:hover    { background: var(--ink); color: var(--ivory); transform: translateY(-1px); }
.btn-passkey:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-passkey.waiting svg { animation: rd-passkey-pulse 1.1s ease-in-out infinite; }
@keyframes rd-passkey-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── FOOTER LINKS ── */
.login-footer {
  margin-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.72rem; color: rgba(14,11,11,0.38);
}
.login-footer a { color: rgba(14,11,11,0.45); text-decoration: none; transition: color 0.2s; }
.login-footer a:hover { color: var(--rose); }

/* ── DIVIDER ── */
.or-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.75rem 0;
}
.or-divider::before,
.or-divider::after { content: ''; flex: 1; height: 1px; background: rgba(14,11,11,0.1); }
.or-divider span { font-size: 0.68rem; color: rgba(14,11,11,0.3); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── PAGE FOOTER ── */
footer {
  padding: 1.5rem 5rem;
  border-top: 1px solid rgba(201,168,76,0.15);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--deep);
}
footer p { font-size: 0.68rem; color: rgba(245,240,232,0.3); letter-spacing: 0.07em; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav     { padding: 1rem 1.25rem; }
  footer  { padding: 1.25rem 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}