@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================================================
   YouBuild Bewerben — Polished (FULL REPLACE)
   ========================================================= */

:root{
  --bg:#0a0a0a;
  --text:#f5f5f5;
  --muted:rgba(245,245,245,.72);
  --muted2:rgba(245,245,245,.55);

  --red:#ff3333;
  --red2:#b80000;

  --headerH: 92px;
  --headerHMobile: 200px;

  --glass:rgba(255,255,255,.05);
  --panel:rgba(10,10,10,.78);
  --card:rgba(0,0,0,.25);

  --border:rgba(255,255,255,.12);
  --borderSoft:rgba(255,255,255,.10);
  --borderRedSoft:rgba(255,0,0,.18);

  --r1:14px;
  --r2:22px;
  --r3:32px;

  --shadow:0 18px 60px rgba(0,0,0,.55);
  --shadowSoft:0 10px 40px rgba(0,0,0,.35);
  --glow:0 0 25px rgba(255,0,0,.35);
  --focus:0 0 0 4px rgba(255,0,0,.20);

  --ok:#31d07d;
  --warn:#ffb020;
  --bad:#ff5668;
  --info:#53a3ff;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }
body{
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  padding-top: var(--headerH);
  overflow-x:hidden;

  background:
    radial-gradient(1200px 520px at 18% 0%, rgba(255,0,0,.23), transparent 60%),
    radial-gradient(900px 520px at 82% 10%, rgba(255,51,51,.16), transparent 65%),
    radial-gradient(1200px 700px at 50% 110%, rgba(184,0,0,.10), transparent 60%),
    var(--bg);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


@media (max-width: 900px){
  body{ padding-top: var(--headerHMobile); }
}

::selection{ background: rgba(255,0,0,.28); }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button,input,select,textarea{ font:inherit; }

.container{
  width:min(1120px,calc(100% - 28px));
  margin:0 auto;
  padding:18px 0 56px 0;
}

/* Small quality-of-life */
:focus{ outline:none; }
:focus-visible{ box-shadow: var(--focus); border-color: rgba(255,0,0,.40) !important; }
button:focus-visible, a:focus-visible{ border-radius: 14px; }

/* Scrollbar */
*::-webkit-scrollbar{ height: 10px; width: 10px; }
*::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.14);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover{ background: rgba(255,0,0,.24); }
*::-webkit-scrollbar-track{ background: rgba(0,0,0,.28); }

/* =========================================================
   HEADER (make header block; inner does layout)
   ========================================================= */
.header{
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 2000;

  background: rgba(10,10,10,.90);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,0,0,.28);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.header .headerInner{
  padding: 14px 0; /* statt padding auf .header */
}

.headerInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: unset; /* fixes weird wraps on smaller widths */
}
.brandLink{ text-decoration:none; }

.brandMark{
  width:56px; height:56px;
  border-radius:16px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.06);
  border:1px solid var(--borderRedSoft);
  box-shadow: var(--glow);
  position: relative;
}

/* IMPORTANT polish: fallback text hidden by default */
.brandMark .fallbackText{ display:none; font-weight:800; letter-spacing:.6px; }
.brandMark img{ width:100%; height:100%; object-fit:cover; display:block; }

.brandMark.fallback img{ display:none; }
.brandMark.fallback .fallbackText{ display:block; }

.brandTitle{ display:flex; flex-direction:column; line-height:1.15; }
.brandTitle strong{ font-size:15px; font-weight:700; letter-spacing:.2px; }
.brandTitle span{ font-size:12px; color:var(--muted2); }

/* =========================================================
   NAV — pill container + clean active (no double underline)
   ========================================================= */
.topnav{
  display:flex;
  align-items:center;
  gap:6px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,0,0,.14);
  box-shadow: 0 0 18px rgba(255,0,0,.10);
}

.topnav a{
  position: relative;
  font-weight: 500;
  letter-spacing: .25px;
  padding: 9px 12px;
  border-radius: 999px;
  opacity: .95;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.topnav a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.04);
  color: #fff;
}

.topnav a.active{
  color: #fff;
  background: rgba(255,0,0,.14);
  border: 1px solid rgba(255,0,0,.22);
  box-shadow: 0 0 18px rgba(255,0,0,.18);
}

/* Right side CTA */
.navActions{ display:flex; align-items:center; }
.navCta{ white-space: nowrap; }

/* Responsive header */
@media (max-width: 900px){
  .headerInner{ flex-wrap:wrap; }
  .topnav{ width:100%; justify-content:flex-start; overflow:auto; }
  .navActions{ width:100%; }
  .navCta{ width:100%; }
}

/* =========================================================
   UTIL
   ========================================================= */
.row{ display:flex; align-items:center; gap:10px; }
.muted{ color:var(--muted2); }
.small{ font-size:12px; }
.tRed{ color:var(--red); }

/* =========================================================
   BUTTONS (more consistent + nicer hover)
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius: 40px;
  cursor:pointer;
  user-select:none;

  color:#fff;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}

.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); opacity:.97; }
.btn:disabled{ opacity:.55; cursor:not-allowed; transform:none; }

.btn.primary{
  background: linear-gradient(90deg,var(--red),var(--red2));
  border:none;
  box-shadow: 0 0 25px rgba(255,0,0,.35);
}
.btn.primary:hover{ box-shadow: 0 0 38px rgba(255,0,0,.62); }

.btn.ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,.20);
}
.btn.ghost:hover{
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 20px rgba(255,0,0,.16);
}

.btn.tiny{ padding: 9px 14px; font-size: 13px; }

/* =========================================================
   PANELS / CARDS
   ========================================================= */
.panel{
  padding:18px;
  border-radius:var(--r3);
  background: var(--panel);
  backdrop-filter: blur(10px);
  border:1px solid var(--borderRedSoft);
  box-shadow: var(--shadow);
}

.card{
  padding:16px;
  border-radius:var(--r2);
  background: var(--card);
  border:1px solid var(--borderSoft);
  box-shadow: var(--shadowSoft);
}

.card.soft{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,0,0,.14);
}

/* =========================================================
   LANDING
   ========================================================= */
.landing{ display:flex; flex-direction:column; gap:22px; }
.hero{ margin-top: 10px; }

.heroCard{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  padding:22px;
  border-radius: var(--r3);

  background:
    radial-gradient(900px 380px at 15% 0%, rgba(255,0,0,.20), transparent 60%),
    rgba(10,10,10,.72);

  border:1px solid var(--borderRedSoft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,0,0,.22);
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.92);
  font-weight:600;
  font-size:12px;
  letter-spacing:.3px;
}

.heroMain h1{
  margin-top: 12px;
  font-size: 40px;
  line-height:1.05;
  letter-spacing:-.5px;
}

.heroLead{
  margin-top:10px;
  color: var(--muted);
  font-size: 14.8px;
}

.heroFacts{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.fact{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-size: 12.5px;
  font-weight:500;
}

.heroActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 16px;
}

.heroNote{
  margin-top: 14px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px;
  border-radius: 18px;
  border:1px solid rgba(255,0,0,.16);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.84);
  font-size: 12.8px;
}

/* Stepper side */
.stepper{
  border-radius: var(--r2);
  border: 1px solid rgba(255,0,0,.16);
  background: rgba(0,0,0,.30);
  overflow:hidden;
  box-shadow: 0 0 25px rgba(255,0,0,.10);
}
.stepperHead{
  padding: 14px 14px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.stepperTitle{ font-weight:700; }
.stepperSub{ margin-top:2px; color:var(--muted2); font-size:12.5px; }

.stepList{ padding:14px; display:flex; flex-direction:column; gap:12px; }
.stepItem{ display:flex; gap:12px; align-items:flex-start; }

.stepDot{
  width:34px; height:34px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:700;
  background: rgba(255,0,0,.14);
  border: 1px solid rgba(255,0,0,.22);
  box-shadow: 0 0 18px rgba(255,0,0,.14);
}

.stepTitle{ font-weight:700; }
.stepSub{ color:var(--muted2); font-size:12.8px; margin-top:2px; }

.stepperCta{
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section{
  padding:18px;
  border-radius: var(--r3);
  background: rgba(10,10,10,.60);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadowSoft);
}

.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}
.sectionHead h2{ font-size: 18px; letter-spacing:-.15px; }
.sectionHead p{ color: var(--muted2); font-size: 13px; max-width: 640px; }

/* Roles */
.roleGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.roleCard{
  padding: 14px;
  border-radius: var(--r2);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,0,0,.14);
  box-shadow: 0 10px 35px rgba(0,0,0,.30);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.roleCard:hover{
  transform: translateY(-3px);
  border-color: rgba(255,0,0,.22);
  box-shadow: 0 0 25px rgba(255,0,0,.12);
}

.roleIcon{
  width:44px; height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background: rgba(255,0,0,.12);
  border: 1px solid rgba(255,0,0,.22);
  margin-bottom: 10px;
}
.roleTitle{ font-weight: 700; }
.roleText{ margin-top:6px; color: var(--muted); font-size: 13px; }

/* Timeline */
.timeline{ display:flex; flex-direction:column; gap:12px; }
.tlItem{ display:flex; gap:12px; align-items:flex-start; }
.tlDot{
  width:12px; height:12px; border-radius:999px;
  margin-top:6px;
  background: var(--red);
  box-shadow: 0 0 16px rgba(255,0,0,.55);
}
.tlBody{
  padding:12px;
  border-radius:18px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  width:100%;
}
.tlTitle{ font-weight:700; }
.tlText{ margin-top:4px; color: var(--muted); font-size:13px; }

/* FAQ – nicer details */
.faq{ display:flex; flex-direction:column; gap:10px; }
.faq details{
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  padding: 12px 12px;
}
.faq summary{
  cursor:pointer;
  list-style:none;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"▾";
  color: rgba(255,255,255,.65);
  transition: transform .18s ease, color .18s ease;
}
.faq details[open] summary::after{
  transform: rotate(180deg);
  color: var(--red);
}
.faqBody{ margin-top:10px; color: var(--muted); font-size:13px; }

/* CTA band */
.ctaBand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px;
  border-radius: var(--r3);
  background:
    radial-gradient(900px 220px at 10% 0%, rgba(255,0,0,.22), transparent 60%),
    rgba(10,10,10,.72);
  border:1px solid rgba(255,0,0,.18);
  box-shadow: var(--shadowSoft);
}
.ctaTitle{ font-weight:800; font-size:18px; }
.ctaSub{ color: var(--muted); font-size:13px; margin-top:4px; }

/* =========================================================
   FORMS (extra polish: hover, invalid, helper)
   ========================================================= */
.form{ display:flex; flex-direction:column; gap:12px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field > span{ font-weight:500; font-size:13px; color: rgba(255,255,255,.90); }

.input,
input[type="text"],input[type="email"],input[type="password"],input[type="number"],textarea,select{
  width:100%;
  padding:12px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  color: var(--text);
  outline:none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:hover, textarea:hover, select:hover{
  border-color: rgba(255,255,255,.18);
  background: rgba(0,0,0,.30);
}

textarea{ min-height:120px; resize: vertical; }
select{ cursor:pointer; }
input::placeholder, textarea::placeholder{ color: rgba(255,255,255,.45); }

input:invalid, textarea:invalid{
  /* only visible if browser decides it's invalid; subtle */
  border-color: rgba(255,86,104,.22);
}

.actions{ display:flex; justify-content:flex-end; gap:10px; margin-top:4px; }

.hp{
  position:absolute!important;
  left:-9999px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

/* Alerts */
.alert{
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  margin:10px 0;
}
.alert.ok{ border-color: rgba(49,208,125,.35); background: rgba(49,208,125,.10); }
.alert.error{ border-color: rgba(255,86,104,.35); background: rgba(255,86,104,.12); }

/* Status */
.status{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  font-weight:600;
  font-size:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.80);
}
.status::before{
  content:"";
  width:8px; height:8px;
  border-radius:999px;
  background: rgba(255,255,255,.45);
}
.s-new{ border-color: rgba(83,163,255,.25); background: rgba(83,163,255,.10); } .s-new::before{ background: rgba(83,163,255,.85); }
.s-in_review{ border-color: rgba(255,176,32,.30); background: rgba(255,176,32,.10); } .s-in_review::before{ background: rgba(255,176,32,.85); }
.s-interview{ border-color: rgba(255,51,51,.28); background: rgba(255,51,51,.10); } .s-interview::before{ background: rgba(255,51,51,.85); }
.s-accepted{ border-color: rgba(49,208,125,.35); background: rgba(49,208,125,.12); } .s-accepted::before{ background: rgba(49,208,125,.90); }
.s-rejected{ border-color: rgba(255,86,104,.35); background: rgba(255,86,104,.12); } .s-rejected::before{ background: rgba(255,86,104,.90); }
.s-archived{ border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); } .s-archived::before{ background: rgba(255,255,255,.55); }

/* Tables */
.tableWrap{
  width:100%;
  overflow:auto;
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:760px;
}
.table th,.table td{
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  vertical-align:middle;
}
.table th{
  font-size:12px;
  letter-spacing:.35px;
  text-transform:uppercase;
  color: rgba(255,255,255,.60);
  background: rgba(255,255,255,.03);
}
.table tr:hover td{ background: rgba(255,255,255,.02); }

/* Notes */
.notes{ display:flex; flex-direction:column; gap:10px; margin-top:10px; }
.note{
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.noteHead{ display:flex; justify-content:space-between; gap:12px; margin-bottom:6px; }
.noteBody{ color: var(--muted); }

/* Tags */
.tagRow{ display:flex; gap:8px; flex-wrap:wrap; }
.tagPill{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,0,0,.22);
  background: rgba(255,0,0,.10);
  color: rgba(255,255,255,.85);
  font-size:12px;
  font-weight:500;
}

/* Dialog */
.dlg{ border:none; padding:0; border-radius: var(--r2); background: transparent; }
.dlg::backdrop{ background: rgba(0,0,0,.60); }
.dlg form{
  width:min(520px,calc(100vw - 28px));
  border-radius: var(--r2);
  border:1px solid rgba(255,0,0,.20);
  background: rgba(10,10,10,.90);
  box-shadow: var(--shadow);
  padding:16px;
}

/* =========================================================
   FOOTER (cleaner + not “random text”)
   ========================================================= */
.footer{
  margin-top: 34px;
  border-top: 1px solid rgba(255,0,0,.18);
  background: rgba(0,0,0,.18);
}

.footerSlim{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 18px 0;
}

.footerRight{
  display:flex;
  align-items:center;
  gap:14px;
}

.footerLink{
  color: rgba(245,245,245,.70);
  font-size: 13px;
}
.footerLink:hover{ color: var(--red); }

@media (max-width: 700px){
  .footerSlim{ flex-direction:column; align-items:flex-start; }
  .footerRight{ flex-wrap:wrap; }
}


/* =========================================================
   APPLY WIZARD (more “premium”)
   ========================================================= */
.wizardHead{
  margin-bottom:14px;
  padding:18px;
  border-radius: var(--r3);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,0,0,.14);
  box-shadow: 0 0 24px rgba(255,0,0,.10);
}

.wizardTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.wizardTitle{
  margin-top:8px;
  font-size:28px;
  line-height:1.1;
  letter-spacing:-.25px;
}

.wizardSub{ margin-top:6px; color: rgba(245,245,245,.70); }

.wizardProgress{
  min-width: 240px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}

.barFill{
  height:100%;
  background: linear-gradient(90deg, var(--red), var(--red2));
  box-shadow: 0 0 14px rgba(255,0,0,.35);
}

.wizardSteps{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}

.wStep{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 12px;
  border-radius: 18px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wStep:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.14);
}

.wStep.active{
  border-color: rgba(255,0,0,.26);
  box-shadow: 0 0 18px rgba(255,0,0,.12);
}

.wStep.done{
  border-color: rgba(49,208,125,.22);
  background: rgba(49,208,125,.06);
}

.wDot{
  width: 32px; height: 32px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 800;
  background: rgba(255,0,0,.14);
  border: 1px solid rgba(255,0,0,.22);
  box-shadow: 0 0 14px rgba(255,0,0,.10);
}

.wStep.done .wDot{
  background: rgba(49,208,125,.14);
  border-color: rgba(49,208,125,.22);
  box-shadow: 0 0 14px rgba(49,208,125,.12);
}

.wTitle{ font-weight:700; font-size: 13px; line-height:1.15; }
.wSub{ color: rgba(245,245,245,.60); font-size: 12px; margin-top: 2px; line-height:1.25; }

.applyWrap{ display:flex; flex-direction:column; gap:14px; }

.applyCard{
  padding: 18px;
  border-radius: var(--r3);
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,0,0,.14);
  box-shadow: 0 0 28px rgba(255,0,0,.08), var(--shadowSoft);
}

.applyCard .form{
  gap: 14px;
}

.formGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 900px){
  .formGrid{ grid-template-columns: 1fr; }
}

.field > span{
  font-weight: 600;
  letter-spacing: .15px;
}

.formActions{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* =========================================================
   APPLY — Step 4 (Review + Submit) — Design pass 2025-12
   ========================================================= */

.finalGrid{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap: 14px;
  align-items:start;
}

@media (max-width: 980px){
  .finalGrid{ grid-template-columns: 1fr; }
}

.finalPanel{
  border-radius: var(--r3);
  background: rgba(0,0,0,.26);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 40px rgba(0,0,0,.30);
  padding: 14px;
}

.finalHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.finalHead h2{
  font-size: 18px;
  line-height: 1.15;
}

.finalHead .muted{ margin-top: 2px; }

.finalEdit{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  justify-content:flex-end;
}

.finalEdit a{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(245,245,245,.80);
  font-weight: 600;
  font-size: 12px;
}

.finalEdit a:hover{
  border-color: rgba(255,0,0,.22);
  background: rgba(255,0,0,.08);
  color: #fff;
}

.summaryGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

@media (max-width: 560px){
  .summaryGrid{ grid-template-columns: 1fr; }
}

.summaryItem{
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.summaryLabel{
  display:flex;
  align-items:center;
  gap: 8px;
  color: rgba(245,245,245,.62);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25px;
}

.summaryValue{
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: .15px;
}

.summaryValue.muted{ font-weight: 600; }

.finalTip{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,0,0,.16);
  background: rgba(255,0,0,.06);
}

.finalTip i{
  margin-top: 2px;
  color: rgba(255,255,255,.85);
}

.fileBox{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  padding: 12px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.20);
  background: rgba(255,255,255,.02);
}

.fileBox input[type="file"]{
  width: 100%;
}

.finalSubmitNote{
  margin-top: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  color: rgba(245,245,245,.70);
  line-height: 1.55;
}

.finalSubmitNote strong{ color:#fff; }


/* =========================================================
   DASHBOARD (Admin) — Unified YouBuild Look 2025-12
   (scoped: only affects .dash area)
   ========================================================= */

body.is-admin{ padding-top: 0; }

body.is-admin.is-guest{
  background:
    radial-gradient(1100px 700px at 20% 10%, rgba(255,0,0,.14), transparent 58%),
    radial-gradient(900px 600px at 82% 18%, rgba(255,255,255,.06), transparent 62%),
    radial-gradient(1000px 700px at 50% 110%, rgba(184,0,0,.08), transparent 60%),
    var(--bg);
}

/* =========================================================
   ADMIN LOGIN — clean & controlled
   ========================================================= */

body.is-admin.is-guest{
  background:
    radial-gradient(1100px 700px at 20% 10%, rgba(255,0,0,.14), transparent 58%),
    radial-gradient(900px 600px at 82% 18%, rgba(255,255,255,.06), transparent 62%),
    radial-gradient(1000px 700px at 50% 110%, rgba(184,0,0,.08), transparent 60%),
    var(--bg);
}

.authPage{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  position: relative;
}

.authPage::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .14;
  mix-blend-mode: overlay;
}

.authShell{
  width: min(1120px, 100%);
  position: relative;
  z-index: 1;
}

/* top bar */
.authTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.brandMini{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
}

.brandMiniLogo{
  width: 40px;
  height: 40px;
  border-radius: 16px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,0,0,.18);
  background: rgba(0,0,0,.35);
  box-shadow: 0 0 18px rgba(255,0,0,.10);
}
.brandMiniLogo img{ width:100%; height:100%; object-fit:cover; display:block; }
.brandMiniLogo .fallbackText{ display:none; font-weight:900; letter-spacing:.6px; }
.brandMiniLogo.fallback img{ display:none; }
.brandMiniLogo.fallback .fallbackText{ display:block; }

.brandMiniText strong{
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--text);
}

.authTopLink{
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.authTopLink:hover{
  border-color: rgba(255,0,0,.20);
  background: rgba(255,0,0,.08);
  color: #fff;
}

.authFooter{ margin-top: 14px; text-align:center; }

/* split */
.authGrid{
  display:grid;
  grid-template-columns: 1.2fr 420px;
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 980px){
  .authGrid{ grid-template-columns: 1fr; }
  .authTop{ flex-direction:column; align-items:flex-start; }
}

/* hero */
.authHero{
  border-radius: var(--r3);
  background:
    radial-gradient(600px 320px at 20% 0%, rgba(255,0,0,.20), transparent 60%),
    rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 60px rgba(0,0,0,.45);
  padding: 18px;
  display:flex;
  flex-direction:column;
}

.authHeroBadge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,0,0,.22);
  background: rgba(255,0,0,.10);
  font-weight: 900;
  width: fit-content;
  margin-bottom: 12px;
}

.authHero h1{
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: .2px;
}

.authHeroList{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-top: 14px;
}

.authHeroItem{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.authHeroItem i{
  width: 36px;
  height: 36px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,0,0,.18);
  background: rgba(255,0,0,.10);
  box-shadow: 0 0 18px rgba(255,0,0,.10);
}

.authHeroItem strong{ font-weight: 900; }
.authHeroFoot{
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* form */
.authFormCard{
  border-radius: var(--r3);
  background: rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 60px rgba(0,0,0,.45);
  padding: 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.authFormHead{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  margin-bottom: 12px;
}

.authFormIcon{
  width: 44px; height: 44px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,0,0,.20);
  background: rgba(255,0,0,.10);
  box-shadow: 0 0 18px rgba(255,0,0,.10);
}

.authFormHead h2{
  margin:0;
  font-size: 20px;
  font-weight: 900;
}

.inputIcon{
  display:flex;
  align-items:center;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 10px 12px;
}
.inputIcon i{ opacity: .85; width: 18px; text-align:center; }
.inputIcon input{
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  color: var(--text);
}
.inputIcon input:focus{ outline: none; }

.authActions{ justify-content:flex-end; }
.authHelp{ margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }



/* Inputs with icon */
.inputIcon{
  display:flex;
  align-items:center;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 10px 12px;
}
.inputIcon i{ opacity: .85; width: 18px; text-align:center; }

.inputIcon input{
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  color: var(--text);
}
.inputIcon input:focus{ outline: none; }

.authActions{ justify-content:space-between; }
.authHint{ margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }

.dash{
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
  background:
    radial-gradient(1100px 700px at 20% 10%, rgba(255,0,0,.16), transparent 58%),
    radial-gradient(900px 600px at 82% 18%, rgba(255,255,255,.06), transparent 62%),
    radial-gradient(1000px 700px at 50% 110%, rgba(184,0,0,.08), transparent 60%),
    var(--bg);
}

/* Subtle grid texture */
.dash::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .18;
  mix-blend-mode: overlay;
}

/* NAV */
.dashNav{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;

  padding: 14px;
  border-right: 1px solid rgba(255,0,0,.14);
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(10px);
}

.dashBrand{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r3);
  border: 1px solid rgba(255,0,0,.18);
  background: rgba(255,255,255,.03);
  box-shadow: 0 0 20px rgba(255,0,0,.10);
}

.dashLogo{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  overflow: hidden;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,0,0,.18);
  background: rgba(0,0,0,.35);
  box-shadow: 0 0 18px rgba(255,0,0,.10);
}
.dashLogo img{ width:100%; height:100%; object-fit:cover; }
.dashLogo .fallbackText{ display:none; font-weight:800; letter-spacing:.6px; }
.dashLogo.fallback img{ display:none; }
.dashLogo.fallback .fallbackText{ display:block; }

.dashBrandText strong{ font-size: 15px; font-weight: 800; letter-spacing: .2px; }
.dashBrandText .muted{ color: rgba(245,245,245,.55); }

.dashMenu{ display:flex; flex-direction:column; gap:8px; margin-top: 14px; }

.dashItem{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  color: rgba(245,245,245,.92);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.dashItem i{
  width: 18px;
  text-align:center;
  opacity: .95;
}

.dashItem:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}

.dashItem.active{
  border-color: rgba(255,0,0,.28);
  background: rgba(255,0,0,.10);
  box-shadow: 0 0 18px rgba(255,0,0,.14);
}

.dashSpacer{ height: 14px; }

.dashUser{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 12px;
  border-radius: var(--r3);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  margin-top: 14px;
}

.dashAvatar{
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight: 800;
  border: 1px solid rgba(255,0,0,.18);
  background: rgba(255,0,0,.10);
  box-shadow: 0 0 18px rgba(255,0,0,.10);
}

.dashUserName{ font-weight: 800; line-height: 1.05; }
.dashUserMeta .muted{ color: rgba(245,245,245,.58); }

.dashLogout{ margin-top: 10px; }
.btn.full{ width:100%; justify-content:center; }

/* MAIN */
.dashMain{ min-width: 0; display:flex; flex-direction:column; }
.dashTop{
  position: sticky;
  top: 0;
  z-index: 30;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,0,0,.14);
  background: rgba(10,10,10,.58);
  backdrop-filter: blur(10px);
}

.dashBurger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor:pointer;
}
.dashBurger:hover{ background: rgba(255,255,255,.06); border-color: rgba(255,0,0,.18); }

.dashTopTitle{ display:flex; flex-direction:column; line-height: 1.05; }
.dashTopTitle .muted{ color: rgba(245,245,245,.55); }

.dashTopActions{ display:flex; gap: 8px; align-items:center; }

/* Scope page components */
.dash .dashContent{ padding: 16px; max-width: 1200px; width: 100%; margin: 0 auto; position: relative; z-index: 1; }
.dash .dashFooter{ padding: 16px; text-align:center; position: relative; z-index: 1; }

.dash .pageHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.dash .pageHead h1{ font-size: 28px; line-height: 1.1; letter-spacing: .2px; }
.dash .pageHeadActions{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

.dash .dashGrid{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 14px;
  align-items:start;
}
.dash .detailGrid{
  display:grid;
  grid-template-columns: 1fr 380px;
  gap: 14px;
  align-items:start;
}

.dash .card{
  border-radius: var(--r3);
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 40px rgba(0,0,0,.32);
  padding: 14px;
}

.dash .cardHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.dash .stickyCard{ position: sticky; top: calc(14px + 72px); }

.dash .kpiRow{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}

.dash .kpi{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 12px;
}
.dash .kNum{ font-size: 22px; font-weight: 900; }
.dash .kLbl{ font-size: 12px; color: rgba(245,245,245,.62); }

/* Lists */
.dash .appList{ display:flex; flex-direction:column; gap:10px; }
.dash .appCard{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.dash .appCard:hover{
  border-color: rgba(255,0,0,.16);
  background: rgba(255,255,255,.04);
}
.dash .appTitle{ display:flex; gap:8px; align-items:baseline; }
.dash .appSub{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 4px; }
.dash .appRight{ display:flex; gap:10px; align-items:center; }

/* Badges */
.dash .badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.12);
}
.dash .badge-admin{
  background: rgba(255,0,0,.14);
  border-color: rgba(255,0,0,.28);
}
.dash .badge-reviewer{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: rgba(245,245,245,.88);
}

/* Mobile */
@media (max-width: 980px){
  .dash .dashGrid{ grid-template-columns: 1fr; }
  .dash .detailGrid{ grid-template-columns: 1fr; }
  .dash .stickyCard{ position: static; }
}

@media (max-width: 880px){
  .dash{ grid-template-columns: 1fr; }

  .dashNav{
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 290px;
    transform: translateX(-102%);
    transition: transform .2s ease;
    z-index: 60;
  }

  .dash.nav-open .dashNav{ transform: translateX(0); }
  .dashBurger{ display:inline-flex; align-items:center; justify-content:center; }
}

.dashGrid{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 14px;
  align-items:start;
}
.detailGrid{
  display:grid;
  grid-template-columns: 1fr 380px;
  gap: 14px;
  align-items:start;
}

.card{
  border-radius: var(--r3);
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  padding: 14px;
}
.cardHead{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  margin-bottom: 12px;
}
.stickyCard{ position: sticky; top: calc(14px + 74px); }

.sep{
  border: none;
  border-top: 1px solid rgba(255,255,255,.10);
  margin: 14px 0;
}

.kpiRow{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}
.kpi{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 12px;
}
.kNum{ font-size: 22px; font-weight: 800; }
.kLbl{ font-size: 12px; color: var(--muted); }

.appList{ display:flex; flex-direction:column; gap:10px; }
.appCard{
  display:flex; justify-content:space-between; gap:12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.appCard:hover{ border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.appTitle{ display:flex; gap:8px; align-items:baseline; }
.appSub{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 4px; }
.appRight{ display:flex; gap:10px; align-items:center; }

.empty{
  display:flex; gap:12px; align-items:center;
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
}

.teamControls{
  display:flex; gap:10px; flex-wrap:wrap;
  align-items:flex-end;
  margin-bottom: 12px;
}
.teamUser{ display:flex; gap:10px; align-items:center; }
.teamAvatar{
  width:38px; height:38px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  font-weight: 800;
}
.teamName{ font-weight:700; }

.modal{
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r3);
  background: rgba(10,10,10,.98);
  color: var(--text);
  padding: 0;
  width: min(520px, calc(100% - 24px));
}
.modal::backdrop{ background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.modal .form{ padding: 16px; }
.modal h3{ margin-bottom: 6px; }

.kv{ display:flex; flex-direction:column; gap:10px; }
.kvRow{
  display:flex; justify-content:space-between; gap:12px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.kvRow .k{ color: var(--muted); font-size: 12px; }
.kvRow .v{ text-align:right; }

.textBox{
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  line-height: 1.55;
}

.notes{ display:flex; flex-direction:column; gap:10px; }
.note{
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.noteHead{ display:flex; justify-content:space-between; gap:10px; margin-bottom:8px; }
.noteBody{ color: var(--text); line-height:1.5; }

.auditList{ display:flex; flex-direction:column; gap:10px; }
.auditRow{
  display:flex; justify-content:space-between; gap:12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.auditAction{ font-weight:700; }

/* Make table fit dashboard */
.tableWrap{ overflow:auto; border-radius: 18px; border: 1px solid rgba(255,255,255,.10); }
.table{ border-collapse: collapse; width:100%; }
.table thead th{
  position: sticky;
  top: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}

/* Badges for roles */
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.12);
}
.badge-admin{ background: rgba(255,176,32,.14); border-color: rgba(255,176,32,.35); }
.badge-reviewer{ background: rgba(83,163,255,.14); border-color: rgba(83,163,255,.35); }

/* Modal (dialog) — enforced centering + nicer head/body */
.modal{
  margin: auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r3);
  background: rgba(10,10,10,.98);
  color: var(--text);
  padding: 0;
  width: min(560px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  overflow: hidden;
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
}
.modal::backdrop{ background: rgba(0,0,0,.62); backdrop-filter: blur(4px); }

.modal .form{ padding: 0; }

.modalHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;

  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.modalHead h3{ margin: 0; font-size: 18px; font-weight: 900; }
.modalHead .muted{ margin-top: 4px; }

.modalBody{
  padding: 14px;
  overflow: auto;
}

.iconBtn{
  width: 40px;
  height: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor: pointer;
  display:grid;
  place-items:center;
}
.iconBtn:hover{
  border-color: rgba(255,0,0,.20);
  background: rgba(255,0,0,.08);
}

/* Mobile */
@media (max-width: 980px){
  .dashGrid{ grid-template-columns: 1fr; }
  .detailGrid{ grid-template-columns: 1fr; }
  .stickyCard{ position: static; }
}
@media (max-width: 880px){
  .dash{ grid-template-columns: 1fr; }
  .dashNav{
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 280px;
    transform: translateX(-102%);
    transition: transform .2s ease;
    z-index: 50;
  }
  .dash.nav-open .dashNav{ transform: translateX(0); }
  .dashBurger{ display:inline-flex; align-items:center; justify-content:center; }
}



/* ===== Wizard done polish ===== */
.wStep.done{
  border-color: rgba(49,208,125,.28);
  background:
    radial-gradient(260px 120px at 20% 0%, rgba(49,208,125,.14), transparent 60%),
    rgba(49,208,125,.06);
}

.wStep.done .wDot{
  color: rgba(255,255,255,.95);
  background: linear-gradient(90deg, rgba(49,208,125,.42), rgba(49,208,125,.22));
  border-color: rgba(49,208,125,.30);
  box-shadow: 0 0 16px rgba(49,208,125,.18);
}

.wStep.active .wDot{
  box-shadow: 0 0 18px rgba(255,0,0,.18);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:980px){
  .heroCard{ grid-template-columns:1fr; }
  .heroMain h1{ font-size:32px; }
  .ctaBand{ flex-direction:column; align-items:flex-start; }
}

@media (max-width:900px){
  .footerGrid{ grid-template-columns: 1fr; }
  .footerBottom{ flex-direction:column; align-items:flex-start; }

  .wizardTop{ flex-direction:column; }
  .wizardProgress{ min-width: unset; width:100%; }
  .wizardSteps{ grid-template-columns: 1fr; }
}

@media (max-width:520px){
  .btn{ width:100%; }
  .heroActions{ flex-direction:column; }
  .stepperCta{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 560px){
  .headerInner{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .topnav{
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 8px;
  }

  .topnav a{
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .navActions{
    width: 100%;
  }

  .navCta{
    width: 100%;
    justify-content: center;
  }
}
