/* ========================================
   STYLES POUR LES HORAIRES - ACTIVE AUDITION
   ======================================== */

/* Styles pour les horaires */
.hours-wrapper {
    width: 40%;
    display: flex;
    justify-content: flex-end;
}

.hours-container {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 18px;
    font-family: 'Montserrat', 'Nunito Sans', sans-serif;
    color: white;
    backdrop-filter: blur(5px);
    width: fit-content;
    max-width: 320px;
    opacity: 0;
    animation: mediaGalleryFadeIn 1s ease 0.5s forwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.open {
    background-color: #4CAF50;
}

.closed {
    background-color: #FF5252;
}

.current-hour {
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.toggle-hours {
    font-size: 0.85rem;
    color: #FF8C00;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.toggle-hours:hover {
    color: #FF4500;
    opacity: 1;
}

.hours-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    padding: 0;
}

.hours-details.visible {
    max-height: 150px;
    margin-top: 12px;
    padding: 8px 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.day {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.85);
}

.current-day {
    font-weight: bold;
    color: white;
}

/* Responsive pour les horaires */
@media (max-width: 768px) {
    .hours-wrapper {
        width: 100%;
        justify-content: flex-start;
    }
    
    .hours-container {
        width: 100%;
        max-width: 100%;
        padding: 10px 15px;
        margin: 0;
        font-size: 0.8rem;
    }
    
    .hours-details.visible {
        margin-top: 8px;
        padding: 6px 0;
    }
}

@media (max-width: 480px) {
    .hours-wrapper {
        width: 100%;
    }
    
    .hours-container {
        width: 100%;
        max-width: 100%;
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 8px;
    }
    
    .hours-details.visible {
        margin-top: 6px;
        padding: 4px 0;
    }
}

/* Mode paysage mobile spécifique pour les horaires */
@media (max-height: 600px) and (orientation: landscape) {
    .hours-wrapper {
        width: 40%;
        justify-content: flex-end;
    }
    
    .hours-container {
        max-width: 200px;
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    
    .status, .current-hour {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }
    
    .toggle-hours {
        font-size: 0.7rem;
        margin-top: 2px;
    }
    
    .day {
        font-size: 0.65rem;
        margin-bottom: 1px;
    }
    
    .hours-details.visible {
        margin-top: 4px;
        padding: 2px 0;
        max-height: 80px;
    }
}

@media (min-width: 1200px) {
    .hours-wrapper {
        width: 40%;
    }
    
    .hours-container {
        max-width: 200px;
    }
    
    .hours-details.visible {
        margin-top: 4px;
        padding: 2px 0;
    }
}

/* Animation pour les horaires */
@keyframes mediaGalleryFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
