:root {
  --brand-dark: #000000;
  --brand-green: #00923f;
  --brand-green-light: #22b14c;
  --brand-grey: #bababa;
  --brand-cadet: #83a4b4;
  --brand-denim: #366a8d;
  --panel-bg: rgba(255, 255, 255, 0.94);
  --text-dark: #1b1b1b;
}

@font-face {
  font-family: "Astoria";
  src: url("/static/assets/fonts/AstoriaBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body.auth {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: url("/static/assets/g2g_background.svg") no-repeat center center fixed;
  background-size: cover;
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.auth-card {
  max-width: 440px;
  width: 100%;
  background: var(--panel-bg);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  padding: 28px 28px 24px;
  backdrop-filter: blur(6px);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.auth-logo img {
  width: 56px;
  height: 56px;
}

.auth-logo h1 {
  font-family: "Astoria", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 0.6px;
}

.auth-card h2 {
  margin: 12px 0 16px;
  font-family: "Astoria", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.15rem;
}

.auth-card label {
  display: block;
  font-weight: 600;
  margin-top: 12px;
  font-size: 0.92rem;
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d5d9df;
  border-radius: 8px;
  margin-top: 6px;
  font-size: 0.95rem;
}

.auth-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.auth-actions button {
  background: var(--brand-green);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.auth-actions a {
  color: var(--brand-denim);
  text-decoration: none;
  font-size: 0.92rem;
}

.auth-hint {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #4a4f55;
}

.auth-error {
  background: #ffe5e5;
  border: 1px solid #ff9d9d;
  color: #7c1b1b;
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
}

.auth-success {
  background: #e6f8ee;
  border: 1px solid #7ed09a;
  color: #0a4a26;
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
}

.password-checklist {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #2f3c34;
}

.password-checklist ul {
  list-style: none;
  padding: 6px 0 0 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.password-checklist li::before {
  content: "○";
  display: inline-block;
  width: 18px;
  color: #8a8f95;
}

.password-checklist li.ok::before {
  content: "✓";
  color: #00923f;
}

.password-checklist li.bad::before {
  content: "•";
  color: #b24b4b;
}

.auth-footer {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #4e5a52;
}

.auth-footer a {
  color: var(--brand-dark);
}
