
/* Cierre Caja Test Styles - El Cuaderno del Vendedor */

.date-item.active {
    background-color: #059669 !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.4) !important;
    transform: scale(1.05);
    border-color: transparent !important;
}

/* Indicador de "Hoy" ahora gestionado dinámicamente por JS */
.date-item.today-marker {
    position: relative;
    border-color: #10b981 !important;
}

/* El .date-item.today-marker::after ha sido eliminado para evitar duplicación con el JS */

.a11y-fab {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    z-index: 99999;
}

.a11y-btn {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    background-color: #1e3a8a !important;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.a11y-btn:hover {
    transform: scale(1.1);
    background-color: #2563eb !important;
}

.premium-input {
    background: transparent;
    border: 1px solid transparent;
    width: 100%;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s;
}

.premium-input:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.premium-input:focus {
    background: white;
    border-color: #059669;
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* DISEÑO RODILLO PREMIUM */
.rodillo-wrap {
    display: flex;
    justify-content: center;
    gap: 12px;
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
    border-radius: 1.5rem;
    border: 2px solid #e2e8f0;
    position: relative;
    padding: 0 10px;
}

.rodillo-col {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: y mandatory;
    padding: 90px 0;
}

.rodillo-col::-webkit-scrollbar {
    display: none;
}

.rodillo-item {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #94a3b8;
    scroll-snap-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.rodillo-item.active {
    color: white !important;
    font-size: 1.75rem;
    font-weight: 900;
    transform: scale(1.1);
    z-index: 10;
}

.rodillo-indicator {
    position: absolute;
    top: 90px;
    left: 10px;
    right: 10px;
    height: 40px;
    background: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    pointer-events: none;
    border-radius: 8px;
    z-index: 5;
}

/* GRID CALENDAR PREMIUM */
.grid-cal-container {
    padding: 1rem;
    background: white;
    border-radius: 2rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.grid-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.grid-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.grid-cal-weekday {
    font-size: 10px;
    font-weight: 900;
    color: #94a3b8;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
}

.grid-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    font-size: 1.1rem;
}

.grid-cal-day:hover:not(.empty) {
    background: #f1f5f9;
    color: #059669;
    transform: translateY(-2px);
}

.grid-cal-day.active {
    background: #059669 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    border-color: #059669 !important;
}

.grid-cal-day.today {
    background: #ecfdf5 !important;
    border: 2px solid #059669 !important;
    color: #059669 !important;
    font-weight: 900 !important;
    position: relative;
}

.grid-cal-day.today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: #059669;
    border-radius: 50%;
}

.grid-cal-day.empty {
    cursor: default;
}

.grid-cal-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.2s;
}

.grid-cal-btn:hover {
    background: #059669;
    color: white;
}

/* --- MODO ACCESIBILIDAD: ALTO CONTRASTE --- */
body.blind-mode {
    background-color: #000000 !important;
    color: #FFFF00 !important;
}

body.blind-mode * {
    background-color: #000000 !important;
    color: #FFFF00 !important;
    border-color: #FFFF00 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body.blind-mode .bg-white,
body.blind-mode .bg-slate-50,
body.blind-mode .bg-gray-100,
body.blind-mode nav,
body.blind-mode header,
body.blind-mode .card,
body.blind-mode input,
body.blind-mode select,
body.blind-mode button {
    background-color: #000000 !important;
    color: #FFFF00 !important;
    border: 2px solid #FFFF00 !important;
}

@media print {
    .no-print {
        display: none !important;
    }
}

.scrollbar-hide::-webkit-scrollbar { display: none; } 
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
