@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Bebas+Neue&display=swap');

#ax-root {
  --ax-pine: #1C5C42;
  --ax-pine-dark: #123D2C;
  --ax-gold: #C9A227;
  --ax-gold-dark: #6B5108;
  --ax-plum: #6B2F5C;
  --ax-teal: #1F7A78;
  --ax-rust: #BF4E2A;
  --ax-cream: #FAF7F0;
  --ax-ink: #241F16;
  --ax-border: #E4E0D6;

  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--ax-ink);
  display: flex;
  justify-content: center;
  padding: 24px 12px;
  box-sizing: border-box;
}

#ax-root *, #ax-root *::before, #ax-root *::after {
  box-sizing: border-box;
}

#ax-root .ax-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--ax-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

#ax-root .ax-hidden {
  display: none !important;
}

#ax-root h1, #ax-root h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
  margin: 0 0 4px;
}

/* Splash */
#ax-root .ax-splash {
  background: var(--ax-pine);
  color: var(--ax-cream);
  padding: 56px 28px 40px;
  text-align: center;
}
#ax-root .ax-splash h1 { font-size: 40px; }
#ax-root .ax-splash p { margin: 0 0 32px; color: #CDE6DA; font-size: 14px; }
#ax-root .ax-splash-actions { display: flex; flex-direction: column; gap: 10px; }

/* Body sections (login/register/home) */
#ax-root .ax-body { padding: 28px 24px 32px; }
#ax-root .ax-body h2 { font-size: 26px; color: var(--ax-pine-dark); }
#ax-root .ax-subtitle { font-size: 13px; color: #6b6456; margin: 0 0 20px; }

#ax-root label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 14px 0 6px;
  color: #55503f;
}
#ax-root input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--ax-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--ax-cream);
}
#ax-root input:focus {
  outline: none;
  border-color: var(--ax-teal);
}

#ax-root .ax-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
#ax-root .ax-btn-primary { background: var(--ax-gold); color: var(--ax-gold-dark); margin-top: 20px; }
#ax-root .ax-btn-primary:disabled { opacity: 0.6; cursor: default; }
#ax-root .ax-btn-outline { background: transparent; color: var(--ax-cream); border: 1px solid rgba(255,255,255,0.5); }
#ax-root .ax-btn-outline.ax-on-light { color: var(--ax-pine); border-color: var(--ax-pine); }
#ax-root .ax-btn-secondary { background: var(--ax-teal); color: #fff; }

#ax-root .ax-switch { margin-top: 18px; font-size: 13px; text-align: center; color: #6b6456; }
#ax-root .ax-switch a { color: var(--ax-teal); font-weight: 600; text-decoration: none; cursor: pointer; }

#ax-root .ax-error {
  background: #FBE9E2;
  color: #7A2E14;
  border: 1px solid var(--ax-rust);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-top: 14px;
}

/* Home */
#ax-root .ax-home-header {
  background: var(--ax-pine);
  color: var(--ax-cream);
  padding: 28px 24px;
}
#ax-root .ax-home-header .ax-tag {
  display: inline-block;
  background: var(--ax-gold);
  color: var(--ax-gold-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
#ax-root .ax-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 4px; }
#ax-root .ax-chip {
  background: #E3F1EF;
  color: var(--ax-teal);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
}
#ax-root .ax-note {
  margin-top: 18px;
  padding: 14px;
  border: 1px dashed var(--ax-border);
  border-radius: 10px;
  font-size: 13px;
  color: #6b6456;
}
