@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600&family=Sarabun:wght@300;400;500;600&display=swap');

:root {
    --brand: #1455c0;
    --brand-dark: #0d3f91;
    --brand-soft: #eef4ff;
    --ink: #171a1f;
    --ink-2: #343a40;
    --muted: #737b87;
    --muted-2: #9aa1ab;
    --line: #e8eaed;
    --line-strong: #dfe3e8;
    --page: #f7f8fa;
    --surface: #ffffff;
    --surface-soft: #fbfbfc;
    --success: #18864b;
    --success-soft: #eaf7f0;
    --warning: #b76b00;
    --warning-soft: #fff5e5;
    --danger: #c71f32;
    --danger-soft: #fff0f2;
    --info: #3569a8;
    --info-soft: #eef4fb;
    --shadow-sm: 0 1px 2px rgba(16,24,40,.03), 0 5px 18px rgba(16,24,40,.035);
    --shadow-md: 0 10px 28px rgba(16,24,40,.07);
    --radius: 12px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
    min-height: 100vh;
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Sarabun", sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
h1,h2,h3,h4,h5,h6,.btn,.navbar-brand,.nav-link,.dropdown-item { font-family: "Kanit", sans-serif; }

.premium-navbar {
    min-height: 64px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 14px rgba(16,24,40,.035);
    backdrop-filter: blur(12px);
}
.premium-navbar .container-fluid { min-height: 64px; }
.premium-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 25px;
    color: var(--ink) !important;
    text-decoration: none;
}
.brand-logo {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 5px 12px rgba(20,85,192,.18);
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.1px;
    white-space: nowrap;
}
.brand-text small {
    margin-top: 4px;
    color: var(--muted-2);
    font-family: "Sarabun", sans-serif;
    font-size: 8px;
    letter-spacing: 1.1px;
    font-weight: 500;
}
.premium-nav {
    height: 64px;
    align-items: stretch;
    gap: 2px;
}
.premium-nav .nav-link {
    position: relative;
    height: 64px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 11px !important;
    color: #737983 !important;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}
.premium-nav .nav-link i { font-size: 13px; }
.premium-nav .nav-link:hover { color: var(--ink) !important; }
.premium-nav .nav-link.active { color: var(--ink) !important; font-weight: 500; }
.premium-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--brand);
}
.navbar-toggler {
    border: 0;
    color: var(--ink);
    font-size: 22px;
    padding: 5px 8px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-right { display: flex; align-items: center; margin-left: 14px; }
.user-button {
    border: 0;
    background: transparent;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px 4px 5px;
    border-radius: 10px;
}
.user-button:hover { background: #f4f5f7; }
.user-button::after { margin-left: 3px; color: #8b919a; }
.user-avatar {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-family: "Kanit", sans-serif;
    font-size: 13px;
}
.user-details { display: flex; flex-direction: column; text-align: left; line-height: 1.05; }
.user-details strong { font-size: 11px; font-weight: 500; }
.user-details small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.premium-dropdown {
    min-width: 190px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: var(--shadow-md);
}
.premium-dropdown .dropdown-item { border-radius: 7px; padding: 9px 10px; font-size: 12px; }
.premium-dropdown .dropdown-item:hover { background: #f7f8fa; }

.main-content { min-height: calc(100vh - 122px); }
.main-content > .container-fluid { max-width: 1600px; }

.alert {
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: none !important;
}
.alert-success { background: var(--success-soft); border-color: #cfead9; color: #176b3f; }
.alert-danger { background: var(--danger-soft); border-color: #f3c8ce; color: #a6192b; }

.page-header,
.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}
.page-eyebrow,
.dashboard-eyebrow {
    color: var(--brand);
    font-family: "Kanit", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.page-header h1,
.dashboard-title {
    margin: 3px 0 0;
    color: var(--ink);
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -.3px;
}
.page-header p,
.dashboard-subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.dashboard-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--muted);
    font-size: 11px;
}

.btn {
    min-height: 38px;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    box-shadow: none !important;
}
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover,.btn-primary:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-outline-primary { color: var(--brand); border-color: #9db8ed; background: #fff; }
.btn-outline-primary:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.btn-outline-danger { color: var(--danger); border-color: #efc1c8; }
.btn-outline-danger:hover { color: #fff; background: var(--danger); border-color: var(--danger); }
.btn-light { border-color: var(--line); background: #fff; color: var(--ink-2); }
.btn-light:hover { background: #f5f6f8; border-color: var(--line-strong); }

.app-card,
.dashboard-card,
.detail-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.card-body { padding: 20px; }
.card-title { font-size: 15px; font-weight: 500; }

.app-table { margin: 0; font-size: 12px; }
.app-table th {
    padding: 12px 15px;
    color: #8b929c;
    background: #fcfcfd;
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .2px;
    white-space: nowrap;
}
.app-table td {
    padding: 13px 15px;
    color: #4d5560;
    border-bottom: 1px solid #f0f1f3;
    vertical-align: middle;
}
.app-table tbody tr { transition: background .15s ease; }
.app-table tbody tr:hover td { background: #fcfcfd; }
.app-table tbody tr:last-child td { border-bottom: 0; }
.table-link { color: var(--ink); font-weight: 500; text-decoration: none; }
.table-link:hover { color: var(--brand); }
.plate-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 5px;
    background: #f1f2f4;
    color: #424851;
    font-family: "Kanit", sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .2px;
}

.form-control,.form-select {
    min-height: 40px;
    border-color: #dfe2e6;
    border-radius: 8px;
    color: var(--ink-2);
    font-size: 13px;
    box-shadow: none;
}
.form-control:focus,.form-select:focus {
    border-color: #7fa5e8;
    box-shadow: 0 0 0 .2rem rgba(20,85,192,.08);
}
.form-label { color: #4c535d; font-size: 12px; font-weight: 500; }
.form-text { color: var(--muted-2); font-size: 10px; }

.badge {
    padding: 5px 8px;
    border-radius: 999px;
    font-family: "Sarabun", sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}
.text-bg-success { background: var(--success-soft) !important; color: var(--success) !important; }
.text-bg-primary { background: var(--info-soft) !important; color: var(--info) !important; }
.text-bg-danger { background: var(--danger-soft) !important; color: var(--danger) !important; }
.text-bg-warning { background: var(--warning-soft) !important; color: var(--warning) !important; }
.text-bg-secondary { background: #f0f1f3 !important; color: #68707a !important; }

.dashboard-header { margin-bottom: 25px; }
.dashboard-stat {
    min-height: 132px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.stat-label { color: var(--muted); font-size: 11px; }
.stat-value { margin-top: 3px; color: var(--ink); font-family: "Kanit", sans-serif; font-size: 31px; font-weight: 500; line-height: 1.05; }
.stat-value-split { font-size: 27px; }
.stat-value-split span { color: #c1c5ca; font-size: 18px; }
.stat-meta { margin-top: 7px; color: var(--muted-2); font-size: 10px; }
.stat-icon {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f2f4;
    color: #505762;
    font-size: 18px;
}
.stat-available .stat-icon { background: var(--success-soft); color: var(--success); }
.stat-rented .stat-icon { background: var(--brand-soft); color: var(--brand); }
.stat-maintenance .stat-icon { background: var(--warning-soft); color: var(--warning); }
.stat-schedule .stat-icon { background: var(--info-soft); color: var(--info); }

.dashboard-section-title { display: flex; align-items: flex-end; justify-content: space-between; margin: 8px 0 14px; }
.dashboard-section-title h5 { margin: 0; font-size: 16px; font-weight: 500; }
.dashboard-section-title span { color: var(--muted-2); font-size: 11px; }
.dashboard-card { height: 100%; }
.dashboard-card-header {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 17px;
    border-bottom: 1px solid var(--line);
}
.dashboard-card-title { display: flex; align-items: center; gap: 10px; }
.dashboard-card-title h6 { margin: 0; font-size: 12px; font-weight: 500; }
.dashboard-card-title span { display: block; margin-top: 2px; color: var(--muted-2); font-size: 9px; }
.dashboard-card-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f2f4;
    color: #56606b;
}
.dashboard-card-icon.danger { background: var(--danger-soft); color: var(--danger); }
.dashboard-card-icon.warning { background: var(--warning-soft); color: var(--warning); }
.dashboard-card-icon.document { background: #f1f2f4; color: #56606b; }
.dashboard-card-icon.info { background: var(--info-soft); color: var(--info); }
.dashboard-view-all { color: var(--muted); font-size: 10px; text-decoration: none; white-space: nowrap; }
.dashboard-view-all:hover { color: var(--brand); }
.dashboard-card-body { padding: 0 17px 11px; }
.dashboard-table { margin: 0; font-size: 11px; }
.dashboard-table th { padding: 10px 4px; color: var(--muted-2); font-size: 9px; font-weight: 500; border-bottom: 1px solid var(--line); }
.dashboard-table td { padding: 10px 4px; color: #5d6570; border-bottom: 1px solid #f1f2f4; }
.dashboard-empty { min-height: 175px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px; color: var(--muted); font-size: 11px; }
.dashboard-empty strong { color: var(--ink-2); font-size: 12px; font-weight: 500; }
.empty-icon { width: 40px; height: 40px; margin-bottom: 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--success-soft); color: var(--success); }

.booking-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.booking-summary { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.booking-summary strong { color: var(--ink); font-family: "Kanit", sans-serif; font-size: 15px; font-weight: 500; }
.booking-row-title { color: var(--ink); font-weight: 500; }
.booking-row-sub { margin-top: 2px; color: var(--muted-2); font-size: 10px; }

.booking-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.booking-hero-main { display: flex; align-items: center; gap: 14px; }
.booking-hero-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 21px;
}
.booking-hero-title { margin: 0; font-size: 19px; font-weight: 500; }
.booking-hero-meta { margin-top: 3px; color: var(--muted); font-size: 11px; }
.booking-hero-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }

.detail-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
}
.detail-card-header h5 { margin: 0; font-size: 13px; font-weight: 500; }
.detail-card-header small { color: var(--muted-2); font-size: 10px; }
.detail-card-body { padding: 18px; }
.detail-list { margin: 0; }
.detail-list dt { color: var(--muted); font-size: 11px; font-weight: 400; }
.detail-list dd { color: var(--ink-2); font-size: 12px; font-weight: 500; }
.detail-list dd,.detail-list dt { padding-top: 8px; padding-bottom: 8px; margin-bottom: 0; border-bottom: 1px solid #f1f2f4; }
.detail-list > :last-child { border-bottom: 0; }
.money-xl { color: var(--ink); font-family: "Kanit", sans-serif; font-size: 27px; font-weight: 500; }
.money-label { color: var(--muted); font-size: 10px; }
.payment-total {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 15px;
    padding: 13px 0 0;
    margin-top: 10px;
    border-top: 1px solid var(--line);
}
.payment-total span { color: var(--muted); font-size: 11px; }
.payment-total strong { color: var(--ink); font-family: "Kanit", sans-serif; font-size: 12px; font-weight: 500; }

.workflow { padding: 2px 0; }
.workflow-step { position: relative; display: flex; gap: 11px; padding-bottom: 20px; }
.workflow-step:last-child { padding-bottom: 0; }
.workflow-step:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 31px; bottom: 0; width: 1px; background: #e0e3e7; }
.workflow-dot {
    position: relative;
    z-index: 1;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f1f3;
    color: #8a919b;
    font-family: "Kanit", sans-serif;
    font-size: 10px;
    font-weight: 500;
}
.workflow-dot.done { background: var(--success-soft); color: var(--success); }
.workflow-dot.current { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1px #b8cdf5; }
.workflow-step strong { display: block; margin-top: 1px; color: var(--ink-2); font-size: 12px; font-weight: 500; }
.workflow-step small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }

.vehicle-hero { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 0 0 15px; background: #f8f9fa; border: 1px solid var(--line); border-radius: 10px; }
.vehicle-hero > i { font-size: 28px; color: var(--brand); }
.vehicle-hero div { display: flex; flex-direction: column; }
.vehicle-hero strong { color: var(--ink); font-family: "Kanit", sans-serif; font-size: 14px; font-weight: 500; }
.vehicle-hero span { margin-top: 2px; color: var(--muted); font-size: 11px; }

.system-footer {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 30px;
    background: #fff;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 10px;
}
.system-footer strong { color: var(--ink-2); font-weight: 500; }
.footer-divider { margin: 0 7px; color: #c7cbd0; }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #f7f8fa; }
.login-card { width: min(410px, calc(100% - 30px)); padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); }
.login-brand { display: flex; justify-content: center; margin-bottom: 14px; }
.login-card h1 { margin: 0; text-align: center; font-size: 21px; font-weight: 500; }
.login-card > p { margin: 4px 0 24px; color: var(--muted); text-align: center; font-size: 11px; }
.login-btn { min-height: 44px; background: var(--brand); color: #fff; border: 0; }
.login-btn:hover { background: var(--brand-dark); color: #fff; }

@media (max-width: 1199.98px) {
    .premium-nav { height: auto; padding: 8px 0; }
    .premium-nav .nav-link { height: 40px; padding: 0 11px !important; border-radius: 8px; }
    .premium-nav .nav-link.active { background: var(--brand-soft); }
    .premium-nav .nav-link.active::after { display: none; }
    .navbar-right { margin: 4px 0 9px; }
}

@media (max-width: 767.98px) {
    .brand-text small,.user-details { display: none; }
    .page-header,.dashboard-header,.booking-hero { align-items: flex-start; flex-direction: column; }
    .page-header .btn { width: 100%; }
    .dashboard-date { width: 100%; justify-content: center; }
    .booking-hero-actions { width: 100%; justify-content: flex-start; }
    .system-footer { flex-direction: column; justify-content: center; text-align: center; padding: 15px; gap: 5px; }
    .card-body { padding: 16px; }
}


/* =========================================================
   PREMIUM BLUE–RED NAVBAR
   Car Rental Management Theme
   ========================================================= */

.premium-navbar {
    position: relative;
    min-height: 72px;
    overflow: hidden;
    isolation: isolate;

    /* Blue → Indigo → Red premium gradient */
    background:
        linear-gradient(
            110deg,
            #063b91 0%,
            #1455c0 28%,
            #252a82 54%,
            #7b205f 76%,
            #d71935 100%
        ) !important;

    border-bottom: 1px solid rgba(255, 255, 255, .18);
    box-shadow:
        0 4px 22px rgba(12, 32, 91, .20),
        0 1px 0 rgba(255, 255, 255, .12) inset;
    backdrop-filter: blur(12px);
}

/* Subtle vector-style diagonal bands and glow */
.premium-navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .42;
    background:
        linear-gradient(
            135deg,
            transparent 0 12%,
            rgba(255, 255, 255, .13) 12.2% 15%,
            transparent 15.2% 30%,
            rgba(255, 255, 255, .08) 30.2% 34%,
            transparent 34.2% 62%,
            rgba(255, 255, 255, .08) 62.2% 66%,
            transparent 66.2%
        ),
        linear-gradient(
            315deg,
            transparent 0 72%,
            rgba(255, 255, 255, .10) 72.2% 75%,
            transparent 75.2%
        );
}

/* Fine vector lines and dotted pattern */
.premium-navbar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 3%;
    width: 190px;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: .48;
    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .55) 1.5px,
            transparent 1.7px
        ),
        linear-gradient(
            135deg,
            transparent 47%,
            rgba(255, 255, 255, .28) 47.4%,
            transparent 48%
        );
    background-size: 16px 16px, 100% 100%;
    mask-image: linear-gradient(to right, transparent, #000 30%, #000);
}

/* Navbar content stays above decorative layers */
.premium-navbar > .container-fluid {
    position: relative;
    z-index: 1;
    min-height: 72px;
}

/* Brand */
.premium-brand {
    color: #fff !important;
}

.premium-brand:hover {
    color: #fff !important;
}

.brand-logo {
    background:
        linear-gradient(145deg, #ffffff 0%, #eaf1ff 100%) !important;
    color: #1455c0 !important;
    box-shadow:
        0 5px 16px rgba(0, 0, 0, .18),
        0 0 0 1px rgba(255, 255, 255, .28);
}

.brand-text {
    color: #fff !important;
}

.brand-text small {
    color: rgba(255, 255, 255, .72) !important;
}

/* Navigation links */
.premium-nav .nav-link {
    color: rgba(255, 255, 255, .86) !important;
    border-radius: 10px;
    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.premium-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .12);
    transform: translateY(-1px);
}

.premium-nav .nav-link.active {
    color: #fff !important;
    font-weight: 500;
    background: rgba(255, 255, 255, .16);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, .08),
        inset 0 0 0 1px rgba(255, 255, 255, .10);
}

.premium-nav .nav-link.active::after {
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 3px;
    background: #ff263d;
    box-shadow: 0 0 10px rgba(255, 38, 61, .65);
}

/* User area */
.user-button {
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: 5px 10px 5px 6px;
}

.user-button:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .16);
}

.user-avatar {
    background:
        linear-gradient(145deg, #101522, #26334f) !important;
    color: #fff !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .16);
}

.user-details strong {
    color: #fff !important;
}

.user-details small {
    color: rgba(255, 255, 255, .70) !important;
}

.user-button::after {
    color: rgba(255, 255, 255, .85) !important;
}

/* Mobile menu button */
.navbar-toggler {
    color: #fff !important;
    background: rgba(255, 255, 255, .10);
    border-radius: 8px;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, .18);
}

/* Mobile navigation */
@media (max-width: 1199.98px) {
    .premium-nav .nav-link.active {
        background: rgba(255, 255, 255, .16);
    }
}

@media (max-width: 767.98px) {
    .premium-navbar,
    .premium-navbar > .container-fluid {
        min-height: 64px;
    }

    .premium-navbar::after {
        right: -55px;
        opacity: .30;
    }
}


/* =========================================================
   PREMIUM VECTOR BACKGROUND
   Save the generated image as:
   /assets/images/system-bg.png
   ========================================================= */

body {
    min-height: 100vh;
    margin: 0;
    background-color: #f7f8fa;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.78),
            rgba(255, 255, 255, 0.78)
        ),
        url('/assets/images/system-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Keep the Vector background visible behind page content */
.main-content {
    min-height: calc(100vh - 122px);
    background: transparent;
}

/* Slightly translucent cards for a premium glass effect */
.app-card,
.dashboard-card,
.detail-card,
.dashboard-stat,
.booking-hero {
    background: rgba(255, 255, 255, 0.94);
}

/* Responsive adjustment */
@media (max-width: 767.98px) {
    body {
        background-attachment: scroll;
        background-position: center top;
    }
}
/* ===============================
   Navbar Dropdown Fix
   =============================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;

    overflow: visible !important;
}

.navbar .dropdown {
    position: relative;
    z-index: 10000;
}

.navbar .dropdown-menu {
    z-index: 99999 !important;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;

    overflow: visible !important;
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    overflow: visible !important;
}

.navbar .dropdown-menu {
    z-index: 99999 !important;
}