/* Archivo: static/css/global.css */

body {
    background-color: #0B0F17;
    color: #ffffff;
    font-family: 'Lexend', sans-serif;
    scroll-behavior: smooth;
}

/* Scrollbar Personalizado */
.custom-scroll::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
    background: #0B0F17;
}
.custom-scroll::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}

/* ESTADOS DE CASILLEROS DE RESERVA */
.cell-libre {
    background-color: rgba(56, 204, 204, 0.08);
    border: 1px solid rgba(56, 204, 204, 0.4);
    color: #38CCCC;
    transition: all 0.15s ease-in-out;
}
.cell-libre:hover {
    background-color: #38CCCC;
    color: #0B0F17;
    cursor: pointer;
    transform: scale(0.98);
}

.cell-ocupado-slot, .cell-ocupado-dueno {
    background-color: #38CCCC;
    border: 1px solid #38CCCC;
    color: #0B0F17;
    font-weight: 700;
}

.cell-ocupado-cliente {
    background-color: rgba(30, 41, 59, 0.6);
    border: 1px solid #1E293B;
    color: #64748b;
}

.cell-pendiente {
    background-color: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #f59e0b;
}

/* Botones de Navegación del Calendario */
.btn-nav-date {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #1E293B;
    color: #38CCCC;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.2s;
}
.btn-nav-date:hover {
    background-color: #38CCCC;
    color: #0B0F17;
    border-color: #38CCCC;
}
/* =========================================
   CONTENEDOR DE TABLA (SIN BARRA VISIBLE)
   ========================================= */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    
    /* Ocultar barra en Firefox por la fuerza */
    scrollbar-width: none !important; 
}

/* Ocultar barra en Chrome, Safari y Edge por la fuerza */
.table-container::-webkit-scrollbar {
    display: none !important;
    height: 0px !important;
    width: 0px !important;
    background: transparent !important;
}
/* Contenedor y diseño fluido de tabla 
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px 0;
    scrollbar-width: auto;
    scrollbar-color: #64748b #1e293b;
}*/
/*.table-container::-webkit-scrollbar {
    height: 8px;
    display: block !important;
}
.table-container::-webkit-scrollbar-track {
    background-color: #1e293b;
    border-radius: 4px;
}
.table-container::-webkit-scrollbar-thumb {
    background-color: #64748b;
    border-radius: 4px;
}*/

/* Píldoras e Indicadores del Carrusel */
#carouselExampleFade .carousel-indicators [data-bs-target] {
    opacity: 0.5;
    transition: opacity 0.3s ease, background-color 0.3s ease, width 0.3s ease;
}
#carouselExampleFade .carousel-indicators .active {
    opacity: 1;
    background-color: #38CCCC !important;
    width: 22px !important;
}


/* =========================================
   VARIABLES DE TEMA (DARK MODE POR DEFECTO)
   ========================================= */
:root {
    --bg-page: #0B0F17;        
    --bg-card: #111723;        
    --bg-input: #1E293B;       
    --bg-search-bar: #1E293B;  
    --text-main: #ffffff;      
    --text-muted: #94A3B8;     
    --border-color: #1E293B;   
}

/* =========================================
   VARIABLES MODO CLARO (LIGHT MODE)
   ========================================= */
.modo-claro {
    --bg-page: #f1f5f9;        
    --bg-card: #ffffff;        
    --bg-input: #f8fafc;       
    --bg-search-bar: #ffffff;  
    --text-main: #0f172a;      
    --text-muted: #475569;     
    --border-color: #e2e8f0;   
}

/* =========================================
   BOTÓN FLOTANTE MODO DÍA / NOCHE
   ========================================= */
.btn-theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-card);
    color: #38CCCC;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
}

.btn-theme-toggle:hover {
    transform: scale(1.1);
    background-color: #38CCCC;
    color: #0B0F17;
}