/* ==============================
   Help-Me-Choose Wizard Dialog
   ============================== */

/* overlay */
.choose-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.45);
  z-index:20000;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}

.choose-overlay.open{
  opacity:1;
  pointer-events:auto;
}

/* wizard card */
.choose-wizard{
  width:860px;
  max-width:92vw;
  max-height:90vh;
  overflow-y:auto;
  background:#fff;
  border-radius:20px;
  padding:44px 56px 40px;
  box-shadow:0 50px 140px rgba(0,0,0,.45);
  display:flex;
  flex-direction:column;
  position:relative;
  transform:translateY(16px) scale(.97);
  transition:transform .25s ease;
  font-family:'Poppins', sans-serif;
  font-size:16px;
  font-weight:400;
}

.choose-overlay.open .choose-wizard{
  transform:translateY(0) scale(1);
}

/* close button */
.choose-close{
  position:absolute;
  top:16px;
  right:20px;
  background:none;
  border:none;
  font-size:22px;
  color:#94a3b8;
  cursor:pointer;
  line-height:1;
  padding:4px 8px;
  border-radius:8px;
  transition:background .15s;
}

.choose-close:hover{
  background:#f1f5f9;
  color:#334155;
}

/* progress */
.choose-progress-wrap{
  display:none;
  margin-bottom:26px;
  text-align:center;
}

.choose-step-label{
  font-size:13px;
  color:#64748b;
  margin-bottom:6px;
}

.choose-progress{
  height:6px;
  background:#e5e9f2;
  border-radius:999px;
  overflow:hidden;
}

.choose-progress-bar{
  height:100%;
  background:#1f3c88;
  width:0%;
  transition:.35s;
}

/* selection chips */
.choose-selections{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin:18px 0 28px;
}

.choose-chip{
  padding:6px 12px;
  border-radius:999px;
  background:#eef2ff;
  color:#1f3c88;
  font-size:13px;
  font-weight:500;
}

/* header */
.choose-header{
  text-align:center;
  margin-bottom:30px;
}

.choose-header h2{
  margin:0 0 10px;
  font-size:26px;
  font-weight:700;
  color:#000;
}

.choose-header p{
  margin:0;
  color:#64748b;
}

/* options grid */
.choose-options{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  max-width:520px;
  margin:0 auto;
}

.choose-option{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  border-radius:14px;
  border:2px solid #e5e9f2;
  cursor:pointer;
  font-weight:500;
  color:#000;
  text-align:center;
  transition:.25s;
}

.choose-option:hover{
  border-color:#1f3c88;
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(0,0,0,.12);
}

/* nav / back */
.choose-nav{
  margin-top:34px;
}

.choose-prev{
  background:#e5e7eb;
  border:none;
  padding:12px 24px;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  font-family:'Poppins', sans-serif;
  font-size:14px;
}

.choose-prev:hover{
  background:#d1d5db;
}

/* result card */
.choose-result{
  text-align:center;
}

.choose-course-card{
  border:2px solid #e5e9f2;
  border-radius:16px;
  padding:12px 30px 24px;
  margin-top:20px;
}

.choose-course-title{
  font-size:28px;
  font-weight:600;
  color:#1f3c88;
}

.choose-match-badge{
  display:inline-block;
  background:#eef4ff;
  color:#1f3c88;
  padding:6px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  margin-bottom:10px;
}

.choose-result-header{
  text-align:center;
  margin-bottom:8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#64748b;
}

.choose-course-meta{
  display:grid;
  grid-template-columns:repeat(2,auto);
  gap:12px 40px;
  justify-content:center;
  margin:20px auto 24px;
  font-size:15px;
  font-weight:500;
  color:#334155;
  text-align:left;
}

.choose-meta{
  display:flex;
  align-items:center;
  gap:6px;
}

.choose-meta-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  font-size:18px;
  text-align:center;
  flex-shrink:0;
}

/* CTA row */
.choose-cta-row{
  display:flex;
  gap:14px;
  justify-content:center;
  align-items:center;
  margin-top:22px;
  flex-wrap:wrap;
}

/* base button */
.choose-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:52px;
  padding:0 26px;
  border-radius:999px;
  font-family:'Poppins', sans-serif;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  cursor:pointer;
  transition:all .18s ease;
  white-space:nowrap;
}

/* primary button */
.choose-cta-btn.primary{
  background:linear-gradient(180deg,#ffc947,#ff9f0a);
  color:#fff;
  box-shadow:
    0 8px 20px rgba(255,159,10,.35),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.choose-cta-btn.primary:hover{
  transform:translateY(-1px);
  box-shadow:
    0 10px 26px rgba(255,159,10,.45),
    inset 0 1px 0 rgba(255,255,255,.35);
}

/* ghost button */
.choose-cta-btn.ghost{
  background:#fff;
  color:#1f3c88;
  border:1px solid #dbe2f0;
}

.choose-cta-btn.ghost:hover{
  background:#f7f9fc;
  border-color:#c9d4ea;
}

/* flexibility copy */
.choose-result-flex{
  margin-top:26px;
  max-width:580px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.choose-flex-lead{
  font-weight:600;
  margin-bottom:0;
  color:#0f172a;
}

.choose-result-flex p{
  margin-top:4px;
}

/* restart */
.choose-restart{
  display:none;
  margin-top:30px;
}

.choose-restart-btn{
  background:#e5e7eb;
  border:none;
  padding:12px 22px;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  font-family:'Poppins', sans-serif;
}

.choose-restart-btn:hover{
  background:#d1d5db;
}

/* responsive */
@media (max-width:600px){
  .choose-wizard{
    padding:30px 24px 28px;
  }
  .choose-options{
    grid-template-columns:1fr;
  }
  .choose-course-meta{
    grid-template-columns:1fr;
  }
  .choose-header h2{
    font-size:22px;
  }
  .choose-course-title{
    font-size:22px;
  }
}
