/* ALS @ Student One — app styles (modern, no build step, plain CSS) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
    /* type */
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* brand */
    --brand: #6d5cf0;
    --brand-dark: #5a48e0;
    --brand-soft: #f2f0fe;
    --brand-gradient: linear-gradient(135deg, #6d5cf0 0%, #8b5cf6 100%);

    /* neutrals (slate) */
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --line: #e5e9f0;
    --line-strong: #d3dbe6;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --bg: #eef2f7;

    /* semantic */
    --ok: #16a34a;
    --ok-dark: #15803d;
    --danger: #dc2626;
    --danger-dark: #b91c1c;
    --warn: #f59e0b;

    /* shape + depth */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
    --shadow: 0 6px 18px rgba(15, 23, 42, .08);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, .20);
    --ring: 0 0 0 3px rgba(109, 92, 240, .28);
    --transition: .18s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 100% -10%, #e5edff 0%, rgba(229, 237, 255, 0) 55%),
        radial-gradient(1000px 500px at -10% 0%, #eef2ff 0%, rgba(238, 242, 255, 0) 45%),
        var(--bg);
    background-attachment: fixed;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 4px 0 20px; }
h1 small { font-size: 14px; font-weight: 500; vertical-align: middle; }
a { color: var(--brand); }

/* ---------------- top navbar ---------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02), 0 6px 20px -12px rgba(15, 23, 42, .25);
}

.site-header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -.01em;
}
.brand img { height: 42px; width: auto; display: block; }
.brand span { white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.main-nav a:hover { color: var(--brand-dark); background: var(--brand-soft); }
.main-nav a.is-active { color: var(--brand-dark); background: var(--brand-soft); font-weight: 600; }

/* username chip */
.main-nav a.nav-user {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-weight: 600;
    margin-left: 4px;
}
.main-nav a.nav-user::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .15);
}

.inline { display: inline; }
.link-button {
    background: none;
    border: 1px solid transparent;
    color: var(--danger);
    font: inherit;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition);
}
.link-button:hover { background: #fdecec; color: var(--danger-dark); }

/* ---------------- layout ---------------- */

.container { max-width: 1850px; margin: 32px auto; padding: 0 24px; }
.container.narrow { max-width: 920px; }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card h2 {
    margin: 0 0 20px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
}
.card h2::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: var(--brand-gradient);
}

/* ---------------- alerts ---------------- */

.alert {
    border-radius: var(--radius);
    padding: 14px 16px 14px 18px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    font-size: 14.5px;
    box-shadow: var(--shadow-xs);
}
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: #ecfdf3; color: #10633a; border-color: #b6ebcd; }
.alert-danger { background: #fef2f2; color: #991b1b; border-color: #f6cccc; }

/* ---------------- forms ---------------- */

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .01em;
    color: var(--muted);
    text-transform: uppercase;
}

/* Edit booking: single-column "tower" with labels beside inputs (legacy feel) */
.booking-edit .form-grid { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.booking-edit .field {
    display: grid; grid-template-columns: 190px minmax(0, 1fr);
    align-items: center; gap: 22px; padding: 8px 0;
}
.booking-edit .field > label {
    text-align: right; text-transform: none; letter-spacing: normal;
    font-size: 13.5px; font-weight: 500; color: var(--ink-soft); margin: 0;
}
/* radio groups (room type, pick up): keep the label aligned to the top of the list */
.booking-edit .field:has(.radio-list) { align-items: start; }
.booking-edit .field:has(.radio-list) > label { padding-top: 11px; }
@media (max-width: 640px) {
    .booking-edit .field { grid-template-columns: 1fr; gap: 6px; }
    .booking-edit .field > label { text-align: left; }
    .booking-edit .field:has(.radio-list) > label { padding-top: 0; }
}
.field input[type=text], .field input[type=email], .field input[type=password],
.field input[type=date], .field input[type=time], .field input[type=number],
.field select, .field textarea {
    box-sizing: border-box;
    height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 11px 13px;
    font: inherit;
    font-size: 14.5px;
    color: var(--ink);
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { height: auto; resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa6b6; }
.field input:read-only, .field select:disabled, .field input:disabled {
    background: var(--surface-2);
    color: var(--muted);
    cursor: not-allowed;
}
/* flatpickr's display field is readonly by design — keep it looking like a normal, enabled input */
.field input.field-flatpickr[readonly] {
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: var(--ring);
}

.radio-list { display: flex; flex-direction: column; gap: 10px; }
.radio-list label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink-soft);
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.radio-list label:hover { border-color: var(--line-strong); background: #fff; }
.radio-list label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio-list input[type=radio] { accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.radio-list input[type=radio]:checked + * { color: var(--brand-dark); }
/* Options laid out as a row of wrapping tiles instead of a tall column. */
.radio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.radio-grid label { margin: 0; align-items: center; line-height: 1.3; }
@media (max-width: 640px) { .radio-grid { grid-template-columns: 1fr; } }

/* ---------------- buttons ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 11px 22px;
    font: inherit;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background: var(--brand);
    box-shadow: var(--shadow-xs);
    transition: background var(--transition), box-shadow var(--transition),
        transform var(--transition), border-color var(--transition);
}
.btn:hover { background: var(--brand-dark); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn-secondary { background: #475569; }
.btn-secondary:hover { background: #334155; }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: var(--danger-dark); }
.btn-success { background: var(--ok); }
.btn-success:hover { background: var(--ok-dark); }
.btn-outline {
    background: var(--surface);
    color: var(--ink-soft);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-xs);
}
.btn-outline:hover { background: var(--surface-2); border-color: var(--muted); color: var(--ink); }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }

.actions-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: center;
}
.actions-bar .spacer { flex: 1; }

/* ---------------- badges ---------------- */

.badge {
    display: inline-block;
    color: #fff;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

/* ---------------- page header + panel ---------------- */

.page-head { margin: 4px 0 22px; }
.page-head h1 { margin: 0; }
.page-sub { color: var(--muted); font-size: 14.5px; margin: 7px 0 0; max-width: 78ch; }

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.panel-toolbar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}
.panel-toolbar .spacer { flex: 1; }

/* ---------------- tables / DataTables v2 ---------------- */

table.dataTable { font-size: 13px; background: var(--surface); border-collapse: collapse; width: 100% !important; }
table.dataTable thead th {
    background: var(--surface-2);
    color: var(--muted);
    font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em;
    border-bottom: 1px solid var(--line-strong) !important;
    padding: 11px 12px; white-space: nowrap;
}
table.dataTable tbody td { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.dataTable tbody tr { cursor: pointer; transition: background var(--transition); }
table.dataTable tbody tr:hover > * { background: var(--brand-soft); }
table.dataTable tbody tr.selected > * { background: rgba(109, 92, 240, .10) !important; }

/* control rows (search / buttons / info / paging) */
.dt-container .dt-layout-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; flex-wrap: wrap; }
.dt-container .dt-layout-row:first-child { border-bottom: 1px solid var(--line); }
.dt-container .dt-layout-row:last-child { border-top: 1px solid var(--line); }
.dt-container .dt-layout-cell.dt-layout-full { flex: 1 1 100%; }
.dt-container .dt-layout-end { margin-left: auto; }

.dt-search input.dt-input {
    border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 12px;
    font: inherit; font-size: 13.5px; min-width: 250px; outline: none; background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.dt-search input.dt-input::placeholder { color: #9aa6b6; }
.dt-search input.dt-input:focus { border-color: var(--brand); box-shadow: var(--ring); }

.dt-info { font-size: 13.5px; color: var(--muted); }
.dt-paging { display: flex; gap: 9px; }
.dt-paging .dt-paging-button {
    border: 1px solid var(--line-strong) !important; border-radius: 8px !important;
    padding: 7px 14px !important; margin: 0 !important; font-size: 14px !important;
    color: var(--ink-soft) !important; background: var(--surface) !important; cursor: pointer;
    transition: background .15s, border-color .15s;
}
.dt-paging .dt-paging-button:hover { background: var(--brand-soft) !important; color: var(--ink-soft) !important; border-color: var(--brand) !important; }
.dt-paging .dt-paging-button.current,
.dt-paging .dt-paging-button.current:hover { background: var(--brand) !important; color: #fff !important; border-color: var(--brand) !important; }
.dt-paging .dt-paging-button.disabled { color: #c2c8d0 !important; background: var(--surface) !important; border-color: var(--line) !important; cursor: default; }

/* light footer strip under the table (info + paging row) */
.dt-container .dt-layout-row:last-child { background: var(--surface-2); }

.dt-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.dt-button {
    background: var(--surface) !important; border: 1px solid var(--line-strong) !important;
    border-radius: 8px !important; color: var(--ink-soft) !important;
    font-weight: 600 !important; font-size: 12.5px !important; padding: 8px 14px !important;
    box-shadow: var(--shadow-xs) !important;
    transition: background var(--transition), border-color var(--transition) !important;
}
.dt-button:hover { background: var(--surface-2) !important; border-color: var(--muted) !important; }

/* wide tables scroll horizontally inside the panel, controls stay put */
.dt-scroll-body { overflow-x: auto; }

/* ---------------- dashboard (Prism-style) ---------------- */

.dash-eyebrow {
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); font-weight: 600; margin-bottom: 6px;
}
.dash-eyebrow .sep { color: var(--line-strong); margin: 0 6px; }
.dash-eyebrow .accent { color: var(--brand); }

.action-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px; margin-bottom: 26px;
}
.action-card {
    display: flex; flex-direction: column; gap: 14px; text-align: left;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    padding: 20px; cursor: pointer; font: inherit; color: inherit; text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.action-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent-line, #d9d5f7); }
.action-card:focus-visible { outline: none; box-shadow: var(--ring); }
.action-card .ac-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.action-card .ac-title { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.action-card .ac-desc { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

/* per-card accent tints */
.ac-indigo .ac-icon { background: #eef0fe; color: #6366f1; }
.ac-green  .ac-icon { background: #e7f8ef; color: #16a34a; }
.ac-amber  .ac-icon { background: #fdf3e2; color: #d98a0b; }
.ac-teal   .ac-icon { background: #e5f6f4; color: #0d9488; }

/* panel header: title + count on the left, pills / small actions on the right */
.panel-head {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.panel-head .ph-title { font-size: 15px; font-weight: 700; margin: 0; }
.panel-head .ph-count { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.panel-head .ph-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
    border: 1px solid var(--line-strong); background: var(--surface); border-radius: 20px;
    padding: 5px 13px; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--muted);
    cursor: pointer; transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.pill:hover { border-color: var(--muted); color: var(--ink); }
.pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.btn-sm { padding: 7px 13px !important; font-size: 13px !important; }

/* ---------------- Prism-style clean table ---------------- */

.prism-wrap { overflow-x: auto; }
.prism-table { width: 100%; border-collapse: collapse; font-family: var(--font); }
.prism-table thead th {
    padding: 11px 16px; text-align: left; background: var(--surface-2);
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted); white-space: nowrap;
    border-bottom: 1px solid var(--line);
}
.prism-table tbody td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.prism-table tbody tr { transition: background .12s; cursor: pointer; }
/* target the cells and beat DataTables' own default row-hover/selection CSS */
.prism-table tbody tr:hover > * { background: var(--brand-soft) !important; box-shadow: none !important; }
.prism-table tbody tr.selected > * { background: rgba(109, 92, 240, .09) !important; box-shadow: none !important; color: var(--ink) !important; }
.prism-table .col-chk { width: 42px; }
.prism-table input[type=checkbox] { accent-color: var(--brand); width: 15px; height: 15px; }
.prism-table .row-chk { pointer-events: none; } /* the whole row click controls selection */

/* DataTables sort styling on the prism headers */
.prism-table thead th.dt-orderable-asc, .prism-table thead th.dt-orderable-desc { cursor: pointer; }
.prism-table thead th.dt-ordering-asc, .prism-table thead th.dt-ordering-desc { color: var(--brand); }

.cell-name { display: flex; align-items: center; gap: 11px; }
.cell-name .avatar {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    background: var(--brand-soft); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
}
.cell-name .nm { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cell-name .sub { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; white-space: nowrap; }
.prism-table td.mono { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }

.row-actions { display: flex; gap: 6px; opacity: 0; transition: opacity .15s; }
.prism-table tbody tr:hover .row-actions, .prism-table tbody tr.selected .row-actions { opacity: 1; }
.icon-btn {
    width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line-strong);
    background: var(--surface-2); color: var(--muted);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; text-decoration: none; transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.icon-btn:hover { background: #fff; color: var(--brand); border-color: var(--brand); }

/* soft tinted status pills (Figma "arctic" style) */
.pbadge {
    display: inline-block; border-radius: 20px; font-size: 11.5px; font-weight: 600;
    padding: 3px 11px; white-space: nowrap; border: 1px solid transparent; font-family: var(--font);
}
.pbadge-new       { background: rgba(99, 102, 241, .10); color: #4f46e5; border-color: rgba(99, 102, 241, .22); }
.pbadge-ready     { background: rgba(202, 138, 4, .10);  color: #a16207; border-color: rgba(202, 138, 4, .22); }
.pbadge-confirmed { background: rgba(22, 163, 74, .10);  color: #15803d; border-color: rgba(22, 163, 74, .22); }
.pbadge-modified  { background: rgba(147, 51, 234, .10); color: #7e22ce; border-color: rgba(147, 51, 234, .22); }
.pbadge-completed { background: rgba(37, 99, 235, .10);  color: #1d4ed8; border-color: rgba(37, 99, 235, .22); }
.pbadge-cancelled { background: rgba(220, 38, 38, .10);  color: #b91c1c; border-color: rgba(220, 38, 38, .22); }
.pbadge-grey      { background: rgba(100, 116, 139, .12); color: #475569; border-color: rgba(100, 116, 139, .22); }

/* prism pagination / info footer (DataTables) */
.prism-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--line); }

/* ---------------- footer ---------------- */

.site-footer {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    padding: 40px 20px 48px;
    margin-top: 20px;
    border-top: 1px solid var(--line);
}

/* ---------------- contract modal ---------------- */

.modal-overlay[hidden] { display: none; }
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: fade-in .2s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    width: 95%; max-width: 1400px; max-height: 96vh;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; border-bottom: 1px solid var(--line);
    font-weight: 700; font-size: 15px;
}
.modal-body { flex: 1; padding: 14px; position: relative; background: var(--surface-2); }
.modal-body iframe { width: 100%; height: 78vh; border: none; border-radius: var(--radius-sm); background: #fff; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); }
.modal-close { background: none; border: none; font-size: 26px; cursor: pointer; color: var(--muted); line-height: 1; transition: color var(--transition); }
.modal-close:hover { color: var(--ink); }
.modal-loading { position: absolute; inset: 14px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); }

/* review-before-submit dialog (booking form) */
.modal.confirm-modal { max-width: 560px; }
.confirm-modal .modal-body { background: var(--surface); max-height: 64vh; overflow-y: auto; padding: 20px 22px; }
.review-list { margin: 0; display: grid; grid-template-columns: minmax(120px, 38%) 1fr; }
.review-list dt { color: var(--muted); font-size: 13px; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.review-list dd { margin: 0; color: var(--ink); font-size: 13.5px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--line); word-break: break-word; }
.review-note { margin: 18px 0 0; color: var(--ok-dark); font-weight: 600; font-size: 13.5px; }
.spinner { width: 46px; height: 46px; border: 5px solid #dbe3ee; border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- auth + misc ---------------- */

.auth-card {
    max-width: 430px;
    margin: 64px auto;
    box-shadow: var(--shadow);
}
.auth-card h2 { font-size: 20px; }
.auth-card .btn { width: 100%; }

.price-banner img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.terms-note { font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
    .site-header-inner { padding: 10px 16px; }
    .brand span { display: none; }
    .container { padding: 0 16px; margin: 22px auto; }
    .card { padding: 20px; }
}

/* ================= Bookings Portal design (top nav + wide table) ================= */

.topnav {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 50;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}
.topnav-main { display: flex; align-items: center; gap: 16px; padding: 0 28px; height: 74px; }
.topnav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.topnav-brand img { display: block; }
.tb-text { display: flex; flex-direction: column; line-height: 1.15; }
.tb-title { color: var(--ink); font-weight: 700; font-size: 17px; }
.tb-sub { color: var(--muted); font-size: 13px; }
.topnav-div { width: 1px; height: 28px; background: var(--line); flex-shrink: 0; }
.topnav-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.topnav-spacer { flex: 1; }

.topnav-user { display: flex; align-items: center; gap: 9px; padding-left: 16px; border-left: 1px solid var(--line); flex-shrink: 0; }
.tu-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.tu-name { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.2; }
.tu-links { display: flex; align-items: center; gap: 7px; margin-top: 1px; }
.tu-links a, .tu-links button { background: none; border: none; padding: 0; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: none; font-family: inherit; }
.tu-links a:hover, .tu-links button:hover { color: var(--brand); }
.tu-sep { color: var(--line-strong); font-size: 10px; }
.inline { display: inline; }

.topnav-tabs { display: flex; align-items: flex-end; padding: 0 28px; overflow-x: auto; }
.topnav-tabs a {
    padding: 11px 22px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none;
    border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.topnav-tabs a:hover { color: var(--ink); }
.topnav-tabs a.active { color: var(--brand); font-weight: 600; border-bottom-color: var(--brand); }

/* tabs inline in the main nav row (full-height, underline sits on the bar edge) */
.nav-tabs-inline { display: flex; align-items: stretch; align-self: stretch; gap: 2px; }
.nav-tabs-inline a {
    display: inline-flex; align-items: center; padding: 0 18px;
    color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none;
    border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.nav-tabs-inline a:hover { color: var(--ink); }
.nav-tabs-inline a.active { color: var(--brand); font-weight: 600; border-bottom-color: var(--brand); }

/* buttons */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
    background: var(--brand); color: #fff; border: none; border-radius: 8px;
    font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; font-family: inherit;
    text-decoration: none; transition: background .15s, transform .1s;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
    background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 8px;
    font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; font-family: inherit;
    text-decoration: none; transition: border-color .15s;
}
.btn-secondary:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px;
    background: transparent; color: var(--muted); border: 1.5px solid var(--line-strong); border-radius: 7px;
    font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; font-family: inherit;
    text-decoration: none; transition: background .15s, color .15s;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn-light {
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-2); border: 1.5px solid var(--line-strong); border-radius: 7px;
    cursor: pointer; color: var(--muted); transition: border-color .15s, color .15s;
}
.icon-btn-light:hover { border-color: var(--brand); color: var(--brand); }

/* neutral grey border, coloured icon + coloured hover (match the legacy look) */
.btn-edit svg { color: #15803d; }
.btn-edit:hover { background: #ecfdf3; border-color: #166534; }
.btn-contract svg { color: #ea580c; }
.btn-contract:hover { background: #fff7ed; border-color: #c2410c; }
.btn-completed svg { color: #22c55e; }
.btn-pickup svg { color: #dc2626; }   /* red car, like the legacy Confirm Pickup icon */

/* subtle activity-log action pills */
.audit-badge { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.audit-badge.ok    { background: rgba(22, 163, 74, .12);  color: #15803d; }
.audit-badge.info  { background: rgba(37, 99, 235, .12);  color: #1d4ed8; }
.audit-badge.warn  { background: rgba(220, 38, 38, .12);  color: #b91c1c; }
.audit-badge.muted { background: var(--surface-2);        color: var(--muted); }
.btn-completed:hover { background: #f0fdf4; border-color: #16a34a; }
/* Move-back / restore buttons (Completed, Modified, Cancelled): green arrow + blue hover */
.btn-moveback svg { color: #16a34a; }
.btn-moveback:hover { background: #eff6ff; border-color: #2563eb; color: #1d4ed8; }
.btn-del {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
    background: var(--danger); color: #fff; border: 1px solid var(--danger); border-radius: 8px;
    font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; font-family: inherit;
    text-decoration: none; transition: background .15s, border-color .15s;
}
.btn-del:hover { background: var(--danger-dark); border-color: var(--danger-dark); }

/* page heading */
.bk-head { margin-bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.bk-head h1 { margin: 0; font-size: 24px; font-weight: 700; }
.bk-head .bk-sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.bk-count { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.bk-count .pill-count { background: var(--brand); color: #fff; border-radius: 99px; padding: 4px 13px; font-size: 13px; font-weight: 700; }

/* driver split sections (Upcoming / Later) */
.bk-subhead { margin: 0 0 12px; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.bk-section-title { margin: 0; font-size: 17px; font-weight: 700; }
.bk-section-gap { height: 30px; }
.bk-hint { font-size: 12.5px; color: var(--muted); align-self: center; }
/* 3-line "Flight / Schedule / Confirmed" header keeps the column narrow */
.bookings-table th.col-fsc { text-align: center; line-height: 1.15; white-space: normal; }
.bookings-table td.col-fsc-cell { text-align: center; white-space: nowrap; }
/* per-row Confirm Pickup button */
.btn-confirm-row { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px;
    border: 1px solid var(--brand); color: var(--brand); background: var(--brand-soft, rgba(109, 92, 240, .12));
    border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: background .12s, color .12s; }
.btn-confirm-row:hover { background: var(--brand); color: #fff; }
/* driver tables: toolbar + table are one continuous card (no gap/seam) */
.driver-block { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.driver-block .bookings-toolbar { border: 0; border-radius: 0; margin: 0; background: transparent; padding-bottom: 4px; }
.driver-block .bookings-scroll { overflow-x: auto; }
/* DataTables adds a bottom border to footer-less tables — drop it so it doesn't
   double up against the card edge as a dark line */
.driver-block table.dataTable.no-footer { border-bottom: none; }
.driver-block .dt-scroll-body { border-bottom: 0 !important; }

/* toolbar card */
.bookings-toolbar {
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
}
.bookings-toolbar .tb-label { font-size: 14px; color: var(--muted); font-weight: 500; }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-input {
    padding: 9px 16px 9px 36px; border: 1.5px solid var(--line-strong); border-radius: 8px;
    font-size: 14px; color: var(--ink); background: var(--surface); outline: none; width: 270px;
    font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.search-input:focus { border-color: var(--brand); box-shadow: var(--ring); }

/* table card */
.bookings-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bookings-scroll { overflow-x: auto; }
.bookings-table { width: 100%; border-collapse: collapse; }
.bookings-table th {
    background: var(--surface-2); color: var(--muted);
    font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    padding: 12px 16px; white-space: nowrap; text-align: left; border-bottom: 2px solid var(--line);
}
.bookings-table th.sortable { cursor: pointer; user-select: none; }
.bookings-table th .th-in { display: inline-flex; align-items: center; gap: 5px; }
.bookings-table th .th-arrow { color: var(--line-strong); font-size: 9px; }
.bookings-table th.sorted-asc .th-arrow, .bookings-table th.sorted-desc .th-arrow { color: var(--brand); }
.bookings-table td { padding: 13px 16px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.bookings-table tbody tr { border-bottom: 1px solid var(--line); cursor: pointer; transition: background .1s; }
.bookings-table tbody tr:last-child { border-bottom: none; }
/* target cells + !important to beat DataTables' own default hover/selection CSS */
.bookings-table tbody tr:hover > * { background: var(--surface-2) !important; box-shadow: none !important; }
.bookings-table tbody tr.selected > * { background: rgba(109, 92, 240, .09) !important; box-shadow: none !important; color: var(--ink) !important; }
.bookings-table tbody tr.selected .bk-id { color: var(--brand) !important; }
.bookings-table tbody tr.selected .bk-muted { color: var(--muted) !important; }
.bk-id { font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.bk-mono { font-family: var(--font-mono); font-size: 13px; }
.bk-strong { font-weight: 500; }
.bk-muted { color: var(--muted); }
.bookings-table td.bk-roomtype { font-size: 13px; color: var(--muted); max-width: 230px; white-space: normal; line-height: 1.35; }
.bk-center { text-align: center; }
/* DataTables auto-right-aligns numeric columns; realign cells to the left-aligned headers */
.bookings-table td.dt-type-numeric, .bookings-table th.dt-type-numeric { text-align: left !important; }
.bookings-table th.bk-center, .bookings-table td.bk-center { text-align: center !important; }

/* status badge */
.status-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 96px;
    padding: 4px 11px; border-radius: 99px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.status-badge.new       { background: #72b043; color: #fff; }
/* "accepted" is the display label for the stored "ready"; "paid" for "confirmed" */
.status-badge.ready,
.status-badge.accepted  { background: #2563eb; color: #fff; }       /* darker blue, white text */
.status-badge.confirmed,
.status-badge.paid      { background: #dbeafe; color: #14213d; }   /* lighter blue, dark text */
.status-badge.modified  { background: #ede9fe; color: #6d28d9; }   /* purple, kept distinct */
.status-badge.completed { background: #dcfce7; color: #166534; }
.status-badge.cancelled { background: #fee2e2; color: #b91c1c; }

.contract-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 90px;
    padding: 4px 11px; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; }
.contract-badge.not_sent { background: #9ca3af; }   /* grey */
.contract-badge.pending  { background: #f59e0b; }   /* amber */
.contract-badge.signed   { background: #16a34a; }   /* green */
.contract-badge.expired  { background: #dc2626; }   /* red */

/* a signed contract links to its SharePoint folder */
.contract-link { text-decoration: none; }
.contract-link:hover .contract-badge.signed { background: #22c55e; }
/* contract status shown as a field value (student "Room" section) */
.contract-status-line { display: flex; align-items: center; min-height: 42px; }
.contract-status-line.rules-line { gap: 12px; flex-wrap: wrap; }
/* "Acknowledged" pill for the room rules row */
.ack-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 6px;
    font-size: 12.5px; font-weight: 600; color: #15803d; background: rgba(34,197,94,.14); white-space: nowrap; }
html[data-theme="dark"] .ack-badge { color: #4ade80; background: rgba(34,197,94,.18); }

/* Modifications history list (booking edit view) */
.mod-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mod-item { border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; background: var(--surface-2); }
.mod-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 3px; }
.mod-date { font-size: 12px; color: var(--muted); font-family: 'DM Mono', ui-monospace, monospace; }
.mod-user { font-size: 13px; font-weight: 600; color: var(--ink); }
.mod-desc { font-size: 13px; color: var(--ink-soft); white-space: normal; line-height: 1.45; }

/* bold label for the status-driving fields (Student ID, Paid) */
.field label.lbl-key { font-weight: 700; color: var(--ink); }

/* Paid sliding YES/NO switch */
.paid-switch { position: relative; display: inline-flex; align-items: center; width: 112px; height: 36px;
    border-radius: 999px; padding: 3px; cursor: pointer; user-select: none; background: #fee2e2;
    transition: background .25s; outline: none; }
.paid-switch.is-on { background: #dcfce7; }
.paid-switch .ps-knob { position: absolute; top: 3px; left: 3px; width: 54px; height: 30px; border-radius: 999px;
    background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.18);
    transition: left .22s cubic-bezier(.4,0,.2,1), background .22s; }
.paid-switch.is-on .ps-knob { left: calc(100% - 54px - 3px); background: #16a34a; }
.paid-switch .ps-ghost { position: absolute; right: 14px; font-size: 11px; font-weight: 600; letter-spacing: .06em;
    color: #dc2626; opacity: .8; }
.paid-switch.is-on .ps-ghost { left: 14px; right: auto; color: #16a34a; }
.paid-switch:focus-visible { box-shadow: 0 0 0 2px var(--brand); }

/* flag / lock cells */
.flag-cell { width: 24px; height: 24px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; line-height: 1; border: 1px solid var(--line); background: var(--surface-2); color: #c2c8d0; }
.flag-cell.on     { background: rgba(22,163,74,.12);  border-color: rgba(22,163,74,.35);  color: #16a34a; }   /* green yes */
.flag-cell.off    { background: rgba(220,38,38,.10);  border-color: rgba(220,38,38,.30);  color: #dc2626; }   /* red no */
.flag-cell.locked { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.35); color: #d97706; }   /* amber lock */

/* "Days left" on the Staying-now grid */
.days-left { display: inline-block; min-width: 30px; padding: 2px 9px; border-radius: 6px; font-weight: 700;
    font-size: 13px; background: var(--surface-2); color: var(--ink-soft); }
.days-left.soon { background: rgba(220,38,38,.10); color: #dc2626; }   /* leaving within a week */

/* footer / pagination */
.bookings-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 10px; background: var(--surface-2); }
.bookings-foot .bk-info { font-size: 13px; color: var(--muted); }
.bookings-foot .dt-paging { display: flex; gap: 6px; }
.bookings-foot .dt-paging-button { padding: 6px 14px !important; font-size: 13px !important; border-radius: 7px !important;
    border: 1.5px solid var(--line-strong) !important; background: var(--surface) !important; color: var(--ink-soft) !important; cursor: pointer; }
.bookings-foot .dt-paging-button.current { background: var(--brand) !important; color: #fff !important; border-color: var(--brand) !important; }
.bookings-foot .dt-paging-button.disabled { color: #c2c8d0 !important; }

/* "Edit table" column-visibility dropdown */
.colvis-wrap { position: relative; }
.colvis-wrap .btn-ghost { padding: 6px 12px; font-size: 12.5px; }
.colvis-panel {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 200;
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
    box-shadow: var(--shadow-lg); padding: 10px; width: 240px;
}
.colvis-panel[hidden] { display: none; }
.colvis-title { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 8px 9px; }
.colvis-list { max-height: 340px; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; }
.colvis-item { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 7px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.colvis-item:hover { background: var(--surface-2); }
.colvis-item input { accent-color: var(--brand); width: 15px; height: 15px; cursor: pointer; }

/* ---------------- theme toggle (nav) ---------------- */
/* temporary transition-period link back to the legacy site */
.legacy-link {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; margin-right: 6px;
    padding: 7px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 600;
    text-decoration: none; white-space: nowrap; color: var(--muted);
    background: var(--surface-2); border: 1px solid var(--line-strong);
    transition: border-color .15s, color .15s, background .15s;
}
.legacy-link:hover { border-color: var(--brand); color: var(--brand); }

.theme-toggle {
    width: 36px; height: 36px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 9px;
    color: var(--muted); cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }

/* ===================== Dark mode (dashboard) ===================== */
html[data-theme="dark"] {
    --ink: #e7edf6;
    --ink-soft: #b4c1d2;
    --muted: #8593a6;
    --line: #26303f;
    --line-strong: #3a4658;
    --surface: #171e2a;
    --surface-2: #1f2836;
    --bg: #0e131c;
    --brand-soft: rgba(109, 92, 240, .20);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 6px 18px rgba(0, 0, 0, .40);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] body {
    background:
        radial-gradient(1200px 600px at 100% -10%, rgba(109, 92, 240, .12) 0%, rgba(109, 92, 240, 0) 55%),
        radial-gradient(1000px 500px at -10% 0%, rgba(139, 92, 246, .10) 0%, rgba(139, 92, 246, 0) 45%),
        var(--bg);
}
html[data-theme="dark"] .topnav { box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }

/* patch the handful of hardcoded light colours so they adapt */
html[data-theme="dark"] .radio-list label:hover { background: var(--surface); }
html[data-theme="dark"] .alert-success { background: rgba(22, 163, 74, .16); color: #86efac; border-color: rgba(22, 163, 74, .38); }
html[data-theme="dark"] .alert-danger  { background: rgba(220, 38, 38, .16); color: #fca5a5; border-color: rgba(220, 38, 38, .38); }

/* toolbar coloured hovers → subtle tints on dark instead of near-white */
html[data-theme="dark"] .btn-edit:hover      { background: rgba(22, 163, 74, .16); border-color: #16a34a; }
html[data-theme="dark"] .btn-contract:hover  { background: rgba(234, 88, 12, .16);  border-color: #ea580c; }
html[data-theme="dark"] .btn-completed:hover { background: rgba(34, 197, 94, .16);  border-color: #22c55e; }
html[data-theme="dark"] .btn-moveback:hover  { background: rgba(37, 99, 235, .20);  border-color: #2563eb; color: #93c5fd; }
html[data-theme="dark"] .btn-secondary:hover { background: var(--brand-soft); color: #c7bffb; }

/* light-pill status badges → deepened so text keeps its contrast on dark */
html[data-theme="dark"] .status-badge.new       { background: #5a9e2f; color: #fff; }
html[data-theme="dark"] .status-badge.confirmed,
html[data-theme="dark"] .status-badge.paid { background: #1e3a8a; color: #dbeafe; }
html[data-theme="dark"] .status-badge.completed { background: #14532d; color: #dcfce7; }
html[data-theme="dark"] .status-badge.cancelled { background: #7f1d1d; color: #fee2e2; }
html[data-theme="dark"] .status-badge.modified  { background: #4c1d95; color: #ede9fe; }

html[data-theme="dark"] .dt-paging .dt-paging-button.disabled,
html[data-theme="dark"] .bookings-foot .dt-paging-button.disabled { color: #4b5563 !important; }
