
/* Estilos VIP para Tablas y Tarjetas (Dashboard Custodia) */
.vip-row td:nth-child(2),
.vip-row td:nth-child(3),
.vip-row td:nth-child(4) {
    color: #F59E0B !important;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.8), 0 0 15px rgba(245, 158, 11, 0.4);
    font-weight: bold;
}

.vip-card {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6) !important;
    border: 1px solid #F59E0B !important;
}

.vip-card .car-mat,
.vip-card .car-room {
    color: #F59E0B !important;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

.vip-card .car-details span:first-child {
    color: #F59E0B !important;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}


/* VIP Room Card Aura */
.room-card.vip-room {
    border: 2px solid #F59E0B !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.7), inset 0 0 8px rgba(245, 158, 11, 0.3) !important;
    animation: vipRoomPulse 2s infinite alternate;
}

@keyframes vipRoomPulse {
    0% {
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.5), inset 0 0 4px rgba(245, 158, 11, 0.2);
    }
    100% {
        box-shadow: 0 0 22px rgba(245, 158, 11, 0.95), inset 0 0 12px rgba(245, 158, 11, 0.4);
    }
}


.type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    margin-left: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.large-type-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.electric-badge {
    background-color: #3b82f6;
}
.hybrid-badge {
    background: linear-gradient(135deg, #10b981 50%, #3b82f6 50%);
}


/* GLOBAL SCROLLBAR STYLES (Light & Dark Mode) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}
[data-theme='dark'] ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
[data-theme='dark'] ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
    background-clip: padding-box;
}
[data-theme='dark'] ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* STICKY HEADERS FOR DATA TABLES */
.data-table th {
    position: sticky;
    top: 0;
    z-index: 10;
    /* ensure header background covers the rows scrolling under it */
    background-color: var(--table-header-bg, #f1f5f9);
}
[data-theme='dark'] .data-table th {
    background-color: var(--table-header-bg, #1e293b);
}




/* FIX SCROLLBAR POSITION */
.panel-content {
    overflow: auto !important;
}

.data-table-container {
    overflow: visible !important;
}


/* Fix transparent sticky headers overlapping text */
.data-table th {
    background-color: var(--bg-panel) !important;
}


/* FIXED OPAQUE HEADERS */
.data-table th {
    background-color: #1e293b !important;
}

[data-theme='light'] .data-table th {
    background-color: #ffffff !important;
}


/* PREVENT ROWS FROM SLIDING INTO PADDING AREA */
.panel-content:has(.data-table-container) {
    padding-top: 0 !important;
}

.data-table th {
    background-color: #1e293b !important;
    position: sticky;
    top: 0;
    z-index: 20 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.1);
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

[data-theme='light'] .data-table th {
    background-color: #ffffff !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}


/* Fix top headers touching the browser limit */
.app-layout-grid {
    padding-top: 15px !important;
}

