:root {
    /* New Light Palette */
    --bg-main: #d2d5d8d2;        
    --bg-sidebar: #0F172A;     
    --bg-card: #FFFFFF;        
    --text-main: #0F172A;      
    --text-muted: #64748B;     
    --accent-blue: #06B6D4;    
    --border-color: #E2E8F0;   
    
    /* Status Colors */
    --color-open: #2563EB;
    --color-confirmed: #16A34A;
    --color-quoted: #D97706;
    --color-cancelled: #DC2626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* LOGIN VIEW STYLES */
.login-view {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    min-height: 100svh;
    padding: 28px 18px;
    overflow-y: auto;
    background:
        radial-gradient(ellipse at 50% 38%, rgba(8, 145, 178, 0.14), transparent 48%),
        radial-gradient(ellipse at 12% 100%, rgba(14, 116, 144, 0.12), transparent 40%),
        linear-gradient(145deg, #080d14 0%, #101722 52%, #080d14 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.login-box {
    background: linear-gradient(160deg, rgba(24, 29, 37, 0.98), rgba(16, 21, 29, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    padding: 36px 38px 26px;
    width: 100%;
    max-width: 430px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
    color: #f8fafc;
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.login-brand img {
    display: block;
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.login-brand span {
    color: #a5f3fc;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-align: center;
}

.login-heading h1 {
    color: #f8fafc;
    font-size: 1.55rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.025em;
}

.login-heading p {
    color: #9ca8b8;
    text-align: center;
    margin: 8px 0 28px;
    font-size: 0.9rem;
    font-weight: 500;
}

.login-box .form-group {
    margin-bottom: 18px;
}

.login-box .form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #dce3ec;
    font-size: 0.82rem;
}

.login-password-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.login-password-label-row label {
    margin-bottom: 7px;
}

.login-forgot-link {
    padding: 0;
    border: 0;
    background: transparent;
    margin-bottom: 7px;
    color: #f0b429;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.18s ease;
}

.login-forgot-link:hover {
    color: #fcd34d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-forgot-link:focus-visible {
    outline: 2px solid #fcd34d;
    outline-offset: 3px;
    border-radius: 2px;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    background: rgba(7, 11, 17, 0.48);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.login-input-wrap:focus-within {
    border-color: #22d3ee;
    background: rgba(7, 11, 17, 0.7);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.13);
}

.login-input-wrap:has(input[aria-invalid="true"]) {
    border-color: #f87171;
}

.login-input-wrap > i {
    width: 46px;
    flex: 0 0 46px;
    color: #748196;
    text-align: center;
}

.login-box .login-input-wrap input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 13px 11px 0;
    border: 0;
    border-radius: inherit;
    outline: none;
    background: transparent;
    color: #f8fafc;
    font-size: 0.92rem;
}

.login-box .login-input-wrap input::placeholder {
    color: #667386;
    opacity: 1;
}

.login-box .login-input-wrap input:autofill,
.login-box .login-input-wrap input:-webkit-autofill,
.login-box .login-input-wrap input:-webkit-autofill:hover,
.login-box .login-input-wrap input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f8fafc;
    caret-color: #f8fafc;
    -webkit-box-shadow: 0 0 0 1000px #10151d inset;
    box-shadow: 0 0 0 1000px #10151d inset;
}

.login-remember-row {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: -3px 0 16px;
    color: #aeb9c8;
    font-size: 0.82rem;
    cursor: pointer;
}

.login-remember-row input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #22d3ee;
    cursor: pointer;
}

.login-remember-row:focus-within {
    color: #e2e8f0;
}

.login-box #recoveryCode {
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.3em;
}

.login-password-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8793a4;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
}

.login-password-toggle:hover,
.login-password-toggle:focus-visible {
    background: rgba(148, 163, 184, 0.1);
    color: #67e8f9;
}

.login-password-toggle:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: -3px;
}

.login-box .error-message {
    color: #fecaca;
    font-size: 0.83rem;
    margin: 0 0 16px;
    padding: 11px 12px;
    background: rgba(127, 29, 29, 0.28);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-left: 3px solid #f87171;
    border-radius: 8px;
    font-weight: 500;
}

.login-panel[hidden],
.login-panel [hidden] {
    display: none;
}

.login-form-message {
    margin: 0 0 16px;
    padding: 11px 12px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-left: 3px solid #22d3ee;
    border-radius: 8px;
    background: rgba(8, 145, 178, 0.12);
    color: #cffafe;
    font-size: 0.83rem;
    line-height: 1.5;
}

.login-form-message.is-error {
    border-color: rgba(248, 113, 113, 0.3);
    border-left-color: #f87171;
    background: rgba(127, 29, 29, 0.28);
    color: #fecaca;
}

.login-form-message.is-success {
    border-color: rgba(74, 222, 128, 0.28);
    border-left-color: #4ade80;
    background: rgba(21, 128, 61, 0.17);
    color: #bbf7d0;
}

.login-panel .login-heading strong {
    color: #e2e8f0;
    overflow-wrap: anywhere;
}

.login-field-hint {
    display: block;
    margin: 7px 0 0 2px;
    color: #8793a4;
    font-size: 0.75rem;
}

.login-code-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -7px 0 15px;
}

.login-code-meta .login-field-hint {
    margin: 0;
}

.login-code-meta .login-resend-button {
    width: auto;
    flex: 0 0 auto;
    margin: 0;
    padding: 4px 0;
}

.login-resend-button {
    display: block;
    width: 100%;
    margin: 2px 0 4px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #f0b429;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.login-resend-button:hover,
.login-resend-button:focus-visible {
    color: #fcd34d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-resend-button:disabled {
    color: #8793a4;
    cursor: wait;
    text-decoration: none;
}

.login-resend-button:focus-visible {
    outline: 2px solid #fcd34d;
    outline-offset: 2px;
    border-radius: 2px;
}

.login-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 9px;
    background: transparent;
    color: #aeb9c8;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.login-back-button:hover,
.login-back-button:focus-visible {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.06);
    color: #67e8f9;
}

.login-back-button:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}

.login-box .login-submit {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 3px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #06202a;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.login-box .login-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.07);
    box-shadow: 0 8px 22px rgba(6, 182, 212, 0.22);
}

.login-box .login-submit:active:not(:disabled) {
    transform: translateY(0);
}

.login-box .login-submit:focus-visible {
    outline: 3px solid rgba(103, 232, 249, 0.75);
    outline-offset: 3px;
}

.login-box .login-submit:disabled {
    cursor: wait;
    opacity: 0.75;
}

.login-security-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: #778396;
    font-size: 0.75rem;
}

.login-security-note i {
    color: #22b8cf;
}

@media (max-width: 479px) {
    .login-view {
        padding: 18px 14px;
    }

    .login-box {
        padding: 28px 22px 21px;
        border-radius: 15px;
    }

    .login-brand {
        margin-bottom: 18px;
    }

    .login-brand img {
        width: 72px;
        height: 72px;
    }

    .login-heading h1 {
        font-size: 1.4rem;
    }

    .login-heading p {
        margin-bottom: 24px;
    }
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR LAYOUT STYLES */
.sidebar {
    width: 240px;
    background-color: var(--bg-sidebar);
    background-image: linear-gradient(180deg, #111c30 0%, #0b1220 100%);
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    padding: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
    flex-shrink: 0;
}

/* COLLAPSED SIDEBAR STATE */
.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed .sidebar-logo {
    max-width: 50px;
}

.sidebar.collapsed .nav-text {
    display: none;
}

.sidebar.collapsed .nav-item-chevron {
    display: none;
}

.sidebar.collapsed .nav-submenu {
    display: none !important;
}

.sidebar.collapsed .brand {
    padding: 15px 0;
}

/* BRAND / LOGO BOX - IMMUNE SA OVERFLOW CLIP */
.brand {
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 15px 20px;
    background: transparent;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    margin-bottom: 12px;
    height: 90px;            
    position: relative; /* Iniwan natin ito pero aayusin ang button position */
    flex-shrink: 0;
}

.sidebar-logo {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.2s;
    display: block;          
}

/* FIX: BOOKMARK TOGGLE BUTTON (Naka-angkla sa labas ng overflow limit) */
.toggle-sidebar-btn {
    position: fixed;         /* Binago mula absolute patungong fixed para hindi siya ma-clip ng overflow-hidden ng sidebar */
    left: 227px;             /* 240px (Sidebar width) minus 13px (Kalahati ng button) */
    top: 47px;               /* Isinentro sa tapat ng gitna ng 90px brand header niyo */
    background: #ffffff;     
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;      
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08); /* Medyo mas makapal na shadow para lutang na lutang */
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, background 0.2s;
    z-index: 9999;           /* Tinitiyak na laging nasa pinaka-ibabaw ng main content */
}

.toggle-sidebar-btn:hover {
    background: #f8fafc;
    color: var(--text-main);
    border-color: #cbd5e1;
}

/* PAG-AYOS KAPAG COLLAPSED (Kapag maliit ang sidebar, uusog din ang button pakaliwa) */
.sidebar.collapsed ~ .main-content .toggle-sidebar-btn, 
.sidebar.collapsed + .toggle-sidebar-btn,
.sidebar.collapsed .toggle-sidebar-btn {
    left: 57px;              /* 70px (Collapsed width) minus 13px */
    transform: rotate(180deg);
}
/* PAG-AYOS KAPAG COLLAPSED/PINALIIT ANG SIDEBAR */
.sidebar.collapsed .brand .toggle-sidebar-btn {
    right: -13px;            /* Mananatili pa ring nakalutang sa border kahit maliit ang sidebar */
    transform: translateY(-50%) rotate(180deg); /* Iikot lang ang arrow pabalik */
}
.nav-menu {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

.nav-item {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-height: 44px;
    padding: 10px 14px;
    color: #a8b4c7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 13px;
    transition: color 0.18s ease, background-color 0.18s ease;
    white-space: nowrap;
    margin: 3px 10px;
    border-radius: 9px;
}

.nav-item[hidden] {
    display: none !important;
}

.nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--accent-blue);
    opacity: 0;
    transform: scaleY(0.6);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1;
    color: #91a0b5;
    transition: color 0.18s ease, transform 0.18s ease;
}

.nav-item--dropdown {
    position: relative;
}

.nav-item-chevron {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: auto;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-item--dropdown:hover .nav-item-chevron,
.nav-item--dropdown.active .nav-item-chevron {
    color: #06B6D4;
}

.nav-item-chevron.is-open {
    transform: rotate(180deg);
}

.nav-submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
    display: flex;
    flex-direction: column;
    margin: 2px 10px 6px;
    padding: 4px 0 4px 17px;
    border-left: 1px solid rgba(148, 163, 184, 0.22);
}

.nav-submenu.is-open {
    max-height: 320px;
    opacity: 1;
}

.nav-submenu.hidden {
    display: none !important;
}

.nav-submenu-item {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    color: #a8b4c7;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 7px;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-submenu-item:hover,
.nav-submenu-item.active {
    background-color: rgba(6, 182, 212, 0.1);
    color: #06B6D4;
}

.nav-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.nav-item:hover {
    color: #e6faff;
    background-color: rgba(148, 163, 184, 0.1);
}

.nav-item:hover i,
.nav-item.active i {
    color: #67e8f9;
}

.nav-item.active {
    color: #e6faff;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.08));
}

.nav-item.active::before {
    opacity: 1;
    transform: scaleY(1);
}

.nav-item:focus-visible,
.nav-submenu-item:focus-visible {
    outline: 2px solid #67e8f9;
    outline-offset: 2px;
}

/* CLEAN SIDEBAR FOOTER WITH DROPDOWN */
.sidebar-footer {
    margin-top: auto;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-sidebar);
    flex-shrink: 0;
    position: relative;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.user-profile:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-color: rgba(6, 182, 212, 0.4);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #06B6D4 0%, #0891b2 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.user-role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.user-menu-icon {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.user-profile:hover .user-menu-icon {
    color: #06B6D4;
}

.user-profile[aria-expanded="true"] .user-menu-icon {
    color: #67e8f9;
    transform: rotate(180deg);
}

/* ACCOUNT DROPDOWN MENU */
.account-dropdown {
    display: none;
    position: absolute;
    bottom: 70px;
    left: 12px;
    right: 12px;
    background: #1e293b;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideUp 0.2s ease;
}

.account-dropdown.active {
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item i {
    width: 18px;
    text-align: center;
}

.dropdown-item:hover {
    background-color: rgba(6, 182, 212, 0.15);
    color: #06B6D4;
    padding-left: 16px;
}

.dropdown-item.logout-item:hover {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* COLLAPSED SIDEBAR ADJUSTMENTS */
.sidebar.collapsed .nav-item {
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin: 3px 10px;
}

.sidebar.collapsed .nav-item.active {
    padding-left: 0;
}

.sidebar.collapsed .nav-item::before {
    top: 10px;
    bottom: 10px;
}

.sidebar.collapsed .user-profile {
    justify-content: center;
    border-radius: 8px;
    width: 45px;
    margin: 0 auto;
}

.sidebar.collapsed .toggle-sidebar-btn {
    transform: rotate(180deg);
}

.sidebar.collapsed .sidebar-footer {
    padding: 10px 0;
}

.sidebar.collapsed .sidebar-footer > div:first-child {
    width: 46px;
    min-height: 46px;
    justify-content: center;
    gap: 0;
    padding: 3px;
}

.sidebar.collapsed .user-info,
.sidebar.collapsed .user-profile .user-menu-icon {
    display: none;
}

.sidebar.collapsed .user-profile {
    width: 46px;
    min-height: 46px;
    padding: 3px;
    border-radius: 10px;
}

.sidebar.collapsed .user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.sidebar.collapsed .account-dropdown {
    display: none;
}

/* MOBILE HEADER - Hidden on desktop, shown only on mobile */
.top-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
}

.user-profile-mobile {
    display: none;
}

/* MAIN CONTENT STYLES */
.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.avatar {
    width: 36px;
    height: 36px;
    background-color: #e0f2fe;
    color: #0369a1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* PILLS / BADGES - DITO BINALEK ANG HORIZONTAL FLOW MO */
.status-pills-container {
    display: flex;
    flex-wrap: wrap; /* Pinapayagang mag-wrap kapag umabot sa gilid ng screen */
    gap: 10px;
    margin-bottom: 25px;
    width: 100%;
}

.pill {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px; /* Eksaktong pill shape katulad ng sa screen */
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: inherit;
}

.pill:hover {
    border-color: #cbd5e1;
    color: var(--text-main);
    background-color: #f8fafc;
}

/* Active Pill Highlight Effect gamit ang bagong Light Cyan Scheme */
.pill.active {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.pill:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.35);
    outline-offset: 2px;
}

.count-badge {
    background-color: #f1f5f9;
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pill.active .count-badge {
    background-color: #164e63;
    color: #ffffff;
}

/* FILTERS & TOOLBAR FLAT STYLING */
.filter-toolbar {
    display: flex;
    flex-direction: column; /* Ginawang column para bumaba ang susunod na row */
    gap: 15px;              /* Patayong espasyo sa pagitan ng search bar at filters */
    margin-bottom: 25px;
    width: 100%;
}
.toolbar-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}
.search-box {
    position: relative;
    flex: 1;
    max-width: 100%; /* Binago mula 400px patungong 100% para umunat */
}
.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.search-box input {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 12px 10px 42px;
    border-radius: 6px;
    color: var(--text-main);
    outline: none;
    font-size: 0.9rem;
}
.dropdown-filters {
    display: flex;
    flex-wrap: wrap; /* Para mag-adjust nang kusa sa mobile o maliit na screen */
    gap: 10px;
    width: 100%;     /* Sasakopin ang buong lapad sa ibaba */
}
.dropdown-filters select, .btn-more {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
    font-size: 0.85rem;
    font-weight: 500;
}
.dropdown-filters select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}
.filter-popover {
    position: relative;
    display: inline-flex;
    flex: 0 1 auto;
    z-index: 4;
}
.filter-popover .filter-popover-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.filter-popover-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 30px 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-card);
    color: var(--text-main);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}
.filter-popover-trigger::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}
.filter-popover.is-open .filter-popover-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}
.filter-popover-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: none;
    width: max-content;
    min-width: 180px;
    max-width: calc(100vw - 24px);
    max-height: min(280px, 55vh);
    overflow-y: auto;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    z-index: 30;
}
.filter-popover.is-open .filter-popover-menu {
    display: flex;
    flex-direction: column;
}
.filter-popover-option {
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--text-main);
    font: inherit;
    font-size: 0.85rem;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}
.filter-popover-option:hover,
.filter-popover-option:focus-visible,
.filter-popover-option[aria-selected="true"] {
    outline: none;
    background: #f1f5f9;
    color: var(--accent-blue);
}
.dropdown-filters .btn-more {
    position: relative;
    padding-right: 30px;
}
.dropdown-filters .btn-more i {
    display: none;
}
.dropdown-filters .btn-more::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}
.dropdown-filters .btn-more[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}
.more-filters-dropdown {
    position: relative;
    display: inline-flex;
    z-index: 5;
}
.advanced-filter-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 320px;
    max-width: min(320px, calc(100vw - 24px));
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    z-index: 20;
}
.advanced-filter-panel[hidden] {
    display: none;
}
.advanced-date-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.advanced-date-filter label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}
.advanced-date-filter input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    color: var(--text-main);
    font: inherit;
}
.booking-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 28px;
    margin: -8px 0 12px;
}
.booking-results-bar p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}
.clear-filters-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.clear-filters-btn:hover {
    border-color: #0891b2;
    color: #0e7490;
    background: #ecfeff;
}
.clear-filters-btn:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.3);
    outline-offset: 2px;
}
.clear-filters-btn[hidden] {
    display: none;
}
.btn-primary {
    background-color: var(--text-main);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.btn-primary:hover {
    background-color: #1e293b;
}

/* TABLES WITH HIGH CONTRAST */
.table-container {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-card);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}
.data-table th {
    color: var(--text-muted);
    background-color: #f8fafc;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}
.data-table td {
    padding: 16px 18px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}
.data-table tbody tr:hover {
    background-color: #f8fafc;
}
.booking-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 34px 18px;
    text-align: center;
}
.booking-empty-state strong {
    color: var(--text-main);
    font-size: 0.95rem;
}
.booking-empty-state span {
    max-width: 520px;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* STATUS BADGES */
.status-badge {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}
.badge-open { background-color: #eff6ff; color: var(--color-open); }
.badge-confirmed { background-color: #f0fdf4; color: var(--color-confirmed); }
.badge-quoted { background-color: #fff9db; color: var(--color-quoted); }
.badge-cancelled { background-color: #fef2f2; color: var(--color-cancelled); }

/* ACTIONS */
.btn-action {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 5px;
    margin-right: 5px;
}
.btn-action:hover { color: var(--text-main); }
.btn-delete:hover { color: var(--color-cancelled); }

/* MODALS */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex; justify-content: center; align-items: center;
}
.modal-content {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 28px;
    border-radius: 12px;
    width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.modal-header h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-main); }
.close-btn { font-size: 1.4rem; cursor: pointer; color: var(--text-muted); }

/* NEW BOOKING DROPDOWN CONTAINER */
.new-booking-dropdown {
    position: relative;
    display: inline-block;
}

.new-booking-dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    z-index: 1000;
    overflow: hidden;
}

.new-booking-dropdown .dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
}

.new-booking-dropdown .dropdown-content a:hover {
    background-color: #f1f5f9;
    color: var(--accent-blue);
}

/* Show the menu when it has the 'show' class */
.new-booking-dropdown .dropdown-content.show {
    display: block;
}

/* ===================== MOBILE RESPONSIVE STYLES ===================== */

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
    .sidebar {
        width: 70px;
    }
    
    .sidebar.collapsed {
        width: 70px;
    }
    
    .sidebar .nav-text {
        display: none;
    }
    
    .toggle-sidebar-btn {
        display: none;
    }
    
    .main-container {
        flex: 1;
        margin-left: 0;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .table-container {
        overflow-x: auto;
    }
}

/* Mobile: 640px - 767px */
@media (max-width: 767px) {
    .dashboard-container {
        flex-direction: column;
        overflow-x: hidden;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 70px;
        height: calc(100vh - 70px);
        width: 240px;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        background: var(--bg-sidebar);
        background-image: linear-gradient(180deg, #111c30 0%, #0b1220 100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar.collapsed {
        width: 240px;
        transform: translateX(-100%);
    }

    .sidebar.collapsed.active {
        transform: translateX(0);
    }

    .sidebar .nav-text {
        display: inline;
    }

    .sidebar.collapsed .nav-text {
        display: inline;
    }

    .sidebar .nav-item {
        justify-content: flex-start;
        padding: 10px 14px;
    }

    .sidebar.collapsed .nav-item {
        justify-content: flex-start;
        padding: 10px 14px;
    }
    
    .sidebar.active .nav-item.active {
        padding-left: 14px;
    }

    .sidebar.collapsed.active .nav-item.active {
        padding-left: 14px;
    }
    
    .dashboard-container {
        min-height: 100vh;
    }
    
    .main-container {
        width: 100%;
        margin-left: 0;
    }

    .main-content {
        width: 100%;
        padding: 86px 16px 16px;
    }
    
    .top-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: var(--bg-sidebar);
        color: white;
        min-height: 70px;
    }

    .toggle-sidebar-btn {
        display: flex;
        position: static;
        left: auto;
        top: auto;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        box-shadow: none;
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        font-size: 1.2rem;
        padding: 0;
    }

    #toggleBtn {
        display: none;
    }
    
    .sidebar .brand {
        display: flex;
        justify-content: center;
        padding: 12px 20px;
    }

    .sidebar .brand .sidebar-logo {
        display: block;
        width: min(150px, 70%);
        max-width: 150px;
        max-height: 68px;
        object-fit: contain;
    }
    
    .user-profile {
        display: none;
    }

    .user-profile-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        margin-left: auto;
        flex-shrink: 0;
    }

    .user-profile-mobile .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--accent-blue);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 0.85rem;
    }

    .user-profile-mobile .user-menu-icon {
        color: white;
        font-size: 0.8rem;
    }

    .user-info {
        display: none;
    }
    
    .account-dropdown {
        position: fixed;
        top: 70px;
        right: 0;
        left: auto;
        bottom: auto;
        background: white;
        border-radius: 0 0 0 8px;
        min-width: 200px;
        box-shadow: -2px 4px 12px rgba(0,0,0,0.15);
        transform: scaleY(0);
        transform-origin: top right;
        transition: transform 0.2s ease;
        z-index: 200;
    }
    
    .account-dropdown.active {
        transform: scaleY(1);
    }
    
    .account-dropdown a {
        display: block;
        padding: 12px 16px;
        color: var(--text-main);
        text-decoration: none;
        border-bottom: 1px solid var(--border-color);
        font-size: 0.9rem;
    }
    
    .account-dropdown a:hover {
        background: #f8fafc;
        color: var(--accent-blue);
    }
    
    .main-header {
        margin-bottom: 16px;
    }

    .page-title {
        font-size: 1.5rem;
    }
    
    .status-pills-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        gap: 10px;
        margin-bottom: 16px;
        padding: 0 0 6px;
        scrollbar-width: thin;
    }
    
    .pill {
        flex: 0 0 auto;
        white-space: nowrap;
        min-height: 42px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .count-badge {
        padding: 3px 8px;
        font-size: 0.75rem;
    }
    
    .filter-toolbar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .toolbar-top-row,
    .dropdown-filters {
        display: contents;
    }
    
    .search-box {
        width: 100%;
        flex: 0 0 100%;
        order: 0;
    }
    
    #serviceFilterPopover {
        order: 1;
    }

    #rentalTypeFilterPopover {
        order: 2;
    }

    #areaFilterPopover {
        order: 3;
    }

    .dropdown-filters .more-filters-dropdown {
        order: 4;
    }

    .advanced-filter-panel {
        width: min(320px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        gap: 8px;
        padding: 10px;
    }

    .toolbar-top-row .new-booking-dropdown {
        width: auto;
        flex: 0 1 auto;
        order: 5;
    }

    .toolbar-top-row .new-booking-dropdown .btn-primary {
        width: auto;
        padding: 9px 10px;
        font-size: 0.8rem;
    }
    
    .dropdown-filters select,
    .dropdown-filters .btn-more {
        width: auto;
        max-width: 100%;
        flex: 0 1 auto;
        padding: 9px 10px;
        font-size: 0.8rem;
    }

    .filter-popover-trigger {
        min-height: 36px;
        padding: 9px 28px 9px 10px;
        font-size: 0.8rem;
    }

    .filter-popover.is-open {
        z-index: 31;
    }

    .dropdown-filters select {
        padding-right: 28px;
    }

    .dropdown-filters .btn-more {
        padding-right: 28px;
    }

    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 12px;
    }
    
    .data-table td {
        word-break: break-word;
    }
    
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table {
        min-width: 600px;
    }
    
    .modal-content {
        width: 90%;
        max-width: 100%;
        padding: 20px;
    }
    
    .modal-content h3 {
        font-size: 1.1rem;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .modal-actions button {
        width: 100%;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .card {
        padding: 16px;
    }
    
    .card h3 {
        font-size: 1rem;
    }

    .sidebar-footer {
        display: none;
    }
}

/* Small Mobile: 480px - 639px */
@media (max-width: 639px) {
    .top-header {
        padding: 10px 12px;
        min-height: 60px;
    }

    .sidebar {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .main-content {
        padding: 76px 12px 12px;
    }

    .account-dropdown {
        top: 60px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .pill {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .count-badge {
        font-size: 0.7rem;
        padding: 2px 7px;
    }
    
    .data-table {
        font-size: 0.75rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 10px;
    }
    
    .btn-primary,
    .btn-more,
    .dropdown-filters select {
        font-size: 0.75rem;
        padding: 8px 10px;
    }

    .dropdown-filters select {
        padding-right: 28px;
    }
    
    .modal-content {
        width: 95%;
        padding: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 16px;
    }
    
}

/* Extra Small Mobile: < 480px */
@media (max-width: 479px) {
    .top-header {
        padding: 8px 10px;
        min-height: 55px;
    }

    .sidebar {
        top: 55px;
        height: calc(100vh - 55px);
    }

    .main-content {
        padding: 65px 10px 10px;
    }

    .account-dropdown {
        top: 55px;
    }
    
    .user-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .page-title {
        font-size: 1.1rem;
    }

    .advanced-filter-panel {
        width: min(320px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
    }
    
    .status-pills-container {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .pill {
        padding: 7px 11px;
        font-size: 0.78rem;
    }
    
    .count-badge {
        font-size: 0.68rem;
        padding: 2px 7px;
    }
    
    .data-table {
        font-size: 0.7rem;
        min-width: 500px;
    }
    
    .data-table th,
    .data-table td {
        padding: 6px 8px;
    }
    
    .modal-content {
        width: 98%;
        padding: 12px;
    }
    
    .form-group label {
        font-size: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 6px 8px;
        font-size: 16px;
    }
    
}

/* ========================================================
   MOBILE PORTRAIT VIEW - COMPACT CARD-BASED BOOKINGS (max-width: 600px)
   ======================================================== */
.booking-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.booking-details-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.booking-save-btn,
.booking-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s, border-color 0.2s;
}

.booking-save-btn {
    color: #ffffff;
    background: #10b981;
    border: 1px solid #10b981;
}

.booking-save-btn:hover {
    background: #059669;
    border-color: #059669;
}

.booking-back-btn {
    color: #ffffff;
    background: #0284c7;
    border: 1px solid #0284c7;
}

.booking-back-btn:hover {
    background: #0369a1;
    border-color: #0369a1;
}

.booking-quote-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.booking-quote-actions[hidden],
.booking-quote-btn[hidden] {
    display: none;
}

.booking-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    color: #ffffff;
    background: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s, border-color 0.2s;
}

.booking-quote-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

@media (max-width: 600px) {
    .table-container {
        overflow-x: visible;
    }
    
    .data-table {
        min-width: 100%;
        border-collapse: collapse;
        display: block;
    }
    
    .data-table thead {
        display: none;
    }
    
    .data-table tbody {
        display: block;
        width: 100%;
    }
    
    .data-table tbody tr {
        display: flex;
        flex-direction: column;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        margin-bottom: 14px;
        padding: 0;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    }
    
    .data-table tbody tr:hover {
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .data-table tbody tr td {
        display: grid;
        grid-template-columns: minmax(90px, 38%) minmax(0, 1fr);
        gap: 10px;
        text-align: left;
        align-items: center;
        padding: 10px 12px;
        border: none;
        border-bottom: 1px solid var(--border-color);
        word-break: break-word;
        font-size: 0.9rem;
    }
    
    .data-table tbody tr td:last-child {
        display: flex;
        justify-content: flex-start;
        gap: 10px;
        border-bottom: none;
        padding-top: 12px;
        background: #f8fafc;
    }

    .data-table tbody tr td:last-child::before {
        margin-right: auto;
        text-align: left;
    }

    .data-table tbody tr td:last-child .btn-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        background: #ffffff;
        cursor: pointer;
    }

    .data-table tbody tr td:last-child .btn-view {
        color: #0e7490;
        border-color: #a5f3fc;
        background: #ecfeff;
    }

    .data-table tbody tr td:last-child .btn-delete {
        color: var(--color-cancelled);
    }

    .data-table tbody tr td:nth-child(2) {
        font-size: 1rem;
        font-weight: 600;
    }

    .data-table tbody tr td:nth-child(6) .status-badge {
        justify-self: start;
        text-align: left;
    }
    
    .data-table tbody tr td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: left;
        grid-column: 1;
    }
    
}
/* ========================================================
   RATES MANAGEMENT STYLES
   ======================================================== */

.rates-tab {
    background: none;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.rates-tab.active {
    color: #178ca4;
    border-bottom-color: #178ca4;
}

.rates-tab:hover {
    color: #178ca4;
}

#ratesTabControls {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

#ratesTabControls .rates-tab {
    flex: 0 0 auto;
    white-space: nowrap;
}

.rates-pane-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
}

.rates-context-note {
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
}

.rates-count-badge {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: #0e7490;
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.rates-add-route-form {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(150px, 1.15fr) repeat(3, minmax(105px, 0.75fr)) auto;
    gap: 12px;
    align-items: end;
    margin: 0 0 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.rates-add-route-form > div,
.rates-filter-row > div {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rates-add-route-form label,
.rates-filter-row label {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rates-add-route-form .rates-input,
.rates-filter-row .rates-input {
    width: 100% !important;
    min-width: 0;
    min-height: 40px;
    box-sizing: border-box;
}

.rates-add-route-action button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
}

.rates-filter-row {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 14px;
}

.rates-filter-row > div {
    width: min(100%, 300px);
}

#airportRatesTable .rates-table,
#inboundOutboundRatesTable .rates-table,
#withDriverRatesTable .rates-table,
#selfDriveRatesTable .rates-table {
    min-width: 760px;
}

#airportRatesTable .rates-input,
#inboundOutboundRatesTable .rates-input,
#withDriverRatesTable .rates-input,
#selfDriveRatesTable .rates-input {
    width: 100%;
    min-width: 74px;
    min-height: 38px;
    box-sizing: border-box;
}

#airportRatesTable .rates-table td:last-child,
#inboundOutboundRatesTable .rates-table td:last-child {
    white-space: nowrap;
}

#airportRatesTable .rates-row-actions {
    flex-wrap: nowrap;
    gap: 6px;
}

#airportRatesTable .rates-drag-handle {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: grab;
}

#feesRatesTable .fees-drag-handle {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
}

#airportRatesTable .rates-drag-handle,
#feesRatesTable .fees-drag-handle {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#airportRatesTable .rates-drag-handle:hover,
#feesRatesTable .fees-drag-handle:hover,
#airportRatesTable .rates-drag-handle.is-active,
#feesRatesTable .fees-drag-handle.is-active {
    color: #0e7490;
    background: #ecfeff;
    border-color: #67e8f9;
}

#airportRatesTable .rates-drag-handle:active,
#feesRatesTable .fees-drag-handle:active,
body.is-airport-route-dragging #airportRatesTable .rates-drag-handle {
    cursor: grabbing;
}

#airportRatesTable .rates-drag-handle:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.35);
    outline-offset: 2px;
}

#feesRatesTable .fees-drag-handle:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.35);
    outline-offset: 2px;
}

#airportRatesTable tr.is-dragging {
    opacity: 0.42;
}

#feesRatesTable tr.is-dragging {
    opacity: 0.42;
}

#airportRatesTable tr.is-drop-before td {
    border-top: 2px solid #0891b2 !important;
}

#airportRatesTable tr.is-drop-after td {
    border-bottom: 2px solid #0891b2 !important;
}

#feesRatesTable tr.is-drop-before td {
    border-top: 2px solid #0891b2 !important;
}

#feesRatesTable tr.is-drop-after td {
    border-bottom: 2px solid #0891b2 !important;
}

body.is-airport-route-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

body.is-fee-row-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

#withDriverRatesTable .rates-table td:first-child strong,
#selfDriveRatesTable .rates-table td:first-child strong {
    color: #0f172a;
}

#airportRatesTable,
#inboundOutboundRatesTable,
#withDriverRatesTable,
#selfDriveRatesTable,
#selfDriveDeliveryRatesTable,
#selfDriveReturnRatesTable,
#feesRatesTable,
#addOnsRatesTable {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.fees-toolbar {
    display: grid;
    grid-template-columns: minmax(180px, 0.75fr) minmax(260px, 1.25fr);
    gap: 14px 20px;
    align-items: end;
    margin: 22px 0 18px;
}

.fees-toolbar > div {
    display: grid;
    gap: 7px;
}

.fees-toolbar label {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.fees-add-form {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) auto;
    align-items: end;
    gap: 12px 16px !important;
    padding: 18px 20px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.fees-add-heading {
    grid-column: 1 / -1;
    display: grid;
    gap: 3px;
}

.fees-add-heading strong {
    color: #0f172a;
    font-size: 0.95rem;
}

.fees-add-heading span {
    color: #64748b;
    font-size: 0.82rem;
}

.fees-add-form > div:not(.fees-add-heading) {
    display: grid;
    gap: 7px;
}

.fees-add-form .rates-input,
.fees-toolbar .rates-input {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
}

.fees-add-form .fees-add-button {
    min-height: 42px;
    padding: 0 18px;
    white-space: nowrap;
    border-radius: 7px;
}

.fees-search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.fees-search-input > i {
    position: absolute;
    left: 13px;
    color: #94a3b8;
    pointer-events: none;
}

.fees-search-input input {
    padding-left: 38px;
    padding-right: 58px;
}

.fees-clear-btn {
    position: absolute;
    right: 8px;
    padding: 5px 7px;
    color: #0e7490;
    background: transparent;
    border: 0;
    border-radius: 5px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.fees-clear-btn:hover {
    background: #ecfeff;
}

.fees-clear-btn[hidden] {
    display: none;
}

.fees-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fees-summary-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.fees-summary-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #0369a1;
    background: #e0f2fe;
    border-radius: 10px;
}

.fees-summary-icon.is-delivery {
    color: #0f766e;
    background: #ccfbf1;
}

.fees-summary-icon.is-return {
    color: #7c3aed;
    background: #ede9fe;
}

.fees-summary-label {
    align-self: end;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
}

.fees-summary-card strong {
    align-self: start;
    color: #0f172a;
    font-size: 1.2rem;
    line-height: 1.2;
}

.fees-list-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 22px 0 10px;
}

.fees-list-heading h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
}

.fees-list-heading p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.82rem;
}

.fees-table {
    min-width: 0;
    table-layout: fixed;
    border-radius: 10px;
}

.fees-table th:first-child,
.fees-table td:first-child {
    width: 48%;
}

.fees-table th:nth-child(2),
.fees-table td:nth-child(2) {
    width: 19%;
}

.fees-table th:nth-child(3),
.fees-table td:nth-child(3) {
    width: 21%;
}

.fees-table th:last-child,
.fees-table td:last-child {
    width: 12%;
    text-align: center;
}

.fees-table tbody tr {
    height: 64px;
}

.fees-table td:last-child {
    text-align: center;
}

.fees-row-actions {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.fees-table .rates-input {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    border-color: #dbe4ee;
    background: #fff;
}

.fees-table .rates-input:focus {
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

.fees-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    color: #0f766e;
    background: #ccfbf1;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.fees-type-badge.is-return {
    color: #6d28d9;
    background: #ede9fe;
}

.rates-delete-action:focus-visible,
.fees-clear-btn:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.35);
    outline-offset: 2px;
}

.fees-empty-state {
    height: 90px;
    padding: 20px !important;
    text-align: center;
    color: #64748b !important;
}

.addons-description {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 0.88rem;
}

.addons-add-form {
    padding: 18px 20px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.addons-form-heading h3,
.addons-list-heading h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
}

.addons-form-heading p,
.addons-list-heading p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.82rem;
}

.addons-form-fields {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) minmax(160px, 0.8fr) auto;
    gap: 12px 16px;
    align-items: end;
    margin-top: 16px;
}

.addons-form-fields > div {
    display: grid;
    gap: 7px;
}

.addons-form-fields label {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.addons-form-fields .rates-input {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
}

.addons-submit-button {
    min-height: 42px;
    padding: 0 18px;
    white-space: nowrap;
    border-radius: 7px;
}

.addons-list-heading {
    margin: 24px 0 10px;
}

.addons-table {
    min-width: 0;
    table-layout: fixed;
}

.addons-table th:first-child,
.addons-table td:first-child {
    width: 55%;
}

.addons-table th:nth-child(2),
.addons-table td:nth-child(2) {
    width: 25%;
}

.addons-table th:last-child,
.addons-table td:last-child {
    width: 20%;
    text-align: right;
}

.addons-table tbody tr {
    height: 64px;
}

.addons-table .rates-input {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
}

.addons-row-actions {
    display: inline-flex;
    justify-content: flex-end;
    gap: 8px;
}

.addons-action-btn:not(.rates-delete-action) {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #0284c7;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.addons-action-btn:not(.rates-delete-action):hover {
    color: #ffffff;
    background: #0284c7;
    border-color: #0284c7;
}

.addons-action-btn.is-save {
    color: #15803d;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.addons-action-btn.is-save:hover {
    color: #ffffff;
    background: #16a34a;
    border-color: #16a34a;
}

.addons-action-btn.is-cancel {
    color: #dc2626;
    background: #fff1f2;
    border-color: #fecdd3;
}

.addons-action-btn.is-cancel:hover {
    color: #ffffff;
    background: #dc2626;
    border-color: #dc2626;
}

.addons-action-btn:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.35);
    outline-offset: 2px;
}

.addons-empty-state {
    height: 90px;
    padding: 20px !important;
    text-align: center !important;
    color: #64748b !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vehicle-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.vehicle-page-eyebrow {
    margin-bottom: 5px;
    color: #0891b2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vehicle-page-header h2 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.55rem;
}

.vehicle-page-header > div > p:last-child {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.vehicle-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.vehicle-approval-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 17px 19px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.vehicle-summary-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    background: #ecfeff;
    color: #0891b2;
}

.vehicle-summary-icon.is-inactive {
    background: #fff1f2;
    color: #e11d48;
}

.vehicle-summary-icon.is-pending {
    background: #fffbeb;
    color: #d97706;
}

.vehicle-summary-label,
.vehicle-summary-card small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.vehicle-summary-card strong {
    display: block;
    margin: 2px 0;
    color: var(--text-main);
    font-size: 1.45rem;
    line-height: 1.15;
}

.vehicle-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.vehicle-search {
    display: flex;
    flex: 1 1 260px;
    align-items: center;
    gap: 9px;
    min-width: 220px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    color: #94a3b8;
}

.vehicle-search input,
.vehicle-filter select {
    width: 100%;
    height: 42px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text-main);
    font: inherit;
}

.vehicle-filter {
    flex: 0 1 185px;
    min-width: 150px;
    padding: 0 11px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    background: #fff;
}

.vehicle-filter select {
    cursor: pointer;
}

.vehicle-clear-filters {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    background: #f8fafc;
    color: #475569;
    font: inherit;
    cursor: pointer;
}

.vehicle-clear-filters:hover {
    background: #f1f5f9;
}

.vehicle-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 9px;
}

.vehicle-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.vehicle-data-table th {
    padding: 13px 15px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vehicle-data-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    font-size: 0.88rem;
    vertical-align: middle;
}

.vehicle-data-table tbody tr:last-child td {
    border-bottom: 0;
}

.vehicle-data-table td strong,
.vehicle-data-table td small {
    display: block;
}

.vehicle-data-table td strong {
    color: var(--text-main);
    font-size: 0.9rem;
}

.vehicle-data-table td small {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.76rem;
}

.vehicle-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.vehicle-status-badge.is-available {
    background: #dcfce7;
    color: #166534;
}

.vehicle-status-badge.is-rented {
    background: #fef3c7;
    color: #92400e;
}

.vehicle-status-badge.is-maintenance {
    background: #ffe4e6;
    color: #9f1239;
}

.vehicle-status-badge.is-pending {
    background: #fef3c7;
    color: #92400e;
}

.vehicle-row-actions {
    min-width: 130px;
    text-align: right;
    white-space: nowrap;
}

.vehicle-row-actions button {
    min-height: 34px;
    margin-left: 5px;
    padding: 0 9px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    color: #475569;
    cursor: pointer;
}

.vehicle-row-actions button[data-vehicle-action="edit"] {
    color: #0284c7;
}

.vehicle-row-actions button[data-vehicle-action="delete"],
.vehicle-reject-action {
    color: #dc2626 !important;
}

.vehicle-row-actions .vehicle-approve-action {
    color: #15803d;
}

.vehicle-action-placeholder {
    color: #94a3b8;
}

.vehicle-empty-state {
    padding: 32px 16px !important;
    color: var(--text-muted) !important;
    text-align: center;
}

.vehicle-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.83rem;
}

.vehicle-pagination {
    display: flex;
    gap: 5px;
}

.vehicle-pagination button {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    color: #475569;
    cursor: pointer;
}

.vehicle-pagination button.is-current {
    border-color: #0891b2;
    background: #0891b2;
    color: #fff;
}

.vehicle-pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .vehicle-page-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .vehicle-page-header .btn-primary {
        width: 100%;
    }

    .vehicle-summary-grid {
        gap: 9px;
    }

    .vehicle-summary-card {
        min-height: 82px;
        gap: 9px;
        padding: 12px;
    }

    .vehicle-summary-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .vehicle-summary-card strong {
        font-size: 1.25rem;
    }

    .vehicle-toolbar {
        align-items: stretch;
    }

    .vehicle-search,
    .vehicle-filter {
        flex: 1 1 100%;
        min-width: 0;
    }

    .vehicle-clear-filters {
        width: 100%;
    }

    .vehicle-table-wrap {
        overflow: visible;
        border: 0;
    }

    .vehicle-data-table {
        display: grid;
        width: 100%;
    }

    .vehicle-data-table thead {
        display: none;
    }

    .vehicle-data-table tbody {
        display: grid;
        gap: 10px;
        width: 100%;
    }

    .vehicle-data-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px 12px;
        align-items: start;
        padding: 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: #fff;
    }

    .vehicle-data-table tbody td {
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .vehicle-data-table tbody td::before {
        display: block;
        margin-bottom: 4px;
        color: var(--text-muted);
        font-size: 0.68rem;
        font-weight: 600;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .vehicle-data-table tbody td[data-label="Details"],
    .vehicle-data-table tbody td[data-label="Vehicle"],
    .vehicle-data-table tbody td[data-label="Review Note"] {
        grid-column: 1 / -1;
    }

    .vehicle-data-table tbody td.vehicle-row-actions {
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--border-color);
    }

    .vehicle-data-table tbody td.vehicle-row-actions::before {
        margin: auto auto auto 0;
    }

    .vehicle-row-actions button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        min-height: 36px;
        margin: 0 !important;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        background: #f8fafc;
    }

    .vehicle-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-pagination {
        flex-wrap: wrap;
    }

    .vehicle-form-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    #fullPageDetailsView {
        padding: 16px !important;
        margin-top: 12px !important;
    }

    .booking-details-header {
        flex-wrap: wrap;
        align-items: flex-start !important;
        gap: 12px;
        margin-bottom: 18px !important;
    }

    .booking-details-header h2 {
        flex: 1 1 100%;
        min-width: 0;
        flex-wrap: wrap;
        font-size: 1.15rem !important;
        overflow-wrap: anywhere;
    }

    .booking-details-actions {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }

    #fpSaveBtn {
        order: 1;
    }

    #btnBackToDashboard {
        order: 2;
    }

    .booking-quote-actions {
        justify-content: stretch;
    }

    .booking-quote-btn {
        width: 100%;
    }

    .booking-details-fields,
    .booking-details-schedule {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    .booking-details-fields > div,
    .booking-details-schedule > div {
        min-width: 0;
        width: 100%;
    }

    .booking-details-schedule > div {
        padding: 14px !important;
    }

    #fullPageDetailsView input,
    #fullPageDetailsView select,
    #fullPageDetailsView textarea {
        min-width: 0;
        max-width: 100%;
    }

    #ratesTabControls .rates-tab {
        padding: 9px 10px;
        font-size: 12px;
    }

    .rates-pane-meta {
        margin-bottom: 14px;
    }

    .rates-context-note {
        font-size: 0.8rem;
    }

    .rates-count-badge {
        padding: 5px 8px;
        font-size: 0.68rem;
    }

    .rates-add-route-form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .rates-add-route-form > div:nth-child(1),
    .rates-add-route-form > div:nth-child(2),
    .rates-add-route-action {
        grid-column: 1 / -1;
    }

    .rates-add-route-form label,
    .rates-filter-row label {
        font-size: 0.68rem;
    }

    .rates-add-route-action button {
        width: 100%;
    }

    .rates-filter-row {
        justify-content: stretch;
        margin-bottom: 12px;
    }

    .rates-filter-row > div {
        width: 100%;
    }

    .fees-toolbar {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 16px;
    }

    .fees-add-form {
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding: 14px;
    }

    .fees-add-form .fees-add-heading,
    .fees-add-location,
    .fees-add-button {
        grid-column: 1 / -1;
    }

    .fees-summary {
        gap: 8px;
    }

    .fees-summary-card {
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 7px;
        min-height: 65px;
        padding: 10px 8px;
    }

    .fees-summary-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .fees-summary-label {
        font-size: 0.66rem;
        line-height: 1.15;
    }

    .fees-summary-card strong {
        font-size: 1.05rem;
    }

    .fees-list-heading {
        margin-top: 18px;
    }

    #feesRatesTable {
        overflow: visible;
    }

    .fees-table {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .fees-table thead {
        display: none;
    }

    .fees-table tbody {
        display: grid;
        gap: 10px;
    }

    .fees-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 12px;
        align-items: center;
        height: auto;
        padding: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }

    .fees-table tbody tr:hover {
        background: #ffffff;
    }

    .fees-table tbody td {
        display: block;
        min-width: 0;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    .fees-table tbody td::before {
        display: block;
        margin-bottom: 5px;
        color: #64748b;
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .fees-table tbody td:first-child {
        grid-column: 1 / -1;
    }

    .fees-table tbody td:first-child::before {
        content: "Location";
    }

    .fees-table tbody td:nth-child(2)::before {
        content: "Type";
    }

    .fees-table tbody td:nth-child(3) {
        grid-column: 1;
    }

    .fees-table tbody td:nth-child(3)::before {
        content: "Rate (₱)";
    }

    .fees-table tbody td:last-child {
        grid-column: 2;
        grid-row: 3;
        justify-self: end;
        align-self: end;
    }

    .fees-row-actions {
        justify-content: flex-end;
        gap: 7px;
    }

    .fees-table tbody td:last-child::before {
        content: none;
    }

    .fees-table .rates-input {
        min-height: 42px;
    }

    #feesRatesTable .fees-drag-handle {
        width: 42px;
        height: 42px;
    }

    .fees-table .fees-empty-state {
        grid-column: 1 / -1;
        padding: 18px !important;
        text-align: center !important;
    }

    .addons-add-form {
        padding: 14px;
    }

    .addons-form-fields {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;
    }

    .addons-form-heading,
    .addons-submit-button {
        grid-column: 1 / -1;
    }

    #addOnsRatesTable {
        overflow: visible;
    }

    .addons-table {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .addons-table thead {
        display: none;
    }

    .addons-table tbody {
        display: grid;
        gap: 10px;
    }

    .addons-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 12px;
        align-items: center;
        height: auto;
        padding: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }

    .addons-table tbody td {
        display: block;
        min-width: 0;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    .addons-table tbody td::before {
        display: block;
        margin-bottom: 5px;
        color: #64748b;
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .addons-table tbody td:first-child {
        grid-column: 1 / -1;
    }

    .addons-table tbody td:first-child::before { content: "Label"; }
    .addons-table tbody td:nth-child(2)::before { content: "Rate (₱)"; }

    .addons-table tbody td:last-child {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        align-self: end;
    }

    .addons-table tbody td:last-child::before { content: none; }

    .addons-table .addons-empty-state {
        grid-column: 1 / -1;
        padding: 18px !important;
        text-align: center !important;
    }

    #selfDriveRatesTable .rates-table,
    #selfDriveDeliveryRatesTable .rates-table,
    #selfDriveReturnRatesTable .rates-table {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    #selfDriveRatesTable .rates-table thead,
    #selfDriveDeliveryRatesTable .rates-table thead,
    #selfDriveReturnRatesTable .rates-table thead {
        display: none;
    }

    #selfDriveRatesTable .rates-table tbody,
    #selfDriveDeliveryRatesTable .rates-table tbody,
    #selfDriveReturnRatesTable .rates-table tbody {
        display: grid;
        gap: 10px;
    }

    #selfDriveRatesTable .rates-table tbody tr,
    #selfDriveDeliveryRatesTable .rates-table tbody tr,
    #selfDriveReturnRatesTable .rates-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        align-items: center;
        padding: 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }

    #selfDriveRatesTable .rates-table tbody tr {
        grid-template-columns: minmax(0, 1fr) 110px;
    }

    #selfDriveRatesTable .rates-table tbody td,
    #selfDriveDeliveryRatesTable .rates-table tbody td,
    #selfDriveReturnRatesTable .rates-table tbody td {
        display: block;
        width: auto !important;
        min-width: 0;
        padding: 0;
        border: 0;
    }

    #selfDriveRatesTable .rates-table tbody td:first-child,
    #selfDriveDeliveryRatesTable .rates-table tbody td:first-child,
    #selfDriveReturnRatesTable .rates-table tbody td:first-child {
        grid-column: 1 / -1;
    }

    #selfDriveRatesTable .rates-table tbody td:nth-child(2) {
        grid-column: 1;
    }

    #selfDriveRatesTable .rates-table tbody td:nth-child(3) {
        grid-column: 2;
    }

    #selfDriveDeliveryRatesTable .rates-table tbody td:nth-child(2),
    #selfDriveReturnRatesTable .rates-table tbody td:nth-child(2) {
        grid-column: 1;
    }

    #selfDriveDeliveryRatesTable .rates-table tbody td:last-child,
    #selfDriveReturnRatesTable .rates-table tbody td:last-child {
        grid-column: 2;
        justify-self: end;
    }

    #selfDriveRatesTable .rates-table td::before,
    #selfDriveDeliveryRatesTable .rates-table td::before,
    #selfDriveReturnRatesTable .rates-table td::before {
        display: block;
        margin-bottom: 5px;
        color: var(--text-muted);
        font-size: 0.68rem;
        font-weight: 600;
        text-transform: uppercase;
    }

    #selfDriveRatesTable .rates-table tbody td:first-child::before { content: "Vehicle"; }
    #selfDriveRatesTable .rates-table tbody td:nth-child(2)::before { content: "Type"; }
    #selfDriveRatesTable .rates-table tbody td:nth-child(3)::before { content: "Daily Rate (₱)"; }
    #selfDriveDeliveryRatesTable .rates-table tbody td:first-child::before,
    #selfDriveReturnRatesTable .rates-table tbody td:first-child::before { content: "Location"; }
    #selfDriveDeliveryRatesTable .rates-table tbody td:nth-child(2)::before,
    #selfDriveReturnRatesTable .rates-table tbody td:nth-child(2)::before { content: "Additional Rate (₱)"; }
    #selfDriveDeliveryRatesTable .rates-table tbody td:last-child::before,
    #selfDriveReturnRatesTable .rates-table tbody td:last-child::before { content: none; }

    #selfDriveRatesTable .rates-input,
    #selfDriveDeliveryRatesTable .rates-input,
    #selfDriveReturnRatesTable .rates-input {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    #selfDriveDeliveryRatesTable .rates-row-actions,
    #selfDriveReturnRatesTable .rates-row-actions {
        flex-wrap: nowrap;
        gap: 4px;
    }

    #selfDriveDeliveryRatesTable .rates-remove-button,
    #selfDriveReturnRatesTable .rates-remove-button {
        white-space: nowrap;
    }

    #airportRatesTable,
    #inboundOutboundRatesTable,
    #withDriverRatesTable,
    #selfDriveRatesTable {
        overflow: visible;
    }

    #airportRatesTable .rates-table,
    #inboundOutboundRatesTable .rates-table,
    #withDriverRatesTable .rates-table,
    #selfDriveRatesTable .rates-table {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    #airportRatesTable .rates-table thead,
    #inboundOutboundRatesTable .rates-table thead,
    #withDriverRatesTable .rates-table thead,
    #selfDriveRatesTable .rates-table thead {
        display: none;
    }

    #airportRatesTable .rates-table tbody,
    #inboundOutboundRatesTable .rates-table tbody,
    #withDriverRatesTable .rates-table tbody,
    #selfDriveRatesTable .rates-table tbody {
        display: grid;
        gap: 10px;
    }

    #airportRatesTable .rates-table tbody tr,
    #inboundOutboundRatesTable .rates-table tbody tr,
    #withDriverRatesTable .rates-table tbody tr,
    #selfDriveRatesTable .rates-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px 12px;
        align-items: center;
        height: auto;
        padding: 12px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }

    #airportRatesTable .rates-table tbody tr:hover,
    #inboundOutboundRatesTable .rates-table tbody tr:hover,
    #withDriverRatesTable .rates-table tbody tr:hover,
    #selfDriveRatesTable .rates-table tbody tr:hover {
        background: #fff;
    }

    #airportRatesTable .rates-table tbody td,
    #inboundOutboundRatesTable .rates-table tbody td,
    #withDriverRatesTable .rates-table tbody td,
    #selfDriveRatesTable .rates-table tbody td {
        display: block;
        width: auto !important;
        min-width: 0;
        padding: 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    #airportRatesTable .rates-table tbody td::before,
    #inboundOutboundRatesTable .rates-table tbody td::before,
    #withDriverRatesTable .rates-table tbody td::before,
    #selfDriveRatesTable .rates-table tbody td::before {
        display: block;
        margin-bottom: 5px;
        color: #64748b;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        content: attr(data-label);
    }

    #airportRatesTable .rates-table tbody td:first-child,
    #airportRatesTable .rates-table tbody td:nth-child(2),
    #inboundOutboundRatesTable .rates-table tbody td:first-child,
    #inboundOutboundRatesTable .rates-table tbody td:nth-child(2),
    #withDriverRatesTable .rates-table tbody td:first-child,
    #selfDriveRatesTable .rates-table tbody td:first-child {
        grid-column: 1 / -1;
    }

    #airportRatesTable .rates-table tbody td:last-child,
    #inboundOutboundRatesTable .rates-table tbody td:last-child {
        grid-column: 1 / -1;
    }

    #airportRatesTable .rates-row-actions {
        justify-content: flex-start;
        gap: 8px;
    }

    #airportRatesTable .rates-drag-handle {
        width: 42px;
        height: 42px;
    }

    .rates-delete-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        background: #ffffff;
        color: var(--color-cancelled);
    }

    #airportRatesTable .rates-table .rates-input,
    #inboundOutboundRatesTable .rates-table .rates-input,
    #withDriverRatesTable .rates-table .rates-input,
    #selfDriveRatesTable .rates-table .rates-input {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        box-sizing: border-box;
    }

    #airportRatesTable .rates-table tbody tr > td[colspan],
    #inboundOutboundRatesTable .rates-table tbody tr > td[colspan] {
        grid-column: 1 / -1;
        text-align: center !important;
    }
}

.self-drive-location-rates {
    margin-top: 28px;
}

.self-drive-location-rates h3 {
    margin: 24px 0 4px;
    color: #0f172a;
    font-size: 1rem;
}

.self-drive-location-rates p {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 13px;
}

.self-drive-location-add-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 10px 0 18px;
}

.self-drive-location-add-form .rates-input:first-child {
    width: min(320px, 100%);
}

.rates-location-input {
    width: 100%;
    box-sizing: border-box;
}

.rates-remove-button {
    padding: 7px 10px;
    font-size: 12px;
}

.rates-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.rates-move-button {
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

.self-drive-location-rates .rates-table {
    table-layout: fixed;
}

.self-drive-location-rates .rates-table th:first-child,
.self-drive-location-rates .rates-table td:first-child {
    width: 58%;
}

.self-drive-location-rates .rates-table th:nth-child(2),
.self-drive-location-rates .rates-table td:nth-child(2) {
    width: 24%;
}

.self-drive-location-rates .rates-table th:last-child,
.self-drive-location-rates .rates-table td:last-child {
    width: 18%;
}

.self-drive-location-rates .rates-table td:first-child .rates-input {
    width: 100%;
    box-sizing: border-box;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.rates-table thead tr {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.rates-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rates-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.rates-table tbody tr:last-child {
    border-bottom: none;
}

.rates-table tbody tr:hover {
    background: #f8fafc;
}

.rates-table tbody td {
    padding: 12px 16px;
    color: #334155;
    vertical-align: middle;
}

.rates-input {
    width: 110px;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    transition: border-color 0.2s;
}

.rates-input:focus {
    outline: none;
    border-color: #178ca4;
    box-shadow: 0 0 0 3px rgba(23, 140, 164, 0.1);
}

.rates-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* ======================================================
   USER MANAGEMENT
   ====================================================== */
.users-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(130px, 155px) minmax(130px, 155px) 96px;
    align-items: end;
    gap: 14px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    margin-bottom: 20px;
}

.users-filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.users-filter-field label {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
}

.users-filter-field input,
.users-filter-field select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-size: 0.88rem;
}

.users-filter-field input:focus,
.users-filter-field select:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

.users-search-field {
    min-width: 0;
}

.users-filter-toolbar .clear-filters-btn {
    width: 96px;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.86rem;
}

.users-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
    container: users-table / inline-size;
}

#usersTable {
    width: 100%;
    min-width: 900px;
    table-layout: fixed;
}

#usersTable .users-column-name { width: 15%; }
#usersTable .users-column-email { width: 24%; }
#usersTable .users-column-phone { width: 17%; }
#usersTable .users-column-role { width: 10%; }
#usersTable .users-column-affiliate { width: 13%; }
#usersTable .users-column-status { width: 10%; }
#usersTable .users-column-actions { width: 11%; }

#usersTable th,
#usersTable td {
    overflow-wrap: break-word;
}

#usersTable th {
    white-space: normal;
    line-height: 1.35;
}

#usersTable th.users-actions-heading,
#usersTable td.user-row-actions {
    text-align: center;
}

#usersTable td:first-child {
    overflow-wrap: normal;
    word-break: normal;
}

#usersTable td[data-label="Email"] {
    overflow-wrap: anywhere;
}

#usersTable td[data-label="Phone number"] {
    white-space: nowrap;
}

#usersTable .user-role-badge,
#usersTable .user-status-badge {
    white-space: nowrap;
}

#usersTable tbody tr {
    transition: background-color 0.15s ease;
}

#usersTable tbody tr:hover {
    background: #f8fafc;
}

#usersTable tbody td {
    line-height: 1.45;
    vertical-align: middle;
}

.user-role-badge,
.user-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.user-role-admin {
    background: #dbeafe;
    color: #1d4ed8;
}

.user-role-affiliate {
    background: #fef3c7;
    color: #92400e;
}

.user-role-driver {
    background: #dcfce7;
    color: #166534;
}

.user-role-customer {
    background: #e0e7ff;
    color: #4338ca;
}

.user-status-badge.is-active {
    background: #d1fae5;
    color: #047857;
}

.user-status-badge.is-inactive {
    background: #fee2e2;
    color: #b91c1c;
}

.user-row-actions {
    white-space: nowrap;
}

.user-row-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 2px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    color: #0891b2;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.user-row-actions button:hover {
    border-color: #a5f3fc;
    background: #ecfeff;
}

.user-row-actions button[data-user-action="delete"] {
    color: #dc2626;
}

.user-row-actions button[data-user-action="delete"]:hover {
    border-color: #fecaca;
    background: #fef2f2;
}

.users-empty-state {
    padding: 30px !important;
    color: #64748b !important;
    text-align: center;
}

@container users-table (max-width: 899px) {
    #usersTable {
        display: block;
        width: 100%;
        min-width: 0;
    }

    #usersTable thead {
        display: none;
    }

    #usersTable tbody {
        display: grid;
        gap: 12px;
        padding: 12px;
    }

    #usersTable tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 20px;
        padding: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #fff;
    }

    #usersTable tbody tr:hover {
        border-color: #cbd5e1;
    }

    #usersTable tbody td {
        display: flex;
        align-items: baseline;
        gap: 8px;
        min-width: 0;
        padding: 0;
        border: 0;
        text-align: left;
    }

    #usersTable tbody td::before {
        flex: 0 0 92px;
        color: #64748b;
        content: attr(data-label);
        font-size: 0.78rem;
        font-weight: 600;
    }

    #usersTable tbody td:first-child {
        grid-column: auto;
        font-size: inherit;
        font-weight: 600;
    }

    #usersTable tbody td.user-row-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        align-items: center;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }

    #usersTable tbody td.user-row-actions::before {
        margin-right: auto;
    }

    #usersTable tbody td.users-empty-state {
        grid-column: 1 / -1;
        justify-content: center;
    }

    #usersTable tbody td.users-empty-state::before {
        content: none;
    }
}

/* ======================================================
   USER FORM (Add/Edit User)
   ====================================================== */
.user-modal-overlay {
    position: fixed;
    inset: 0 0 0 240px;
    background: #d2d5d8;
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 28px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

body:has(#sidebar.collapsed) .user-modal-overlay {
    left: 72px;
}

.user-modal-panel {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 56px);
    min-height: calc(100dvh - 56px);
    margin: 0;
    display: flex;
    flex-direction: column;
    container-type: inline-size;
}

.user-modal-tabs {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    padding: 0 0 14px;
    border-bottom: 1px solid #e2e8f0;
}

.user-modal-tab {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.user-modal-tab:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.user-modal-tab[aria-selected="true"] {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.user-modal-tab:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.user-modal-tab-panel[hidden] {
    display: none;
}

.user-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 0 18px;
}

.user-modal-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.55rem;
    letter-spacing: -0.02em;
}

.user-modal-header-hint,
.user-modal-section-hint {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.5;
}

#userForm {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    overflow: visible;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.user-modal-body {
    flex: 1 0 auto;
    min-height: auto;
    padding: 28px 32px;
    overflow: visible;
}

.user-modal-section-title {
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}

.user-modal-section-hint {
    margin-top: 4px;
    margin-bottom: 18px;
    font-size: 0.8rem;
}

.user-modal-subsection-title {
    margin: 22px 0 12px;
    color: #475569;
    font-size: 0.83rem;
    font-weight: 700;
}

.user-modal-section + .user-modal-section {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
}

.user-form-profile-settings + .user-modal-section {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
}

.user-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.user-modal-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 0.84rem;
    color: #334155;
}

.user-modal-field input,
.user-modal-field select {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    box-sizing: border-box;
    background-color: #fff;
    color: #0f172a;
    font-size: 0.88rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.user-modal-field input:focus,
.user-modal-field select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.user-role-grid {
    align-items: end;
}

.corporate-bookings-field > label:first-child {
    min-height: 20px;
}

.checkbox-field {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin: 0 !important;
    font-weight: 400 !important;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    accent-color: #2563eb;
}

.checkbox-field span {
    color: #475569;
    font-size: 0.86rem;
}

.tin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.user-form-profile-settings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
}

.user-form-profile-settings .user-modal-section-card {
    min-width: 0;
    margin: 0;
    padding: 18px;
    border: 1px solid #e8edf3;
    border-radius: 9px;
    background: #f8fafc;
}

.user-modal-section-card .avatar-upload {
    gap: 12px;
    margin: 14px 0 0;
}

.user-modal-section-card .avatar-upload-circle {
    width: 60px;
    height: 60px;
}

.user-modal-section-card .toggle-switch-row {
    min-height: 60px;
    margin-top: 10px;
}

.user-modal-field .required-mark {
    color: #dc2626;
}

.user-modal-field .required-mark.is-hidden {
    display: none;
}

.mobile-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.mobile-input-prefix {
    padding: 9px 10px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.9rem;
    border-right: 1px solid #e2e8f0;
}

.mobile-input-group input {
    border: none !important;
    border-radius: 0 !important;
}

.avatar-upload {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.avatar-upload-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #94a3b8;
    font-size: 0.7rem;
    text-align: center;
    cursor: pointer;
    flex-shrink: 0;
}

.avatar-upload-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-hint {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.45;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s;
}

.toggle-switch-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-switch-slider {
    background: #0f172a;
}

.toggle-switch input:checked + .toggle-switch-slider::before {
    transform: translateX(18px);
}

.toggle-switch-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-switch-row-text {
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.toggle-switch-row-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin: 2px 0 0;
}

.doc-upload-box {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    background: #f8fafc;
}

.doc-upload-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.doc-upload-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 10px;
}

.doc-upload-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-upload-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.82rem;
    color: #334155;
}

.doc-upload-list button {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.9rem;
}

.security-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fefce8;
    border: 1px solid #fde68a;
    color: #854d0e;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.user-modal-footer {
    position: sticky;
    bottom: 0;
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 32px;
    border-top: 1px solid #e8edf3;
    background: #fff;
}

.user-modal-footer .btn-secondary {
    min-width: 104px;
    min-height: 42px;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    color: #334155;
    background: #fff;
    font-size: 0.86rem;
}

.user-modal-footer .btn-primary {
    min-width: 112px;
    min-height: 42px;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 7px;
    background: #059669;
    color: #fff;
    font-size: 0.86rem;
}

@media (max-width: 767px) {
    .users-filter-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
    }

    .users-search-field {
        grid-column: 1 / -1;
    }

    .users-filter-toolbar .clear-filters-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .users-table-wrap {
        margin: 0 -2px;
    }

    .user-modal-overlay {
        inset: 56px 0 0;
        align-items: stretch;
        padding: 18px 14px;
    }

    body:has(#sidebar.collapsed) .user-modal-overlay {
        left: 0;
    }

    .user-modal-panel {
        min-height: calc(100dvh - 92px);
    }

    .user-modal-header {
        padding-bottom: 14px;
    }

    .user-modal-tabs {
        gap: 4px;
        flex-wrap: wrap;
        padding-bottom: 10px;
    }

    .user-modal-tab {
        flex: 0 0 auto;
        padding: 9px 12px;
        font-size: 0.82rem;
    }

    .user-modal-body {
        padding: 20px;
    }

    .user-modal-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 14px;
    }

    .user-form-profile-settings {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .user-modal-footer {
        padding: 14px 20px;
    }
}

@container (max-width: 560px) {
    .user-modal-body {
        padding: 20px;
    }

    .user-modal-grid,
    .user-form-profile-settings {
        grid-template-columns: minmax(0, 1fr);
    }

    .user-modal-subsection-title {
        margin-top: 18px;
    }

    .user-modal-footer {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .users-filter-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .users-search-field,
    .users-filter-toolbar .clear-filters-btn {
        grid-column: 1 / -1;
    }

    .users-filter-toolbar .clear-filters-btn {
        width: 100%;
    }
}

.dashboard-extra-view {
    margin-top: 0;
}

.dashboard-extra-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 24px;
}

.dashboard-extra-header h2 {
    margin: 0;
    color: #0f172a;
}

.dashboard-extra-header p,
.report-panel-note {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.5;
}

.report-date-filters,
.activity-log-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.report-date-filters > div {
    display: grid;
    gap: 6px;
}

.report-date-filters label,
.activity-log-controls label {
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
}

.report-date-filters input,
.activity-log-controls select,
.activity-log-controls input {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #0f172a;
    font: inherit;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.report-summary-card,
.report-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.report-summary-card span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

.report-summary-card strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 1.6rem;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.report-panel h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1rem;
}

.report-panel-note {
    margin: -5px 0 12px;
}

.report-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.report-table-wrap .data-table {
    min-width: 480px;
}

.report-table-wrap .data-table th,
.report-table-wrap .data-table td {
    padding: 12px 14px;
}

.activity-log-table-wrap .data-table {
    min-width: 760px;
}

.activity-log-table-wrap td:last-child {
    max-width: 420px;
    white-space: normal;
}

.dashboard-view-message {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
}

.dashboard-view-message[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .report-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reports-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .report-date-filters,
    .report-date-filters > div,
    .activity-log-controls {
        width: 100%;
    }

    .report-date-filters input,
    .report-date-filters .btn-primary,
    .activity-log-controls select,
    .activity-log-controls input,
    .activity-log-controls .btn-secondary {
        flex: 1;
    }

    .activity-log-controls label {
        flex: 0 0 100%;
    }
}

.dashboard-page-panel {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.dashboard-page-panel--spaced {
    margin-top: 20px;
}

.dashboard-page-header,
.main-header,
.dashboard-extra-header,
.vehicle-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.dashboard-page-header h1,
.dashboard-page-header h2,
.dashboard-page-header .page-title,
.main-header .page-title {
    margin: 0;
    color: var(--text-main);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.dashboard-page-header > div > p:last-child {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.dashboard-page-toolbar {
    gap: 12px;
}

.users-filter-toolbar {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.dashboard-table-wrap {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.dashboard-table-wrap .data-table,
.dashboard-table-wrap .vehicle-data-table {
    border: 0;
}

.dashboard-page-panel .data-table tbody tr:hover,
.dashboard-page-panel .vehicle-data-table tbody tr:hover,
.dashboard-page-panel .rates-table tbody tr:hover {
    background-color: #f8fafc;
}

.dashboard-page-panel .status-badge,
.dashboard-page-panel .user-role-badge,
.dashboard-page-panel .user-status-badge,
.dashboard-page-panel .vehicle-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.dashboard-page-toolbar input,
.dashboard-page-toolbar select,
.account-settings-form input,
#vehicleForm input,
#vehicleForm select {
    box-sizing: border-box;
    min-height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    background: #fff;
    color: var(--text-main);
    font: inherit;
}

.dashboard-page-toolbar input:focus,
.dashboard-page-toolbar select:focus,
.account-settings-form input:focus,
#vehicleForm input:focus,
#vehicleForm select:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

.dashboard-page-toolbar label,
.account-settings-form label,
.dashboard-form-field label {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
}

.dashboard-page-panel .booking-row-actions,
.dashboard-page-panel .user-row-actions,
.dashboard-page-panel .vehicle-row-actions {
    text-align: center;
    white-space: nowrap;
}

.dashboard-page-panel .vehicle-row-actions {
    min-width: 0;
}

.dashboard-page-panel .btn-action,
.dashboard-page-panel .user-row-actions .btn-action,
.dashboard-page-panel .vehicle-row-actions .btn-action,
.dashboard-page-panel .rates-row-actions .btn-action,
.dashboard-page-panel .addons-row-actions .btn-action,
.dashboard-page-panel .fees-row-actions .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0 5px 0 0;
    padding: 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease;
}

.dashboard-page-panel .btn-action:hover {
    color: var(--text-main);
}

.dashboard-page-panel .btn-action.btn-view:hover {
    color: #0e7490;
}

.dashboard-page-panel .btn-action.btn-approve,
.dashboard-page-panel .btn-action.btn-approve:hover {
    color: #15803d;
}

.dashboard-page-panel .btn-action.btn-delete:hover {
    color: var(--color-cancelled);
}

.dashboard-page-panel .btn-action:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.35);
    outline-offset: 2px;
}

.addons-row-actions,
.rates-row-actions {
    justify-content: center;
}

.account-settings-form {
    width: min(100%, 720px);
}

.account-settings-name-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 12px;
}

.account-settings-form .input-group,
.account-settings-field,
.dashboard-form-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.account-settings-field {
    margin-bottom: 12px;
}

.account-settings-form input,
#vehicleForm input,
#vehicleForm select {
    width: 100%;
    padding: 10px 12px;
}

.account-settings-divider {
    margin: 16px 0;
    border: 0;
    border-top: 1px solid #eef2f7;
}

.vehicle-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .dashboard-page-panel .vehicle-data-table th,
    .dashboard-page-panel .rates-table thead th {
        padding: 14px 18px;
        border-bottom: 1px solid var(--border-color);
        background: #f8fafc;
        color: var(--text-muted);
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .dashboard-page-panel .vehicle-data-table td,
    .dashboard-page-panel .rates-table tbody td {
        padding: 16px 18px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-main);
        font-size: 0.9rem;
        vertical-align: middle;
    }
}

@media (max-width: 767px) {
    .dashboard-page-panel {
        padding: 18px 14px;
    }

    .dashboard-page-header,
    .main-header,
    .dashboard-extra-header,
    .vehicle-page-header {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .dashboard-page-header h1,
    .dashboard-page-header h2,
    .dashboard-page-header .page-title,
    .main-header .page-title {
        font-size: 1.3rem;
    }

    .dashboard-page-header > .btn-primary {
        width: 100%;
    }

    .users-filter-toolbar {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 18px;
    }

    .users-filter-toolbar .clear-filters-btn {
        width: 100%;
    }

    .dashboard-page-panel .user-row-actions .btn-action,
    .dashboard-page-panel .vehicle-row-actions .btn-action,
    .dashboard-page-panel .rates-row-actions .btn-action,
    .dashboard-page-panel .addons-row-actions .btn-action,
    .dashboard-page-panel .fees-row-actions .btn-action,
    .dashboard-page-panel .booking-row-actions .btn-action {
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        background: #fff;
    }

    .dashboard-page-panel .btn-action.btn-view {
        color: #0e7490;
        border-color: #a5f3fc;
        background: #ecfeff;
    }

    .dashboard-page-panel .btn-action.btn-approve {
        color: #15803d;
        border-color: #bbf7d0;
        background: #f0fdf4;
    }

    .dashboard-page-panel .btn-action.btn-delete {
        color: var(--color-cancelled);
    }

    .dashboard-page-panel .vehicle-row-actions,
    .dashboard-page-panel .rates-row-actions,
    .dashboard-page-panel .addons-row-actions {
        justify-content: flex-start;
        gap: 8px;
    }

    .account-settings-name-fields,
    .vehicle-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
