@charset "UTF-8";

/* ============================================================
   PHASE 2.8 - Wizard Size-Up
   Grow #ev2bwModal to ~94vw / ~92vh (capped at 1640px wide).
   Bigger typography, roomier option cards, wider preview column.
   Double-ID specificity (#ev2bwModal#ev2bwModal) to beat earlier
   sizing rules from KW-WIZARD-PHASE-2A through 2G + Phase 2.5/2.6/2.7.
   ============================================================ */

/* ---------- Outer modal: dimensions ---------- */
#ev2bwModal#ev2bwModal {
  width: 94vw !important;
  max-width: 1640px !important;
  height: auto !important;
  max-height: 92vh !important;
  min-height: 75vh !important;
  /* Keep centered if existing transform/positioning is in use */
  margin: 0 auto !important;
}

/* ---------- Inner body: matching scroll allowance ---------- */
#ev2bwModal#ev2bwModal #ev2bwBody {
  max-height: calc(92vh - 220px) !important;
  min-height: calc(75vh - 220px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 12px !important;
}

/* Custom thin gold scrollbar inside body */
#ev2bwModal#ev2bwModal #ev2bwBody::-webkit-scrollbar {
  width: 6px !important;
}
#ev2bwModal#ev2bwModal #ev2bwBody::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2) !important;
}
#ev2bwModal#ev2bwModal #ev2bwBody::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(253, 194, 59, 0.45), rgba(201, 148, 31, 0.35)) !important;
  border-radius: 6px !important;
}

/* ---------- Step titles: bump 36 -> 44 on wide screens ---------- */
@media (min-width: 1280px) {
  #ev2bwModal#ev2bwModal .ev2bw-screen-title,
  #ev2bwModal#ev2bwModal .ev2bw-ai-title {
    font-size: 44px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.025em !important;
  }
  #ev2bwModal#ev2bwModal .ev2bw-screen-sub,
  #ev2bwModal#ev2bwModal .ev2bw-ai-title + p,
  #ev2bwModal#ev2bwModal .ev2bw-ai-title ~ p {
    font-size: 19px !important;
    line-height: 1.55 !important;
  }
}

@media (min-width: 1600px) {
  #ev2bwModal#ev2bwModal .ev2bw-screen-title,
  #ev2bwModal#ev2bwModal .ev2bw-ai-title {
    font-size: 52px !important;
  }
  #ev2bwModal#ev2bwModal .ev2bw-screen-sub,
  #ev2bwModal#ev2bwModal .ev2bw-ai-title + p,
  #ev2bwModal#ev2bwModal .ev2bw-ai-title ~ p {
    font-size: 21px !important;
  }
}

/* ---------- Option cards (format / caption / hook / etc) ---------- */
#ev2bwModal#ev2bwModal .ev2bw-opt {
  padding: 18px 22px !important;
  min-height: 78px !important;
  border-radius: 16px !important;
}

/* Option labels inside cards bigger too */
#ev2bwModal#ev2bwModal .ev2bw-opt [class*="label"],
#ev2bwModal#ev2bwModal .ev2bw-opt [class*="title"] {
  font-size: 16px !important;
}
#ev2bwModal#ev2bwModal .ev2bw-opt [class*="sub"],
#ev2bwModal#ev2bwModal .ev2bw-opt [class*="desc"] {
  font-size: 13px !important;
}

/* ---------- Preview phone column: wider ---------- */
/* The preview phone is rendered alongside option cards in a grid.
   We can't always know its exact wrapper class, so target broadly. */
#ev2bwModal#ev2bwModal [class*="preview"],
#ev2bwModal#ev2bwModal [class*="ev2bw-phone"],
#ev2bwModal#ev2bwModal [class*="ev2bw-mock"] {
  min-width: 280px !important;
}

/* ---------- Header / progress bar: bigger ---------- */
#ev2bwModal#ev2bwModal [class*="ev2bw-progress"],
#ev2bwModal#ev2bwModal [class*="ev2bw-bar"] {
  height: 6px !important;
}

/* ---------- Action buttons (Continue, Skip, Back): bigger tap targets ---------- */
#ev2bwModal#ev2bwModal .ev2bw-btn,
#ev2bwModal#ev2bwModal .ev2bw-btn-primary,
#ev2bwModal#ev2bwModal .ev2bw-btn-ghost,
#ev2bwModal#ev2bwModal #ev2bwNext,
#ev2bwModal#ev2bwModal #ev2bwBack,
#ev2bwModal#ev2bwModal #ev2bwSkip {
  font-size: 15px !important;
  padding: 14px 28px !important;
  min-height: 50px !important;
}

/* The next-hint chip ("(FORMAT)", "(CAPTIONS)", "(DONE)") inside Continue */
#ev2bwModal#ev2bwModal .next-hint,
#ev2bwModal#ev2bwModal #ev2bwNextHint {
  font-size: 12px !important;
  margin-left: 8px !important;
  opacity: 0.78 !important;
}

/* ---------- Footer with Continue button: more breathing room ---------- */
#ev2bwModal#ev2bwModal [class*="ev2bw-footer"],
#ev2bwModal#ev2bwModal [class*="ev2bw-actions"] {
  padding: 18px 28px !important;
}

/* ---------- Visual Contract (Step 8) grid scale ---------- */
/* The 6-card decree grid in Phase 2 should breathe more in the
   larger modal. Phase 2.2 set max-height; we override with a
   bigger room. */
#ev2bwModal#ev2bwModal #_ev2vc-screen {
  max-height: calc(92vh - 220px) !important;
  padding: 18px 8px !important;
}

#ev2bwModal#ev2bwModal #_ev2vc-screen [class*="_ev2vc-card"] {
  min-height: 280px !important;
}

/* ---------- Step 1 AI panel: more vertical room ---------- */
/* The Step 1 AI panel renders the circle + title + sub + pills in
   one column. Give it more space to spread out. */
#ev2bwModal#ev2bwModal .ev2bw-ai-title {
  margin: 24px 0 16px 0 !important;
}

/* Pill chip rows (TITLE | Your video, etc) - more gap */
#ev2bwModal#ev2bwModal #ev2bwBody [class*="pill"],
#ev2bwModal#ev2bwModal #ev2bwBody [class*="chip"] {
  margin: 6px !important;
}

/* ---------- Build So Far rail (Phase 1): re-anchor for bigger modal ---------- */
/* The rail anchors above #ev2bwSteps. With a wider modal it should
   stretch wider too. */
#_ev2bsf-rail {
  width: 94vw !important;
  max-width: 1640px !important;
  margin: 0 auto !important;
}

/* ---------- Brand bar at top: scale up logo + session label ---------- */
#ev2bwModal#ev2bwModal [class*="ev2bw-brand"] {
  font-size: 16px !important;
  padding: 14px 20px !important;
}
