/* 📄 /assets/css/aide_generale.css */

/* ----------------------------- */
/* 🧱 STYLE SPÉCIFIQUE AU CENTRE D'AIDE */
/* ----------------------------- */

/* Conteneur principal de la page d'aide */
.page-container {
    max-width: var(--container-max-width-default);
    margin: 40px auto;
    padding: 0 var(--container-padding-default);
}
@media (max-width: 768px) {
    .page-container {
        margin: 20px auto;
        padding: 0 10px;
    }
}

/* Titre principal de la page */
.page-title {
    font-size: var(--section-title-font-size-lg);
    font-weight: 700;
    color: var(--primary);
}
.page-title i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Titre des sections d'aide */
.section-heading {
    font-size: var(--section-title-font-size-default);
    font-weight: 600;
    color: var(--text-main);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}
.section-heading i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Bloc d'articles d'aide */
.help-article {
    background: var(--background-soft);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* Titre des articles */
.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.article-title i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Style de la table des matières */
.table-of-contents .card-header {
    font-weight: 700;
    background: var(--primary);
    color: white;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom: none;
    font-size: 1.1rem;
}
.table-of-contents .list-group-item {
    padding: 1rem 1.5rem;
    color: var(--text-main);
    background: var(--background-soft);
    transition: background 0.2s ease, color 0.2s ease;
    border: none;
    border-bottom: 1px solid var(--border-color);
}
.table-of-contents .list-group-item:last-child {
    border-bottom: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.table-of-contents .list-group-item:hover {
    background: var(--background);
    color: var(--primary);
}

/* Styles pour les listes dans les articles */
.help-article ul {
    list-style-type: none;
    padding-left: 0;
}
.help-article ul li {
    margin-bottom: 0.7rem;
    color: var(--text-muted);
}
.help-article ul li i {
    margin-right: 0.7rem;
    color: var(--primary);
}
