@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/poppins/Poppins-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/static/fonts/poppins/Poppins-Medium.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/static/fonts/poppins/Poppins-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/static/fonts/poppins/Poppins-Bold.woff2') format('woff2');
}

:root {
    --primary: #0064D2;
    --primary-dark: #004BA0;
    --primary-light: #e8f0fe;
    --secondary: #6c757d;
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --accent: #00bcd4;
    --bg-body: #f0f2f5;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
    --shadow-xl: 0 12px 48px rgba(0,0,0,.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

* { box-sizing: border-box; }

html {
    height: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--dark);
    line-height: 1.5;
    font-size: .9rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Konten mengisi ruang agar footer tertahan di bawah viewport (web) */
main {
    flex: 1 0 auto;
    width: 100%;
}

/* Page enter — opacity only. JANGAN animasikan .admin-content: animasi/stacking
   context membuat .modal-backdrop (di body) menutupi modal di dalam content. */
@keyframes rw-page-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
main,
.auth-container {
    animation: rw-page-in .28s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
    main,
    .auth-container {
        animation: none;
    }
}

.modal { z-index: 1055; }
.modal-backdrop { z-index: 1050; }
.modal.show .modal-dialog { pointer-events: auto; }

/* Fade konten AJAX (pagination / filter) — opacity only, sama alasan modal */
@keyframes rw-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.rw-fade-in {
    animation: rw-fade-in .24s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
    .rw-fade-in { animation: none; }
}

/* Flatpickr — mobile centered sheet + brand style */
.rw-fp-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200000;
    background: rgba(15, 23, 42, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, background .2s ease;
}
.rw-fp-backdrop.is-open {
    background: rgba(15, 23, 42, .45);
    opacity: 1;
    pointer-events: auto;
}
body.rw-fp-open { overflow: hidden; }

.flatpickr-calendar {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .18) !important;
    width: 307px !important;
    padding: 8px 4px 10px !important;
    /* z-index default flatpickr adalah "auto" — tanpa ini, kalender (appendTo body)
       digambar DI BAWAH .modal-backdrop (z-index 1050) & .modal (z-index 1055),
       jadi terlihat seperti "diklik tapi tidak terjadi apa-apa" saat dibuka di dalam modal. */
    z-index: 1070 !important;
}
.flatpickr-calendar.rw-fp-mobile {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: min(320px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    z-index: 200010 !important;
    margin: 0 !important;
}
.flatpickr-months .flatpickr-month {
    height: 40px !important;
}
.flatpickr-current-month {
    font-size: .95rem !important;
    font-weight: 600 !important;
    padding-top: 6px !important;
    font-family: inherit !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: .92rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}
.flatpickr-current-month span.cur-month {
    font-family: inherit !important;
    font-size: .92rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}
.flatpickr-weekdays { height: 28px !important; }
span.flatpickr-weekday {
    font-size: .72rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
}
.flatpickr-day {
    border-radius: 10px !important;
    max-width: 40px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: .85rem !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
    background: var(--primary, #0064D2) !important;
    border-color: var(--primary, #0064D2) !important;
}
.flatpickr-day.today {
    border-color: var(--primary, #0064D2) !important;
}
.flatpickr-day:hover {
    background: #e8f0fe !important;
    border-color: #e8f0fe !important;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--primary, #0064D2) !important;
}
input.rw-date-input,
input.rw-date-alt {
    cursor: pointer;
    background-color: #fff;
}
/* ============================================
   NAVBAR
   ============================================ */
.navbar-brand {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
    line-height: 0;
    height: auto;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 1rem;
}
.navbar-brand .brand-logo {
    height: 32px;
    width: auto;
    max-width: min(180px, 48vw);
    object-fit: contain;
    object-position: left center;
    display: block;
    /* cegah blur saat scale di retina */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
@supports (image-rendering: auto) {
    .navbar-brand .brand-logo {
        image-rendering: auto;
    }
}
.navbar-brand .brand-logo-light { display: none; }
.navbar-public.navbar {
    min-height: 64px;
}
.navbar-public .container {
    min-height: 56px;
}
.navbar-public .navbar-end-group {
    margin-left: auto;
}
.navbar-public .navbar-end-group .navbar-nav .nav-link {
    line-height: 1.2;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    font-size: .95rem;
}
.navbar-public .navbar-end-group .navbar-nav .nav-link .bi {
    font-size: 1.15rem;
    line-height: 1;
}
.navbar { box-shadow: var(--shadow-sm); padding: .4rem 0; }
.navbar-public {
    background-color: #fff;
}
/* Navbar harus di atas sticky sidebar (Bootstrap sticky-top = 1020, dropdown = 1000) */
.navbar.sticky-top { z-index: 1030; }
.navbar .dropdown-menu { z-index: 1040; }
/* Kartu sticky di konten (tiket, keranjang, checkout) tetap di bawah navbar */
.card.sticky-top,
.sticky-top:not(.navbar) { z-index: 1010; }
.nav-link { font-weight: 500; transition: color .2s; font-size: .82rem; }
.nav-link:hover { color: var(--primary) !important; }

/* Beranda: navbar transparan di atas foto hero (tanpa bg-white Bootstrap) */
body.page-home {
    --hero-nav-h: 58px;
}

/* Halaman wisatawan (cart, payment, wisata, dll): hero strip + body lembut */
body.page-public {
    --public-hero-strip: 190px;
    position: relative;
    background: #eef3f8;
}
body.page-public::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--public-hero-strip, 190px);
    background-color: #0a2a4a;
    background-image:
        linear-gradient(
            180deg,
            rgba(6, 28, 56, 0.38) 0%,
            rgba(8, 40, 70, 0.45) 45%,
            rgba(238, 243, 248, 0.92) 88%,
            #eef3f8 100%
        ),
        url('/static/img/hero-bg.jpg?v=20260727f');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}
@media (max-width: 767.98px) {
    body.page-public {
        --public-hero-strip: 160px;
    }
    body.page-public::before {
        background-image:
            linear-gradient(
                180deg,
                rgba(6, 28, 56, 0.4) 0%,
                rgba(8, 40, 70, 0.48) 45%,
                rgba(238, 243, 248, 0.94) 88%,
                #eef3f8 100%
            ),
            url('/static/img/hero-bg-sm.jpg?v=20260727f');
        background-position: center 50%;
    }
}
body.page-public > .navbar,
body.page-public > main,
body.page-public > .footer {
    position: relative;
    z-index: 1;
}
body.page-public > main {
    padding-top: calc(var(--hero-nav-h, 58px) + 18px);
    padding-bottom: 28px;
}
body.page-public .card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.65);
}
body.page-public .footer {
    margin-top: 0;
}

/* Judul halaman di atas hero strip: putih agar kontras */
body.page-public .page-hero-heading,
body.page-public .page-hero-heading .bi {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
body.page-public .page-hero-sub {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    background: rgba(8, 40, 70, 0.55);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
body.page-public .trx-filter-bar h4.page-hero-heading {
    color: #fff !important;
}

/* Soft body di beranda (bawah hero) agar selaras halaman wisatawan */
body.page-home:not(.page-auth):not(.page-public) {
    background: #eef3f8;
}

body.page-home .navbar-public,
body.page-home .navbar.navbar-public {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-bottom: none !important;
    overflow: visible !important;
    transition:
        background-color .35s ease,
        background .35s ease,
        backdrop-filter .35s ease,
        -webkit-backdrop-filter .35s ease,
        box-shadow .35s ease;
    /* Override Bootstrap .sticky-top { position: sticky !important } */
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
}
body.page-home .navbar .dropdown-menu {
    z-index: 1100;
}
body.page-home .navbar-public.is-scrolled,
body.page-home .navbar.navbar-public.is-scrolled {
    position: fixed !important;
    background: rgba(8, 40, 70, 0.72) !important;
    background-color: rgba(8, 40, 70, 0.72) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
}
body.page-home .navbar .navbar-brand,
body.page-home .navbar .nav-link,
body.page-home .navbar .btn,
body.page-home .navbar .nav-cart-btn,
body.page-home .navbar .bi {
    filter: none !important;
    opacity: 1;
    -webkit-font-smoothing: antialiased;
}
/* Logo + menu putih di atas sky */
body.page-home .navbar .navbar-brand,
body.page-home .navbar .navbar-brand .text-primary,
body.page-home .navbar .navbar-brand .text-dark,
body.page-home .navbar .navbar-brand .bi {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
body.page-home .navbar .navbar-brand .brand-logo-dark { display: none; }
body.page-home .navbar .navbar-brand .brand-logo-light {
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
body.page-home .navbar .nav-link,
body.page-home .navbar .nav-link .bi {
    color: rgba(255,255,255,.95) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
body.page-home .navbar .nav-link:hover,
body.page-home .navbar .nav-link:hover .bi {
    color: #fff !important;
    background: rgba(255,255,255,.12);
}
/* Keranjang & profil: lebih transparan (mirip mobile) + teks putih */
body.page-home .navbar .nav-cart-btn,
body.page-home .navbar .nav-user-trigger,
body.page-home .navbar .btn-light.nav-cart-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
body.page-home .navbar .nav-cart-btn:hover,
body.page-home .navbar .nav-user-trigger:hover,
body.page-home .navbar .nav-user-trigger:focus,
body.page-home .navbar .nav-user-trigger.show,
body.page-home .navbar .btn-light.nav-cart-btn:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
}
body.page-home .navbar .nav-cart-btn .bi,
body.page-home .navbar .nav-user-trigger .userName,
body.page-home .navbar .nav-user-trigger::after {
    color: #fff !important;
    opacity: 1;
}
body.page-home .navbar .nav-user-avatar {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
}
body.page-home .navbar .navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}
body.page-home .navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}
body.page-home .navbar .btn-outline-primary {
    background: rgba(255,255,255,.15) !important;
    border-color: rgba(255,255,255,.45) !important;
    color: #fff !important;
}
body.page-home .navbar .btn-primary {
    background: rgba(255,255,255,.92) !important;
    border-color: transparent !important;
    color: #0b3a66 !important;
}
body.page-home .navbar-collapse.show,
body.page-home .navbar-collapse.collapsing {
    background: rgba(8, 40, 70, 0.92);
    border-radius: 12px;
    margin-top: .5rem;
    padding: .5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    border: none;
}
/* Mobile drawer: ikon harus kontras (jangan putih di atas kotak abu muda) */
body.page-home .navbar-collapse .user-menu-header-mobile {
    background: rgba(255, 255, 255, 0.12);
}
body.page-home .navbar-collapse .user-menu-label {
    color: rgba(255, 255, 255, 0.65) !important;
}
body.page-home .navbar-collapse .user-menu-name,
body.page-home .navbar-collapse .user-menu-item {
    color: #fff !important;
}
body.page-home .navbar-collapse .user-menu-item:hover,
body.page-home .navbar-collapse .user-menu-item:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
body.page-home .navbar-collapse .user-menu-icon {
    background: #fff !important;
    color: #1e3a5f !important;
}
body.page-home .navbar-collapse .user-menu-icon .bi {
    color: #1e3a5f !important;
}
body.page-home .navbar-collapse .user-menu-item:hover .user-menu-icon,
body.page-home .navbar-collapse .user-menu-item:hover .user-menu-icon .bi {
    background: #e8f1ff !important;
    color: #0d6efd !important;
}
body.page-home .navbar-collapse .user-menu-logout {
    color: #fecaca !important;
}
body.page-home .navbar-collapse .user-menu-logout .user-menu-icon {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}
body.page-home .navbar-collapse .user-menu-logout .user-menu-icon .bi {
    color: #dc2626 !important;
}
body.page-home .navbar-collapse .user-menu-logout:hover,
body.page-home .navbar-collapse .user-menu-logout:focus {
    background: rgba(220, 38, 38, 0.18) !important;
    color: #fecaca !important;
}
body.page-home .navbar-collapse .user-menu-avatar {
    background: #fff !important;
    color: #0d6efd !important;
}
body.page-home .navbar-collapse .user-menu-avatar .bi {
    color: #0d6efd !important;
}
body.page-home .navbar-collapse .border-top {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Desktop dropdown profil: gelap transparan seperti mobile drawer */
body.page-home .navbar .dropdown-menu.user-menu {
    background: rgba(8, 40, 70, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-header {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 2px 2px 4px;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-label {
    color: rgba(255, 255, 255, 0.65) !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-name,
body.page-home .navbar .dropdown-menu.user-menu .user-menu-item,
body.page-home .navbar .dropdown-menu.user-menu .dropdown-item {
    color: #fff !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-item:hover,
body.page-home .navbar .dropdown-menu.user-menu .user-menu-item:focus,
body.page-home .navbar .dropdown-menu.user-menu .dropdown-item:hover,
body.page-home .navbar .dropdown-menu.user-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-icon {
    background: #fff !important;
    color: #1e3a5f !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-icon .bi {
    color: #1e3a5f !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-item:hover .user-menu-icon,
body.page-home .navbar .dropdown-menu.user-menu .user-menu-item:hover .user-menu-icon .bi {
    background: #e8f1ff !important;
    color: #0d6efd !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-logout {
    color: #fecaca !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-logout .user-menu-icon {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-logout .user-menu-icon .bi {
    color: #dc2626 !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-logout:hover,
body.page-home .navbar .dropdown-menu.user-menu .user-menu-logout:focus {
    background: rgba(220, 38, 38, 0.18) !important;
    color: #fecaca !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-avatar {
    background: #fff !important;
    color: #0d6efd !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-avatar .bi {
    color: #0d6efd !important;
}
body.page-home .navbar .dropdown-menu.user-menu .user-menu-divider {
    border-color: rgba(255, 255, 255, 0.18) !important;
    opacity: 1;
}

/* User account trigger + dropdown */
.nav-cart-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-cart-btn .badge { font-size: .65rem; }

.nav-user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: var(--dark);
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none;
}
.nav-user-trigger:hover,
.nav-user-trigger:focus,
.nav-user-trigger.show {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--dark);
    box-shadow: none;
}
.nav-user-trigger::after {
    margin-left: 2px;
    opacity: .55;
}
.nav-user-avatar,
.user-menu-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e8f1ff 0%, #dbeafe 100%);
    color: var(--primary);
    font-size: .95rem;
    flex-shrink: 0;
}
.user-menu-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
}

.user-menu {
    min-width: 240px;
    padding: 8px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .12) !important;
}
.user-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 8px;
}
.user-menu-header-mobile {
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 12px;
}
.user-menu-meta {
    min-width: 0;
    overflow: hidden;
}
.user-menu-label {
    display: block;
    font-size: .68rem;
    color: #94a3b8;
    letter-spacing: .02em;
    line-height: 1.2;
    margin-bottom: 2px;
}
.user-menu-name {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-menu-divider {
    margin: 6px 4px;
    opacity: .12;
    border-color: #0f172a;
}
.user-menu-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 9px 10px !important;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 500;
    color: #334155 !important;
    transition: background .15s ease, color .15s ease;
}
.user-menu-item:hover,
.user-menu-item:focus {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}
.user-menu-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    font-size: .9rem;
    flex-shrink: 0;
    transition: background .15s ease, color .15s ease;
}
.user-menu-item:hover .user-menu-icon {
    background: #e2e8f0;
    color: var(--primary);
}
.user-menu-logout {
    color: #dc2626 !important;
}
.user-menu-logout .user-menu-icon {
    background: #fef2f2;
    color: #dc2626;
}
.user-menu-logout:hover,
.user-menu-logout:focus {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}
.user-menu-logout:hover .user-menu-icon {
    background: #fee2e2;
    color: #b91c1c;
}

/* ============================================
   HERO SECTION - HOME (Traveloka/Booking style)
   ============================================ */
.hero-home {
    position: relative;
    padding: 70px 0 40px;
    min-height: 360px;
    display: flex;
    align-items: center;
    /* visible agar dropdown kota/profil tidak terpotong */
    overflow: visible;
    background: #0a2a4a;
}
/* Beranda: foto hero full-bleed dari atas viewport (di belakang navbar) */
body.page-home .hero-home {
    margin-top: 0;
    padding-top: calc(var(--hero-nav-h, 66px) + 44px);
    padding-bottom: 64px;
    min-height: 460px;
    z-index: 2;
}
@media (min-width: 992px) {
    body.page-home .hero-home {
        padding-top: calc(var(--hero-nav-h, 70px) + 52px);
        padding-bottom: 72px;
        min-height: 520px;
    }
}
.hero-home > picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Naikkan frame: kurangi sky, tampilkan candi di bawah */
    object-position: center 60%;
    z-index: 0;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    pointer-events: none;
    user-select: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 28, 56, 0.28) 0%,
        rgba(8, 40, 70, 0.34) 40%,
        rgba(10, 50, 80, 0.42) 100%
    );
    z-index: 1;
    pointer-events: none;
}
.hero-title {
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.9);
    margin-bottom: 24px;
}

.hero-supported-by {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    /* Di bawah search box (container z-index:2) agar dropdown kota tidak tertutup */
    z-index: 1;
    pointer-events: none;
    background: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.hero-supported-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero-supported-logo {
    height: 42px;
    width: auto;
    max-width: min(240px, 62vw);
    object-fit: contain;
    object-position: left center;
    display: block;
}

/* Search Box Home */
.search-home {
    position: relative;
    z-index: 5;
    overflow: visible;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255,255,255,.2);
    margin-top: 10px;
}
.search-home .form-control,
.search-home .form-select {
    border-radius: var(--radius-sm);
    border: none;
    font-size: .88rem;
    font-weight: 400;
    height: 44px;
    color: #212529;
}
.search-home .rw-select,
.search-home .rw-select-lg {
    width: 100%;
    position: relative;
    z-index: 6;
}
.search-home .rw-select.is-open {
    z-index: 20;
}
.search-home .rw-select-panel {
    z-index: 30;
    max-height: min(280px, 50vh);
}
.search-home .rw-select .rw-select-trigger,
.search-home .rw-select-lg .rw-select-trigger {
    height: 44px;
    min-height: 44px;
    padding: 8px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    box-shadow: none;
}
.search-home input.rw-date-alt,
.search-home input.rw-date-input {
    height: 44px;
    border: none;
    font-size: .88rem;
    font-weight: 400;
}
.search-home .rw-select.is-open .rw-select-trigger,
.search-home .rw-select .rw-select-trigger:focus {
    box-shadow: none;
    border: none;
}
.search-home .rw-select-label {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.search-home .rw-select-caret {
    font-size: .7rem;
    color: #6c757d;
}
.search-home .rw-select-panel {
    border-radius: 10px;
}
.search-home .rw-select-search {
    padding: 8px 10px;
}
.search-home .rw-select-search-input {
    font-size: .88rem;
    font-weight: 400;
}
.search-home .rw-select-option {
    font-size: .88rem;
    font-weight: 400;
    padding: 8px 10px;
}
.search-home .input-group-text {
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    height: 44px;
}
.search-home .form-label {
    font-size: .75rem;
    font-weight: 500;
    margin-bottom: 3px;
}
.search-home .btn-warning {
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    border: none;
    box-shadow: 0 4px 12px rgba(255,193,7,.4);
}
.search-home .btn-warning:hover {
    background: #ffb300;
    box-shadow: 0 6px 16px rgba(255,193,7,.5);
    transform: translateY(-1px);
}

/* Generic hero for subpages */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-body);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-section h1 { font-weight: 700; font-size: 1.8rem; }
.hero-section p { font-size: .95rem; opacity: .9; }

/* ============================================
   PROMO CARDS
   ============================================ */
.promo-card {
    border-radius: var(--radius);
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    cursor: default;
}
.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.promo-blue { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.promo-green { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.promo-orange { background: linear-gradient(135deg, #e65100, #ff9800); }
.promo-badge {
    display: inline-block;
    background: rgba(255,255,255,.25);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.promo-code {
    background: rgba(255,255,255,.2);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: .9rem;
    letter-spacing: 1px;
    border: 1px dashed rgba(255,255,255,.5);
}

/* ============================================
   WISATA CARDS
   ============================================ */
.wisata-card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
.wisata-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.wisata-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
}
.wisata-img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.wisata-gallery-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
}
.wisata-card:hover .wisata-img-wrap img {
    transform: scale(1.05);
}
.wisata-badge-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,.6);
    color: #ffc107;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* Generic card */
.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.card-img-top {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.card-title { font-weight: 600; font-size: .85rem; }
.card-text { color: var(--secondary); font-size: .78rem; }

/* ============================================
   TRUST / KEUNGGULAN SECTION
   ============================================ */
.trust-item {
    padding: 12px 8px;
    transition: transform .2s;
}
.trust-item:hover {
    transform: translateY(-4px);
}
.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.trust-label { font-size: .8rem; }
.trust-desc { font-size: .7rem; line-height: 1.3; }
@media (min-width: 768px) {
    .trust-icon { width: 64px; height: 64px; font-size: 1.6rem; }
    .trust-label { font-size: .9rem; }
    .trust-desc { font-size: .8rem; }
}

/* ============================================
   STEP CARDS (Cara Pesan)
   ============================================ */
.step-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: 0 2px 8px rgba(0,100,210,.3);
}
.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

/* ============================================
   SEARCH BAR (subpage)
   ============================================ */
.search-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}
.search-box .form-control,
.search-box .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid #dee2e6;
    padding: 12px 16px;
    font-size: .95rem;
}
.search-box .btn-primary {
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* ============================================
   PRICE TAG
   ============================================ */
.price-tag {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}
.price-tag small {
    font-size: .7rem;
    font-weight: 400;
    color: var(--secondary);
}
.price-tag-sm {
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary);
}
@media (min-width: 768px) {
    .price-tag-sm { font-size: .88rem; }
}

/* Tiket item */
.tiket-item { background: #fff; transition: border-color .2s; }
.tiket-item:hover { border-color: var(--primary) !important; }
.qty-btn {
    width: 26px;
    height: 26px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    line-height: 1;
}

/* ============================================
   RATING STARS
   ============================================ */
.rating { color: var(--warning); font-size: .9rem; }
.rating .text-muted { color: var(--secondary) !important; font-size: .8rem; }

/* ============================================
   BADGES
   ============================================ */
.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: .8rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn { border-radius: var(--radius-sm); font-weight: 500; transition: all .2s; font-size: .85rem; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 10px 24px; font-size: .92rem; }

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: .85rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(0,100,210,.15);
}
.form-label { font-weight: 500; margin-bottom: 4px; font-size: .82rem; }

/* ============================================
   CUSTOM SELECT (rw-select) — mobile + web
   ============================================ */
.rw-select {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}
.rw-select-native {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
}
.rw-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: var(--radius-sm);
    background: #fff;
    color: #1a1a2e;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.rw-select-trigger:hover {
    border-color: #b6c2cf;
}
.rw-select.is-open .rw-select-trigger,
.rw-select-trigger:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(0,100,210,.15);
}
.rw-select-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rw-select-caret {
    flex: 0 0 auto;
    color: #64748b;
    font-size: .75rem;
    transition: transform .18s ease;
}
.rw-select.is-open .rw-select-caret {
    transform: rotate(180deg);
}

.rw-select.is-open {
    z-index: 1090 !important;
    position: relative !important;
}

.rw-select-parent-open,
.card:has(.rw-select.is-open),
.card-body:has(.rw-select.is-open),
.modal-content:has(.rw-select.is-open),
.modal-body:has(.rw-select.is-open),
.table-responsive:has(.rw-select.is-open),
.row:has(.rw-select.is-open) {
    z-index: 1050 !important;
    position: relative !important;
    overflow: visible !important;
}

.rw-select-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1095;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .18);
    overflow: hidden;
    animation: rw-select-in .16s ease-out;
}
@keyframes rw-select-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.rw-select-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
    background: #f8fafc;
}
.rw-select-search i {
    color: #94a3b8;
    font-size: .9rem;
}
.rw-select-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: .85rem;
    color: #0f172a;
}
.rw-select-search-input::placeholder {
    color: #94a3b8;
}

.rw-select-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    max-height: min(260px, 45vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.rw-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: .85rem;
    color: #334155;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
}
.rw-select-option:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.rw-select-option.is-selected {
    background: rgba(0, 100, 210, .1);
    color: var(--primary);
    font-weight: 600;
}
.rw-select-option.is-selected i {
    color: var(--primary);
}
.rw-select-option.is-disabled {
    color: #94a3b8;
    cursor: not-allowed;
}
.rw-select-option.is-disabled:hover {
    background: transparent;
    color: #94a3b8;
}
.rw-select-empty {
    padding: 16px 12px;
    text-align: center;
    font-size: .82rem;
    color: #94a3b8;
}

.rw-select-sm .rw-select-trigger {
    min-height: 32px;
    padding: 5px 10px;
    font-size: .8rem;
}
.rw-select-lg .rw-select-trigger {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 1rem;
    border-radius: .5rem;
}

/* Filter bar di halaman transaksi */
.trx-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}
.trx-filter-bar h4 {
    margin: 0;
}
.trx-filter-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    flex-wrap: wrap;
}
.trx-search {
    position: relative;
    flex: 1 1 200px;
    max-width: 280px;
    min-width: 0;
}
.trx-search i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: .8rem;
    pointer-events: none;
}
.trx-search .form-control {
    padding-left: 30px;
    height: 32px;
    font-size: .8rem;
    font-weight: 400;
    border-radius: var(--radius-sm);
}
.trx-filter-controls .rw-select {
    width: min(200px, 100%);
    flex: 0 1 200px;
}
.trx-filter-controls .rw-select-sm .rw-select-trigger {
    min-height: 32px;
    height: 32px;
    padding: 5px 10px;
    font-size: .8rem;
    font-weight: 400;
}

/* Wisata search filters */
.wisata-search-bar .form-control,
.wisata-search-bar .form-select {
    font-size: .9rem;
    font-weight: 400;
    color: #212529;
    min-height: 42px;
}
.wisata-search-bar .rw-select {
    width: 100%;
}
.wisata-search-bar .rw-select .rw-select-trigger {
    min-height: 42px;
    height: 42px;
    font-size: .9rem;
    font-weight: 400;
    color: #212529;
}
.wisata-search-bar .rw-select-label {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.wisata-search-bar .rw-select-caret {
    color: #6c757d;
}
.wisata-search-bar .wisata-search-btn {
    min-height: 42px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.wisata-sort {
    min-width: 180px;
}
.wisata-sort .rw-select {
    width: 100%;
}
.wisata-sort .rw-select-sm .rw-select-trigger {
    min-height: 34px;
    height: 34px;
    font-size: .85rem;
    font-weight: 400;
    color: #212529;
}

/* Ticket detail accordion on invoice card */
.btn-trx-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: 1px dashed #dbe3ee;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-trx-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}
.btn-trx-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 100, 210, .12);
}
.trx-toggle-caret {
    font-size: .75rem;
    color: #94a3b8;
    transition: transform .2s ease;
}
.trx-card.is-expanded .trx-toggle-caret {
    transform: rotate(180deg);
}
.trx-card.is-expanded .btn-trx-toggle {
    border-style: solid;
    border-color: rgba(0, 100, 210, .25);
    background: rgba(0, 100, 210, .04);
    color: var(--primary);
}
.trx-ticket-detail {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eef2f7;
}
.trx-ticket-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}
.trx-ticket-bullets li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: .82rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}
.trx-ticket-bullets li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.trx-ticket-bullets li:first-child {
    padding-top: 0;
}
.trx-ticket-bullets li::before {
    content: '';
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--primary);
}
.trx-ticket-name {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.4;
}
.trx-ticket-qty {
    flex: 0 0 auto;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .trx-filter-bar {
        align-items: stretch;
    }
    .trx-filter-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .trx-search {
        max-width: none;
        flex: 1 1 auto;
        width: 100%;
    }
    .trx-filter-controls .rw-select {
        width: 100%;
        flex: 1 1 auto;
    }
    .rw-select-list {
        max-height: min(220px, 40vh);
    }
    .search-home .rw-select-panel {
        left: 0;
        right: 0;
    }
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}
.auth-container.auth-hero-bg {
    position: relative;
    isolation: isolate;
    background-color: #0a2a4a;
    background-image:
        linear-gradient(
            180deg,
            rgba(6, 28, 56, 0.42) 0%,
            rgba(8, 40, 70, 0.48) 45%,
            rgba(10, 50, 80, 0.55) 100%
        ),
        url('/static/img/hero-bg.jpg?v=20260727f');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
}
body.page-auth .auth-container.auth-hero-bg {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--hero-nav-h, 58px) + 28px);
    padding-bottom: 40px;
    align-items: center;
}
body.page-auth main {
    padding: 0;
    margin: 0;
    background: transparent;
}
body.page-auth {
    background: #0a2a4a;
}
@media (max-width: 767.98px) {
    .auth-container.auth-hero-bg {
        background-image:
            linear-gradient(
                180deg,
                rgba(6, 28, 56, 0.42) 0%,
                rgba(8, 40, 70, 0.48) 45%,
                rgba(10, 50, 80, 0.55) 100%
            ),
            url('/static/img/hero-bg-sm.jpg?v=20260727f');
        background-position: center 55%;
    }
}
.auth-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 32px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    color: #0f2744;
}
.auth-card h2 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1.3rem;
    color: #0a2f52;
}
.auth-card > p.text-muted,
.auth-card .text-muted,
.auth-card small.text-muted {
    color: #3d5470 !important;
}
.auth-card .form-label {
    color: #123554;
    font-weight: 600;
}
.auth-card .form-control,
.auth-card .form-select,
.auth-card .input-group-text {
    background: #fff;
    border-color: #cfd8e3;
    color: #0f2744;
}
.auth-card .form-control::placeholder {
    color: #7a8ca3;
    opacity: 1;
}
.auth-card .form-control:focus {
    background: #fff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, 0.2);
}
.auth-card .btn-outline-secondary {
    background: #fff;
    border-color: #cfd8e3;
    color: #334155;
}
.auth-card .btn-google {
    background: #fff;
    border-color: #cfd8e3;
    color: #0f2744;
}
.auth-card .btn-google:hover {
    background: #f8fafc;
    border-color: #b6c2d1;
}
.auth-card .auth-divider {
    color: #475569;
    font-weight: 500;
}
.auth-card .auth-divider::before,
.auth-card .auth-divider::after {
    border-bottom-color: #c5d0dc;
}
.auth-card a:not(.btn) {
    color: #0a58ca;
    font-weight: 600;
}
.auth-card a:not(.btn):hover {
    color: #084298;
}
.auth-card > p.small,
.auth-card p.small {
    color: #334155;
}
.auth-card .bg-light {
    background: #f1f5f9 !important;
}
.auth-card .border {
    border-color: #d8e0ea !important;
}
.auth-supported-by {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
.auth-supported-label {
    color: #334155;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .03em;
}
.auth-supported-logo {
    height: 32px;
    width: auto;
    max-width: min(180px, 52vw);
    object-fit: contain;
    display: block;
}
.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--secondary);
    font-size: .85rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}
.auth-divider span { padding: 0 12px; }

/* Google Button */
.btn-google {
    background: #fff;
    border: 1px solid #dee2e6;
    color: var(--dark);
    font-weight: 500;
    padding: 10px 20px;
}
.btn-google:hover { background: #f8f9fa; border-color: #adb5bd; }
.btn-google img { width: 20px; margin-right: 8px; }

/* ============================================
   ADMIN SIDEBAR
   ============================================ */
.admin-sidebar {
    width: 220px;
    min-height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #e2e8f0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: transform .3s;
}
.admin-sidebar .nav-link {
    color: #94a3b8;
    padding: 8px 14px;
    border-radius: 6px;
    margin: 1px 10px;
    font-size: .8rem;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.1);
}
.admin-sidebar .nav-link i { width: 20px; text-align: center; margin-right: 6px; font-size: .85rem; }
.admin-sidebar .sidebar-brand {
    padding: 12px 14px;
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}
.admin-sidebar .sidebar-brand-logo {
    height: 23px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}
.admin-sidebar .sidebar-brand-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.2;
}
.admin-content {
    margin-left: 220px;
    padding: 16px 20px;
    min-height: 100vh;
    font-size: .85rem;
}
.admin-content .navbar { padding: .4rem .8rem; margin-bottom: .75rem !important; }
.admin-content .navbar .navbar-text { font-size: .85rem; }
.admin-content .card-header { padding: .6rem 1rem; }
.admin-content .card-header h5 { font-size: .9rem; }
.admin-content .card-body { padding: .8rem 1rem; }
.admin-content .table { font-size: .8rem; }
.admin-content .table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .3px; }
.admin-content .btn-sm { font-size: .75rem; padding: 4px 8px; }
.admin-content .form-label { font-size: .8rem; margin-bottom: 4px; }
.admin-content .form-control, .admin-content .form-select { font-size: .82rem; padding: 6px 10px; }
.admin-content .form-select { padding-right: 2.25rem; }
.admin-content h4 { font-size: 1.1rem; }
.admin-content h5 { font-size: .9rem; }
.admin-content .badge { font-size: .7rem; }
@media (max-width: 991.98px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-content { margin-left: 0; padding: 12px; }
}

/* ============================================
   STAT CARDS (Dashboard)
   ============================================ */
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.stat-card .stat-value { font-size: 1.3rem; font-weight: 700; margin: 4px 0 2px; }
.stat-card .stat-label { color: var(--secondary); font-size: .75rem; }
.stat-card .stat-sub { display: block; font-size: .72rem; color: #94a3b8; margin-top: 2px; }
.stat-card.is-loading .stat-value,
.stat-card.is-loading .stat-sub,
.admin-dash-kpi.is-loading .stat-value,
.admin-dash-kpi.is-loading .stat-sub {
    color: transparent !important;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: adminKpiShimmer 1.2s ease-in-out infinite;
    border-radius: 6px;
    min-height: 1.1em;
}
@keyframes adminKpiShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.table-admin th,
.table-admin td,
.admin-dash-table th,
.admin-dash-table td {
    white-space: nowrap;
    vertical-align: middle;
}
.table-admin td.num,
.admin-dash-table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.admin-dash-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    color: #64748b;
    font-size: .875rem;
    text-align: center;
    padding: 1rem;
}
.admin-report-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}
.admin-report-hint {
    font-size: .8rem;
    color: #64748b;
}

/* ============================================
   ADMIN IMAGE CROP
   ============================================ */
.admin-crop-modal .modal-body {
    padding: 0.75rem 1rem 1rem;
}
.admin-crop-layout {
    align-items: stretch;
}
.admin-crop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.admin-crop-hint {
    font-size: .72rem;
    color: var(--secondary);
}
.admin-crop-stage {
    position: relative;
    background: #111827;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: var(--radius);
    height: min(62vh, 520px);
    min-height: 320px;
    overflow: hidden;
}
.admin-crop-canvas-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}
.admin-crop-stage img,
.admin-crop-canvas-wrap > img {
    display: block;
    max-width: 100%;
}
.admin-crop-stage .cropper-container {
    direction: ltr;
    font-size: 0;
    line-height: 0;
    position: relative;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100% !important;
    height: 100% !important;
}
.admin-crop-stage .cropper-wrap-box,
.admin-crop-stage .cropper-canvas,
.admin-crop-stage .cropper-drag-box,
.admin-crop-stage .cropper-crop-box {
    position: absolute;
}
.admin-crop-stage .cropper-wrap-box {
    overflow: hidden;
}
.admin-crop-stage .cropper-bg {
    background-color: #111827;
}
.admin-crop-stage .cropper-view-box,
.admin-crop-stage .cropper-face {
    border-radius: 2px;
}
.admin-crop-stage .cropper-line,
.admin-crop-stage .cropper-point {
    background-color: #38bdf8;
}
.admin-crop-preview-panel {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius);
    padding: 12px;
    height: 100%;
    min-height: 320px;
}
.admin-crop-preview-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}
.admin-crop-tab {
    border: 1px solid rgba(13, 110, 253, 0.18);
    background: #fff;
    color: var(--primary);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: .75rem;
    font-weight: 600;
}
.admin-crop-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.admin-crop-tab-pane {
    display: none;
}
.admin-crop-tab-pane.active {
    display: block;
}
.admin-crop-preview-label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 6px;
}
.admin-crop-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.06);
}
.admin-crop-card-web {
    max-width: 280px;
}
.admin-crop-card-mobile {
    max-width: 168px;
}
.admin-crop-card-media {
    width: 100%;
    overflow: hidden;
    background: #e2e8f0;
}
.admin-crop-card-web .admin-crop-card-media {
    height: 160px;
}
.admin-crop-card-mobile .admin-crop-card-media {
    height: 110px;
}
.admin-crop-card-media img,
.admin-crop-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.admin-crop-card-body {
    padding: 10px 12px 12px;
}
.admin-crop-card-title {
    font-size: .82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}
.admin-crop-card-mobile .admin-crop-card-title {
    font-size: .74rem;
}
.admin-crop-card-loc {
    margin-top: 4px;
    font-size: .68rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.admin-crop-card-loc i {
    color: #dc3545;
    font-size: .7rem;
}
.admin-crop-banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #e2e8f0;
    border: 1px solid rgba(15, 23, 42, 0.06);
}
.admin-crop-banner-web {
    width: 100%;
    height: 150px;
}
.admin-crop-banner-mobile {
    width: min(220px, 100%);
    height: 124px;
}
.admin-crop-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    pointer-events: none;
}
.admin-crop-banner-nav.left { left: 8px; }
.admin-crop-banner-nav.right { right: 8px; }
.admin-crop-banner-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(92, 58, 32, 0.92);
    color: #fff;
    text-align: center;
    font-size: .72rem;
    font-weight: 600;
    padding: 6px 8px;
}
.admin-crop-meta {
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
    padding-top: 10px;
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-dash-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.admin-dash-toolbar p {
    margin-bottom: 0;
}
.admin-dash-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.admin-dash-filter-btn {
    border: 1px solid rgba(13, 110, 253, 0.18);
    background: #fff;
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .78rem;
    font-weight: 600;
}
.admin-dash-filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.admin-dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.admin-dash-kpi {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}
.admin-dash-kpi .stat-icon {
    flex: 0 0 auto;
}
.admin-dash-kpi .stat-sub {
    display: block;
    color: var(--secondary);
    font-size: .73rem;
}
.admin-dash-card .card-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.admin-dash-card .card-body {
    position: relative;
}
.admin-dash-chart {
    height: 260px;
}
.admin-dash-chart-sm {
    height: 240px;
}
.admin-dash-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    color: var(--secondary);
    font-size: .82rem;
    text-align: center;
    padding: 1rem;
}
.admin-dash-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 180px;
    color: var(--secondary);
}
.admin-dash-table td {
    vertical-align: middle;
}
.admin-dash-recent-meta {
    font-size: .7rem;
    color: var(--secondary);
}

/* ============================================
   TICKET CARD
   ============================================ */
.ticket-card {
    background: #fff;
    border: 2px dashed #dee2e6;
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
}
.ticket-card::before,
.ticket-card::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--bg-body);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.ticket-card::before { left: -13px; }
.ticket-card::after { right: -13px; }
.ticket-card .ticket-number { font-family: monospace; font-size: 1.1rem; letter-spacing: 2px; }

/* Cart qty control: | - | qty | X | + | */
.cart-qty-group .cart-qty-val {
    min-width: 2.25rem;
    font-weight: 600;
    color: var(--bs-body-color);
    opacity: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #94a3b8;
    padding: 32px 0 16px;
    font-size: .8rem;
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
}
.footer h5 { color: #fff; font-weight: 600; margin-bottom: 10px; font-size: .9rem; }
.auth-brand-logo {
    height: 36px;
    width: auto;
    max-width: 196px;
    object-fit: contain;
    display: inline-block;
}
.footer .brand-logo {
    height: 32px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
}
.footer a { color: #94a3b8; text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 14px;
    margin-top: 20px;
    font-size: .78rem;
}

/* ============================================
   UTILITY
   ============================================ */
.text-truncate-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gap-12 { gap: 12px; }
.cursor-pointer { cursor: pointer; }

/* Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767.98px) {
    body { font-size: 14px; }
    .navbar-brand { font-size: 1.1rem; }
    .navbar-brand .brand-logo {
        height: 27px;
        max-width: min(152px, 46vw);
    }
    .nav-link { font-size: .85rem; }
    .admin-crop-stage {
        height: 300px;
        min-height: 260px;
    }
    .admin-crop-hint {
        display: none;
    }
    .admin-crop-card-web {
        max-width: 100%;
    }
    .admin-dash-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-dash-chart,
    .admin-dash-chart-sm {
        height: 220px;
    }

    .hero-home { padding: 60px 0 30px; min-height: auto; }
    body.page-home .hero-home {
        padding-top: calc(var(--hero-nav-h, 58px) + 36px);
        padding-bottom: 56px;
        min-height: 400px;
    }
    .hero-title { font-size: 1.35rem; line-height: 1.3; }
    .hero-subtitle { font-size: .85rem; margin-bottom: 20px; }
    .hero-supported-by { bottom: 8px; padding: 0; gap: 8px; }
    .hero-supported-label { font-size: .78rem; }
    .hero-supported-logo { height: 34px; max-width: min(200px, 58vw); }
    .search-home { padding: 12px; margin-top: 4px; }
    .search-home .form-control,
    .search-home .form-select { height: 40px; font-size: .85rem; }
    .search-home input.rw-date-alt,
    .search-home input.rw-date-input { height: 40px; font-size: .85rem; }
    .search-home .rw-select .rw-select-trigger,
    .search-home .rw-select-lg .rw-select-trigger {
        height: 40px;
        min-height: 40px;
        font-size: .85rem;
        padding: 6px 10px;
    }
    .search-home .rw-select-search-input,
    .search-home .rw-select-option { font-size: .85rem; }
    .search-home .input-group-text { height: 40px; }
    .search-home .btn-warning { height: 40px; font-size: .9rem; }
    .search-home .form-label { font-size: .7rem; margin-bottom: 2px; }

    .hero-section { padding: 50px 0 30px; }
    .hero-section h1 { font-size: 1.4rem; }
    .hero-section p { font-size: .9rem; }

    .search-box { padding: 12px; margin-top: -24px; }
    .search-box .form-control,
    .search-box .form-select { padding: 8px 12px; font-size: .85rem; }

    .promo-card { padding: 14px; }
    .promo-card h5 { font-size: .85rem; }
    .promo-card p { font-size: .72rem; }
    .promo-badge { font-size: .65rem; padding: 2px 8px; }
    .promo-code { font-size: .75rem; padding: 3px 8px; }

    h3 { font-size: 1.1rem; }
    h5 { font-size: .95rem; }
    h6 { font-size: .8rem; }

    .wisata-card .card-body { padding: 10px 12px; }
    .wisata-card .card-title { font-size: .82rem; }
    .wisata-card .card-text { font-size: .72rem; }
    .wisata-img-wrap img { height: 100%; }
    .card-img-top { height: 100%; }

    .step-card { padding: 20px 12px; }
    .step-card h6 { font-size: .78rem; }
    .step-card p { font-size: .68rem; }
    .step-icon { font-size: 1.6rem; margin-bottom: 4px; }
    .step-number { width: 24px; height: 24px; font-size: .7rem; top: -10px; }

    .price-tag { font-size: 1rem; }
    .btn { font-size: .85rem; }
    .btn-lg { padding: 10px 20px; font-size: .9rem; }

    .auth-card { padding: 24px 20px; }
    .auth-card h2 { font-size: 1.3rem; }

    .footer { padding: 32px 0 16px; }
    .footer h5 { font-size: .9rem; margin-bottom: 10px; }
    .footer a, .footer p { font-size: .8rem; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 1.2rem; }
    .hero-subtitle { font-size: .8rem; }
    .wisata-img-wrap img { height: 100%; }
    .card-img-top { height: 100%; }
}

/* ============================================
   PROMO BONUS (keranjang & checkout)
   ============================================ */
.promo-bonus-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #0a8f4c 0%, #16b364 55%, #2ecc71 100%);
    color: #fff;
    padding: 14px 16px;
    box-shadow: 0 6px 20px rgba(22, 179, 100, .25);
}
.promo-bonus-banner::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -20px;
    width: 140px;
    height: 220%;
    background: rgba(255,255,255,.08);
    transform: rotate(20deg);
    pointer-events: none;
}
.promo-bonus-banner .promo-bonus-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.promo-bonus-banner .promo-bonus-title {
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .2px;
}
.promo-bonus-banner .promo-bonus-sub {
    font-size: .72rem;
    opacity: .9;
}
.promo-bonus-banner .promo-bonus-items-line {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255,255,255,.35);
    font-size: .7rem;
    opacity: .92;
}

/* Satu baris hint "tambah X lagi dapat bonus" */
.promo-hint-line {
    border: 1px dashed #f0a202;
    background: #fff8e6;
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    color: #8a5a00;
    font-size: .72rem;
    line-height: 1.4;
}

/* Badge kecil "+N GRATIS" pada baris item */
.promo-free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0a8f4c, #16b364);
    color: #fff;
    font-weight: 700;
    font-size: .62rem;
    border-radius: 20px;
    padding: 2px 8px;
    letter-spacing: .3px;
    vertical-align: middle;
    animation: promoPop .35s ease-out;
}
@keyframes promoPop {
    0% { transform: scale(.6); opacity: 0; }
    70% { transform: scale(1.12); }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   RESPONSIVE ENHANCEMENTS FOR MOBILE
   ============================================ */
/* Nama wisata di keranjang: satu baris (ellipsis jika terlalu panjang) */
.cart-wisata-card .card-header h6,
.cart-wisata-card .card-header h6 label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .border-top-mobile {
        border-top: 1px dashed #e2e8f0;
        margin-top: 6px;
        padding-top: 8px;
    }
    .cart-wisata-card .card-header {
        padding: 12px 14px !important;
    }
    .cart-wisata-card .card-body {
        padding: 10px 14px !important;
    }
    .cart-item-row {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .cart-item-actions {
        border-top: 1px dashed #f1f5f9;
        padding-top: 8px !important;
    }
    .cart-item-price {
        font-size: .85rem;
    }
    .cart-item-subtotal {
        font-size: .88rem;
    }
    .js-cart-qty-input {
        height: 30px !important;
        font-size: .82rem !important;
    }
    #cartSummary {
        position: relative !important;
        top: 0 !important;
        margin-top: 16px;
    }
}

/* Skeleton Loading Animation */
.skeleton-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
}
.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Color Badges */
.bg-primary-subtle { background-color: #e8f0fe !important; color: #0064d2 !important; }
.bg-purple-subtle { background-color: #f3e8ff !important; color: #7e22ce !important; border-color: #e9d5ff !important; }

/* Stepper micro-animations */

@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid #e2e8f0 !important;
    }
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #e2e8f0 !important;
    }
    .border-start-md {
        border-left: 1px solid #e2e8f0 !important;
    }
}

/* Payment waiting page */
.payment-page .payment-card {
    max-width: 920px;
    margin: 0 auto;
}

/* Kolom kiri: isi (VA/QR) di tengah vertikal thd tinggi kolom kanan */
@media (min-width: 768px) {
    .payment-page .payment-media-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.payment-media-box {
    max-width: 260px;
}

#vaSection .payment-media-box,
.payment-va-box {
    max-width: 100%;
    width: 100%;
    container-type: inline-size;
    container-name: va-box;
}

.payment-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-brand-logo {
    object-fit: contain;
    display: block;
}

.payment-brand-logo-visit {
    height: 22px;
    width: auto;
    max-width: 100px;
}

.payment-brand-logo-bank {
    height: 32px;
    width: auto;
    max-width: 130px;
}

.payment-brand-divider {
    width: 1px;
    height: 28px;
    background: #cbd5e1;
    flex-shrink: 0;
}

/* Nomor VA: skala otomatis agar tidak terpotong (tablet/desktop sempit) */
#vaNumber {
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.03em;
    line-height: 1.3;
    font-size: clamp(0.8rem, 7.5cqi, 1.5rem);
}

@supports not (font-size: 1cqi) {
    #vaNumber {
        font-size: clamp(0.8rem, 2.8vw, 1.5rem);
    }
}

.payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-actions .btn {
    flex: 1 1 140px;
    min-height: 36px;
    font-weight: 600;
}

.payment-guide {
    background: #f8fafc !important;
}

.payment-guide ol {
    line-height: 1.45;
}

