/* Citadel login — Greek-amphitheater aesthetic to match Ekho Sanctum theme.
 * Dark weathered stone + bronze accents + Cinzel chrome + Source Serif body.
 */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0c0a;
  --surface: #1a1814;
  --text: #f4ede0;
  --text-muted: #a39885;
  --bronze: #b8924f;
  --bronze-bright: #d4a843;
  --error: #c0524f;
  --border: rgba(184, 146, 79, 0.18);
}

html, body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px 40px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.login h1 {
  font-family: 'Cinzel', 'Trajan Pro', serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze-bright);
  text-align: center;
  margin-bottom: 8px;
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 32px;
}

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

label { display: flex; flex-direction: column; gap: 6px; }

label span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Cinzel', sans-serif;
}

input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s;
}

input:focus { outline: none; border-color: var(--bronze); }

button {
  background: var(--bronze);
  color: #1a1408;
  border: none;
  border-radius: 2px;
  padding: 12px;
  font-family: 'Cinzel', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 8px;
}

button:hover:not(:disabled) { background: var(--bronze-bright); }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.error {
  color: var(--error);
  font-size: 14px;
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(192, 82, 79, 0.08);
  border: 1px solid rgba(192, 82, 79, 0.25);
  border-radius: 2px;
}

.note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 32px;
  font-style: italic;
}
