/* Sign-in pages styling. Light Revery theme: cream ground, navy ink, a single
   gold accent. Fonts are the brand pair (Libre Baskerville display, Jost UI)
   served from /public/fonts. Static asset — the design agent may refine it. */

@font-face {
  font-family: 'Libre Baskerville';
  src: url('/fonts/LibreBaskerville-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Baskerville';
  src: url('/fonts/LibreBaskerville-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/fonts/Jost.ttf') format('truetype');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #282642;
  --cream: #f7f7f0;
  --gold: #b79a6b;
  --ink-soft: #6b6a7a;
  --hairline: #e3e1d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Jost', system-ui, sans-serif;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 18px 50px rgba(40, 38, 66, 0.08);
  text-align: center;
}

.auth-logo {
  height: auto;
  margin: 0 auto 22px;
  display: block;
}

.auth-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.auth-title {
  margin: 0 0 10px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
}

.auth-lede {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

form {
  text-align: left;
}

.auth-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.auth-input {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease;
}

.auth-input:focus {
  border-color: var(--gold);
}

.auth-input-code {
  text-align: center;
  letter-spacing: 0.5em;
  font-size: 26px;
  padding-left: 0.5em;
}

.auth-button {
  width: 100%;
  margin-top: 20px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--navy);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.auth-button:hover {
  opacity: 0.92;
}

.auth-button:disabled {
  opacity: 0.55;
  cursor: progress;
}

.auth-foot {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
}

.auth-foot a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-error {
  margin: 16px 0 0;
  padding: 11px 13px;
  font-size: 14px;
  color: #8a2b2b;
  background: #fbecea;
  border: 1px solid #f0cfca;
  border-radius: 8px;
  text-align: left;
}
