/* =====================================================================
   Travelin -- tema aplikasi Travel Management
   Kanvas abu muda, kartu putih membulat, aksen ungu + hijau lime,
   tombol utama pill hitam (mengikuti contoh-ui-travel.jpg).
   ===================================================================== */
:root {
    --bg: #EFEFF3;
    --card: #FFFFFF;
    --ink: #16161D;
    --ink-2: #3B3B47;
    --muted: #8B8B99;
    --line: #ECECF2;
    --line-2: #E2E2EA;
    --hover: #F6F6F9;

    --brand: #7C5CF0;
    --brand-600: #6542E6;
    --brand-300: #B9A6F8;
    --brand-soft: #E6DFFD;
    --brand-50: #F4F0FF;

    --lime: #A9DB7A;
    --lime-soft: #DFF2CB;
    --lime-ink: #3D6A14;

    --succ: #2E9E5B;
    --succ-soft: #E2F6E9;
    --warn: #C98A0B;
    --warn-soft: #FDF1D6;
    --dang: #E04848;
    --dang-soft: #FDE7E7;
    --info: #2F7BEA;
    --info-soft: #E3EEFD;

    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 1px 2px rgba(22, 22, 29, .04);
    --shadow-lg: 0 18px 50px -12px rgba(22, 22, 29, .18);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { background: var(--bg); }
body {
    font-family: var(--font);
    color: var(--ink);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand); }
code { color: var(--dang); }
::selection { background: var(--brand-soft); }

/* ---------- Fokus: tanpa ring biru bawaan, indikator hanya utk keyboard ---------- */
.btn:focus, .btn:active:focus, .form-control:focus, .form-select:focus, .form-check-input:focus,
.page-link:focus, .btn-close:focus, button:focus, a:focus, input:focus, select:focus, textarea:focus {
    box-shadow: none !important;
    outline: none;
}
.form-control:focus, .form-select:focus { border-color: var(--brand-300); background: #fff; }
:focus-visible,
.btn:focus-visible, button:focus-visible, a:focus-visible, .page-link:focus-visible, .btn-close:focus-visible {
    outline: 2px solid var(--brand) !important;
    outline-offset: 2px;
    box-shadow: none !important;
}
.form-control:focus-visible, .form-select:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: none !important;
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px var(--brand-soft) !important;
}
.form-check-input:focus-visible { box-shadow: 0 0 0 3px var(--brand-soft) !important; }

/* ============================== LAYOUT ============================== */
.app { display: flex; min-height: 100vh; padding: 16px; gap: 16px; }
.sidebar {
    width: 252px; flex: 0 0 252px;
    background: var(--card);
    border-radius: 26px;
    padding: 20px 14px 14px;
    display: flex; flex-direction: column;
    position: sticky; top: 16px;
    height: calc(100vh - 32px);
    overflow: hidden;
}
.sidebar::-webkit-scrollbar, .side-nav::-webkit-scrollbar { display: none; }
/* Menu jadi area scroll sendiri; pengingat & profil user selalu terlihat di bawah */
.side-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
.sidebar > .brand, .sidebar > .workspace, .assist-card, .side-foot { flex-shrink: 0; }
@media (max-height: 940px) {
    .assist-card p { display: none; }
    .assist-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .assist-title { margin-bottom: 0; font-size: 12.5px; }
}
.shell { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.content { padding: 4px 4px 32px; }

.workspace {
    display: flex; align-items: center; gap: 10px;
    background: var(--hover); border-radius: 16px; padding: 12px; margin-bottom: 10px;
    color: var(--ink); transition: background .15s;
}
.workspace:hover { background: var(--brand-50); color: var(--ink); }
.workspace-ico {
    width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px;
    background: var(--brand-soft); color: var(--brand-600);
    display: grid; place-items: center; font-weight: 700;
}
/* Logo perusahaan menggantikan monogram: latar putih, logo utuh (tidak dipotong) */
.workspace-ico.has-logo { background: #fff !important; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.workspace-ico.has-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Upload logo (halaman Pengaturan) */
.logo-upload { display: flex; gap: 18px; align-items: center; padding: 16px; border: 1px dashed var(--line-2); border-radius: 16px; }
.logo-preview { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 18px; background: var(--brand-soft); color: var(--brand-600); display: grid; place-items: center; overflow: hidden; }
.logo-preview.ada { background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 8px; }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-kosong { font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.logo-upload-isi { min-width: 0; }
.logo-upload .btn-ghost { cursor: pointer; }
@media (max-width: 575.98px) { .logo-upload { flex-direction: column; align-items: flex-start; } }
.workspace b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-label { font-size: 10.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .9px; padding: 10px 12px 4px; }
.side-link {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 12px; margin-bottom: 1px;
    border-radius: 12px; color: var(--ink-2); font-weight: 500; font-size: 13.5px;
    transition: background .15s, color .15s;
}
.side-link i { font-size: 17px; color: var(--ink-2); }
.side-link:hover { background: var(--hover); color: var(--ink); }
.side-link.active { background: var(--brand-soft); color: var(--ink); font-weight: 600; }
.side-link.active i { color: var(--brand-600); }
.side-link .count {
    margin-left: auto; font-size: 11px; font-weight: 600;
    background: var(--hover); color: var(--muted);
    min-width: 22px; height: 20px; border-radius: 10px; padding: 0 6px;
    display: grid; place-items: center;
}
.side-link.active .count { background: #fff; color: var(--brand-600); }

.assist-card { background: var(--lime-soft); border-radius: 18px; padding: 12px 14px; margin: 14px 0 6px; }
.assist-title { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.assist-card p { font-size: 12px; color: var(--ink-2); margin-bottom: 8px; line-height: 1.4; }
.assist-btn {
    display: inline-block; background: #fff; color: var(--ink); font-weight: 600; font-size: 12px;
    padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.assist-btn:hover { color: var(--ink); background: #fafafa; }

.side-foot { margin-top: auto; padding-top: 6px; }
.side-user { display: flex; align-items: center; gap: 6px; padding: 10px 4px 0; border-top: 1px solid var(--line); }
.side-user-link { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; color: var(--ink); border-radius: 12px; padding: 4px; }
.side-user-link:hover { background: var(--hover); color: var(--ink); }
.side-user-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-role { font-size: 11.5px; color: var(--muted); }
.side-logout { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-size: 17px; border-radius: 8px; padding: 2px 6px; }
.side-logout:hover { color: var(--dang); background: var(--dang-soft); }

.avatar {
    width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px;
    display: grid; place-items: center; font-weight: 700; font-size: 12.5px;
}
.avatar.sm { width: 30px; height: 30px; flex-basis: 30px; font-size: 11px; }
.av-1 { background: var(--brand-soft); color: var(--brand-600); }
.av-2 { background: var(--lime-soft); color: var(--lime-ink); }
.av-3 { background: var(--warn-soft); color: var(--warn); }
.av-4 { background: var(--info-soft); color: var(--info); }
.av-5 { background: var(--dang-soft); color: var(--dang); }

.backdrop { display: none; }

/* ============================== TOPBAR ============================== */
.topbar { display: flex; align-items: center; gap: 12px; padding: 4px 4px 18px; }
.searchbox { position: relative; display: flex; align-items: center; }
.searchbox > i { position: absolute; left: 16px; color: var(--muted); font-size: 15px; pointer-events: none; }
.searchbox input {
    width: 100%; height: 44px; padding: 0 16px 0 42px;
    border: 1px solid transparent; border-radius: 999px; background: var(--card);
    font-size: 13.5px; color: var(--ink); transition: border-color .15s;
}
.searchbox input::placeholder { color: var(--muted); }
.panel .searchbox input { background: var(--hover); height: 40px; }
.topbar-search { width: 100%; max-width: 380px; }
.topbar-search kbd {
    position: absolute; right: 14px; background: var(--hover); color: var(--muted);
    font-family: var(--font); font-size: 11px; border-radius: 6px; padding: 2px 7px; box-shadow: none;
}
.topbar-search-results {
    position: absolute; top: 52px; left: 0; right: 0; z-index: 1050;
    background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg);
    padding: 6px; display: none; max-height: 380px; overflow-y: auto;
}
.topbar-search-results.show { display: block; }
.topbar-search-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--ink); }
.topbar-search-item:hover { background: var(--hover); color: var(--ink); }
.topbar-search-item .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.topbar-search-item .ico.booking { background: var(--lime-soft); color: var(--lime-ink); }
.topbar-search-title { font-weight: 600; font-size: 13px; }
.topbar-search-sub { font-size: 11.5px; color: var(--muted); }
.topbar-search-empty { padding: 14px; text-align: center; color: var(--muted); font-size: 13px; }
.topbar-date { align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-right: 6px; }

.icon-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: var(--card); color: var(--ink); font-size: 17px;
    display: grid; place-items: center; position: relative; transition: background .15s;
}
.icon-btn:hover { background: #fafafa; }
.dot-badge { position: absolute; top: 11px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--dang); border: 2px solid #fff; }

.btn-dark-pill {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
    background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px; white-space: nowrap;
    transition: background .15s, transform .15s;
}
.btn-dark-pill:hover { background: #2a2a35; color: #fff; }
.btn-dark-pill:active { transform: scale(.98); }
.btn-dark-pill.sm { height: 38px; padding: 0 16px; font-size: 13px; }

.notif-panel { width: 340px; border: 0; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 6px; max-height: 460px; overflow-y: auto; }
.notif-head { font-weight: 700; padding: 10px 12px 6px; }
.notif-group-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 600; padding: 10px 12px 4px; }
.notif-item { display: flex; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--ink); }
.notif-item:hover { background: var(--hover); color: var(--ink); }
.notif-ico { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; }
.notif-ico.brand { background: var(--brand-50); color: var(--brand-600); }
.notif-ico.warn { background: var(--warn-soft); color: var(--warn); }
.notif-title { font-size: 13px; font-weight: 600; }
.notif-sub { font-size: 11.5px; color: var(--muted); }
.notif-empty { padding: 18px 12px; color: var(--muted); font-size: 13px; text-align: center; }

/* ============================== PAGE HEADER ============================== */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.page-title { font-size: 28px; font-weight: 600; letter-spacing: -.8px; margin: 0; line-height: 1.15; }
.page-sub { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-600); }

.pill-tabs { display: inline-flex; gap: 4px; background: var(--card); border-radius: 999px; padding: 5px; flex-wrap: wrap; }
.pill-tabs a, .pill-tabs button {
    border: 0; background: transparent; color: var(--ink-2); font-weight: 500; font-size: 13px;
    padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.pill-tabs a:hover, .pill-tabs button:hover { background: var(--hover); color: var(--ink); }
.pill-tabs .active, .pill-tabs .active:hover { background: var(--ink); color: #fff; }

.chip-select {
    height: 40px; border-radius: 999px; border: 0; background: var(--card);
    padding: 0 36px 0 16px; font-size: 13px; font-weight: 500; color: var(--ink);
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2316161D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 11px;
}
input.chip-select { padding-right: 16px; background-image: none; }

/* ============================== PANEL / CARD ============================== */
.panel { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.panel-title { font-size: 17px; font-weight: 600; letter-spacing: -.3px; margin: 0; }
.panel-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.panel-more { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: #fff; }
.panel-more:hover { background: var(--hover); color: var(--ink); }
.link-more { font-weight: 600; font-size: 12.5px; }

.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 16px 18px 18px; min-width: 0; }
.stat-card.purple { background: var(--brand-soft); }
.stat-card.lime { background: var(--lime-soft); }
.stat-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-2); font-weight: 500; margin-bottom: 14px; }
.stat-ico { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; background: #fff; }
.stat-card.purple .stat-ico, .stat-card.lime .stat-ico { border-color: transparent; }
.stat-val { font-size: 26px; font-weight: 600; letter-spacing: -.8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.1; }
.stat-note { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.delta { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; letter-spacing: 0; display: inline-flex; align-items: center; gap: 2px; }
.delta.up { background: var(--succ-soft); color: var(--succ); }
.delta.down { background: var(--dang-soft); color: var(--dang); }
.delta.flat { background: var(--hover); color: var(--muted); }
.stat-card.purple .delta, .stat-card.lime .delta { background: #fff; }

/* Bar list (pendapatan per kategori) */
.bar-list-row { display: grid; grid-template-columns: 32px minmax(110px, 1.1fr) minmax(80px, 1fr) 90px 62px; align-items: center; gap: 12px; padding: 7px 0; }
.bar-list-ico { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; color: var(--ink-2); }
.bar-list-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 12px; background: var(--hover); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--brand); }
.bar-fill.c2 { background: #9C85F4; }
.bar-fill.c3 { background: var(--brand-300); }
.bar-fill.c4 { background: var(--lime); }
.bar-fill.c5 { background: #F2C76B; }
.bar-list-val { font-weight: 600; font-size: 13px; text-align: right; }
.bar-list-pct { text-align: right; }

/* Utilisation (keterisian kursi) */
.util-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 90px 44px; gap: 12px; align-items: center; padding: 8px 0; }
.util-date { width: 40px; height: 40px; border-radius: 12px; background: var(--hover); text-align: center; line-height: 1; padding-top: 6px; }
.util-date b { display: block; font-size: 15px; }
.util-date small { font-size: 9.5px; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.util-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.util-sub { font-size: 11.5px; color: var(--muted); }
.util-pct { font-weight: 600; text-align: right; font-size: 13px; }
.tip-box { background: var(--lime-soft); border-radius: 999px; padding: 9px 14px; font-size: 12.5px; display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.tip-box.warn { background: var(--warn-soft); }

.tag-amber { background: var(--warn-soft); color: #9A6A06; font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }

/* ============================== BUTTONS ============================== */
.btn-brand, .btn-ghost, .btn-soft, .btn-danger-soft, .btn-save {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 13px;
    border: 1px solid transparent; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
    cursor: pointer;
}
.btn-brand, .btn-save { background: var(--ink); color: #fff; }
.btn-brand:hover, .btn-save:hover { background: #2a2a35; color: #fff; }
.btn-brand:disabled, .btn-save:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--hover); color: var(--ink); }
.btn-soft { background: var(--brand-50); color: var(--brand-600); }
.btn-soft:hover { background: var(--brand-soft); color: var(--brand-600); }
.btn-danger-soft { background: var(--dang-soft); color: var(--dang); }
.btn-danger-soft:hover { background: #fbd5d5; color: #c43a3a; }

.btn-icon-sm {
    width: 32px; height: 32px; border-radius: 10px; border: 0;
    display: inline-grid; place-items: center; font-size: 14px;
    background: var(--hover); color: var(--ink-2); transition: background .15s, color .15s;
}
.btn-icon-sm:hover { background: var(--brand-50); color: var(--brand-600); }
.btn-icon-sm.warn:hover { background: var(--warn-soft); color: var(--warn); }
.btn-icon-sm.dang:hover { background: var(--dang-soft); color: var(--dang); }
.btn-icon-sm.succ:hover { background: var(--succ-soft); color: var(--succ); }

/* ============================== BADGES ============================== */
.badge-soft { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge-soft::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-soft.succ { background: var(--succ-soft); color: var(--succ); }
.badge-soft.warn { background: var(--warn-soft); color: var(--warn); }
.badge-soft.dang { background: var(--dang-soft); color: var(--dang); }
.badge-soft.info { background: var(--info-soft); color: var(--info); }
.badge-soft.brand { background: var(--brand-50); color: var(--brand-600); }
.badge-soft.lime { background: var(--lime-soft); color: var(--lime-ink); }
.badge-soft.muted { background: var(--hover); color: var(--muted); }
.badge-plain { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: var(--hover); color: var(--ink-2); white-space: nowrap; }

/* ============================== TABLE ============================== */
.toolbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.toolbar-row .form-select, .toolbar-row .form-control { height: 40px; border-radius: 999px; background-color: var(--hover); border-color: transparent; max-width: 200px; font-size: 13px; }
.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table.table { margin: 0; border-collapse: separate; border-spacing: 0; }
table.table thead th {
    font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px;
    border-bottom: 1px solid var(--line) !important; border-top: 0; padding: 10px 12px; white-space: nowrap; background: transparent;
}
table.table tbody td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13px; color: var(--ink); background: transparent; }
table.table tbody tr:last-child td { border-bottom: 0; }
table.table tbody td:first-child { white-space: nowrap; }
table.table tbody tr:hover td { background: #FBFBFD; }
table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc { cursor: pointer; position: relative; }
table.dataTable thead .sorting_asc::after { content: ' \2191'; color: var(--brand); }
table.dataTable thead .sorting_desc::after { content: ' \2193'; color: var(--brand); }
table.dataTable td.dataTables_empty { text-align: center; color: var(--muted); padding: 36px 12px; }
table.dataTable.no-footer { border-bottom: 0; }
.cell-title { font-weight: 600; }
.cell-sub { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.cell-money { font-weight: 600; white-space: nowrap; }
.table-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.table-info { font-size: 12.5px; color: var(--muted); }
.pagination { margin: 0; gap: 4px; flex-wrap: wrap; }
.page-link { border: 0 !important; border-radius: 10px !important; color: var(--ink-2); font-size: 12.5px; font-weight: 500; padding: 6px 11px; background: transparent; }
.page-link:hover { background: var(--hover); color: var(--ink); }
.page-item.active .page-link { background: var(--ink); color: #fff; }
.page-item.disabled .page-link { color: #c7c7d1; background: transparent; }
.progress-mini { height: 6px; background: var(--hover); border-radius: 999px; overflow: hidden; min-width: 70px; }
.progress-mini > span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.progress-mini.lime > span { background: var(--lime); }

/* ============================== FORMS ============================== */
.form-label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.form-control, .form-select {
    border: 1px solid var(--line-2); border-radius: 12px; min-height: 42px; font-size: 13.5px; color: var(--ink);
    background-color: #fff; padding: 8px 13px; transition: border-color .15s, box-shadow .15s;
}
.form-select { padding-right: 36px; }
textarea.form-control { min-height: 84px; }
.form-control::placeholder { color: #b2b2bf; }
.form-control:disabled, .form-control[readonly] { background: var(--hover); }
.form-hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
/* Prefix "Rp" menyatu dgn input: satu bingkai, fokus menyorot keduanya */
.input-group { border-radius: 12px; transition: box-shadow .15s; }
.input-group-text { background: #fff; border: 1px solid var(--line-2); border-right: 0; border-radius: 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 0 4px 0 13px; }
.input-group > .form-control { border-left: 0; padding-left: 8px; border-radius: 0 12px 12px 0; }
.input-group > .input-group-text:first-child { border-radius: 12px 0 0 12px; }
.input-group:focus-within .input-group-text, .input-group:focus-within .form-control { border-color: var(--brand-300); }
.input-group:has(.form-control[readonly]) .input-group-text, .input-group:has(.form-control:disabled) .input-group-text { background: var(--hover); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
label code, .form-label code { color: var(--dang); font-size: 11px; vertical-align: 1px; }

/* Bagian form: flat, dipisah garis tipis -- bukan kartu di dalam kartu */
.form-section { padding: 22px 0; border-top: 1px solid var(--line); }
.form-section:first-child { padding-top: 2px; border-top: 0; }
.form-section:last-child, .form-section.mb-0 { padding-bottom: 2px; }
.form-section-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-weight: 700; font-size: 14px; letter-spacing: -.2px; margin-bottom: 14px; }
.form-section-title .num { display: none; }
.form-section-title small { font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: 0; margin-left: auto; }
/* Modal lebar: judul bagian di kolom kiri, field di kanan (pola halaman pengaturan) */
@media (min-width: 992px) {
    .modal-lg { --bs-modal-width: 880px; }
    .modal-lg .form-section { display: grid; grid-template-columns: 172px minmax(0, 1fr); column-gap: 28px; }
    .modal-lg .form-section > * { grid-column: 2; }
    .modal-lg .form-section > .form-section-title { grid-column: 1; grid-row: 1 / span 20; flex-direction: column; align-items: flex-start; align-self: start; margin: 0; padding-top: 2px; }
    .modal-lg .form-section > .form-section-title small { margin-left: 0; line-height: 1.45; }
}

/* Select2 sesuai tema */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single {
    height: 42px; border: 1px solid var(--line-2); border-radius: 12px; display: flex; align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px; padding-left: 13px; padding-right: 30px; color: var(--ink); font-size: 13.5px; }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: #b2b2bf; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; right: 8px; }
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.select2-dropdown { border: 0; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 2000; }
.select2-search--dropdown { padding: 8px; }
.select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid var(--line-2); border-radius: 10px; padding: 7px 10px; outline: none; }
.select2-results__option { padding: 8px 12px; font-size: 13px; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--brand-50); color: var(--ink); }
.select2-container--default .select2-results__option--selected, .select2-container--default .select2-results__option[aria-selected=true] { background: var(--brand-soft); }
.s2-opt-title { font-weight: 600; }
.s2-opt-sub { font-size: 11.5px; color: var(--muted); }

/* ============================== MODAL ============================== */
.modal-content {
    border: 0; border-radius: 20px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(22, 22, 29, .04), 0 2px 6px rgba(22, 22, 29, .04), 0 32px 64px -16px rgba(22, 22, 29, .28);
}
.modal-backdrop { background: #14121F; }
.modal-backdrop.show { opacity: .42; }
/* Masuk: naik sedikit + skala halus, bukan meluncur dari atas */
.modal.fade .modal-dialog { transform: translateY(12px) scale(.98); transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .18s; opacity: 0; }
.modal.show .modal-dialog { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .modal.fade .modal-dialog { transition: none; } }

.modal-header { border-bottom: 1px solid var(--line); padding: 18px 20px 16px 24px; flex-shrink: 0; gap: 12px; }
.modal-title-custom { font-size: 17px; font-weight: 700; letter-spacing: -.4px; margin: 0; }
.modal-x {
    margin-left: auto; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; border: 0;
    background: transparent; color: var(--muted); display: grid; place-items: center; font-size: 15px; transition: background .15s, color .15s;
}
.modal-x:hover { background: var(--hover); color: var(--ink); }
.modal-body { padding: 22px 24px; }
.modal-footer { border-top: 1px solid var(--line); padding: 14px 24px; background: #FBFBFD; gap: 8px; flex-shrink: 0; }
.modal-footer > * { margin: 0; }

/* Isi modal dari AJAX (bukaModalAjax) jadi area scroll di modal-dialog-scrollable,
   supaya header tidak ikut terpotong saat form panjang */
.modal-dialog-scrollable .modal-ajax-body { overflow-y: auto; flex: 1 1 auto; min-height: 0; }
/* Form standar (modal-body + modal-footer): hanya body yg scroll, tombol selalu terlihat */
.modal-dialog-scrollable .modal-ajax-body:has(> form > .modal-footer) { overflow: hidden; display: flex; flex-direction: column; }
.modal-ajax-body > form:has(> .modal-footer) { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.modal-ajax-body > form > .modal-body { overflow-y: auto; min-height: 0; }

/* Konfirmasi (hapus, batal, logout): rata kiri, aksi berbahaya tegas */
.modal-confirm { max-width: 400px; }
.modal-confirm .modal-body { padding: 24px 24px 20px; display: flex; gap: 14px; align-items: flex-start; }
.modal-confirm .modal-footer { background: transparent; border: 0; padding: 0 24px 22px; }
.confirm-ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; display: grid; place-items: center; font-size: 19px; }
.confirm-ico.dang { background: var(--dang-soft); color: var(--dang); }
.confirm-ico.warn { background: var(--warn-soft); color: var(--warn); }
.confirm-title { font-weight: 700; letter-spacing: -.3px; margin: 2px 0 5px; font-size: 16px; }
.confirm-text { color: var(--ink-2); opacity: .75; font-size: 13px; line-height: 1.5; margin: 0; }
.btn-danger { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 13px; border: 0; background: var(--dang); color: #fff; }
.btn-danger:hover { background: #c93b3b; color: #fff; }
.btn-danger:disabled { opacity: .6; }
.btn-text { height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 13px; }
.btn-text:hover { background: var(--hover); color: var(--ink); }
.loading-box { text-align: center; padding: 56px 0; color: var(--muted); }

/* ============================== TOAST ============================== */
.toast-stack { position: fixed; top: 20px; right: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast-item {
    background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 14px; min-width: 280px; max-width: 360px;
    display: flex; gap: 10px; align-items: flex-start; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
    transform: translateX(120%); transition: transform .25s ease, opacity .25s ease, max-height .25s ease; opacity: 0;
}
.toast-item.show { transform: translateX(0); opacity: 1; }
.toast-item.hide { transform: translateX(120%); opacity: 0; }
.toast-item .toast-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 26px; font-size: 13px; }
.toast-item.success .toast-ico { background: var(--lime); color: var(--ink); }
.toast-item.error .toast-ico { background: var(--dang); color: #fff; }
.toast-item.info .toast-ico { background: var(--brand); color: #fff; }
.toast-msg { font-size: 13px; line-height: 1.4; padding-top: 3px; flex: 1; }
.toast-close { background: transparent; border: 0; color: #9a9aa8; font-size: 16px; padding: 0 2px; }
.toast-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--brand-300); transform-origin: left; }

/* ============================== BOOKING FORM ============================== */

.trip-card { display: none; margin-top: 12px; background: var(--brand-50); border-radius: 16px; padding: 14px; }
.trip-card.show { display: block; }
.trip-card-title { font-weight: 700; font-size: 14px; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.trip-meta i { color: var(--brand-600); margin-right: 3px; }
.trip-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.trip-price { background: #fff; border-radius: 12px; padding: 8px 10px; }
.trip-price small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.trip-price b { font-size: 13px; }
.seat-meter { margin-top: 12px; }
.seat-meter-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 5px; }

.pax-head, .pax-row { display: grid; grid-template-columns: 28px minmax(0, 2.2fr) minmax(100px, 1fr) minmax(138px, 1.2fr) 118px 34px; gap: 10px; align-items: center; }
.pax-head { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; padding: 0 0 8px; }
.pax-row { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; margin-bottom: 8px; }
.pax-no { width: 26px; height: 26px; border-radius: 50%; background: var(--hover); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.pax-price { font-weight: 700; text-align: right; font-size: 13px; }
.pax-price small { display: block; font-weight: 500; color: var(--muted); font-size: 10.5px; }
.pax-row .form-select, .pax-row .select2-container--default .select2-selection--single { min-height: 38px; height: 38px; font-size: 13px; }
.pax-row .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 36px; font-size: 13px; }
.pax-row .select2-container--default .select2-selection--single .select2-selection__arrow { height: 36px; }
.is-locked { pointer-events: none; opacity: .5; }
.btn-add-pax { width: 100%; border: 1.5px dashed var(--brand-300); background: transparent; color: var(--brand-600); border-radius: 14px; padding: 10px; font-weight: 600; font-size: 13px; }
.btn-add-pax:hover { background: var(--brand-50); }

.summary-card { background: var(--ink); color: #fff; border-radius: 22px; padding: 20px; position: sticky; top: 0; }
.summary-card .sum-label { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: #a5a5b4; font-weight: 600; }
.summary-line { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 7px 0; color: #d6d6df; gap: 10px; }
.summary-line b { color: #fff; font-weight: 600; white-space: nowrap; }
.summary-line .form-control { background: #2a2a35; border-color: #34343f; color: #fff; text-align: right; height: 36px; min-height: 36px; max-width: 150px; border-radius: 10px; font-size: 13px; }
.summary-line .form-control::placeholder { color: #77778a; }
.summary-divider { border-top: 1px dashed #3a3a46; margin: 10px 0; }
.summary-total { font-size: 26px; font-weight: 700; letter-spacing: -.6px; }
.summary-pax { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 4px; }
.summary-pax span { background: #2a2a35; border-radius: 999px; padding: 4px 10px; font-size: 11.5px; color: #d6d6df; }
.dp-box { background: #24242e; border-radius: 16px; padding: 14px; margin-top: 14px; }
.dp-box .form-control, .dp-box .form-select { background-color: #2f2f3a; border-color: #3a3a46; color: #fff; min-height: 38px; height: 38px; border-radius: 10px; font-size: 13px; }
.dp-box .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.dp-box .form-label { color: #c9c9d4; font-size: 11.5px; }
.dp-chip { border: 1px solid #3a3a46; background: transparent; color: #d6d6df; font-size: 11.5px; border-radius: 999px; padding: 3px 10px; }
.dp-chip:hover { background: #2f2f3a; color: #fff; }
.summary-card .btn-submit { width: 100%; height: 48px; border-radius: 999px; border: 0; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 14px; margin-top: 16px; }
.summary-card .btn-submit:hover { background: #b9e68f; }
.summary-card .btn-submit:disabled { opacity: .6; }
.summary-card .btn-cancel { width: 100%; background: transparent; border: 0; color: #a5a5b4; font-size: 12.5px; margin-top: 8px; padding: 6px; border-radius: 999px; }
.summary-card .btn-cancel:hover { color: #fff; }

/* Detail booking / jadwal */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.detail-item { background: var(--hover); border-radius: 14px; padding: 10px 12px; }
.detail-item small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; }
.detail-item b { font-size: 13.5px; }
.mini-table { width: 100%; font-size: 13px; }
.mini-table th { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.mini-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); }
.mini-table tr:last-child td { border-bottom: 0; }

/* Detail paket (modal) */
.pk-head { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.pk-eyebrow { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pk-eyebrow i { color: var(--brand-600); }
.pk-nama { font-size: 24px; font-weight: 700; letter-spacing: -.7px; margin: 4px 0 10px; }
.pk-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.pk-meta i { color: var(--muted); margin-right: 3px; }
.pk-harga { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 22px; overflow: hidden; }
.pk-harga > div { padding: 12px 16px; border-left: 1px solid var(--line); min-width: 0; }
.pk-harga > div:first-child { border-left: 0; }
.pk-harga small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.pk-harga b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.pk-harga .utama { background: var(--brand-50); }
.pk-harga .utama b { font-size: 18px; letter-spacing: -.4px; color: var(--brand-600); }
.pk-judul { font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.pk-list { list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--ink-2); }
.pk-list li { position: relative; padding: 5px 0 5px 22px; border-bottom: 1px dashed var(--line); }
.pk-list li:last-child { border-bottom: 0; }
.pk-list li::before { position: absolute; left: 0; top: 5px; font-family: 'bootstrap-icons'; font-size: 13px; }
.pk-list.ya li::before { content: '\F26E'; color: var(--succ); }
.pk-list.tidak li::before { content: '\F2EA'; color: var(--muted); }
.pk-kosong { font-size: 13px; color: var(--muted); }
@media (max-width: 575.98px) {
    .pk-harga { grid-template-columns: 1fr 1fr; }
    .pk-harga > div:nth-child(3) { border-left: 0; }
    .pk-harga > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ============================== JABATAN & HAK AKSES ============================== */
/* Warna tingkat: makin tinggi makin "berani" -- abu, biru, hijau, kuning, merah */
.akses-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--line-2); flex: 0 0 10px; }
.akses-dot.lv1 { background: #9FC4FF; }
.akses-dot.lv2 { background: var(--lime); }
.akses-dot.lv3 { background: #F2C76B; }
.akses-dot.lv4 { background: #F08A8A; }
.akses-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.akses-legend span { display: inline-flex; align-items: center; gap: 6px; }
.akses-strip { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.akses-strip-ket { font-size: 12px; color: var(--muted); margin-left: 10px; white-space: nowrap; }

.akses-info { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-50); color: var(--ink-2); border-radius: 14px; padding: 12px 14px; font-size: 13px; }
.akses-info > i { color: var(--brand-600); font-size: 16px; line-height: 1.2; }
.akses-opsi { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.akses-opsi:hover { border-color: var(--brand-300); }
.akses-opsi:has(input:checked) { border-color: var(--brand-300); background: var(--brand-50); }
.akses-opsi .form-check-input { margin-top: 2px; flex-shrink: 0; }
.akses-opsi b { display: block; font-size: 13.5px; }
.akses-opsi small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.akses-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 24px 0 10px; }
.akses-judul { font-size: 14px; font-weight: 700; letter-spacing: -.2px; }
.akses-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.akses-tabel { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.akses-grup { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 9px 16px; background: #FBFBFD; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.akses-grup:first-child { border-top: 0; }
.akses-grup-set { font-weight: 500; color: var(--muted); display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.akses-grup-set button { border: 0; background: transparent; color: var(--brand-600); font-size: 12px; font-weight: 600; padding: 2px 6px; border-radius: 6px; }
.akses-grup-set button:hover { background: var(--brand-50); }
.akses-baris { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); }
.akses-menu { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; min-width: 0; }
.akses-menu > i { color: var(--muted); font-size: 15px; }
.akses-menu small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }

/* Segmented control 5 tingkat */
.akses-pilih { display: grid; grid-template-columns: repeat(5, 92px); background: var(--hover); border-radius: 11px; padding: 3px; gap: 2px; flex-shrink: 0; }
.akses-pilih label { position: relative; margin: 0; cursor: pointer; }
.akses-pilih input { position: absolute; opacity: 0; pointer-events: none; }
.akses-pilih label span { display: block; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 4px; border-radius: 8px; transition: background .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.akses-pilih label:hover span { color: var(--ink); }
.akses-pilih input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(22, 22, 29, .08), 0 0 0 1px var(--line-2); }
.akses-pilih .lv1 input:checked + span { background: #EAF2FF; color: #1F5FC4; box-shadow: 0 0 0 1px #C9DCFB; }
.akses-pilih .lv2 input:checked + span { background: var(--lime-soft); color: var(--lime-ink); box-shadow: 0 0 0 1px #C8E5A9; }
.akses-pilih .lv3 input:checked + span { background: #FDF1D6; color: #8A5F05; box-shadow: 0 0 0 1px #F3DDA6; }
.akses-pilih .lv4 input:checked + span { background: var(--dang-soft); color: #B33434; box-shadow: 0 0 0 1px #F6C9C9; }
.akses-pilih input:focus-visible + span { outline: 2px solid var(--brand-300); outline-offset: 1px; }
.akses-pilih input:disabled + span { opacity: .4; cursor: not-allowed; }
.akses-na { display: block; text-align: center; color: #c9c9d4; font-size: 12px; padding: 6px 4px; }
@media (max-width: 767.98px) {
    .akses-baris { flex-direction: column; align-items: stretch; gap: 8px; }
    .akses-pilih { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .akses-pilih label span { font-size: 11px; padding: 6px 2px; }
}

/* Kartu paket */
.paket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.paket-card { background: var(--card); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.paket-cover { height: 96px; border-radius: 16px; display: flex; align-items: flex-end; justify-content: space-between; padding: 12px; color: var(--ink); }
.paket-cover i { font-size: 30px; opacity: .85; }
.paket-cover.k1 { background: linear-gradient(135deg, var(--brand-soft), #F3EEFF); }
.paket-cover.k2 { background: linear-gradient(135deg, var(--lime-soft), #F1FAE8); }
.paket-cover.k3 { background: linear-gradient(135deg, #FDF0D2, #FFF8E8); }
.paket-cover.k4 { background: linear-gradient(135deg, var(--info-soft), #F2F7FF); }
.paket-cover.k5 { background: linear-gradient(135deg, #FDE2EC, #FFF2F6); }
.paket-name { font-weight: 700; font-size: 15px; letter-spacing: -.2px; }
.paket-meta { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.paket-price { font-size: 18px; font-weight: 700; letter-spacing: -.4px; }
.paket-price small { font-size: 11.5px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.paket-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }

/* Empty state */
.empty-state { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty-state i { font-size: 34px; color: var(--brand-300); display: block; margin-bottom: 8px; }

/* ============================== KALENDER DASHBOARD ============================== */
.kal-nav { display: flex; align-items: center; gap: 6px; }
.kal-judul { min-width: 130px; text-align: center; font-weight: 700; font-size: 14px; }
.kal-btn-hari-ini { height: 34px; padding: 0 14px; font-size: 12.5px; }
.kal-wrap { transition: opacity .15s; }
.kal-wrap.memuat { opacity: .45; pointer-events: none; }
.kal-head, .kal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.kal-head span { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; padding: 0 8px 8px; }
.kal-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.kal-sel { min-height: 104px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 0 8px; cursor: pointer; transition: background .15s; min-width: 0; }
.kal-sel:hover { background: var(--hover); }
.kal-sel.luar { background: #FBFBFD; cursor: default; }
.kal-sel.akhir-pekan { background: #FCFCFE; }
.kal-sel.lampau .kal-tgl span { color: #b8b8c4; }
.kal-tgl { display: flex; align-items: center; gap: 6px; padding: 0 8px 4px; font-size: 12.5px; font-weight: 600; }
.kal-tgl span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.kal-sel.hari-ini .kal-tgl span { background: var(--ink); color: #fff; }
.kal-tagih-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: 0 0 8px; }
.kal-ev {
    height: 22px; margin: 0 0 3px; padding: 0 6px; font-size: 11px; font-weight: 600; line-height: 22px;
    display: flex; align-items: center; justify-content: space-between; gap: 4px; overflow: hidden; white-space: nowrap; cursor: pointer;
}
.kal-ev.kosong { background: transparent; cursor: default; }
.kal-ev.awal { margin-left: 6px; border-top-left-radius: 7px; border-bottom-left-radius: 7px; }
.kal-ev.akhir { margin-right: 6px; border-top-right-radius: 7px; border-bottom-right-radius: 7px; }
.kal-ev:not(.kosong):hover { filter: brightness(.96); }
.kal-ev-nama { overflow: hidden; text-overflow: ellipsis; }
.kal-ev-kursi { flex-shrink: 0; opacity: .8; font-weight: 700; }
.kal-lebih { font-size: 11px; color: var(--muted); font-weight: 600; padding: 0 8px; }
.ev-ramai { background: var(--brand); color: #fff; }
.ev-sedang { background: var(--brand-soft); color: var(--brand-600); }
.ev-sepi { background: #FBE3A6; color: #7A5204; }
.ev-lewat { background: var(--hover); color: var(--muted); }
.ev-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: 0 0 10px; }
.kal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 11.5px; color: var(--muted); }
.kal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.kal-agenda { display: none; }
.kal-agenda-hari { margin-bottom: 12px; }
.kal-agenda-tgl { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.kal-agenda-hari.hari-ini .kal-agenda-tgl { color: var(--brand-600); }
.kal-item {
    width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; color: var(--ink);
    background: var(--hover); border: 0; border-radius: 12px; padding: 9px 12px; margin-bottom: 6px;
}
.kal-item:hover { background: var(--brand-50); color: var(--ink); }
.kal-item-isi { flex: 1; min-width: 0; }
.kal-item-isi b, .kal-item-kanan b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kal-item-isi small, .kal-item-kanan small { display: block; font-size: 11.5px; color: var(--muted); }
.kal-item-kanan { text-align: right; flex-shrink: 0; }
@media (max-width: 767.98px) {
    .kal-wrap { display: none; }
    .kal-agenda { display: block; }
    .kal-nav { width: 100%; }
    .kal-judul { flex: 1; }
}

/* ============================== MODAL DETAIL KEBERANGKATAN ============================== */
.jd-hero { position: relative; color: var(--ink); padding: 26px 28px 22px; background: #fff; border-bottom: 1px solid var(--line); }
.jd-tutup {
    position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; border: 0;
    background: transparent; color: var(--muted); display: grid; place-items: center; font-size: 15px; transition: background .15s, color .15s;
}
.jd-tutup:hover { background: var(--hover); color: var(--ink); }
.jd-eyebrow { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.jd-eyebrow i { color: var(--brand-600); }
.jd-judul { font-size: 26px; font-weight: 700; letter-spacing: -.8px; margin: 6px 48px 12px 0; line-height: 1.15; }
.jd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jd-chip {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
    background: #fff; color: var(--ink-2); border: 1px solid var(--line-2);
}
.jd-chip > i:not(.bi-circle-fill) { color: var(--muted); }
.jd-chip .bi-circle-fill { font-size: 7px; }
.jd-chip.status-open .bi-circle-fill { color: var(--succ); }
.jd-chip.status-closed .bi-circle-fill { color: var(--warn); }
.jd-chip.status-berangkat .bi-circle-fill, .jd-chip.status-selesai .bi-circle-fill { color: var(--info); }
.jd-chip.hitung-segera { background: var(--lime-soft); border-color: transparent; color: var(--lime-ink); }
.jd-chip.hitung-segera > i { color: var(--lime-ink); }
.jd-chip.hitung-jalan { background: var(--brand-50); border-color: transparent; color: var(--brand-600); }
.jd-chip.hitung-jalan > i { color: var(--brand-600); }
.jd-rute { display: flex; align-items: center; gap: 18px; margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; background: #FBFBFD; }
.jd-rute-titik { min-width: 0; }
.jd-rute-titik small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.jd-rute-titik b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.6px; line-height: 1.2; }
.jd-rute-titik span { font-size: 12px; color: var(--muted); }
.jd-rute-garis { flex: 1; position: relative; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 10px); }
.jd-rute-garis span {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%;
    background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; box-shadow: 0 0 0 5px #FBFBFD;
}
.jd-rute-garis i { transform: rotate(45deg); }
.jd-kumpul { margin-top: 12px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.jd-kumpul b { color: var(--ink); font-weight: 600; }

.jd-body { padding: 20px 28px 8px; background: #FAFAFC; }
.jd-stats { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.jd-stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.jd-stat small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.jd-stat b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.4px; line-height: 1.2; }
.jd-stat b span { font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.jd-stat-sub { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.jd-leader { font-size: 15px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jd-stat-kursi { display: flex; align-items: center; gap: 14px; }
.jd-donut { width: 78px; height: 78px; flex: 0 0 78px; }
.jd-donut circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.jd-donut-track { stroke: var(--hover); }
.jd-donut-isi { stroke: var(--brand-300); transition: stroke-dasharray .6s ease; }
.jd-donut-isi.ramai { stroke: var(--brand); }
.jd-donut-isi.sepi { stroke: #F2C76B; }
.jd-donut text { font-family: var(--font); font-size: 15px; font-weight: 700; fill: var(--ink); }
.jd-mini-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.jd-mini-chips span { font-size: 11px; font-weight: 600; background: var(--hover); color: var(--ink-2); border-radius: 999px; padding: 2px 8px; }

.jd-uang { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 12px; }
.jd-uang small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.jd-uang-kiri b { font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
.jd-uang-kiri b span { font-size: 12.5px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.jd-persen { font-size: 13px; font-weight: 700; color: var(--brand-600); background: var(--brand-50); border-radius: 999px; padding: 3px 10px; }
.jd-bar { height: 8px; background: var(--hover); border-radius: 999px; overflow: hidden; }
.jd-bar span { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .6s ease; }
.jd-uang-kanan { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jd-uang-kanan > div { background: var(--hover); border-radius: 14px; padding: 10px 12px; }
.jd-uang-kanan b { display: block; font-size: 16px; font-weight: 700; }
.jd-uang-kanan span { font-size: 11px; font-weight: 600; }
.jd-uang-kanan .untung { background: var(--lime-soft); }
.jd-uang-kanan .untung span { color: var(--lime-ink); }
.jd-uang-kanan .rugi { background: var(--dang-soft); }
.jd-uang-kanan .rugi b, .jd-uang-kanan .rugi span { color: var(--dang); }

.jd-peringatan, .jd-catatan { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 12px 14px; font-size: 13px; margin-bottom: 12px; }
.jd-peringatan { background: var(--warn-soft); color: #7A5204; }
.jd-catatan { background: #fff; border: 1px dashed var(--line-2); color: var(--ink-2); margin-top: 12px; }
.jd-peringatan > i, .jd-catatan > i { font-size: 18px; line-height: 1; margin-top: 1px; }

.jd-seksi-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 18px 0 10px; }
.jd-seksi-head h4 { font-size: 16px; font-weight: 700; letter-spacing: -.3px; margin: 0; display: flex; align-items: center; gap: 8px; }
.jd-cari { flex: 0 1 260px; }
.jd-cari input { height: 38px; background: #fff; border: 1px solid var(--line-2); }
.jd-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.jd-filter button { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; }
.jd-filter button span { background: var(--hover); border-radius: 999px; padding: 0 7px; margin-left: 4px; font-size: 11px; }
.jd-filter button:hover { border-color: var(--brand-300); }
.jd-filter button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.jd-filter button.active span { background: rgba(255, 255, 255, .18); }
.jd-pax-list { display: flex; flex-direction: column; gap: 8px; }
.jd-pax { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.jd-pax:hover { border-color: var(--line-2); }
.jd-pax-no { width: 22px; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; flex: 0 0 22px; }
.jd-pax-info { flex: 1; min-width: 0; }
.jd-pax-nama { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jd-pax-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); margin-top: 1px; }
.jd-pax-sub a { color: var(--muted); }
.jd-pax-sub a:hover { color: var(--succ); }
.jd-pax-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.jd-pax-tags .tag { font-size: 11px; font-weight: 600; background: var(--brand-50); color: var(--brand-600); border-radius: 8px; padding: 2px 8px; }
.jd-pax-kanan { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.jd-pax-kode { font-size: 12px; font-weight: 600; color: var(--ink-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.jd-kosong { text-align: center; padding: 30px 16px; background: #fff; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--muted); }
.jd-kosong i { display: block; font-size: 30px; color: var(--brand-300); margin-bottom: 6px; }
.jd-kosong b { display: block; color: var(--ink); }
.jd-kosong span { font-size: 12.5px; }
.jd-foot {
    position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 14px 24px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
}
@media (max-width: 991.98px) {
    .jd-stats { grid-template-columns: 1fr 1fr; }
    .jd-uang { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .jd-hero { padding: 22px 18px 18px; }
    .jd-judul { font-size: 21px; }
    .jd-rute { padding: 12px 14px; gap: 10px; }
    .jd-rute-titik b { font-size: 18px; }
    .jd-body { padding: 16px 14px 6px; }
    .jd-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .jd-stat-kursi, .jd-stats .jd-stat:last-child { grid-column: 1 / -1; }
    .jd-stat { padding: 12px; }
    .jd-stat b { font-size: 17px; }
    .jd-pax { flex-wrap: wrap; }
    .jd-pax-no { display: none; }
    .jd-pax-kanan { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px dashed var(--line); }
    .jd-foot { padding: 12px 14px; }
    .jd-foot .btn-brand { width: 100%; margin-left: 0 !important; }
}

/* ---------- Detail Booking & Profil Pelanggan (memakai .jd-* di atas) ---------- */
.min-w-0 { min-width: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .3px; }
.jd-chip.bayar-lunas .bi-circle-fill { color: var(--lime); }
.jd-chip.bayar-dp .bi-circle-fill { color: #F2C76B; }
.jd-chip.bayar-belum-bayar .bi-circle-fill { color: #FF8A8A; }
.jd-chip.bayar-batal .bi-circle-fill { color: #b8b8c4; }
.bd-trip { display: flex; align-items: center; gap: 14px; margin-top: 18px; border: 1px solid var(--line); background: #FBFBFD; border-radius: 16px; padding: 12px 16px; }
.bd-trip .bd-trip-ikon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; font-size: 18px; flex: 0 0 42px; }
.bd-trip b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-trip span { display: block; font-size: 12px; color: var(--muted); }
.bd-trip-kode { margin-left: auto; flex-shrink: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px !important; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 3px 8px; color: var(--ink-2) !important; }
.bd-batal { background: var(--dang-soft); color: #A33030; }
.bd-harga { font-size: 14px; white-space: nowrap; }
.bd-rincian { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px; }
.bd-rincian > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.bd-rincian > div:last-child { border-bottom: 0; }
.bd-rincian span { color: var(--ink-2); }
.bd-rincian small { display: block; font-size: 11.5px; color: var(--muted); }
.bd-rincian b { white-space: nowrap; }
.bd-rincian .diskon b { color: var(--succ); }
.bd-rincian .total { font-size: 15px; }
.bd-rincian .total b { font-size: 18px; color: var(--ink); letter-spacing: -.3px; }
.bd-timeline { position: relative; display: flex; flex-direction: column; gap: 10px; }
.bd-timeline::before { content: ''; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 1px; background: var(--line-2); }
.bd-timeline-item { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.bd-timeline-ikon { position: relative; z-index: 1; width: 27px; height: 27px; flex: 0 0 27px; margin-top: 8px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); color: var(--brand-600); display: grid; place-items: center; font-size: 12px; box-shadow: 0 0 0 4px #FAFAFC; }
.bd-timeline-isi { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.bd-timeline-isi b { font-size: 14px; }
.bd-timeline-isi span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.bd-timeline-item.batal .bd-timeline-ikon { color: var(--muted); }
.bd-timeline-item.batal .bd-timeline-isi { opacity: .65; }
.bd-kwitansi { font-size: 12px; font-weight: 600; white-space: nowrap; }

.pl-hero { padding-bottom: 26px; }
.pl-identitas { display: flex; align-items: center; gap: 18px; padding-right: 40px; }
.pl-avatar {
    width: 72px; height: 72px; flex: 0 0 72px; border-radius: 22px; display: grid; place-items: center;
    background: var(--lime-soft); color: var(--lime-ink); font-size: 24px; font-weight: 700; letter-spacing: -.5px;
}
.pl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pl-kartu { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.pl-kartu-judul { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.pl-kartu-judul > i { color: var(--brand-600); }
.pl-baris { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.pl-baris:last-child { border-bottom: 0; }
.pl-baris span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.pl-baris b { display: block; font-size: 13px; font-weight: 600; word-break: break-word; }
.pl-baris b small { display: block; font-weight: 500; color: var(--muted); }
.pl-paspor.status-dang { border-color: #F6C9C9; }
.pl-paspor.status-warn { border-color: #F3DDA6; }
.pl-paspor-no { font-size: 20px; font-weight: 700; letter-spacing: 1px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin: 4px 0 10px; }
.pl-paspor-tgl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-paspor-tgl div:last-child { grid-column: 1 / -1; }
.pl-paspor-tgl span { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.pl-paspor-tgl b { font-size: 13px; }
@media (max-width: 991.98px) {
    .pl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .pl-identitas { gap: 12px; }
    .pl-avatar { width: 56px; height: 56px; flex-basis: 56px; font-size: 19px; border-radius: 18px; }
    .pl-stats { grid-template-columns: 1fr 1fr; }
    .bd-trip-kode { display: none; }
}

/* ============================== LOGIN ============================== */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; padding: 16px; gap: 16px; }
.login-visual {
    border-radius: 28px; padding: 40px; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
    background: radial-gradient(circle at 20% 15%, #9C85F4 0, transparent 45%), radial-gradient(circle at 85% 80%, #A9DB7A 0, transparent 40%), linear-gradient(150deg, #5B3DD8, #2C1F6B);
    position: relative; overflow: hidden;
}
.login-visual h2 { font-size: 38px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.1; max-width: 460px; }
.login-visual p { color: rgba(255, 255, 255, .78); max-width: 420px; }
.login-float { background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); border-radius: 18px; padding: 14px 16px; display: inline-flex; gap: 12px; align-items: center; max-width: 330px; }
.login-float .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 18px; }
.login-card { background: var(--card); border-radius: 28px; display: flex; align-items: center; justify-content: center; padding: 32px; }
.login-form { width: 100%; max-width: 380px; }
.login-form .form-control { height: 48px; border-radius: 14px; }
.login-form .btn-brand { width: 100%; height: 48px; font-size: 14px; }
.alert-soft { background: var(--dang-soft); color: #b13636; border-radius: 14px; padding: 10px 14px; font-size: 13px; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1399.98px) {
    .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .app { padding: 10px; gap: 0; }
    .sidebar { position: fixed; left: 10px; top: 10px; height: calc(100vh - 20px); z-index: 1060; transform: translateX(-120%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
    .sidebar.open { transform: translateX(0); }
    .backdrop.show { display: block; position: fixed; inset: 0; background: rgba(22, 22, 29, .35); z-index: 1055; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .login-shell { grid-template-columns: 1fr; }
    .login-visual { display: none; }
    .pax-head { display: none; }
    .pax-row { grid-template-columns: 28px 1fr 1fr; }
    .pax-row .pax-pelanggan { grid-column: 2 / 4; }
    .pax-row .pax-price { grid-column: 2 / 3; text-align: left; }
    .summary-card { position: static; }
}
@media (max-width: 575.98px) {
    .page-title { font-size: 23px; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-val { font-size: 20px; }
    .panel { padding: 16px; border-radius: 18px; }
    .table-wrap { margin: 0 -16px; padding: 0 16px; }
    .bar-list-row { grid-template-columns: 32px 1fr 80px; }
    .bar-list-row .bar-track, .bar-list-row .bar-list-pct { display: none; }
    .trip-prices { grid-template-columns: repeat(2, 1fr); }
    .topbar-search kbd { display: none; }
    .pill-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
    .pill-tabs::-webkit-scrollbar { display: none; }
    .toolbar-row .form-select, .toolbar-row .form-control { max-width: none; flex: 1 1 140px; }
}

@media print {
    .sidebar, .topbar, .no-print { display: none !important; }
}
