@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Figtree:wght@300;400;500;600&display=swap');

:root {
  --bg:        var(--color-bg);
  --surface:   #FFFFFF;
  --surface-2: var(--color-surface);
  --border:    var(--color-border);
  --accent:    var(--color-accent);
  --accent-hover: var(--color-accent-hover);
  --text:      var(--color-primary);
  --muted:     var(--color-muted);
  --danger:    var(--color-danger);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Figtree', system-ui, sans-serif;
}

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Auth inputs ── */
.auth-input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
.auth-input::placeholder { color: var(--muted); }
.auth-input.error { border-color: var(--danger); }

/* ── Auth button ── */
.auth-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.auth-btn:hover  { background: var(--accent-hover); }

/* ── Auth footer links ── */
.auth-footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.auth-footer-links a  { color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.auth-footer-links a:hover { color: var(--accent); }

/* ── Field error ── */
.field-error { color: var(--danger); font-size: 0.8rem; margin-top: 0.3rem; display: block; }

/* ── Transcript line texture (auth brand panel) ── */
.transcript-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 27px,
    rgba(13, 148, 136, 0.07) 27px,
    rgba(13, 148, 136, 0.07) 28px
  );
  pointer-events: none;
}
