/* ATM Travel — modals.css */

/* ── OVERLAY ── */
.atm-moverlay {
  position:fixed;inset:0;z-index:500;
  display:none;align-items:center;justify-content:center;
  padding:14px;
  background:rgba(5,8,16,.9);
  backdrop-filter:blur(14px);
  animation:atm-fi .2s ease;
}
.atm-moverlay.open { display:flex }
@keyframes atm-fi { from{opacity:0} to{opacity:1} }

.atm-modal {
  background:linear-gradient(160deg,#141922,#0f1520);
  border:1px solid rgba(200,169,110,.13);
  border-radius:22px;
  width:100%;max-width:820px;max-height:92vh;
  overflow-y:auto;
  box-shadow:0 40px 120px rgba(0,0,0,.75);
  animation:atm-su .28s cubic-bezier(.34,1.56,.64,1);
}
@keyframes atm-su { from{opacity:0;transform:translateY(30px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }

.atm-mhdr {
  padding:22px 26px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:space-between;
  position:sticky;top:0;background:inherit;z-index:10;
}
.atm-mbadge { font-size:11px;color:#c8a96e;letter-spacing:1.5px;text-transform:uppercase;font-weight:600 }
.atm-mclose {
  width:32px;height:32px;border-radius:50%;
  border:1px solid rgba(255,255,255,.12);background:transparent;
  color:rgba(255,255,255,.4);font-size:16px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:all .2s;
}
.atm-mclose:hover { border-color:#c4502a;color:#c4502a }
.atm-mbody { padding:22px 26px 26px }

/* ── STEP DOTS ── */
.atm-sdots { display:flex;align-items:center;margin-bottom:24px }
.atm-sd { display:flex;flex-direction:column;align-items:center }
.atm-sdc {
  width:24px;height:24px;border-radius:50%;
  border:1.5px solid rgba(255,255,255,.16);
  display:flex;align-items:center;justify-content:center;
  font-size:10px;font-weight:600;color:rgba(255,255,255,.32);
  transition:all .3s;flex-shrink:0;
}
.atm-sdc.active { background:#c4502a;border-color:#c4502a;color:white }
.atm-sdc.done   { background:#c8a96e;border-color:#c8a96e;color:#0a0d14 }
.atm-sdl { flex:1;height:1px;background:rgba(255,255,255,.07) }
.atm-sdl.done { background:#c8a96e }
.atm-sdt { font-size:9px;color:rgba(255,255,255,.25);margin-top:4px;letter-spacing:.3px;white-space:nowrap }
.atm-sdt.active { color:rgba(255,255,255,.45) }
.atm-sdt.done   { color:#c8a96e }

/* ── MODAL HERO IMAGE ── */
.atm-mhero {
  width:100%;height:230px;object-fit:cover;border-radius:12px;margin-bottom:14px;
  background:rgba(255,255,255,.03);display:block;
}

/* ── DESTINATION MINI GALLERY ── */
.atm-mdgall { display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0 }
.atm-mdgi {
  position:relative;border-radius:9px;overflow:hidden;height:96px;
  cursor:pointer;background:#111;
}
.atm-mdgi img { width:100%;height:100%;object-fit:cover;transition:transform .4s ease;display:block }
.atm-mdgi:hover img { transform:scale(1.08) }
.atm-mdgi-name {
  position:absolute;bottom:0;left:0;right:0;
  background:linear-gradient(to top,rgba(10,13,20,.92),transparent);
  padding:7px 9px;font-size:10px;font-weight:600;color:white;line-height:1.2;
}
.atm-mdgi-num {
  position:absolute;top:5px;right:5px;
  background:rgba(10,13,20,.72);color:#c8a96e;
  font-size:9px;font-weight:700;padding:2px 5px;border-radius:4px;
}

/* ── LEVEL OPTIONS ── */
.atm-lopts { display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px }
.atm-lopt {
  border:1.5px solid rgba(255,255,255,.1);border-radius:12px;
  padding:16px 12px;cursor:pointer;transition:all .25s;text-align:center;
}
.atm-lopt:hover { border-color:rgba(200,169,110,.38);background:rgba(200,169,110,.05) }
.atm-lopt.sel   { border-color:#c4502a;background:rgba(196,80,42,.08) }
.atm-lopt-icon  { font-size:24px;margin-bottom:7px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;overflow:hidden }
.atm-lopt-name  { font-family:'Cormorant Garamond',serif;font-size:16px;font-weight:600;margin-bottom:5px;color:white }
.atm-lopt-desc  { font-size:11px;color:rgba(255,255,255,.42);line-height:1.4 }
.atm-lopt-chk   { width:16px;height:16px;border-radius:50%;border:1.5px solid rgba(255,255,255,.16);margin:8px auto 0;display:flex;align-items:center;justify-content:center;transition:all .2s }
.atm-lopt.sel .atm-lopt-chk { background:#c4502a;border-color:#c4502a }
.atm-lopt.sel .atm-lopt-chk::after { content:'✓';color:white;font-size:9px }

/* ── PREMIUM EXTRAS ── */
.atm-pbox {
  background:rgba(200,169,110,.07);border:1px solid rgba(200,169,110,.17);
  border-radius:12px;padding:16px;margin-bottom:16px;display:none;
}
.atm-pbox h4 { font-size:11px;font-weight:700;color:#c8a96e;letter-spacing:.8px;text-transform:uppercase;margin-bottom:10px }
.atm-extras-wrap { display:flex;flex-wrap:wrap;gap:6px }
.atm-exbtn {
  padding:6px 13px;border-radius:50px;
  border:1.5px solid rgba(255,255,255,.1);background:transparent;
  font-size:11px;color:rgba(255,255,255,.55);cursor:pointer;transition:all .2s;
  font-family:'Outfit',sans-serif;
}
.atm-exbtn:hover { border-color:#c8a96e;color:#c8a96e }
.atm-exbtn.sel  { background:rgba(200,169,110,.14);border-color:#c8a96e;color:#c8a96e }
.atm-extra-txt {
  width:100%;padding:9px 12px;border-radius:9px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);
  color:white;font-family:'Outfit',sans-serif;font-size:12px;resize:none;
  margin-top:6px;display:none;outline:none;
}
.atm-extra-txt:focus { border-color:#c8a96e }

/* ── INTENSITY OPTIONS ── */
.atm-ilist { display:flex;flex-direction:column;gap:9px;margin-bottom:20px }
.atm-iopt {
  display:flex;align-items:center;gap:12px;
  border:1.5px solid rgba(255,255,255,.1);border-radius:12px;
  padding:13px 16px;cursor:pointer;transition:all .25s;
}
.atm-iopt:hover { border-color:rgba(200,169,110,.32);background:rgba(200,169,110,.04) }
.atm-iopt.sel   { border-color:#c4502a;background:rgba(196,80,42,.07) }
.atm-ithumb { width:48px;height:48px;border-radius:9px;overflow:hidden;background:#1a2030;flex-shrink:0 }
.atm-ithumb img { width:100%;height:100%;object-fit:cover;display:block }
.atm-iinfo { flex:1 }
.atm-iname { font-family:'Cormorant Garamond',serif;font-size:18px;font-weight:600;margin-bottom:2px;color:white }
.atm-isub  { font-size:11px;color:rgba(255,255,255,.38) }
.atm-idays { font-size:11px;color:#c8a96e;font-weight:600;background:rgba(200,169,110,.1);border-radius:5px;padding:3px 9px;flex-shrink:0 }
.atm-iselbtn {
  padding:7px 14px;border-radius:50px;
  border:1.5px solid rgba(200,169,110,.32);background:transparent;
  color:#c8a96e;font-size:11px;font-weight:600;cursor:pointer;transition:all .2s;
  flex-shrink:0;font-family:'Outfit',sans-serif;
}
.atm-iopt.sel .atm-iselbtn { background:#c4502a;border-color:#c4502a;color:white }

/* ── SCHEDULE ── */
.atm-sdays { display:flex;flex-direction:column;gap:12px;margin-bottom:20px }
.atm-sday  { border:1px solid rgba(255,255,255,.07);border-radius:11px;padding:13px 16px }
.atm-sday h4 { font-size:11px;font-weight:700;color:#c8a96e;margin-bottom:9px;letter-spacing:.4px }
.atm-sslots { display:flex;gap:6px;flex-wrap:wrap }
.atm-sslot {
  padding:6px 13px;border-radius:50px;
  border:1px solid rgba(255,255,255,.13);
  font-size:11px;color:rgba(255,255,255,.6);cursor:pointer;transition:all .2s;
}
.atm-sslot:hover { border-color:#c8a96e;color:#c8a96e }
.atm-sslot.sel  { background:#c4502a;border-color:#c4502a;color:white }

/* ── FORM ── */
.atm-pform { display:flex;flex-direction:column;gap:12px }
.atm-frow  { display:grid;grid-template-columns:1fr 1fr;gap:9px }
.atm-fg    { display:flex;flex-direction:column;gap:4px }
.atm-fg.full { grid-column:1/-1 }
.atm-flbl  { font-size:10px;font-weight:600;color:rgba(255,255,255,.4);letter-spacing:.8px;text-transform:uppercase }
.atm-finp,.atm-fsel {
  padding:10px 13px;
  background:rgba(255,255,255,.055);
  border:1.5px solid rgba(255,255,255,.09);border-radius:9px;
  font-family:'Outfit',sans-serif;font-size:13px;color:white;
  outline:none;transition:border-color .2s;-webkit-appearance:none;
}
.atm-finp:focus,.atm-fsel:focus { border-color:#c8a96e }
.atm-finp::placeholder { color:rgba(255,255,255,.2) }
.atm-fsel option { background:#141922;color:white }

/* Addon toggles */
.atm-arow { display:grid;grid-template-columns:1fr 1fr;gap:9px;grid-column:1/-1 }
.atm-atog {
  display:flex;align-items:center;justify-content:space-between;
  padding:11px 13px;border:1.5px solid rgba(255,255,255,.08);border-radius:9px;cursor:pointer;transition:all .2s;
}
.atm-atog:hover { border-color:rgba(200,169,110,.22) }
.atm-atog.on    { border-color:#c8a96e;background:rgba(200,169,110,.06) }
.atm-aleft  { display:flex;align-items:center;gap:8px;font-size:12px }
.atm-aicon  { font-size:16px }
.atm-aname  { font-weight:600 }
.atm-asub   { font-size:10px;color:rgba(255,255,255,.32) }
.atm-tsw    { width:32px;height:18px;border-radius:50px;background:rgba(255,255,255,.11);position:relative;transition:background .2s;flex-shrink:0 }
.atm-atog.on .atm-tsw { background:#c8a96e }
.atm-tsw::after { content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:white;transition:transform .2s }
.atm-atog.on .atm-tsw::after { transform:translateX(14px) }

/* Booking summary */
.atm-bsum {
  background:rgba(200,169,110,.06);border:1px solid rgba(200,169,110,.16);
  border-radius:11px;padding:14px 16px;grid-column:1/-1;
}
.atm-bsum h4 { font-size:10px;font-weight:700;color:#c8a96e;letter-spacing:1px;text-transform:uppercase;margin-bottom:9px }
.atm-sline  { display:flex;justify-content:space-between;font-size:12px;margin-bottom:4px }
.atm-sline .k { color:rgba(255,255,255,.4) }
.atm-sline .v { color:white;font-weight:500 }

/* ── CONFIRMATION ── */
.atm-cbox { text-align:center;padding:10px 0 }
.atm-cicon  { font-size:56px;margin-bottom:12px }
.atm-ctitle { font-family:'Cormorant Garamond',serif;font-size:32px;font-weight:600;margin-bottom:8px;color:white }
.atm-csub   { font-size:14px;color:rgba(255,255,255,.55);margin-bottom:22px;line-height:1.6 }
.atm-tbox   { background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);border-radius:13px;padding:16px 20px;text-align:left;margin-bottom:20px }
.atm-tref   { font-size:10px;color:#c8a96e;letter-spacing:2px;text-transform:uppercase;font-weight:700;margin-bottom:9px;display:flex;align-items:center;gap:8px }
.atm-tref::after { content:'';flex:1;height:1px;background:rgba(200,169,110,.16) }
.atm-tr     { display:flex;justify-content:space-between;font-size:12px;padding:5px 0;border-bottom:1px solid rgba(255,255,255,.05) }
.atm-tr:last-child { border-bottom:none }
.atm-tr .k  { color:rgba(255,255,255,.38) }
.atm-tr .v  { color:white;font-weight:500 }

/* ── MODAL FOOTER ── */
.atm-mfooter {
  display:flex;align-items:center;justify-content:space-between;
  padding-top:16px;border-top:1px solid rgba(255,255,255,.06);margin-top:20px;
}
.atm-btn-back {
  background:transparent;color:rgba(255,255,255,.38);
  border:1px solid rgba(255,255,255,.1);padding:9px 16px;
  border-radius:50px;font-family:'Outfit',sans-serif;font-size:12px;cursor:pointer;transition:all .2s;
}
.atm-btn-back:hover { color:white;border-color:rgba(255,255,255,.26) }

/* ── RESPONSIVE MODALS ── */
@media (max-width:600px) {
  .atm-moverlay { overflow-x:hidden }
  .atm-modal { max-width:100vw;overflow-x:hidden;box-sizing:border-box }
  .atm-mbody { padding:16px;overflow-x:hidden }
  .atm-mhdr  { padding:16px }
  .atm-lopts { grid-template-columns:1fr }
  .atm-frow  { grid-template-columns:1fr }
  .atm-arow  { grid-template-columns:1fr }
  .atm-mdgall{ grid-template-columns:1fr 1fr }
}

@media (max-width:600px) {
  .atm-iopt { flex-wrap:wrap;gap:8px }
  .atm-iinfo { min-width:0;flex:1 1 100% }
  .atm-idays { flex-shrink:0 }
  .atm-iselbtn { width:100%;text-align:center;margin-top:4px }
  .atm-toggle-btn { font-size:11px;padding:5px 10px;white-space:nowrap }
}
