.ims-umrah-designer {
  --ims-green: #123f35;
  --ims-green-2: #17614f;
  --ims-gold: #d9a93f;
  --ims-gold-light: #f5d984;
  --ims-ink: #17332d;
  --ims-muted: #6f817c;
  --ims-line: #dfe8e5;
  --ims-soft: #f4f8f6;
  --ims-white: #fff;
  color: var(--ims-ink);
  font-family: "Figtree", Arial, sans-serif;
  max-width: 1220px;
  margin: 40px auto;
  background: var(--ims-soft);
  border: 1px solid var(--ims-line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(18, 63, 53, .12);
  overflow: hidden;
}

.ims-umrah-designer *, .ims-umrah-designer *::before, .ims-umrah-designer *::after { box-sizing: border-box; }
.ims-umrah-designer button, .ims-umrah-designer input, .ims-umrah-designer select { font: inherit; }

.ims-designer-head {
  min-height: 68px; padding: 14px 24px; color: #fff; background: var(--ims-green);
  display: flex; align-items: center; justify-content: space-between;
}
.ims-designer-head > div { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.ims-designer-head > div > span { font-size: 25px; }
.ims-demo-badge { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.13); padding: 5px 9px; border-radius: 999px; }

.ims-steps { display: grid; grid-template-columns: repeat(5, 1fr); padding: 19px 24px 16px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--ims-line); gap: 8px; }
.ims-step { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #97a6a2; cursor: pointer; position: relative; }
.ims-step::before { content: ""; height: 3px; background: #e3e9e7; position: absolute; top: 15px; left: -54%; right: 54%; }
.ims-step:first-child::before { display: none; }
.ims-step span { position: relative; z-index: 1; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #e8eeec; font-weight: 800; font-size: 12px; }
.ims-step small { font-weight: 700; font-size: 11px; }
.ims-step.is-current, .ims-step.is-done { color: var(--ims-green); }
.ims-step.is-current span { background: var(--ims-green); color: #fff; box-shadow: 0 0 0 5px rgba(18,63,53,.1); }
.ims-step.is-done span { background: var(--ims-gold); color: #fff; }
.ims-step.is-done::before, .ims-step.is-current::before { background: var(--ims-gold); }

.ims-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; padding: 26px; align-items: start; }
.ims-panel, .ims-summary-card { background: #fff; border: 1px solid var(--ims-line); border-radius: 18px; }
.ims-panel { padding: 30px; min-height: 570px; }
.ims-summary-card { padding: 23px; position: sticky; top: 120px; box-shadow: 0 12px 35px rgba(18,63,53,.07); }
.ims-section-head { margin-bottom: 25px; }
.ims-section-head h2, .ims-success h2 { font-size: clamp(25px, 3vw, 34px); color: var(--ims-green); margin: 5px 0 8px; line-height: 1.15; }
.ims-section-head p, .ims-contact-box p, .ims-room-title p { color: var(--ims-muted); margin: 0; }
.ims-kicker { color: #a77813; text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 800; }

.ims-route-grid, .ims-mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.ims-choice-card, .ims-vehicle, .ims-hotel { border: 1px solid var(--ims-line); border-radius: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; position: relative; background: #fff; }
.ims-choice-card { padding: 16px; display: flex; flex-direction: column; }
.ims-choice-card:hover, .ims-vehicle:hover, .ims-hotel:hover { border-color: var(--ims-gold); transform: translateY(-1px); }
.ims-choice-card.is-selected, .ims-vehicle.is-selected, .ims-hotel.is-selected { border-color: var(--ims-green-2); box-shadow: 0 0 0 3px rgba(23,97,79,.1); }
.ims-choice-card input, .ims-vehicle input, .ims-hotel input { position: absolute; opacity: 0; pointer-events: none; }
.ims-choice-card strong { color: var(--ims-green); }
.ims-choice-card small, .ims-vehicle small, .ims-hotel small { color: var(--ims-muted); margin-top: 3px; }

.ims-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ims-night-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 17px 0 22px; }
.ims-field { display: flex; flex-direction: column; gap: 7px; color: var(--ims-ink); font-weight: 700; font-size: 12px; }
.ims-field input, .ims-field select, .ims-leg select { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ims-ink); background: #fff; border: 1px solid #cedbd7; border-radius: 10px; outline: none; }
.ims-field input:focus, .ims-field select:focus, .ims-leg select:focus { border-color: var(--ims-green-2); box-shadow: 0 0 0 3px rgba(23,97,79,.1); }
.ims-contact-box, .ims-room-box { background: var(--ims-soft); border: 1px solid var(--ims-line); border-radius: 15px; padding: 20px; }
.ims-contact-box h3, .ims-room-title h3 { color: var(--ims-green); margin: 0 0 3px; }
.ims-contact-box .ims-form-grid { margin-top: 15px; }
.ims-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.ims-counter-list { display: grid; gap: 10px; margin-bottom: 22px; }
.ims-counter-card { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border: 1px solid var(--ims-line); border-radius: 13px; }
.ims-counter-card > div:first-child { display: flex; flex-direction: column; }
.ims-counter-card small { color: var(--ims-muted); }
.ims-counter { display: inline-flex; align-items: center; gap: 12px; }
.ims-counter button { border: 1px solid var(--ims-line); width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--ims-green); font-size: 20px; cursor: pointer; line-height: 1; }
.ims-counter strong { min-width: 18px; text-align: center; }
.ims-room-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ims-room-box .ims-field + .ims-field { margin-top: 11px; }

.ims-city-hotels + .ims-city-hotels { margin-top: 28px; }
.ims-city-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.ims-city-heading h3 { color: var(--ims-green); margin: 0; font-size: 20px; }
.ims-city-heading span { color: var(--ims-muted); font-size: 12px; }
.ims-hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ims-hotel { overflow: hidden; }
.ims-hotel-visual { height: 88px; background: linear-gradient(135deg, var(--ims-green), #27836d); display: grid; place-items: center; }
.ims-hotel-visual span { font-size: 34px; filter: drop-shadow(0 5px 8px rgba(0,0,0,.18)); }
.ims-hotel-body { padding: 13px; }
.ims-hotel-top { display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.ims-pill { font-size: 9px; font-weight: 800; color: #8a6514; background: #fff5d9; border-radius: 999px; padding: 4px 7px; text-transform: uppercase; }
.ims-stars { color: var(--ims-gold); font-size: 9px; white-space: nowrap; }
.ims-hotel h3 { font-size: 14px; color: var(--ims-green); margin: 9px 0 4px; }
.ims-hotel p { font-size: 11px; color: var(--ims-muted); margin: 0 0 5px; }

.ims-subheading { margin: 23px 0 11px; color: var(--ims-green); }
.ims-vehicle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.ims-vehicle { padding: 16px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ims-vehicle-icon { font-size: 27px; margin-bottom: 5px; }
.ims-leg-list { display: grid; gap: 10px; }
.ims-leg { display: grid; grid-template-columns: 1fr 220px; gap: 20px; align-items: center; padding: 14px; border: 1px solid var(--ims-line); border-radius: 12px; }
.ims-leg > div { display: flex; flex-direction: column; }
.ims-leg span { color: var(--ims-muted); font-size: 10px; text-transform: uppercase; }

.ims-extra-list { display: grid; gap: 11px; margin-bottom: 22px; }
.ims-toggle-row { border: 1px solid var(--ims-line); border-radius: 13px; padding: 15px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.ims-toggle-row > div { display: flex; flex-direction: column; }
.ims-toggle-row small { color: var(--ims-muted); }
.ims-toggle-row input { position: absolute; opacity: 0; }
.ims-toggle-row > span { width: 45px; height: 25px; border-radius: 20px; background: #d8e0dd; position: relative; transition: .2s; }
.ims-toggle-row > span::after { content: ""; width: 19px; height: 19px; background: #fff; border-radius: 50%; position: absolute; top: 3px; left: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: .2s; }
.ims-toggle-row input:checked + span { background: var(--ims-green-2); }
.ims-toggle-row input:checked + span::after { transform: translateX(20px); }
.ims-review, .ims-itinerary { border: 1px solid var(--ims-line); border-radius: 14px; padding: 18px; margin-top: 15px; }
.ims-review h3, .ims-itinerary h3 { color: var(--ims-green); margin: 0 0 13px; }
.ims-summary-row { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #edf1f0; padding: 7px 0; font-size: 12px; }
.ims-summary-row span { color: var(--ims-muted); }
.ims-grand-total { display: flex; justify-content: space-between; align-items: center; background: var(--ims-green); color: #fff; border-radius: 11px; padding: 14px; margin-top: 14px; }
.ims-grand-total strong { color: var(--ims-gold-light); font-size: 22px; }
.ims-mock-note { color: #85651f; background: #fff7df; padding: 9px; border-radius: 8px; margin: 10px 0 0; font-size: 11px; }
.ims-day { display: grid; grid-template-columns: 54px 1fr; gap: 10px; border-left: 2px solid var(--ims-gold); padding: 0 0 14px 11px; }
.ims-day > span { color: #9b7218; font-size: 10px; font-weight: 800; }
.ims-day div { display: flex; flex-direction: column; }
.ims-day small, .ims-day p { color: var(--ims-muted); }
.ims-day p { margin: 4px 0 0; font-size: 11px; }

.ims-summary-card > h3 { color: var(--ims-green); font-size: 19px; margin: 8px 0; }
.ims-summary-card > p, .ims-summary-card > small { color: var(--ims-muted); font-size: 11px; display: block; }
.ims-summary-card hr { border: 0; border-top: 1px solid var(--ims-line); margin: 16px 0; }
.ims-summary-card > div:not(.ims-mock-flag) { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; padding: 6px 0; }
.ims-summary-card > div span { color: var(--ims-muted); }
.ims-side-total { display: block; color: var(--ims-green); font-size: 28px; margin: 6px 0 3px; }
.ims-mock-flag { margin-top: 16px; background: #fff3d2; color: #8a6514; border-radius: 7px; padding: 6px 8px !important; text-transform: uppercase; font-weight: 800; font-size: 9px !important; display: inline-block !important; }

.ims-nav, .ims-final-actions { display: flex; align-items: center; justify-content: space-between; gap: 11px; margin-top: 25px; }
.ims-final-actions { justify-content: flex-end; }
.ims-btn { appearance: none; border: 1px solid transparent; border-radius: 10px; min-height: 44px; padding: 10px 18px; text-decoration: none !important; font-weight: 800; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ims-btn:disabled { opacity: .45; cursor: not-allowed; }
.ims-btn-primary { background: var(--ims-green); color: #fff; margin-left: auto; }
.ims-btn-gold { background: linear-gradient(135deg, #d6a337, #efca66); color: #183b34; }
.ims-btn-outline { border-color: var(--ims-line); background: #fff; color: var(--ims-green); }
.ims-alert { border-radius: 10px; padding: 11px 13px; margin-bottom: 15px; font-size: 12px; }
.ims-alert-error { background: #fff0f0; color: #a52e2e; border: 1px solid #f2cece; }
.ims-alert-success { background: #edf8f2; color: #17614f; border: 1px solid #cce8dc; }

.ims-loading, .ims-success { min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; background: #fff; }
.ims-loading span { width: 35px; height: 35px; border: 3px solid var(--ims-line); border-top-color: var(--ims-green); border-radius: 50%; animation: ims-spin .8s linear infinite; }
.ims-success { min-height: 620px; }
.ims-success p { max-width: 550px; color: var(--ims-muted); }
.ims-success-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--ims-green); color: #fff; font-size: 30px; margin-bottom: 20px; }
.ims-reference { color: var(--ims-green); background: var(--ims-soft); border: 1px dashed #a6bbb5; border-radius: 10px; padding: 12px 20px; font-size: 18px; letter-spacing: .04em; }
.ims-link-button { border: 0; background: transparent; color: var(--ims-green-2); text-decoration: underline; cursor: pointer; margin-top: 20px; }
@keyframes ims-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .ims-umrah-designer { margin: 20px 0; border-radius: 16px; }
  .ims-layout { grid-template-columns: 1fr; padding: 16px; }
  .ims-summary-card { position: static; grid-row: 1; }
  .ims-panel { padding: 21px; min-height: 0; }
  .ims-form-grid { grid-template-columns: 1fr 1fr; }
  .ims-hotel-grid { grid-template-columns: 1fr; }
  .ims-vehicle-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .ims-designer-head { padding: 12px 15px; }
  .ims-designer-head > div { font-size: 15px; }
  .ims-steps { padding: 14px 8px 11px; gap: 2px; }
  .ims-step small { font-size: 9px; }
  .ims-step::before { left: -52%; right: 52%; }
  .ims-layout { padding: 10px; }
  .ims-panel, .ims-summary-card { border-radius: 13px; }
  .ims-panel { padding: 17px 14px; }
  .ims-route-grid, .ims-mode-grid, .ims-form-grid, .ims-night-grid { grid-template-columns: 1fr; }
  .ims-vehicle-grid { grid-template-columns: 1fr 1fr; }
  .ims-leg { grid-template-columns: 1fr; gap: 9px; }
  .ims-room-title { align-items: flex-start; gap: 10px; }
  .ims-final-actions { flex-direction: column; }
  .ims-final-actions .ims-btn { width: 100%; }
  .ims-grand-total strong { font-size: 18px; }
}
