@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root{
  --bg:#eafff1;
  --panel:#ffffff;
  --panel2:#f2fff7;
  --text:#062014;
  --muted:#2f6b50;
  --border:rgba(0,0,0,.12);
  --accent:#16a34a;
  /* Edugametion "Buy Now" style (approx) */
  --cta_bg:#16a34a;
  --cta_bg_hover:#12803a;
  --cta_text:#ffffff;
  --danger:#ff6b6b;
  --shadow:0 20px 60px rgba(0,0,0,.14);
  --radius:18px;
  --radius2:14px;
  --font:'Quicksand', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  font-size:14px;
  line-height:1.55;
  background:
    radial-gradient(1200px 700px at 18% -10%, rgba(34,197,94,.22), transparent 55%),
    radial-gradient(900px 600px at 92% 18%, rgba(22,163,74,.18), transparent 60%),
    radial-gradient(900px 650px at 40% 105%, rgba(134,239,172,.38), transparent 60%),
    linear-gradient(180deg, #f6fff9, var(--bg) 45%, #f2fff7);
}

h1,h2,h3{letter-spacing:-.2px}

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

.footer{
  margin-top:18px;
  padding:14px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius2);
  background:rgba(255,255,255,.70);
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  font-size:12px;
  font-weight:600;
  color:var(--muted);
}
.footer-links a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.14);
}
.footer-links a:hover{
  color:var(--text);
  border-bottom-color:rgba(0,0,0,.28);
}
.footer-links .sep{opacity:.7}
.footer-note{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
}

.top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.brand h1{
  margin:0;
  font-size:24px;
  font-weight:700;
}
.brand p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  font-weight:500;
}

.panel{
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.panel-inner{
  padding:22px;
}

.steps{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
  padding:18px 18px 16px;
  background:linear-gradient(180deg, rgba(22,163,74,.10), rgba(255,255,255,.55));
  border-bottom:1px solid var(--border);
  position:relative;
  align-items:start;
}
.steps::before{
  content:"";
  position:absolute;
  left:28px;
  right:28px;
  top:32px;
  height:2px;
  background:rgba(0,0,0,.12);
  border-radius:999px;
}
.step{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:var(--muted);
  font-size:13px;
  padding:4px 6px;
  border-radius:12px;
  position:relative;
  z-index:1;
}
.step:hover{
  color:var(--text);
}
.step.disabled{
  cursor:not-allowed;
  opacity:.55;
}
.step.disabled:hover{
  color:var(--muted);
}
.dot{
  width:30px;height:30px;border-radius:999px;
  display:grid;place-items:center;
  border:1px solid rgba(0,0,0,.16);
  background:rgba(255,255,255,.92);
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}
.step-label{
  text-align:center;
  color:inherit;
  font-weight:600;
  line-height:1.2;
}
.step.active{
  color:var(--text);
}
.step.active .dot{
  border-color:rgba(22,163,74,.55);
  box-shadow:0 0 0 4px rgba(22,163,74,.12);
  color:var(--accent);
}
.step.done .dot{
  border-color:rgba(34,197,94,.55);
  color:#46f2a0;
}
@media (max-width: 720px){
  .steps{
    grid-template-columns:1fr;
    gap:12px;
    padding:16px 18px;
  }
  .steps::before{display:none}
  .step{
    flex-direction:row;
    justify-content:flex-start;
    align-items:center;
    padding:10px 12px;
    border:1px solid rgba(0,0,0,.10);
    background:rgba(255,255,255,.70);
  }
  .step.disabled{border-style:dashed}
  .step-label{text-align:left}
}

.grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}
.grid > *{min-width:0}
@media (max-width: 860px){
  .grid{grid-template-columns:1fr}
}

.card{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(0,0,0,.10);
  border-radius:var(--radius2);
  padding:16px;
  min-width:0;
}

.order-summary{
  display:flex;
  flex-direction:column;
  height:100%;
}
.order-summary-bottom{
  margin-top:auto;
}

.card h2{
  margin:0 0 12px;
  font-size:16px;
  font-weight:700;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.field{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin:12px 0;
}
.field label{
  font-size:12px;
  font-weight:600;
  color:var(--muted);
}
.field input, .field select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.92);
  color:var(--text);
  outline:none;
}
.field input::placeholder{color:rgba(47,107,80,.70)}
.field input:focus, .field select:focus{
  border-color:rgba(22,163,74,.55);
  box-shadow:0 0 0 4px rgba(22,163,74,.12);
}

.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media (max-width: 520px){
  .two{grid-template-columns:1fr}
}

.actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:14px;
  flex-wrap:wrap;
}

.btn{
  appearance:none;
  border:1px solid rgba(0,0,0,.14);
  background:rgba(255,255,255,.80);
  color:var(--text);
  padding:11px 16px;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
  font-size:13px;
  letter-spacing:.1px;
}
.btn:hover{border-color:rgba(0,0,0,.24)}
.btn.primary{
  border-color:rgba(0,0,0,.08);
  background:var(--cta_bg);
  color:var(--cta_text);
}
.btn.primary:hover{
  border-color:rgba(0,0,0,.12);
  background:var(--cta_bg_hover);
}
.btn.danger{
  border-color:rgba(255,107,107,.35);
  background:linear-gradient(180deg, rgba(255,107,107,.16), rgba(255,107,107,.06));
}
.btn.link{
  background:transparent;
  border-color:transparent;
  color:var(--muted);
}
.btn.link:hover{color:var(--text); border-color:rgba(255,255,255,.14)}

.error{
  border:1px solid rgba(255,107,107,.30);
  background:rgba(255,107,107,.10);
  color:#ffd6d6;
  padding:10px 12px;
  border-radius:12px;
  margin:0 0 12px;
  font-size:13px;
}

.price{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid rgba(0,0,0,.10);
}
.price:last-child{border-bottom:none}
.price .k{color:var(--muted); font-size:13px}
.price .v{font-weight:700}
.total .v{font-size:18px}

.mini{
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

.radio{
  display:flex;
  gap:12px;
  padding:12px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.72);
  border-radius:14px;
  cursor:pointer;
  margin:10px 0;
  align-items:flex-start;
}
.radio:hover{border-color:rgba(0,0,0,.20)}
.radio input{margin-top:3px}
.radio .meta{display:flex; flex-direction:column; gap:4px; min-width:0; width:100%}
.radio .meta strong{font-size:14px}
.radio .meta span{color:var(--muted); font-size:12px; line-height:1.35}

.single-picker,
.bundle-picker,
.diploma-picker,
.sub-picker{
  max-width:100%;
  min-width:0;
  overflow:hidden;
}

/* Stage 1 course thumbnails: 3× wider, 1.5× taller */
.single-picker .pick-icon,
.bundle-picker .pick-icon{
  width:108px;
  height:54px;
  border-radius:14px;
}
.single-picker .pick-card,
.bundle-picker .pick-check{
  min-width:148px;
  max-width:170px;
}

.hr{
  height:1px;
  background:rgba(0,0,0,.10);
  margin:12px 0;
}

.dropdown{
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(7,11,20,.35);
  overflow:hidden;
}
.dropdown-summary{
  list-style:none;
  cursor:pointer;
  padding:12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--text);
}
.dropdown-summary::-webkit-details-marker{display:none}
.dropdown-title{font-weight:700}
.dropdown-count{color:var(--muted); font-size:12px}
.dropdown-menu{
  border-top:1px solid rgba(255,255,255,.10);
  max-height:320px;
  overflow:auto;
  padding:10px;
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.dropdown-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(2,10,6,.25);
}
.dropdown-item input{margin-top:3px}
.dropdown-item-text{display:flex; flex-direction:column; gap:2px}
.dropdown-item-text strong{color:var(--text); font-size:13px}

.scroller{
  display:flex;
  gap:10px;
  overflow-x:auto;
  max-width:100%;
  width:100%;
  min-width:0;
  padding:8px 2px 10px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}

.scroller-tight .pick-card,
.scroller-tight .pick-check{
  min-width:96px;
  max-width:110px;
}

.scroller-tight .pick-icon{
  width:34px;
  height:34px;
  border-radius:11px;
}
.scroller::-webkit-scrollbar{height:10px}
.scroller::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.18);
  border-radius:999px;
}
.pick-card{
  min-width:112px;
  max-width:128px;
  flex:0 0 auto;
  scroll-snap-align:start;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.86);
  border-radius:14px;
  padding:12px 10px 12px;
  cursor:pointer;
  color:var(--text);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:left;
}
.pick-card:hover{border-color:rgba(0,0,0,.24)}
.pick-card.selected{
  border-color:rgba(22,163,74,.55);
  box-shadow:0 0 0 4px rgba(22,163,74,.12);
}
.pick-icon{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(22,163,74,.12);
  border:1px solid rgba(22,163,74,.18);
  flex:0 0 auto;
  overflow:hidden;
}
.pick-icon img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:top;
}
.pick-icon i{
  font-size:18px;
  line-height:1;
  display:block;
}
.pick-name{
  font-weight:700;
  font-size:12px;
  line-height:1.2;
  text-align:center;
  white-space:normal;
  word-break:break-word;
}

.pick-check{
  min-width:112px;
  max-width:128px;
  flex:0 0 auto;
  scroll-snap-align:start;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.86);
  border-radius:14px;
  padding:12px 10px 12px;
  cursor:pointer;
  color:var(--text);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:center;
  user-select:none;
  position:relative;
}
.pick-check:hover{border-color:rgba(0,0,0,.24)}
.pick-check input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.pick-check:has(input:checked){
  border-color:rgba(22,163,74,.55);
  box-shadow:0 0 0 4px rgba(22,163,74,.12);
}

