/**
 * Styles Frontend pour Angel Opening Hours
 */

/* Statut d'ouverture */
.aoh-opening-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.aoh-opening-status.is-open {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.aoh-opening-status.is-closed {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.aoh-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    animation: aoh-pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes aoh-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.aoh-status-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.aoh-status-text {
    font-weight: 700;
    font-size: 15px;
}

.aoh-next-opening {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 400;
}

/* Widget horaires */
.aoh-hours-widget {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.aoh-hours-title {
    color: #FF6B42;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFCD3C;
}

.aoh-hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aoh-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.aoh-hours-row:hover {
    background: #FFF4E6;
    transform: translateX(3px);
}

.aoh-hours-row.is-today {
    background: linear-gradient(45deg, #FFCD3C, #FFE082);
    font-weight: 700;
}

.aoh-day {
    font-weight: 600;
    color: #2D3436;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aoh-today-badge {
    background: #FF6B42;
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.aoh-hours {
    color: #636E72;
}

/* Widget sidebar */
.aoh-widget-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.aoh-widget-status.is-open {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
}

.aoh-widget-status.is-closed {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
}

.aoh-widget-hours {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aoh-widget-row {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-radius: 6px;
    font-size: 13px;
    background: #f9f9f9;
}

.aoh-widget-row.is-today {
    background: #FFCD3C;
    font-weight: 700;
}

.aoh-widget-day {
    font-weight: 600;
    color: #2D3436;
}

.aoh-widget-time {
    color: #636E72;
}

/* Responsive */
@media (max-width: 768px) {
    .aoh-opening-status {
        padding: 10px 15px;
        font-size: 13px;
    }

    .aoh-status-text {
        font-size: 14px;
    }

    .aoh-next-opening {
        font-size: 11px;
    }

    .aoh-hours-widget {
        padding: 15px;
    }

    .aoh-hours-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
