/* styles.css */
:root {
  --bg: #0c0e12;
  --card: #151922;
  --text: #e7ecf3;
  --muted: #9aa5b1;
  --brand: #5ea3ff;
  --brand-2: #7de0ff;
  --accent: #ffd166;
  --danger: #ff6b6b;
  --success: #22c55e;
  --border: #232938;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: linear-gradient(180deg, #0b0e13, #0a0d12 50%, #0c0e12);
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.container.narrow { max-width: 640px; }

.site-header {
  background: #0a0d12cc;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 14px;
  opacity: 0.9;
}

.nav .btn {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.nav .btn.active {
  background: #111623;
  border-color: #2a3247;
}

.hero {
  padding: 72px 0 48px;
  text-align: center;
  background: radial-gradient(1000px 400px at 50% -10%, rgba(94,163,255,0.15), transparent),
              radial-gradient(800px 320px at 50% 10%, rgba(125,224,255,0.12), transparent);
  border-bottom: 1px solid var(--border);
}

h1, h2, h3 { margin: 0 0 12px; }

p { color: var(--muted); }

.btn {
  display: inline-block;
  background: #111623;
  color: var(--text);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: transform 0.05s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
  color: #081018;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-top: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

input[type="text"], input[type="email"] {
  background: #0f1420;
  border: 1px solid #1c2536;
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
}

input:focus { border-color: var(--brand); }

.alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0;
  border: 1px solid;
}

.alert.success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #b8fbcf;
}

.alert.error {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.3);
  color: #ffd7d7;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 48px;
  color: var(--muted);
  text-align: center;
}

.tiny { font-size: 12px; }
.muted { color: var(--muted); }

/* === WoM Theme — minimal overrides only === */
:root{
  /* Palette */
  --bg: #e9cacb;              /* soft rose content plane */
  --card: #ffffff;            /* bright white cards */
  --text: #1f2937;            /* slate text */
  --muted: #6b7280;           /* muted slate */
  --brand: #10b981;           /* emerald/teal primary */
  --brand-2: #0ea5a8;         /* teal gradient pair */
  --border: rgba(0,0,0,0.08); /* gentle borders */

  /* Accents */
  --wom-topbar: #3a2d34;      /* dark plum header */
  --wom-btn-shadow: #0b6b62;  /* button drop shadow */
  --wom-rose-frame: #2f0f10;  /* outer frame */
}

/* Page background/frame (keep your layout intact) */
body{
  background:
    radial-gradient(1200px 500px at 80% -120px, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(0deg, var(--wom-rose-frame), var(--wom-rose-frame)) fixed !important;
  color: var(--text);
}
body::before{
  content:"";
  position: fixed;
  inset: 64px 64px 0 64px;
  background: var(--bg);
  border-radius: 16px 16px 0 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18);
  z-index: -1;
}

/* Header vibe */
.site-header{
  background: var(--wom-topbar) !important;
  color: #fff;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}
.site-header a,
.brand-link,
.nav a{ color: #fff !important; opacity: .95; }

/* Cards = white panels with soft shadow */
.card{
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.16) !important;
}

/* Inputs like WoM login box */
input[type="text"],
input[type="email"],
input[type="password"]{
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
}
input:focus{
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18) !important;
}

/* Primary button = teal gradient with drop shadow */
.btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  border: none !important;
  color: #083a36 !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 0 var(--wom-btn-shadow) !important;
}
.btn-primary:hover{ filter: brightness(1.05); }

/* Alerts */
.alert.success{
  background: rgba(34,197,94,0.12) !important;
  border-color: rgba(34,197,94,0.35) !important;
  color: #065f46 !important;
}
.alert.error{
  background: rgba(239,68,68,0.12) !important;
  border-color: rgba(239,68,68,0.35) !important;
  color: #7f1d1d !important;
}

/* Minor typography tweaks */
h1,h2,h3{ letter-spacing: .2px; }
label{ color: var(--muted) !important; }
p{ color: var(--muted); }

