/* ══════════════════════════════════════════════════════════
   WRENKIT — LOGIN PAGE STYLES
   Page-specific CSS for login.html (sign in / sign up).
   Shared styles (root, reset, body, grain, header, nav)
   live in global.css.
   ══════════════════════════════════════════════════════════ */

body { display: flex; flex-direction: column; }

/* ── AUTH CONTAINER ─────────────────────────────────────── */

.auth-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 48px 24px;
}

.auth-card {
  width: 100%; max-width: 400px;
  background: var(--sand); border: 1px solid var(--border);
  border-radius: 4px; padding: 48px 40px;
}

.auth-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300; color: var(--ink);
  text-align: center; margin-bottom: 8px;
}

.auth-sub {
  font-size: 0.78rem; color: var(--drift); text-align: center;
  margin-bottom: 36px; letter-spacing: 0.02em;
}
.auth-sub a { color: var(--tide); text-decoration: none; }
.auth-sub a:hover { text-decoration: underline; }

/* ── FORM ───────────────────────────────────────────────── */

.form-group { margin-bottom: 20px; }

.form-label {
  display: block; font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--drift); margin-bottom: 8px;
}

.form-input {
  width: 100%; padding: 12px 16px;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--r); font-family: 'Jost', sans-serif;
  font-size: 0.85rem; color: var(--ink); font-weight: 300;
  transition: border-color 0.15s;
}
.form-input:focus { outline: none; border-color: var(--tide); }

/* ── AUTH BUTTON ────────────────────────────────────────── */

.auth-btn {
  width: 100%; padding: 14px;
  background: var(--tide); color: #fff; border: none;
  border-radius: var(--r); font-family: 'Jost', sans-serif;
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.auth-btn:hover { background: #3a5658; transform: translateY(-1px); }
.auth-btn:active { transform: translateY(0); }
.auth-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── DIVIDER ────────────────────────────────────────────── */

.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0; color: var(--stone); font-size: 0.6rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── TOGGLE ─────────────────────────────────────────────── */

.auth-toggle {
  text-align: center; margin-top: 24px;
  font-size: 0.78rem; color: var(--drift);
}
.auth-toggle a { color: var(--tide); text-decoration: none; cursor: pointer; }
.auth-toggle a:hover { text-decoration: underline; }

/* ── MESSAGES ───────────────────────────────────────────── */

.auth-message {
  padding: 10px 14px; border-radius: var(--r);
  font-size: 0.78rem; margin-bottom: 20px; display: none;
}
.auth-message.error { display: block; background: #f5e8e8; color: #8e4a4a; border: 1px solid #e0c8c8; }
.auth-message.success { display: block; background: #e8f0e8; color: #4a6e4a; border: 1px solid #c8dcc8; }

/* ── TRIAL NOTE ─────────────────────────────────────────── */

.trial-note {
  text-align: center; margin-top: 20px;
  font-size: 0.7rem; color: var(--stone); letter-spacing: 0.04em;
}

/* ── GOOGLE BUTTON ──────────────────────────────────────── */

.google-btn {
  width: 100%; padding: 12px 14px;
  background: #fff; color: var(--ink); border: 1px solid var(--border);
  border-radius: var(--r); font-family: 'Jost', sans-serif;
  font-size: 0.82rem; font-weight: 400; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.15s, box-shadow 0.15s;
}
.google-btn:hover { background: #f8f8f8; box-shadow: 0 1px 4px var(--shadow); }

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .auth-card { padding: 36px 28px; }
}
