:root{--blue:#3478f6;--blue-dark:#0f3d91;--ink:#0b1220;--muted:#64748b;--bg:#f3f6fb;--card:#fff;--line:#d9e2ef;--soft:#eaf2ff;--green:#10b981;--red:#ef4444;--shadow:0 14px 35px rgba(15,23,42,.09)}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}body{margin:0;min-height:100vh;background:linear-gradient(#f8fafc 0 140px,var(--bg) 140px)}button,input,select{font:inherit}.topbar{height:68px;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;background:#f8fafc;border-bottom:1px solid #e5ebf3;position:sticky;top:0;z-index:30}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.brand-mark{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#082c74,#3484ff);color:white;font-weight:900}.brand strong{display:block;font-size:18px}.brand small{display:block;color:var(--muted);font-size:11px}.top-actions{display:flex;gap:10px}.ghost-btn,.language-btn{border:1px solid #cbd5e1;background:white;border-radius:999px;padding:8px 12px;color:#2563eb}.page-shell{max-width:1120px;margin:auto;padding:0 20px 56px}.hero{text-align:center;padding:26px 0 14px}.hero .eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:var(--blue);margin:0}.hero h1{font-size:36px;line-height:1;margin:8px 0 6px}.hero>p:last-child{margin:0;color:var(--muted)}.stepper{background:white;border-radius:22px;box-shadow:var(--shadow);border:1px solid #e6ebf2;display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 24px;position:sticky;top:78px;z-index:20}.stepper i{height:1px;width:50px;background:#9aa8ba}.step{border:0;background:transparent;display:flex;align-items:center;gap:8px;color:#64748b;padding:5px}.step span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e6edf6;color:#526171;font-weight:700}.step em{font-style:normal;font-size:13px;white-space:nowrap}.step.active span,.step.done span{background:var(--blue);color:#fff}.step.active{color:#111827;font-weight:700}.content-card{margin-top:70px}.screen{display:none;background:white;border:1px solid #d9e1ec;box-shadow:0 2px 4px rgba(15,23,42,.14);border-radius:22px;padding:30px}.screen.active{display:block}.section-title{display:flex;gap:14px;align-items:flex-start;border-bottom:1px solid #dbe4ef;padding-bottom:18px;margin-bottom:22px}.section-title.compact{margin-bottom:16px;padding-bottom:12px}.section-title h2,.section-title h3{margin:0 0 4px}.section-title p{margin:0;color:var(--muted);font-size:13px}.icon-dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eff5ff}.field{display:flex;flex-direction:column;gap:8px}.field span{font-size:12px;font-weight:800}.field input,.field select{width:100%;border:1px solid #adb8c7;border-radius:10px;padding:12px 13px;background:white;outline:none}.field input:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(52,120,246,.12)}.field-grid{display:grid;gap:16px}.field-grid.two{grid-template-columns:1fr 1fr}.route-grid{grid-template-columns:1fr auto 1fr;align-items:end}.swap-btn{width:42px;height:42px;border:1px solid #cbd5e1;border-radius:50%;background:white;margin-bottom:1px}.split-panels{display:grid;grid-template-columns:1.05fr 1fr;gap:18px;margin-top:24px}.mini-card{border:1px solid #cdd8e5;border-radius:20px;padding:22px;background:#fff;box-shadow:0 2px 3px rgba(15,23,42,.08)}.mini-card h3{margin-top:0}.trip-type-wrap{display:grid;grid-template-columns:1fr 1fr;gap:12px}.trip-type{min-height:145px;border:1px solid #cbd5e1;background:white;border-radius:22px;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.trip-type strong{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#edf2f8;color:#476177;font-size:24px}.trip-type small{color:#64748b;text-align:center}.trip-type.selected{background:#eaf2ff;border-color:var(--blue);box-shadow:0 2px 5px rgba(52,120,246,.25)}.trip-type.selected strong{background:var(--blue);color:#fff}.footer-actions{display:flex;justify-content:space-between;gap:12px;padding-top:28px;margin-top:28px;border-top:1px solid #d7e0eb}.primary,.secondary{border-radius:999px;padding:12px 24px;min-width:110px;font-weight:800;cursor:pointer}.primary{border:0;background:var(--blue);color:#fff}.primary:disabled{background:#d9e2ec;color:#8492a6;cursor:not-allowed}.secondary{border:1px solid #b9c6d6;background:white;color:#2563eb}.trip-list{display:grid;gap:14px}.trip-option{border:1.5px solid #bed0e7;background:#fff;border-radius:18px;padding:20px;display:grid;grid-template-columns:1.5fr .8fr .8fr .8fr;align-items:center;gap:16px;cursor:pointer}.trip-option.selected{background:#dbeafe;border-color:#3b82f6}.trip-option h3{margin:0;color:#113478}.trip-option .route-arrow{color:#2563eb;padding:0 6px}.trip-stat{display:flex;flex-direction:column;gap:3px;align-items:flex-start}.trip-stat strong{font-size:15px}.trip-stat small{color:var(--muted)}.price{font-size:22px;font-weight:900;color:#0e3a91;text-align:right}.seat-layout{display:grid;grid-template-columns:380px 1fr;gap:24px}.seat-panel{border:1px solid #cdd7e5;border-radius:18px;overflow:hidden;background:white}.bus-head{background:#0e80db;color:white;padding:12px 18px;display:flex;gap:10px}.driver-row{display:flex;justify-content:space-between;padding:12px 14px 7px;font-size:12px}.driver-seat{font-weight:700}.legend{display:flex;align-items:center;gap:6px;color:#64748b}.legend-box{width:12px;height:12px;border-radius:3px;border:1px solid #9aa8ba;display:inline-block}.legend-box.selected{background:#1d8bea;border-color:#1d8bea}.legend-box.booked{background:#ffb6cf;border-color:#fb6b9c}.seat-map{padding:8px 16px 18px;display:grid;grid-template-columns:repeat(5,44px);justify-content:center;gap:8px 10px}.seat{height:38px;border:1px solid #9aa9ba;border-radius:7px;background:white;font-weight:700;color:#344154;cursor:pointer}.seat:nth-child(5n+3){margin-left:20px}.seat.booked{background:#ffd3e2;border-color:#ff7ca8;color:#9d174d;cursor:not-allowed}.seat.selected{background:#1f86df;border-color:#1f86df;color:#fff}.seat-side{display:flex;flex-direction:column;gap:16px}.counter-row{border:1px solid #d3dde9;border-radius:16px;padding:18px;display:flex;justify-content:space-between;gap:20px;align-items:center}.counter-row small{display:block;color:var(--muted);margin-top:5px}.counter{display:flex;align-items:center;gap:13px}.counter button{width:34px;height:34px;border-radius:50%;border:1px solid #cbd5e1;background:white}.counter span{font-weight:900;font-size:18px}.selected-seats-box{padding:14px 16px;background:#eef5ff;border:1px solid #bfd4ff;border-radius:12px}.summary-card{border:1px solid #bfcee0;border-radius:16px;padding:18px}.summary-card h3{margin:0 0 14px}.summary-line{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed #d4dde9}.summary-line:last-child{border-bottom:0}.summary-total{font-weight:900;font-size:20px;color:#2563eb}.success-strip{border:1px solid #86efac;background:#ecfdf5;color:#047857;border-radius:999px;padding:10px 14px;display:inline-flex;margin-bottom:20px;font-size:13px;font-weight:800}.passenger-forms{display:grid;gap:15px}.passenger-card{border:1px solid #bfcee0;border-radius:18px;padding:18px;box-shadow:0 2px 3px rgba(15,23,42,.06)}.passenger-card header{display:flex;justify-content:space-between;margin-bottom:14px}.passenger-card .badge{font-size:11px;background:#eaf2ff;color:#165dcc;border-radius:999px;padding:4px 9px;font-weight:800}.passenger-card .field-grid{grid-template-columns:1fr 1fr .65fr 1fr}.payment-card{margin-top:20px}.final-summary{display:grid;gap:14px}.booking-block{border:1px solid #bfd0e6;border-radius:16px;padding:18px}.booking-block h3{margin-top:0}.policy-box{margin-top:18px;border:1px solid #86d9c2;background:#f0fdfa;border-radius:14px;padding:18px;font-size:13px}.policy-box h3{margin-top:0;color:#047857}.policy-box li{margin:8px 0}.agree{display:flex;align-items:flex-start;gap:10px;margin-top:16px;border:1px solid #bfcee0;border-radius:12px;padding:14px;background:#f8fbff}.ticket-result{margin:26px auto 0;background:white;border:2px dashed #94a3b8;border-radius:20px;padding:26px;max-width:680px;box-shadow:var(--shadow);text-align:center}.ticket-result h2{margin-top:0}.ticket-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:24px;letter-spacing:.12em;background:#eff6ff;padding:14px;border-radius:12px;color:#174ea6}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);opacity:0;background:#111827;color:white;border-radius:999px;padding:11px 18px;transition:.2s;z-index:50}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}@media(max-width:820px){.page-shell{padding:0 12px 40px}.topbar{padding:8px 12px}.brand small{display:none}.hero h1{font-size:30px}.stepper{top:69px;overflow:auto;justify-content:flex-start;padding:12px}.stepper i{width:26px;min-width:26px}.step em{display:none}.content-card{margin-top:34px}.screen{padding:18px;border-radius:18px}.split-panels,.seat-layout{grid-template-columns:1fr}.route-grid{grid-template-columns:1fr}.swap-btn{justify-self:center;margin:-6px 0}.field-grid.two,.passenger-card .field-grid{grid-template-columns:1fr}.trip-option{grid-template-columns:1fr 1fr}.price{text-align:left}.seat-panel{max-width:390px;margin:auto;width:100%}.footer-actions{position:sticky;bottom:0;background:white;padding:14px 0 4px}.primary,.secondary{padding:11px 18px;min-width:98px}}@media(max-width:430px){.trip-type-wrap{grid-template-columns:1fr 1fr}.trip-type{min-height:128px;padding:10px}.trip-option{grid-template-columns:1fr}.seat-map{grid-template-columns:repeat(5,40px);gap:7px 7px}.seat{height:36px}.seat:nth-child(5n+3){margin-left:10px}}
.loading-state,.empty-state{padding:28px;text-align:center;border:1px dashed #cbd5e1;border-radius:14px;color:#64748b;background:#f8fafc}.empty-state strong{color:#0f172a}

/* Motorboy VIP 49-seat coach */
.seat-panel{max-width:340px}
.bus-head{justify-content:center;align-items:center;text-transform:uppercase;font-weight:900;border-radius:17px 17px 0 0}
.seat-status{padding:14px 16px 8px;color:#6b7280;font-size:13px;border-bottom:0}.seat-status em{font-style:italic}.seat-status strong{color:#111827}
.seat-legend{display:flex;flex-wrap:wrap;gap:14px;padding:8px 16px 12px;border-bottom:1px solid #6b7280;font-size:12px;color:#4b5563}.seat-legend span{display:inline-flex;align-items:center;gap:5px}
.legend-box{width:14px;height:14px;border-radius:3px}.legend-box.available{background:#fff;border-color:#aeb8c5}.legend-box.selected{background:#237bc1;border-color:#1767a8}.legend-box.pending{background:#f59e0b;border-color:#d97706}.legend-box.booked{background:#ef5b62;border-color:#c9363e}
.seat-map.vip49-map{display:flex;flex-direction:column;gap:7px;padding:14px 24px 16px}
.vip-row{display:grid;grid-template-columns:36px 36px 20px 36px 36px;gap:6px;justify-content:center}.vip-row.rear-row{grid-template-columns:repeat(5,36px);gap:6px}.vip-row .aisle{width:20px}
.vip49-map .seat{width:36px;height:36px;padding:0;border:1px solid #9ca3af;border-radius:6px;background:#fff;color:#1f2937;font-size:12px;font-weight:700;box-shadow:none}.vip49-map .seat:hover:not(:disabled){border-color:#3182ce;background:#eff6ff}.vip49-map .seat.selected{background:#237bc1;border-color:#1767a8;color:#fff}.vip49-map .seat.booked{background:#ef5b62;border-color:#c9363e;color:#fff;opacity:1}.vip49-map .seat.pending{background:#f59e0b;border-color:#d97706;color:#fff}
.bus-fixture{width:36px;height:36px;display:grid;place-items:center;border-radius:6px;font-weight:900}.bus-fixture.driver{background:#e6f3ff;border:1px solid #4da3ef;color:#006cc4}.bus-fixture.facility{background:#fff0f7;border:1px solid #ff6aa8;color:#d80064}
.availability-footer{background:#f6f6f6;border-top:1px solid #ddd;padding:10px;text-align:center;color:#6b7280;font-size:12px}
@media(max-width:820px){.seat-panel{max-width:340px}.seat-map.vip49-map{padding-left:18px;padding-right:18px}}
.promo-grid{margin-top:14px}.helper{font-size:12px;color:#64748b;margin:8px 0}.admin-link{font-weight:700;color:#2563eb;text-decoration:none}
