/**
 * Estilos para la vista de 7 días en reserva de citas
 */

/* Tarjeta de Día Base */
.day-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 100px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Hover en tarjeta normal */
.day-card:hover:not(.disabled):not(.selected) {
    border-color: #f59e0b;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
}

/* Tipografía dentro de la tarjeta */
.day-name { 
    font-size: 0.7rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    color: #64748b; 
}
.day-number { 
    font-size: 1.75rem; 
    font-weight: 800; 
    font-family: 'Playfair Display', serif; 
    color: #1e293b; 
    line-height: 1.2; 
    margin: 4px 0;
}
.day-month { 
    font-size: 0.7rem; 
    font-weight: 600; 
    color: #94a3b8; 
}

/* Estado Seleccionado */
.day-card.selected {
    background: #1e293b;
    border-color: #1e293b;
    box-shadow: 0 10px 20px -5px rgba(30, 41, 59, 0.4);
}
.day-card.selected .day-name { color: #94a3b8; }
.day-card.selected .day-number { color: #ffffff; }
.day-card.selected .day-month { color: #f59e0b; }

/* Estado Deshabilitado (Cerrado) */
.day-card.disabled {
    background: #f8fafc;
    border-color: #f1f5f9;
    color: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.7;
}
.day-card.disabled * { color: #cbd5e1 !important; }

/* Puntito indicador de disponibilidad */
.availability-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Utilidad para ocultar scrollbar horizontal pero permitir scroll */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; }

/* Animación suave para cambio de días */
#days-container {
    transition: opacity 0.3s ease;
}

/* Botones de navegación */
#prev-week:disabled {
    background: #e2e8f0;
    color: #cbd5e1;
}

#prev-week:not(:disabled):hover,
#next-week:hover {
    transform: scale(1.05);
}
