/* ============ Cassandra Rental — Obsidian Kinetic ============ */
:root {
  --neon: #00ff87;
  --emerald: #10b981;
  --amber: #f59e0b;
  --carbon: #090d0b;
  --panel: #121a15;
  --panel2: #1a241e;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  background: var(--carbon);
  color: #e0e3df;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}
body::before {
  /* ambient light leaks */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 255, 135, .09), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(16, 185, 129, .07), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(0, 255, 135, .05), transparent 60%);
}
body > * { position: relative; z-index: 1; }
::selection { background: var(--neon); color: #002a12; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1f2b24; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #2c3d33; }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; line-height: 1; }
.ms-fill { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.tabular { font-variant-numeric: tabular-nums; }
.font-display { font-family: 'Outfit', sans-serif; }
.text-gradient {
  background: linear-gradient(100deg, #00ff87 0%, #4edea3 45%, #10b981 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shimmerText 6s ease-in-out infinite;
}
@keyframes shimmerText { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Surfaces ---------- */
.glass {
  background: linear-gradient(180deg, rgba(18, 26, 21, .88), rgba(14, 20, 17, .82));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 255, 135, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 10px 30px -12px rgba(0, 0, 0, .6);
}
.glass-2 {
  background: rgba(26, 36, 30, .96);
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.glass-2::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, rgba(0, 255, 135, .35), rgba(255, 255, 255, .04) 60%);
}
.card-hover { transition: transform .5s var(--ease-out), border-color .35s, box-shadow .5s var(--ease-out); }
.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 135, .38);
  box-shadow: inset 0 1px 1px rgba(0, 255, 135, .25), 0 24px 50px -20px rgba(0, 255, 135, .25), 0 10px 30px -12px rgba(0, 0, 0, .7);
}
.recess {
  background: #0d1310;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.recess:hover { border-color: rgba(0, 255, 135, .25); }
.recess:focus, .recess:focus-within, .recess:focus-visible {
  outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0, 255, 135, .15);
}
input.recess, select.recess, textarea.recess { color: #e0e3df; }
/* iOS Safari: kolom tanggal punya lebar bawaan sendiri sehingga melebihi kotak */
input[type='date'].recess { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: 2.75rem; text-align: left; }
input[type='date'].recess::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type='date'].recess::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(1) hue-rotate(80deg) saturate(4); cursor: pointer; }
select.recess option { background: #121a15; }

/* ---------- Buttons ---------- */
.btn-primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #00ff87, #10b981);
  color: #04130a; font-family: 'Outfit', sans-serif; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 rgba(0, 255, 135, 0);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out), filter .2s;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-1px) scale(1.02); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 24px rgba(0, 255, 135, .45); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: scale(.97); }
.btn-primary:disabled { filter: grayscale(.8) brightness(.6); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary {
  background: rgba(18, 26, 21, .7); border: 1px solid rgba(0, 255, 135, .35); color: #00ff87;
  font-family: 'Outfit', sans-serif; font-weight: 600;
  transition: background .25s, transform .35s var(--ease-spring), box-shadow .3s;
}
.btn-secondary:hover { background: rgba(0, 255, 135, .08); box-shadow: 0 0 18px rgba(0, 255, 135, .15); transform: translateY(-1px); }
.btn-secondary:active { transform: scale(.97); }
.btn-ghost { color: #94a3b8; transition: color .2s, background .2s; }
.btn-ghost:hover { color: #f9fafb; background: rgba(255, 255, 255, .05); }
.btn-danger { background: rgba(255, 107, 107, .08); border: 1px solid rgba(255, 107, 107, .35); color: #ff8a8a; transition: background .2s, transform .3s var(--ease-spring); }
.btn-danger:hover { background: rgba(255, 107, 107, .16); }
.btn-danger:active { transform: scale(.96); }
.btn-wa {
  background: linear-gradient(120deg, #25d366, #00ff87); color: #04130a; font-family: 'Outfit'; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .35s var(--ease-spring), box-shadow .3s;
}
.btn-wa:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 0 28px rgba(37, 211, 102, .5); }
.btn-wa:active { transform: scale(.97); }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Badges ---------- */
.badge-ready {
  background: rgba(0, 230, 118, .12); border: 1px solid #00e676; color: #00ff87;
  box-shadow: 0 0 16px rgba(0, 230, 118, .25);
}
.badge-jalan {
  background: rgba(245, 158, 11, .12); border: 1px solid #f59e0b; color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, .25);
}
.badge-maint { background: rgba(148, 163, 184, .1); border: 1px solid #64748b; color: #cbd5e1; }
.ping-dot { position: relative; display: inline-flex; width: 8px; height: 8px; }
.ping-dot::before, .ping-dot::after { content: ''; position: absolute; inset: 0; border-radius: 99px; background: currentColor; }
.ping-dot::before { animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; opacity: .7; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.glow-dot { width: 8px; height: 8px; border-radius: 99px; background: #f59e0b; box-shadow: 0 0 10px #f59e0b; animation: breathe 2.2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .45; } }
.chip { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.label { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Car stage / slider ---------- */
.stage { position: relative; overflow: hidden; background: #070a08; }
.stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 13, 11, 0) 55%, rgba(9, 13, 11, .85) 100%);
}
.slides { display: flex; height: 100%; transition: transform .7s var(--ease-out); will-change: transform; }
.slides > * { flex: 0 0 100%; height: 100%; }
.slides img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; transition: transform 1.2s var(--ease-out); }
.car-card:hover .slides img { transform: scale(1.05); }
.slide-dots button { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .35); transition: all .4s var(--ease-out); }
.slide-dots button.on { width: 20px; background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.slide-nav { opacity: 0; transform: scale(.85); transition: all .3s var(--ease-out); }
.stage:hover .slide-nav { opacity: 1; transform: scale(1); }
@media (hover: none) { .slide-nav { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(4, 7, 5, .92); backdrop-filter: blur(14px); display: flex; flex-direction: column; }
.lightbox .lb-track { flex: 1; display: flex; transition: transform .6s var(--ease-out); touch-action: pan-y; }
.lightbox .lb-track > div { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox .lb-track img { max-width: 100%; max-height: 72vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 255, 135, .15); }
.lb-thumb { opacity: .45; transition: all .3s; border: 2px solid transparent; }
.lb-thumb.on { opacity: 1; border-color: var(--neon); box-shadow: 0 0 12px rgba(0, 255, 135, .4); }

/* ---------- Progress ---------- */
.trip-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.trip-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f59e0b, #fbbf24); box-shadow: 0 0 10px rgba(245, 158, 11, .6); transform-origin: left; animation: growX 1.4s var(--ease-out) both; }
@keyframes growX { from { transform: scaleX(0); } }

/* Range slider */
input[type='range'].neon-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--neon) var(--p, 10%), rgba(255, 255, 255, .1) var(--p, 10%)); outline: none; }
input[type='range'].neon-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 99px; background: #04130a; border: 3px solid var(--neon); box-shadow: 0 0 14px rgba(0, 255, 135, .6); cursor: grab; transition: transform .2s var(--ease-spring); }
input[type='range'].neon-range::-webkit-slider-thumb:active { transform: scale(1.25); cursor: grabbing; }
input[type='range'].neon-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 99px; background: #04130a; border: 3px solid var(--neon); box-shadow: 0 0 14px rgba(0, 255, 135, .6); }

/* Toggle */
.toggle { position: relative; width: 46px; height: 26px; border-radius: 99px; background: #26302a; transition: background .3s; flex-shrink: 0; cursor: pointer; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 99px; background: #cbd5d0; transition: transform .4s var(--ease-spring), background .3s; }
.toggle.on { background: linear-gradient(120deg, #00ff87, #10b981); box-shadow: 0 0 14px rgba(0, 255, 135, .4); }
.toggle.on::after { transform: translateX(20px); background: #04130a; }
.toggle.locked { opacity: .7; cursor: not-allowed; }

/* Segmented options */
.seg { transition: all .3s var(--ease-out); border: 1px solid rgba(255, 255, 255, .08); background: #0d1310; }
.seg:hover { border-color: rgba(0, 255, 135, .3); }
.seg.on { border-color: var(--neon); background: rgba(0, 255, 135, .07); box-shadow: inset 0 0 0 1px rgba(0, 255, 135, .25), 0 0 18px rgba(0, 255, 135, .12); }
.seg.on .seg-check { opacity: 1; transform: scale(1); }
.seg-check { opacity: 0; transform: scale(.4); transition: all .35s var(--ease-spring); }

/* ---------- Modal / drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(3, 6, 4, .72); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.overlay.show { opacity: 1; }
.modal-panel { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s var(--ease-out), transform .55s var(--ease-spring); }
.overlay.show .modal-panel { opacity: 1; transform: none; }
.drawer-panel { transform: translateX(105%); transition: transform .6s var(--ease-out); }
.overlay.show .drawer-panel { transform: none; }
@media (max-width: 767px) {
  .drawer-panel { transform: translateY(105%); }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.pop-in { animation: popIn .6s var(--ease-spring) both; animation-delay: var(--d, 0ms); }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.fade-up { animation: fadeUp .8s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } }
.word { display: inline-block; animation: wordIn .9s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes wordIn { from { opacity: 0; transform: translateY(60%) rotateX(-40deg); filter: blur(6px); } }
.float-y { animation: floatY 5s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-8px); } }
.bump { animation: bump .45s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.08); color: #fff; text-shadow: 0 0 20px rgba(0, 255, 135, .8); } }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.skeleton { background: linear-gradient(90deg, #121a15 25%, #1b2620 50%, #121a15 75%); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scan-line { position: relative; overflow: hidden; }
.scan-line::before { content: ''; position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(180deg, transparent, rgba(0, 255, 135, .12), transparent); animation: scan 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes scan { to { top: 110%; } }

/* Success check */
.check-ring { width: 76px; height: 76px; border-radius: 99px; display: grid; place-items: center; background: rgba(0, 255, 135, .1); box-shadow: 0 0 0 0 rgba(0, 255, 135, .5); animation: ringPulse 2s ease-out infinite; }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 135, .45); } 100% { box-shadow: 0 0 0 26px rgba(0, 255, 135, 0); } }
.check-ring svg path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .7s .25s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Toast */
#toasts { position: fixed; z-index: 120; top: 18px; right: 18px; left: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; max-width: 380px; animation: toastIn .55s var(--ease-spring) both; }
.toast.out { animation: toastOut .35s ease-in forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px) scale(.95); } }

/* Nav link underline */
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--neon); transform: scaleX(0); transition: transform .35s var(--ease-out); box-shadow: 0 0 8px var(--neon); }
.nav-link:hover::after, .nav-link.on::after { transform: scaleX(1); }

/* Dropzone */
.dropzone { border: 1.5px dashed rgba(0, 255, 135, .3); background: rgba(0, 255, 135, .03); transition: all .3s; }
.dropzone:hover, .dropzone.drag { border-color: var(--neon); background: rgba(0, 255, 135, .07); }

/* Admin sidebar */
.side-link { transition: all .25s var(--ease-out); }
.side-link:hover { background: rgba(255, 255, 255, .04); color: #f9fafb; transform: translateX(3px); }
.side-link.on { background: rgba(0, 255, 135, .08); color: #00ff87; box-shadow: inset 2px 0 0 #00ff87, inset 0 1px 1px rgba(0, 255, 135, .15); }
.tab-pane { animation: fadeUp .55s var(--ease-out) both; }

table.data th { font-family: 'Outfit'; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; font-weight: 600; text-align: left; padding: 12px 14px; white-space: nowrap; }
table.data td { padding: 14px; border-top: 1px solid rgba(255, 255, 255, .05); vertical-align: middle; white-space: nowrap; }
table.data tbody tr { transition: background .2s; }
table.data tbody tr:hover { background: rgba(0, 255, 135, .03); }

/* QR frame */
.qr-frame { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 0 0 1px rgba(0, 255, 135, .3), 0 0 40px rgba(0, 255, 135, .15); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================== TRAVEL ===================== */
/* Rute beranimasi: garis putus-putus mengalir + mobil bergerak di sepanjang jalur */
.route-path { stroke-dasharray: 6 8; animation: dashFlow 1.2s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -28; } }
.route-car { offset-rotate: auto; animation: driveRoute 5.5s cubic-bezier(.45,.05,.55,.95) infinite; filter: drop-shadow(0 0 8px rgba(0,255,135,.8)); }
@keyframes driveRoute { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.city-pin { animation: pinPulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pinPulse { 0% { r: 5; opacity: .9; } 100% { r: 16; opacity: 0; } }

/* Garis rute horizontal di kartu */
.route-line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(0,255,135,.55) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: lineFlow 1s linear infinite; }
@keyframes lineFlow { to { background-position: 28px 0; } }
.route-line .bus { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); animation: busMove 4.5s cubic-bezier(.45,.05,.55,.95) infinite; color: #00ff87; filter: drop-shadow(0 0 6px rgba(0,255,135,.9)); }
@keyframes busMove { 0% { left: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.trip-card:hover .route-line .bus { animation-duration: 2.2s; }

/* Tiket / boarding pass */
.ticket { position: relative; }
.ticket-cut { position: relative; border-left: 2px dashed rgba(255,255,255,.1); }
.ticket-cut::before, .ticket-cut::after { content: ''; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--carbon); border: 1px solid rgba(0,255,135,.12); }
.ticket-cut::before { top: -13px; } .ticket-cut::after { bottom: -13px; }
@media (max-width: 1023px) {
  .ticket-cut { border-left: 0; border-top: 2px dashed rgba(255,255,255,.1); }
  .ticket-cut::before { left: -13px; top: -13px; } .ticket-cut::after { left: auto; right: -13px; top: -13px; bottom: auto; }
}

/* Indikator kursi kecil */
.seat-dot { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid rgba(0,255,135,.5); transition: all .4s var(--ease-spring); }
.seat-dot.taken { background: linear-gradient(135deg,#f59e0b,#fbbf24); border-color: transparent; box-shadow: 0 0 8px rgba(245,158,11,.5); }
.seat-dot { animation: popIn .5s var(--ease-spring) both; animation-delay: var(--d, 0ms); }

/* Peta kursi interaktif */
.seatmap { background: linear-gradient(180deg, #0f1712, #0a0f0c); border: 1px solid rgba(0,255,135,.15); border-radius: 48px 48px 28px 28px; padding: 26px 22px 22px; position: relative; }
.seatmap::before { content: ''; position: absolute; left: 18%; right: 18%; top: 8px; height: 10px; border-radius: 0 0 40px 40px; background: linear-gradient(90deg, transparent, rgba(0,255,135,.35), transparent); filter: blur(2px); }
.seat { position: relative; aspect-ratio: 1 / 1.05; border-radius: 14px 14px 10px 10px; display: grid; place-items: center; font-family: 'Outfit'; font-weight: 700; font-size: 15px; border: 1.5px solid rgba(255,255,255,.12); background: #121a15; color: #b9cbb9; cursor: pointer; transition: transform .35s var(--ease-spring), background .25s, border-color .25s, box-shadow .3s, color .2s; }
.seat::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: -5px; height: 6px; border-radius: 4px; background: inherit; border: inherit; border-top: 0; }
.seat:hover:not(.taken):not(.driver) { transform: translateY(-3px) scale(1.06); border-color: rgba(0,255,135,.6); color: #fff; }
.seat:active:not(.taken):not(.driver) { transform: scale(.92); }
.seat.picked { background: linear-gradient(135deg, #00ff87, #10b981); color: #04130a; border-color: transparent; box-shadow: 0 0 22px rgba(0,255,135,.55); animation: seatPick .5s var(--ease-spring); }
@keyframes seatPick { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.seat.taken { background: repeating-linear-gradient(135deg, #2a1d08 0 6px, #21170a 6px 12px); border-color: rgba(245,158,11,.45); color: #fbbf24; cursor: not-allowed; }
.seat.driver { background: #0b100d; border-style: dashed; color: #64748b; cursor: default; }
.seat .ripple-seat { position: absolute; inset: -6px; border-radius: 16px; border: 2px solid #00ff87; animation: seatRing .6s ease-out forwards; pointer-events: none; }
@keyframes seatRing { from { opacity: .9; transform: scale(.85); } to { opacity: 0; transform: scale(1.25); } }
.seat-shake { animation: shake .4s; }

/* Stempel PENUH */
.stamp { position: absolute; z-index: 5; padding: 6px 18px; border: 3px solid #ff6b6b; color: #ff8a8a; font-family: 'Outfit'; font-weight: 800; letter-spacing: .2em; border-radius: 10px; transform: rotate(-12deg); background: rgba(40, 8, 8, .55); backdrop-filter: blur(2px); animation: stampIn .7s var(--ease-spring) both; box-shadow: 0 0 24px rgba(255,107,107,.3); }
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-12deg) scale(2.4); } 60% { opacity: 1; transform: rotate(-12deg) scale(.92); } 100% { transform: rotate(-12deg) scale(1); } }

/* Countdown digit */
.cd-box { min-width: 46px; padding: 6px 6px 4px; border-radius: 10px; background: #0d1310; border: 1px solid rgba(0,255,135,.15); text-align: center; }
.cd-num { font-family: 'Outfit'; font-weight: 800; font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; display: inline-block; }
.cd-num.tick { animation: flip .45s var(--ease-out); }
@keyframes flip { 0% { transform: translateY(-40%) rotateX(70deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.cd-lbl { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; font-family: 'Outfit'; font-weight: 700; }

/* Progress kursi */
.fill-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; position: relative; }
.fill-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #10b981, #00ff87); box-shadow: 0 0 12px rgba(0,255,135,.6); transform-origin: left; animation: growX 1.4s var(--ease-out) both; position: relative; overflow: hidden; }
.fill-bar > i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); transform: translateX(-100%); animation: shine 2.4s ease-in-out infinite 1.4s; }
.fill-bar.hot > i { background: linear-gradient(90deg, #f59e0b, #ff6b6b); box-shadow: 0 0 12px rgba(245,158,11,.6); }
@keyframes shine { to { transform: translateX(100%); } }
.badge-soon { background: rgba(78,222,163,.1); border: 1px solid #4edea3; color: #6ffbbe; }
.badge-full { background: rgba(255,107,107,.1); border: 1px solid #ff6b6b; color: #ff8a8a; }
.live-ring { position: relative; }
.live-ring::before { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(0,255,135,.5); animation: ringPulse 2s ease-out infinite; }

/* ===== Badge status kaca (di atas foto mobil) ===== */
.glass-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 11px; border-radius: 999px;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  backdrop-filter: blur(14px) saturate(170%); -webkit-backdrop-filter: blur(14px) saturate(170%);
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
}
.glass-status::before { /* kilau kaca */
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%);
}
.glass-status::after { /* sapuan cahaya */
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  animation: glassSweep 3.8s ease-in-out infinite;
}
@keyframes glassSweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.glass-status .gs-dot { width: 9px; height: 9px; border-radius: 99px; position: relative; flex-shrink: 0; }
.glass-status .gs-dot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
.glass-status.ready {
  background: linear-gradient(135deg, rgba(0,255,135,.42), rgba(4,48,26,.62));
  border: 1.5px solid rgba(0,255,135,.95); color: #f2fff8;
  text-shadow: 0 0 10px rgba(0,255,135,.95), 0 1px 2px rgba(0,0,0,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 22px rgba(0,255,135,.55), 0 8px 24px rgba(0,0,0,.45);
}
.glass-status.ready .gs-dot { background: #00ff87; box-shadow: 0 0 10px #00ff87, 0 0 0 2px rgba(255,255,255,.65); }
.glass-status.jalan {
  background: linear-gradient(135deg, rgba(251,146,60,.5), rgba(64,30,0,.62));
  border: 1.5px solid rgba(251,191,36,.95); color: #fff8ec;
  text-shadow: 0 0 10px rgba(245,158,11,.95), 0 1px 2px rgba(0,0,0,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 22px rgba(245,158,11,.55), 0 8px 24px rgba(0,0,0,.45);
}
.glass-status.jalan .gs-dot { background: #fbbf24; box-shadow: 0 0 10px #f59e0b, 0 0 0 2px rgba(255,255,255,.6); }
.glass-status.maint {
  background: linear-gradient(135deg, rgba(148,163,184,.4), rgba(20,26,34,.62));
  border: 1.5px solid rgba(203,213,225,.85); color: #f1f5f9; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 24px rgba(0,0,0,.45);
}
.glass-status.maint .gs-dot { background: #cbd5e1; }
.glass-status.maint .gs-dot::after { animation: none; }
/* Versi ringkas untuk tabel */
.glass-status.sm { gap: 6px; padding: 5px 11px 5px 9px; font-size: 10.5px; letter-spacing: .08em; border-width: 1px; }
.glass-status.sm .gs-dot { width: 7px; height: 7px; }
.glass-status.sm.ready { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 12px rgba(0,255,135,.35), 0 4px 12px rgba(0,0,0,.35); }
.glass-status.sm.jalan { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 12px rgba(245,158,11,.35), 0 4px 12px rgba(0,0,0,.35); }

/* ===== Logo Cassandra Rental (mobil menyatu dengan nama) ===== */
.cr-logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; position: relative; }
.cr-logo .cr-car { display: block; width: 6.9em; height: 1.6em; margin-bottom: -.42em; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); transition: transform .5s var(--ease-spring); }
.cr-logo:hover .cr-car { transform: translateX(4%) translateY(-2%); }
.cr-logo .cr-word {
  font-family: 'Exo 2', 'Outfit', sans-serif; font-style: italic; font-weight: 900; letter-spacing: .02em;
  background: linear-gradient(180deg, #ffffff 0%, #f1f4f6 38%, #9aa3aa 52%, #e9edf0 64%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: .6px rgba(10,18,14,.65);
  filter: drop-shadow(0 2px 0 #0b120e) drop-shadow(0 4px 10px rgba(0,0,0,.6));
  padding: 0 .08em; position: relative; z-index: 1;
}
.cr-logo .cr-sub { display: flex; align-items: center; gap: .55em; margin-top: .12em; font-family: 'Exo 2', 'Outfit', sans-serif; font-style: italic; font-weight: 900; letter-spacing: .38em; color: #46e05a; text-shadow: 0 0 12px rgba(70,224,90,.55); padding-left: .42em; }
.cr-logo .cr-sub i { display: block; height: .14em; min-height: 2px; width: 3.4em; border-radius: 2px; background: linear-gradient(90deg, transparent, #46e05a); }
.cr-logo .cr-sub i:last-child { background: linear-gradient(90deg, #46e05a, transparent); }
/* ukuran */
.cr-logo.sm { font-size: 21px; } .cr-logo.sm .cr-sub { font-size: 11.5px; }
.cr-logo.md { font-size: 30px; } .cr-logo.md .cr-sub { font-size: 16px; }
.cr-logo.lg { font-size: 46px; } .cr-logo.lg .cr-sub { font-size: 24px; }

/* ===================== POSTER PROMO (gaya flyer) ===================== */
.poster { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 5; container-type: inline-size; background: #06121a; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(70,224,90,.25), 0 0 60px rgba(70,224,90,.12); isolation: isolate; }
.poster .pz-bg { position: absolute; left: 0; right: 0; top: 0; height: 62%; z-index: -2; background-size: cover; background-position: center 40%; filter: saturate(1.15) brightness(1.12) contrast(1.05); }
.poster .pz-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(4,14,20,.78) 0%, rgba(4,14,20,.08) 22%, rgba(0,0,0,0) 44%, rgba(4,10,8,.55) 54%, rgba(5,11,9,.96) 67%); }
.poster .pz-stripe { position: absolute; width: 22%; height: 7%; background: linear-gradient(90deg, #46e05a, #1f8f2d); transform: rotate(-45deg); box-shadow: 0 0 20px rgba(70,224,90,.6); animation: stripeGlow 3s ease-in-out infinite; }
.poster .pz-stripe.tl { left: -9%; top: 3%; } .poster .pz-stripe.tl2 { left: -7%; top: 10%; height: 2.5%; opacity: .7; }
.poster .pz-stripe.br { right: -9%; bottom: 3%; } .poster .pz-stripe.br2 { right: -7%; bottom: 10%; height: 2.5%; opacity: .7; }
@keyframes stripeGlow { 50% { filter: brightness(1.35); } }
.poster .pz-top { position: absolute; left: 4%; right: 4%; top: 3%; display: flex; justify-content: space-between; align-items: flex-start; }
.poster .pz-brand { font-size: 5.6cqw; display: flex; flex-direction: column; align-items: center; }
.poster .pz-brand .cr-logo { font-size: 1em; } .poster .pz-brand .cr-logo .cr-sub { font-size: .52em; }
.poster .pz-tag { margin-top: .35em; font-family: 'Exo 2', sans-serif; font-style: italic; font-weight: 700; font-size: .42em; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.8); white-space: nowrap; }
.poster .pz-script { font-family: 'Kaushan Script', cursive; color: #fff; font-size: 5.2cqw; line-height: 1.05; text-align: right; transform: rotate(-6deg); margin-top: 1.5%; text-shadow: 0 3px 10px rgba(0,0,0,.7); }
.poster .pz-script::after { content: ''; display: block; height: .12em; margin: .15em 0 0 18%; border-radius: 9px; background: linear-gradient(90deg, transparent, #46e05a); }
.poster .pz-feat { position: absolute; left: 3%; top: 25%; display: flex; flex-direction: column; gap: 1cqw; }
.poster .pz-feat div { display: flex; align-items: center; gap: 1.6cqw; padding: .8cqw 2.6cqw .8cqw 1.4cqw; border-radius: 99px; background: linear-gradient(90deg, rgba(6,12,10,.88), rgba(6,12,10,.35)); border: 1px solid rgba(70,224,90,.35); color: #fff; font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 2.15cqw; line-height: 1.1; backdrop-filter: blur(6px); animation: popIn .6s var(--ease-spring) both; animation-delay: var(--d, 0ms); }
.poster .pz-feat .material-symbols-outlined { font-size: 3.8cqw; color: #fff; }
.poster .pz-prices { position: absolute; left: 4%; right: 4%; top: 52.5%; display: grid; grid-template-columns: 1fr 1fr; gap: 4%; }
.poster .pz-price { position: relative; padding: 4.2cqw 2cqw 2.4cqw; border-radius: 3cqw; transform: skewX(-8deg); background: linear-gradient(180deg, rgba(10,22,16,.96), rgba(4,10,8,.96)); border: .5cqw solid #46e05a; box-shadow: 0 0 22px rgba(70,224,90,.45), inset 0 0 18px rgba(70,224,90,.15); text-align: center; }
.poster .pz-price .pz-lbl { position: absolute; left: 50%; top: 0; transform: translate(-50%, -60%) skewX(0deg); padding: .8cqw 4cqw; border-radius: 2cqw 2cqw .8cqw .8cqw; background: linear-gradient(180deg, #5cf26f, #22a834); color: #04130a; font-family: 'Exo 2', sans-serif; font-style: italic; font-weight: 900; font-size: 3cqw; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 4px 14px rgba(70,224,90,.5); }
.poster .pz-amt { display: flex; align-items: flex-start; justify-content: center; gap: 1cqw; transform: skewX(8deg); font-family: 'Exo 2', sans-serif; font-style: italic; font-weight: 900; line-height: .9; }
.poster .pz-amt small { font-size: 3.6cqw; margin-top: 1.6cqw; color: #fff; }
.poster .pz-amt b { font-size: 11.5cqw; background: linear-gradient(180deg, #fff 0%, #e8ecef 45%, #8f989f 55%, #f4f6f7 70%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 #0b120e); background-size: 100% 200%; animation: chromeShift 4s ease-in-out infinite; }
@keyframes chromeShift { 50% { background-position: 0 30%; } }
.poster .pz-day { transform: skewX(8deg); font-family: 'Exo 2', sans-serif; font-style: italic; font-weight: 900; font-size: 4.6cqw; color: #fff; margin-top: .6cqw; }
.poster .pz-photos { position: absolute; left: 3%; right: 3%; top: 70.5%; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 2%; }
.poster .pz-photos div { aspect-ratio: 4 / 3; border-radius: 2cqw; overflow: hidden; border: .45cqw solid #46e05a; box-shadow: 0 0 14px rgba(70,224,90,.45); }
.poster .pz-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.poster:hover .pz-photos img { transform: scale(1.08); }
.poster .pz-wa { position: absolute; left: 3%; right: 3%; top: 84.5%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2cqw; }
.poster .pz-wa-ic { width: 10cqw; height: 10cqw; border-radius: 50%; background: linear-gradient(180deg, #5cf26f, #1fa834); display: grid; place-items: center; border: .6cqw solid #fff; box-shadow: 0 0 22px rgba(70,224,90,.6); animation: floatY 3s ease-in-out infinite; }
.poster .pz-wa-ic { color: #fff; } .poster .pz-wa-ic svg { width: 62%; height: 62%; }
.poster .pz-wa-box { padding: 1.4cqw 3cqw; border-radius: 3cqw; border: .45cqw solid #46e05a; background: rgba(4,10,8,.9); box-shadow: 0 0 18px rgba(70,224,90,.35); }
.poster .pz-wa-box .t1 { font-family: 'Exo 2', sans-serif; font-style: italic; font-weight: 800; font-size: 2.9cqw; color: #46e05a; }
.poster .pz-wa-box .t2 { font-family: 'Exo 2', sans-serif; font-style: italic; font-weight: 900; font-size: 5.4cqw; color: #fff; letter-spacing: .01em; line-height: 1; }
.poster .pz-side { border-left: 2px solid rgba(255,255,255,.5); padding-left: 1.8cqw; font-size: 1.75cqw; line-height: 1.25; max-width: 30cqw; color: #fff; font-family: 'Exo 2', sans-serif; font-style: italic; }
.poster .pz-side b { display: block; font-size: 2.6cqw; }
.poster .pz-chips { position: absolute; left: 3%; right: 3%; bottom: 2%; display: flex; justify-content: space-between; gap: 1cqw; }
.poster .pz-chips span { display: flex; align-items: center; gap: .8cqw; font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 2.15cqw; color: #fff; white-space: nowrap; }
.poster .pz-chips i { width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: #46e05a; display: grid; place-items: center; color: #04130a; font-style: normal; font-weight: 900; font-size: 2.4cqw; }
/* Poster pembuka: murni gambar, tidak bisa diklik / dipilih */
.poster, .poster * { pointer-events: none !important; user-select: none; -webkit-user-select: none; cursor: default; }

/* ===== Logo asli (gambar) ===== */
.cr-logo-img { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1; text-decoration: none; }
.cr-logo-img img { display: block; width: auto; height: 48px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.55)); transition: transform .5s var(--ease-spring), filter .4s; user-select: none; }
.cr-logo-img:hover img { transform: scale(1.04); filter: drop-shadow(0 2px 6px rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(70,224,90,.35)); }
.cr-logo-img.md img { height: 70px; }
.cr-logo-img.lg img { height: 120px; }
.cr-logo-img .cr-badge { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 9px; letter-spacing: .32em; color: #46e05a; padding-left: .32em; }
.poster .pz-brand .cr-logo-img img { height: auto; width: 46cqw; }
@media (max-width: 380px) { .cr-logo-img.sm img { height: 40px; } }

/* ===== Skala laptop/desktop: sedikit lebih kecil & lega ===== */
@media (min-width: 1024px) { html { font-size: 15px; } }
/* Poster pembuka mengikuti tinggi layar agar tidak terpotong taskbar */
.hero-poster { width: min(440px, max(300px, calc((100vh - 175px) * .8))); }
@media (max-width: 1023px) { .hero-poster { width: min(460px, 100%); } }

/* ===== Modal ubah status unit ===== */
.st-opt { border: 1.5px solid transparent; }
.st-opt:hover { transform: translateY(-1px); }
.st-opt .st-check { opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1); color: #00ff87; }
.st-opt.picked .st-check { opacity: 1; transform: scale(1); }
.st-ready .st-ic { background: rgba(0,255,135,.12); color: #00ff87; }
.st-jalan .st-ic { background: rgba(245,158,11,.14); color: #fbbf24; }
.st-maint .st-ic { background: rgba(148,163,184,.14); color: #cbd5e1; }
.st-ready.picked { border-color: rgba(0,255,135,.8); box-shadow: 0 0 18px rgba(0,255,135,.25); }
.st-jalan.picked { border-color: rgba(251,191,36,.85); box-shadow: 0 0 18px rgba(245,158,11,.25); }
.st-maint.picked { border-color: rgba(203,213,225,.7); }
.st-jalan.picked .st-check { color: #fbbf24; }
.st-maint.picked .st-check { color: #cbd5e1; }
