/* FAQ CSS - Version Française */
/* assets/css/faq_fr.css */

/* CSS spécifique FAQ */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 200px);
}

.page-header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Override pour profile.php - couleurs adaptées au thème */
body:not(.light-mode) .page-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

body.light-mode .page-title {
    color: #1a202c !important;
    -webkit-text-fill-color: #1a202c !important;
    background: none !important;
}

body:not(.light-mode) .page-subtitle {
    color: #b0b0b0 !important;
}

body.light-mode .page-subtitle {
    color: #4a5568 !important;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.faq-container {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.faq-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.3); /* Contour plus foncé en bleu */
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1); /* Ombre bleue */
}

.faq-item:hover {
    background: rgba(99, 102, 241, 0.15); /* Hover en bleu */
    border-color: rgba(99, 102, 241, 0.6); /* Contour encore plus foncé au hover */
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2); /* Ombre plus forte */
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
}

.faq-question:hover {
    color: #6366f1; /* Bleu du header au lieu du jaune */
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #6366f1; /* Flèche en bleu du header */
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .page-container {
        padding: 15px;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .faq-container {
        padding: 20px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer-content {
        padding: 15px;
    }
}