:root{
  --bg:#0b1220;
  --card:#101a33;
  --text:#eaf0ff;
  --muted:#a9b6d8;
  --line:rgba(255,255,255,.10);
  --accent:#7c5cff;
  --accent2:#2ee59d;
  --danger:#ff5c7a;
  --shadow:0 18px 60px rgba(0,0,0,.40);
  --radius:18px;

  /* ADHD helpers */
  --focus: rgba(46,229,157,.85);
  --focus2: rgba(124,92,255,.85);
  --chip: rgba(255,255,255,.06);
  --chip2: rgba(255,255,255,.10);

  /* NEW: extra “friendly” accents for zones */
  --sun: rgba(255,210,92,.95);     /* warm yellow */
  --sky: rgba(92,180,255,.95);     /* bright blue */
  --grape: rgba(170,120,255,.95);  /* softer purple */
  --mint: rgba(46,229,157,.95);    /* mint green */
  --rose: rgba(255,92,122,.95);    /* pink */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(124,92,255,.25), transparent 45%),
    radial-gradient(900px 600px at 90% 20%, rgba(46,229,157,.18), transparent 55%),
    radial-gradient(800px 500px at 30% 85%, rgba(255,210,92,.10), transparent 55%),
    var(--bg);
  color:var(--text);
}

.wrap{ max-width: 980px; margin:0 auto; padding:22px 16px 60px; }

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

/* =========================
   Topbar
========================= */
.topbar{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.brand{ display:flex; align-items:center; gap:12px; }
.logo{
  width:42px;height:42px;border-radius:14px;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(46,229,157,1));
  box-shadow: var(--shadow);
}
.brand h1{ font-size:18px; margin:0; letter-spacing: .2px; }
.brand .sub{ display:block; font-size:12px; color:var(--muted); margin-top:2px; }

/* =========================
   Grid / Card
========================= */
.grid{ display:grid; grid-template-columns: 1fr; gap:14px; }
@media (min-width: 920px){
  .grid.cols-2{ grid-template-columns: 1.05fr .95fr; }
  .grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}

.card h2{
  margin:0 0 8px 0;
  font-size:16px;
  letter-spacing:.2px;
}
.card p{
  margin:0 0 12px 0;
  color:var(--muted);
  line-height:1.55;
}

/* =========================
   Pills / dividers
========================= */
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size:12px;
  font-weight: 800;
  letter-spacing: .15px;
}

.hr{ height:1px; background: var(--line); margin: 14px 0; }

/* =========================
   Buttons
========================= */
.btnrow{ display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
  min-height:44px;
  transition: filter .12s ease, transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.btn:hover{ filter: brightness(1.07); }
.btn:active{ transform: translateY(1px); }

.btn.primary{
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(124,92,255,.65));
  border-color: rgba(124,92,255,.55);
  box-shadow: 0 12px 35px rgba(124,92,255,.18);
}
.btn.good{
  background: linear-gradient(135deg, rgba(46,229,157,.95), rgba(46,229,157,.55));
  border-color: rgba(46,229,157,.45);
  box-shadow: 0 12px 35px rgba(46,229,157,.16);
  color:#0a1325;
}
.btn.danger{
  background: rgba(255,92,122,.10);
  border-color: rgba(255,92,122,.45);
  box-shadow: 0 12px 35px rgba(255,92,122,.10);
}

/* Make “plain” buttons less identical */
.btn:not(.primary):not(.good):not(.danger){
  background: rgba(255,255,255,.05);
}

/* =========================
   Inputs
========================= */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"],
textarea,
select{
  width:100%;
  border-radius:14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.22);
  color: var(--text);
  padding: 12px 12px;
  outline:none;
  min-height:44px;
  transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}

textarea{ min-height:110px; resize:vertical; }

label{
  display:block;
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .15px;
}

/* BIG ADHD WIN: focus ring that is obvious but pretty */
input:focus,
textarea:focus,
select:focus{
  border-color: rgba(46,229,157,.60);
  box-shadow:
    0 0 0 3px rgba(46,229,157,.18),
    0 0 0 6px rgba(124,92,255,.10);
}

/* Checkbox/radio focus */
input[type="checkbox"]:focus,
input[type="radio"]:focus{
  outline: 3px solid rgba(46,229,157,.30);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Reduce accidental “tap zoom” feel */
input:active,
textarea:active,
select:active{
  transform: translateY(0);
}

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

/* =========================
   Notices
========================= */
.notice{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
}
.err{
  border-color: rgba(255,92,122,.45);
  background: rgba(255,92,122,.10);
  color:#ffd6de;
}
.ok{
  border-color: rgba(46,229,157,.45);
  background: rgba(46,229,157,.12);
  color:#d7fff0;
}

/* =========================
   Week boxes / blocks
========================= */
.weekbox{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background: rgba(0,0,0,.16);
  margin-top:10px;
}
.weekbox h3{ margin:0 0 10px 0; font-size:14px; color:#fff; letter-spacing:.15px; }

/* =========================
   “Tabs” for wizard steps & weeks
   (Your wizard.php adds .tab / .weekTab elements)
========================= */
.tab, .weekTab{
  border:1px solid var(--line);
  background: var(--chip);
  border-radius: 999px;
  padding: 10px 12px;
  min-height:44px;
  cursor:pointer;
  user-select:none;
  font-weight: 900;
  font-size: 12px;
  color: rgba(234,240,255,.92);
  letter-spacing: .18px;
  transition: background .12s ease, border-color .12s ease, transform .12s ease, filter .12s ease, box-shadow .12s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.tab:hover, .weekTab:hover{ filter: brightness(1.08); }
.tab:active, .weekTab:active{ transform: translateY(1px); }

.tab.active{
  background: rgba(124,92,255,.30);
  border-color: rgba(124,92,255,.65);
  box-shadow: 0 0 0 3px rgba(124,92,255,.10), 0 14px 38px rgba(124,92,255,.10);
  color: #fff;
}
.weekTab.active{
  background: rgba(46,229,157,.16);
  border-color: rgba(46,229,157,.55);
  box-shadow: 0 0 0 3px rgba(46,229,157,.10), 0 14px 38px rgba(46,229,157,.08);
  color:#fff;
}

/* Sticky week tabs shouldn’t feel cramped on mobile */
.weekTabs{
  border-radius: 16px;
}

/* =========================
   NEW: More “ADHD-friendly” Wizard visuals
   These target elements wizard.php already uses:
   .softBox, .help, .rowCard, .badgePill
========================= */

/* Soft boxes: clearer separation + gentle glow */
.softBox{
  box-shadow: 0 10px 40px rgba(0,0,0,.22);
}

/* Help blocks: warmer + “guide” feel */
.help{
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-left: 6px solid rgba(255,210,92,.70);
}

/* Badge pills used in wizard.php: make them pop */
.badgePill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 11px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  font-size:12px; color: rgba(234,240,255,.92);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
}

/* Row cards (schedule rows): add a colorful top “signal bar” */
.rowCard{
  position: relative;
  overflow: hidden;
}
.rowCard:before{
  content:"";
  position:absolute;
  left:0; top:0; right:0;
  height:6px;
  background: linear-gradient(90deg, rgba(46,229,157,.85), rgba(124,92,255,.85), rgba(255,210,92,.75));
  opacity:.75;
}
.rowCard:hover{
  border-color: rgba(124,92,255,.28);
  background: rgba(255,255,255,.07);
}

/* Tiny buttons (remove row, etc.) if present in wizard */
.tinyBtn{
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
}

/* Dropdowns: nicer caret + less “flat” */
select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(234,240,255,.8) 50%),
    linear-gradient(135deg, rgba(234,240,255,.8) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.22));
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* =========================
   NEW: Optional Step “Zones”
   (Works automatically if wizard panels have data-step attr)
========================= */
.panel[data-step="0"] .softBox{ border-left: 6px solid rgba(124,92,255,.85); }
.panel[data-step="1"] .softBox{ border-left: 6px solid rgba(46,229,157,.85); }
.panel[data-step="2"] .softBox{ border-left: 6px solid rgba(255,210,92,.80); }
.panel[data-step="3"] .softBox{ border-left: 6px solid rgba(255,92,122,.80); }

.panel[data-step="0"] .softBox{ background: linear-gradient(180deg, rgba(124,92,255,.10), rgba(0,0,0,.18)); }
.panel[data-step="1"] .softBox{ background: linear-gradient(180deg, rgba(46,229,157,.10), rgba(0,0,0,.18)); }
.panel[data-step="2"] .softBox{ background: linear-gradient(180deg, rgba(255,210,92,.10), rgba(0,0,0,.18)); }
.panel[data-step="3"] .softBox{ background: linear-gradient(180deg, rgba(255,92,122,.08), rgba(0,0,0,.18)); }

/* =========================
   Code blocks
========================= */
.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: #d9e2ff;
  background: rgba(0,0,0,.25);
  border:1px solid var(--line);
  padding: 12px;
  border-radius: 16px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* =========================
   Footnote
========================= */
.footer-note{
  margin-top:18px;
  color: var(--muted);
  font-size: 12px;
  text-align:center;
}

/* =========================
   Mobile tidy-ups
========================= */
@media (max-width: 520px){
  .wrap{ padding: 18px 12px 60px; }
  .card{ padding: 14px; }
  .btn{ width: 100%; }
  .btnrow{ gap: 8px; }
  .brand h1{ font-size: 16px; }
}
