/* Styles personnalisés pour les FAQ */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    border-color: #29AB87;
    color: #29AB87;
}

.accordion-button:focus {
    border-color: #29AB87;
    box-shadow: 0 0 0 0.25rem rgba(41, 171, 135, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2329AB87'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-icon {
    background: linear-gradient(135deg, #29AB87, #20B2AA);
    box-shadow: 0 4px 15px rgba(41, 171, 135, 0.2);
}

.accordion-item {
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    border-radius: 8px !important;
    padding: 1.25rem 1.5rem;
}

.accordion-body {
    background-color: #fafafa;
}

/* Animation pour les icônes */
.accordion-button i {
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) i {
    transform: scale(1.1);
}

/* Style pour les badges dans les FAQ */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Hover effects */
.accordion-button:hover {
    background-color: #f8f9fa;
    color: #29AB87;
}

/* Cards dans les FAQ */
.card.bg-light {
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

/* Contact icons */
.bg-primary, .bg-success, .bg-info {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-dark, var(--bs-primary))) !important;
}

/* Styles pour le composant Session Header */
.session-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #20B2AA 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.session-timer {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 0.25rem 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.session-timer.text-warning {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
}

.session-timer.text-danger {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.establishment-icon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 0.75rem;
    margin-right: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .session-header .col-md-6 {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .session-header .col-md-6:last-child {
        margin-bottom: 0;
    }
}
