/* =============================================
   QAR-A.COM - STYLE CSS - Version 0.1
   Thème : Bleu / Blanc / Bordures
   ============================================= */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f4f8;
    color: #1a2a3a;
    line-height: 1.6;
    padding: 20px;
}

a {
    text-decoration: none;
    color: #1a5276;
    transition: all 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-shadow: 0 0 8px rgba(41, 128, 185, 0.2);
}

ul {
    list-style: none;
    padding: 0;
}

/* ---------- LAYOUT PRINCIPAL ---------- */
.index_header,
.index_body,
.index_footer {
    max-width: 1280px;
    margin: 0 auto;
}

/* =============================================
   HEADER
   ============================================= */
.index_header {
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 12px 12px 0 0;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.15);
}

.index_header_logo h1 {
    font-size: 28px;
    color: #1a5276;
}

.index_header_logo h1 a {
    color: #1a5276;
    transition: color 0.3s ease;
}

.index_header_logo h1 a:hover {
    color: #2e86c1;
    text-shadow: 0 0 12px rgba(46, 134, 193, 0.25);
}

.index_header_slogan {
    font-size: 14px;
    color: #5d6d7e;
    font-style: italic;
    margin-top: 2px;
}

.index_header_langues {
    display: flex;
    gap: 8px;
    font-size: 22px;
}

.index_header_langues a {
    display: inline-block;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
    line-height: 1;
}

.index_header_langues a:hover {
    background: #d4e6f1;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(46, 134, 193, 0.2);
}

.index_header_user {
    font-size: 15px;
    font-weight: 500;
}

.index_header_user a {
    padding: 6px 14px;
    border-radius: 20px;
    background: #eaf2f8;
    border: 1.5px solid #2e86c1;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #1a5276;
}

.index_header_user a:hover {
    background: #2e86c1;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(46, 134, 193, 0.35);
}

/* =============================================
   CORPS DE LA PAGE (3 colonnes)
   ============================================= */
.index_body {
    display: flex;
    gap: 20px;
    margin-top: 0;
    background: #ffffff;
    border-left: 2px solid #2e86c1;
    border-right: 2px solid #2e86c1;
    padding: 25px 20px;
    min-height: 550px;
}

/* ---------- COLONNE GAUCHE ---------- */
.index_left {
    flex: 0 0 200px;
    min-width: 180px;
}

.index_left div {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.index_left div:hover {
    border-color: #2e86c1;
    box-shadow: 0 2px 10px rgba(46, 134, 193, 0.08);
}

.index_left h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.index_left ul li {
    padding: 4px 0;
    font-size: 14px;
}

.index_left ul li a {
    display: block;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.index_left ul li a:hover {
    background: #d4e6f1;
    padding-left: 14px;
    color: #1a5276;
}

.index_left_stats ul li {
    font-size: 14px;
    padding: 4px 0;
}

.index_left_stats span {
    font-weight: 700;
    color: #2e86c1;
}

/* ---------- COLONNE CENTRALE ---------- */
.index_center {
    flex: 1;
    min-width: 300px;
}

/* ---------- COLONNE DROITE ---------- */
.index_right {
    flex: 0 0 220px;
    min-width: 180px;
}

.index_right div {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.index_right div:hover {
    border-color: #2e86c1;
    box-shadow: 0 2px 10px rgba(46, 134, 193, 0.08);
}

.index_right h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.index_right ul li {
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid #eaf2f8;
}

.index_right ul li:last-child {
    border-bottom: none;
}

.index_right ul li a {
    display: block;
    padding: 3px 6px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.index_right ul li a:hover {
    background: #d4e6f1;
    padding-left: 12px;
}

/* ----- Formulaire de recherche ----- */
.index_right_recherche form {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.index_right_recherche input[type="text"] {
    flex: 1;
    padding: 6px 10px;
    border: 1.5px solid #d4e6f1;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.index_right_recherche input[type="text"]:focus {
    border-color: #2e86c1;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.index_right_recherche button {
    padding: 6px 14px;
    background: #2e86c1;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.index_right_recherche button:hover {
    background: #1a5276;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.3);
}

/* =============================================
   FOOTER
   ============================================= */
.index_footer {
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 0 0 12px 12px;
    padding: 18px 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.10);
    font-size: 13px;
    color: #5d6d7e;
}

.index_footer a {
    color: #1a5276;
    transition: all 0.3s ease;
}

.index_footer a:hover {
    color: #2e86c1;
    text-decoration: underline;
}

.index_footer_links a {
    margin: 0 4px;
}

.index_footer_copyright {
    font-weight: 400;
}

.index_footer_version {
    font-size: 12px;
    color: #85929e;
}

/* =============================================
   RESPONSIVE (adaptation sur petits écrans)
   ============================================= */
@media (max-width: 992px) {
    .index_body {
        flex-wrap: wrap;
    }

    .index_left {
        flex: 1 1 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .index_left div {
        flex: 1 1 180px;
        margin-bottom: 0;
    }

    .index_right {
        flex: 1 1 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .index_right div {
        flex: 1 1 180px;
        margin-bottom: 0;
    }

    .index_header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

    .index_header_langues {
        justify-content: center;
    }

    .index_header_user {
        text-align: center;
    }

    .index_footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .index_left div,
    .index_right div {
        flex: 1 1 100%;
    }

    .index_center {
        min-width: 0;
    }

    .index_header_logo h1 {
        font-size: 22px;
    }
}

/* =============================================
   LISTE DES ARTICLES - Classes listeA_
   ============================================= */

.listeA_container {
    padding: 6px 0;
}

/* ---- En-tête de la liste ---- */
.listeA_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 3px solid #2e86c1;
    margin-bottom: 18px;
}

.listeA_header h2 {
    font-size: 22px;
    color: #1a5276;
    margin: 0;
}

.listeA_total {
    font-size: 14px;
    color: #5d6d7e;
    background: #eaf2f8;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid #d4e6f1;
}

/* ---- Un article ---- */
.listeA_article {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.listeA_article:hover {
    border-color: #2e86c1;
    box-shadow: 0 4px 16px rgba(46, 134, 193, 0.12);
    transform: translateY(-2px);
}

/* ---- Titre de l'article ---- */
.listeA_titre {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.listeA_titre a {
    color: #1a5276;
    transition: all 0.3s ease;
}

.listeA_titre a:hover {
    color: #2e86c1;
    text-shadow: 0 0 12px rgba(46, 134, 193, 0.15);
}

/* ---- Infos (version, date, téléchargements, auteur) ---- */
.listeA_infos {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #5d6d7e;
    margin-bottom: 10px;
}

.listeA_version {
    background: #eaf2f8;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 500;
    color: #1a5276;
}

.listeA_date {
    color: #5d6d7e;
}

.listeA_telechargements {
    color: #5d6d7e;
}

.listeA_auteur {
    color: #5d6d7e;
}

/* ---- Bouton Voir l'article ---- */
.listeA_bouton {
    margin-top: 4px;
}

.listeA_btn_voir {
    display: inline-block;
    padding: 6px 18px;
    background: #2e86c1;
    color: #ffffff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1.5px solid #2e86c1;
}

.listeA_btn_voir:hover {
    background: #1a5276;
    border-color: #1a5276;
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(46, 134, 193, 0.35);
}

/* ---- Pagination ---- */
.listeA_pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 2px solid #eaf2f8;
}

.listeA_pagination a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    background: #f7fafc;
    border: 1.5px solid #d4e6f1;
    color: #1a5276;
    transition: all 0.3s ease;
}

.listeA_pagination a:hover {
    background: #d4e6f1;
    border-color: #2e86c1;
    transform: scale(1.05);
}

.listeA_pagination .active {
    background: #2e86c1;
    color: #ffffff;
    border-color: #2e86c1;
}

.listeA_pagination .active:hover {
    background: #1a5276;
    border-color: #1a5276;
}

.listeA_pagination_prev,
.listeA_pagination_next {
    font-weight: 600;
}

.listeA_pagination_ellipsis {
    display: inline-block;
    padding: 6px 8px;
    color: #85929e;
}

/* ---- Message "Aucun article" ---- */
.listeA_vide {
    text-align: center;
    padding: 60px 20px;
    color: #85929e;
    font-size: 18px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #d4e6f1;
}

/* =============================================
   DETAIL_ARTICLE.PHP - Classes detailA_
   ============================================= */

/* ---- Conteneur principal ---- */
.detailA_container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a2a3a;
}

/* =============================================
   HEADER
   ============================================= */
.detailA_header {
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 12px 12px 0 0;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.15);
}

.detailA_header_logo h1 {
    font-size: 28px;
    color: #1a5276;
    margin: 0;
}

.detailA_header_logo a {
    text-decoration: none;
    color: #1a5276;
    transition: color 0.3s ease;
}

.detailA_header_logo a:hover {
    color: #2e86c1;
}

.detailA_header_slogan {
    font-size: 14px;
    color: #5d6d7e;
    font-style: italic;
    margin-top: 2px;
}

.detailA_header_user {
    font-size: 15px;
    font-weight: 500;
}

.detailA_header_user a {
    padding: 6px 14px;
    border-radius: 20px;
    background: #eaf2f8;
    border: 1.5px solid #2e86c1;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #1a5276;
    text-decoration: none;
}

.detailA_header_user a:hover {
    background: #2e86c1;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(46, 134, 193, 0.35);
}

/* =============================================
   CORPS (2 colonnes)
   ============================================= */
.detailA_body {
    display: flex;
    gap: 30px;
    background: #ffffff;
    border-left: 2px solid #2e86c1;
    border-right: 2px solid #2e86c1;
    padding: 25px 20px;
    min-height: 550px;
}

/* ---- COLONNE GAUCHE : COMMENTAIRES ---- */
.detailA_left {
    flex: 1;
    min-width: 300px;
    max-width: 60%;
    border-right: 2px solid #eaf2f8;
    padding-right: 20px;
}

.detailA_left_titre {
    font-size: 22px;
    color: #1a5276;
    border-bottom: 3px solid #2e86c1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* ---- Liste des commentaires ---- */
.detailA_commentaires_liste {
    margin-bottom: 30px;
}

/* ---- Un commentaire ---- */
.detailA_commentaire {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.detailA_commentaire:hover {
    border-color: #2e86c1;
    box-shadow: 0 2px 10px rgba(46, 134, 193, 0.08);
}

.detailA_commentaire_entete {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.detailA_commentaire_auteur {
    font-weight: 600;
    color: #1a5276;
}

.detailA_commentaire_date {
    font-size: 12px;
    color: #85929e;
}

.detailA_commentaire_actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.detailA_btn_editer,
.detailA_btn_supprimer {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.detailA_btn_editer {
    background: #eaf2f8;
    color: #1a5276;
    border: 1px solid #d4e6f1;
}

.detailA_btn_editer:hover {
    background: #2e86c1;
    color: #ffffff;
}

.detailA_btn_supprimer {
    background: #fdedec;
    color: #e74c3c;
    border: 1px solid #f5b7b1;
}

.detailA_btn_supprimer:hover {
    background: #e74c3c;
    color: #ffffff;
}

.detailA_commentaire_contenu {
    font-size: 15px;
    line-height: 1.6;
    color: #1a2a3a;
    padding: 6px 0;
}

/* ---- Bouton Répondre ---- */
.detailA_commentaire_repondre {
    margin-top: 8px;
}

.detailA_btn_repondre {
    display: inline-block;
    font-size: 12px;
    padding: 4px 14px;
    background: #eaf2f8;
    color: #1a5276;
    border: 1px solid #d4e6f1;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.detailA_btn_repondre:hover {
    background: #d4e6f1;
    border-color: #2e86c1;
    transform: scale(1.04);
}

/* ---- Formulaire d'édition en place ---- */
.detailA_commentaire_edit {
    padding: 6px 0;
}

.detailA_commentaire_edit .detailA_textarea {
    width: 100%;
    min-height: 80px;
    padding: 8px 12px;
    border: 2px solid #d4e6f1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.detailA_commentaire_edit .detailA_textarea:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.detailA_commentaire_edit_boutons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.detailA_btn_valider {
    padding: 6px 18px;
    background: #2e86c1;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detailA_btn_valider:hover {
    background: #1a5276;
    transform: scale(1.04);
}

.detailA_btn_annuler {
    display: inline-block;
    padding: 6px 18px;
    background: #eaf2f8;
    color: #5d6d7e;
    border: 1.5px solid #d4e6f1;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.detailA_btn_annuler:hover {
    background: #d4e6f1;
}

/* ---- Aucun commentaire ---- */
.detailA_aucun_commentaire {
    text-align: center;
    padding: 40px 20px;
    color: #85929e;
    font-size: 16px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #d4e6f1;
}

/* ---- Formulaire d'ajout de commentaire ---- */
.detailA_ajout_commentaire {
    background: #f7fafc;
    border: 2px solid #d4e6f1;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.detailA_ajout_commentaire h3 {
    font-size: 18px;
    color: #1a5276;
    margin-top: 0;
    margin-bottom: 16px;
}

.detailA_form_groupe {
    margin-bottom: 14px;
}

.detailA_label {
    display: block;
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 4px;
    font-size: 14px;
}

.detailA_input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #d4e6f1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.detailA_input:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.detailA_textarea {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #d4e6f1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.detailA_textarea:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.detailA_btn_publier {
    padding: 10px 28px;
    background: #2e86c1;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detailA_btn_publier:hover {
    background: #1a5276;
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(46, 134, 193, 0.35);
}

/* ---- COLONNE DROITE : ARTICLE ---- */
.detailA_right {
    flex: 1.2;
    min-width: 300px;
}

.detailA_article {
    background: #ffffff;
    border: 2px solid #d4e6f1;
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.3s ease;
}

.detailA_article:hover {
    border-color: #2e86c1;
}

.detailA_article_entete {
    border-bottom: 3px solid #2e86c1;
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.detailA_article_titre {
    font-size: 28px;
    color: #1a5276;
    margin: 0 0 10px 0;
}

.detailA_article_infos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #5d6d7e;
}

.detailA_article_version {
    background: #eaf2f8;
    padding: 2px 12px;
    border-radius: 12px;
    font-weight: 500;
    color: #1a5276;
}

.detailA_article_date {
    color: #5d6d7e;
}

.detailA_article_telechargements {
    color: #5d6d7e;
}

.detailA_article_auteur {
    color: #5d6d7e;
}

.detailA_article_contenu {
    font-size: 16px;
    line-height: 1.8;
    color: #1a2a3a;
    padding: 10px 0 20px 0;
}

.detailA_article_telechargement {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eaf2f8;
    text-align: center;
}

.detailA_btn_telecharger {
    display: inline-block;
    padding: 12px 30px;
    background: #28b463;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 180, 99, 0.25);
}

.detailA_btn_telecharger:hover {
    background: #1e8449;
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(40, 180, 99, 0.35);
}

/* =============================================
   FOOTER
   ============================================= */
.detailA_footer {
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 0 0 12px 12px;
    padding: 18px 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.10);
    font-size: 13px;
    color: #5d6d7e;
}

.detailA_footer a {
    color: #1a5276;
    text-decoration: none;
    transition: all 0.3s ease;
}

.detailA_footer a:hover {
    color: #2e86c1;
    text-decoration: underline;
}

.detailA_footer_links a {
    margin: 0 4px;
}

.detailA_footer_copyright {
    font-weight: 400;
}

.detailA_footer_version {
    font-size: 12px;
    color: #85929e;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .detailA_body {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .detailA_left {
        max-width: 100%;
        border-right: none;
        padding-right: 0;
    }

    .detailA_right {
        max-width: 100%;
    }

    .detailA_header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }

    .detailA_footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .detailA_container {
        padding: 10px;
    }

    .detailA_article_titre {
        font-size: 22px;
    }

    .detailA_commentaire_entete {
        flex-direction: column;
        align-items: flex-start;
    }

    .detailA_commentaire_actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .detailA_btn_telecharger {
        display: block;
        text-align: center;
    }
}

/* =============================================
   REGISTER.PHP - Classes register_
   ============================================= */

/* ---- HEADER ---- */
.register_header {
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 12px 12px 0 0;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 20px auto 0;
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.15);
}

.register_header_logo h1 {
    font-size: 28px;
    color: #1a5276;
    margin: 0;
}

.register_header_logo a {
    text-decoration: none;
    color: #1a5276;
    transition: color 0.3s ease;
}

.register_header_logo a:hover {
    color: #2e86c1;
}

.register_header_slogan {
    font-size: 14px;
    color: #5d6d7e;
    font-style: italic;
    margin-top: 2px;
}

.register_header_user a {
    padding: 6px 14px;
    border-radius: 20px;
    background: #eaf2f8;
    border: 1.5px solid #2e86c1;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #1a5276;
    text-decoration: none;
}

.register_header_user a:hover {
    background: #2e86c1;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(46, 134, 193, 0.35);
}

/* ---- CORPS : 3 COLONNES ---- */
.register_body {
    display: flex;
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    border-left: 2px solid #2e86c1;
    border-right: 2px solid #2e86c1;
    padding: 30px 20px;
    min-height: 550px;
}

/* ---- COLONNE GAUCHE ---- */
.register_left {
    flex: 0 0 200px;
    min-width: 180px;
}

.register_left div {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 16px;
}

.register_left h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.register_left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.register_left ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #1a2a3a;
    border-bottom: 1px solid #eaf2f8;
}

.register_left ul li:last-child {
    border-bottom: none;
}

/* ---- COLONNE CENTRALE ---- */
.register_center {
    flex: 1;
    min-width: 300px;
}

.register_box {
    background: #ffffff;
    border: 2px solid #d4e6f1;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
}

.register_box h1 {
    font-size: 26px;
    color: #1a5276;
    margin: 0 0 6px 0;
    text-align: center;
}

.register_sous_titre {
    text-align: center;
    color: #5d6d7e;
    font-size: 14px;
    margin-bottom: 20px;
}

.register_erreur {
    background: #fdedec;
    color: #e74c3c;
    border: 1px solid #f5b7b1;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.register_form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.register_groupe {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.register_groupe label {
    font-weight: 600;
    color: #1a5276;
    font-size: 14px;
}

.register_input {
    padding: 10px 14px;
    border: 2px solid #d4e6f1;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.register_input:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.register_groupe_mdp {
    display: flex;
    gap: 12px;
}

.register_mdp_col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.register_btn {
    padding: 12px 24px;
    background: #2e86c1;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.register_btn:hover {
    background: #1a5276;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(46, 134, 193, 0.35);
}

.register_footer_form {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #5d6d7e;
}

.register_footer_form p {
    margin: 4px 0;
}

.register_lien a {
    color: #1a5276;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.register_lien a:hover {
    color: #2e86c1;
    text-decoration: underline;
}

/* ---- COLONNE DROITE ---- */
.register_right {
    flex: 0 0 220px;
    min-width: 180px;
}

.register_temoignages {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
}

.register_temoignages h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 12px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.register_temoignage {
    padding: 10px 0;
    border-bottom: 1px solid #eaf2f8;
}

.register_temoignage:last-child {
    border-bottom: none;
}

.register_temoignage p {
    font-size: 14px;
    color: #1a2a3a;
    margin: 0 0 4px 0;
    font-style: italic;
}

.register_temoignage span {
    font-size: 12px;
    color: #85929e;
    font-weight: 600;
}

/* ---- FOOTER ---- */
.register_footer {
    max-width: 1280px;
    margin: 0 auto 20px;
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 0 0 12px 12px;
    padding: 18px 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #5d6d7e;
}

.register_footer a {
    color: #1a5276;
    text-decoration: none;
    transition: all 0.3s ease;
}

.register_footer a:hover {
    color: #2e86c1;
    text-decoration: underline;
}

.register_footer_links a {
    margin: 0 4px;
}

.register_footer_copyright {
    font-weight: 400;
}

.register_footer_version {
    font-size: 12px;
    color: #85929e;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .register_body {
        flex-direction: column;
        gap: 20px;
    }

    .register_left {
        flex: 1 1 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .register_left div {
        flex: 1 1 180px;
        margin-bottom: 0;
    }

    .register_right {
        flex: 1 1 auto;
    }

    .register_groupe_mdp {
        flex-direction: column;
    }

    .register_header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }

    .register_footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .register_box {
        padding: 16px;
    }

    .register_box h1 {
        font-size: 22px;
    }

    .register_header_logo h1 {
        font-size: 22px;
    }
}

/* =============================================
   FICHECREATE.PHP - Classes CreateFiche_
   ============================================= */

/* ---- HEADER ---- */
.CreateFiche_header {
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 12px 12px 0 0;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 20px auto 0;
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.15);
}

.CreateFiche_header_logo h1 {
    font-size: 28px;
    color: #1a5276;
    margin: 0;
}

.CreateFiche_header_logo a {
    text-decoration: none;
    color: #1a5276;
    transition: color 0.3s ease;
}

.CreateFiche_header_logo a:hover {
    color: #2e86c1;
}

.CreateFiche_header_slogan {
    font-size: 14px;
    color: #5d6d7e;
    font-style: italic;
    margin-top: 2px;
}

.CreateFiche_header_user {
    font-size: 15px;
    font-weight: 500;
}

.CreateFiche_header_bienvenue {
    margin-right: 12px;
    color: #1a5276;
}

.CreateFiche_header_deconnexion {
    padding: 6px 14px;
    border-radius: 20px;
    background: #fdedec;
    border: 1.5px solid #e74c3c;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #e74c3c;
    text-decoration: none;
}

.CreateFiche_header_deconnexion:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: scale(1.05);
}

/* ---- CORPS : 3 COLONNES ---- */
.CreateFiche_body {
    display: flex;
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    border-left: 2px solid #2e86c1;
    border-right: 2px solid #2e86c1;
    padding: 30px 20px;
    min-height: 550px;
}

/* ---- COLONNE GAUCHE ---- */
.CreateFiche_left {
    flex: 0 0 200px;
    min-width: 180px;
}

.CreateFiche_left div {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 16px;
}

.CreateFiche_left h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.CreateFiche_left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.CreateFiche_left ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #1a2a3a;
    border-bottom: 1px solid #eaf2f8;
}

.CreateFiche_left ul li:last-child {
    border-bottom: none;
}

/* ---- COLONNE CENTRALE ---- */
.CreateFiche_center {
    flex: 1;
    min-width: 300px;
}

.CreateFiche_box {
    background: #ffffff;
    border: 2px solid #d4e6f1;
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.CreateFiche_titre {
    font-size: 26px;
    color: #1a5276;
    margin: 0 0 6px 0;
    text-align: center;
}

.CreateFiche_sous_titre {
    text-align: center;
    color: #5d6d7e;
    font-size: 14px;
    margin-bottom: 20px;
}

.CreateFiche_erreur {
    background: #fdedec;
    color: #e74c3c;
    border: 1px solid #f5b7b1;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.CreateFiche_form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.CreateFiche_groupe {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.CreateFiche_label {
    font-weight: 600;
    color: #1a5276;
    font-size: 14px;
}

.CreateFiche_input,
.CreateFiche_select {
    padding: 10px 14px;
    border: 2px solid #d4e6f1;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.CreateFiche_input:focus,
.CreateFiche_select:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.CreateFiche_textarea {
    padding: 10px 14px;
    border: 2px solid #d4e6f1;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 200px;
    transition: all 0.3s ease;
}

.CreateFiche_textarea:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.CreateFiche_groupe_version {
    display: flex;
    gap: 12px;
}

.CreateFiche_version_col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.CreateFiche_select {
    background: #ffffff;
}

.CreateFiche_boutons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.CreateFiche_btn_publier {
    padding: 12px 30px;
    background: #2e86c1;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.CreateFiche_btn_publier:hover {
    background: #1a5276;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(46, 134, 193, 0.35);
}

.CreateFiche_btn_annuler {
    padding: 12px 24px;
    background: #eaf2f8;
    color: #5d6d7e;
    border: 2px solid #d4e6f1;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.CreateFiche_btn_annuler:hover {
    background: #d4e6f1;
    transform: scale(1.02);
}

/* ---- COLONNE DROITE ---- */
.CreateFiche_right {
    flex: 0 0 220px;
    min-width: 180px;
}

.CreateFiche_right div {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 16px;
}

.CreateFiche_right h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.CreateFiche_right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.CreateFiche_right ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #1a2a3a;
    border-bottom: 1px solid #eaf2f8;
}

.CreateFiche_right ul li:last-child {
    border-bottom: none;
}

.CreateFiche_preview p {
    font-size: 14px;
    color: #85929e;
    font-style: italic;
    margin: 0;
}

/* ---- FOOTER ---- */
.CreateFiche_footer {
    max-width: 1280px;
    margin: 0 auto 20px;
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 0 0 12px 12px;
    padding: 18px 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #5d6d7e;
}

.CreateFiche_footer a {
    color: #1a5276;
    text-decoration: none;
    transition: all 0.3s ease;
}

.CreateFiche_footer a:hover {
    color: #2e86c1;
    text-decoration: underline;
}

.CreateFiche_footer_links a {
    margin: 0 4px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .CreateFiche_body {
        flex-direction: column;
        gap: 20px;
    }

    .CreateFiche_left {
        flex: 1 1 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .CreateFiche_left div {
        flex: 1 1 180px;
        margin-bottom: 0;
    }

    .CreateFiche_right {
        flex: 1 1 auto;
    }

    .CreateFiche_groupe_version {
        flex-direction: column;
    }

    .CreateFiche_header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }

    .CreateFiche_footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .CreateFiche_boutons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .CreateFiche_box {
        padding: 16px;
    }

    .CreateFiche_titre {
        font-size: 22px;
    }

    .CreateFiche_header_logo h1 {
        font-size: 22px;
    }
}

/* =============================================
   FICHEMODIF.PHP - Classes ModifFiche_
   ============================================= */

/* ---- HEADER ---- */
.ModifFiche_header {
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 12px 12px 0 0;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 20px auto 0;
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.15);
}

.ModifFiche_header_logo h1 {
    font-size: 28px;
    color: #1a5276;
    margin: 0;
}

.ModifFiche_header_logo a {
    text-decoration: none;
    color: #1a5276;
    transition: color 0.3s ease;
}

.ModifFiche_header_logo a:hover {
    color: #2e86c1;
}

.ModifFiche_header_slogan {
    font-size: 14px;
    color: #5d6d7e;
    font-style: italic;
    margin-top: 2px;
}

.ModifFiche_header_user {
    font-size: 15px;
    font-weight: 500;
}

.ModifFiche_header_bienvenue {
    margin-right: 12px;
    color: #1a5276;
}

.ModifFiche_header_deconnexion {
    padding: 6px 14px;
    border-radius: 20px;
    background: #fdedec;
    border: 1.5px solid #e74c3c;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #e74c3c;
    text-decoration: none;
}

.ModifFiche_header_deconnexion:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: scale(1.05);
}

/* ---- CORPS : 3 COLONNES ---- */
.ModifFiche_body {
    display: flex;
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    border-left: 2px solid #2e86c1;
    border-right: 2px solid #2e86c1;
    padding: 30px 20px;
    min-height: 550px;
}

/* ---- COLONNE GAUCHE ---- */
.ModifFiche_left {
    flex: 0 0 200px;
    min-width: 180px;
}

.ModifFiche_left div {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 16px;
}

.ModifFiche_left h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.ModifFiche_left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ModifFiche_left ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #1a2a3a;
    border-bottom: 1px solid #eaf2f8;
}

.ModifFiche_left ul li:last-child {
    border-bottom: none;
}

/* ---- COLONNE CENTRALE ---- */
.ModifFiche_center {
    flex: 1;
    min-width: 300px;
}

.ModifFiche_box {
    background: #ffffff;
    border: 2px solid #d4e6f1;
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.ModifFiche_titre {
    font-size: 26px;
    color: #1a5276;
    margin: 0 0 6px 0;
    text-align: center;
}

.ModifFiche_sous_titre {
    text-align: center;
    color: #5d6d7e;
    font-size: 14px;
    margin-bottom: 20px;
}

.ModifFiche_erreur {
    background: #fdedec;
    color: #e74c3c;
    border: 1px solid #f5b7b1;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.ModifFiche_form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ModifFiche_groupe {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ModifFiche_label {
    font-weight: 600;
    color: #1a5276;
    font-size: 14px;
}

.ModifFiche_input,
.ModifFiche_select {
    padding: 10px 14px;
    border: 2px solid #d4e6f1;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ModifFiche_input:focus,
.ModifFiche_select:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.ModifFiche_textarea {
    padding: 10px 14px;
    border: 2px solid #d4e6f1;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 200px;
    transition: all 0.3s ease;
}

.ModifFiche_textarea:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.ModifFiche_groupe_version {
    display: flex;
    gap: 12px;
}

.ModifFiche_version_col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ModifFiche_select {
    background: #ffffff;
}

.ModifFiche_boutons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.ModifFiche_btn_modifier {
    padding: 12px 30px;
    background: #f39c12;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.ModifFiche_btn_modifier:hover {
    background: #d68910;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.35);
}

.ModifFiche_btn_annuler {
    padding: 12px 24px;
    background: #eaf2f8;
    color: #5d6d7e;
    border: 2px solid #d4e6f1;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.ModifFiche_btn_annuler:hover {
    background: #d4e6f1;
    transform: scale(1.02);
}

/* ---- COLONNE DROITE ---- */
.ModifFiche_right {
    flex: 0 0 220px;
    min-width: 180px;
}

.ModifFiche_right div {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 16px;
}

.ModifFiche_right h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.ModifFiche_right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ModifFiche_right ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #1a2a3a;
    border-bottom: 1px solid #eaf2f8;
}

.ModifFiche_right ul li:last-child {
    border-bottom: none;
}

.ModifFiche_preview p {
    font-size: 14px;
    color: #85929e;
    font-style: italic;
    margin: 0;
}

/* ---- FOOTER ---- */
.ModifFiche_footer {
    max-width: 1280px;
    margin: 0 auto 20px;
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 0 0 12px 12px;
    padding: 18px 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #5d6d7e;
}

.ModifFiche_footer a {
    color: #1a5276;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ModifFiche_footer a:hover {
    color: #2e86c1;
    text-decoration: underline;
}

.ModifFiche_footer_links a {
    margin: 0 4px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .ModifFiche_body {
        flex-direction: column;
        gap: 20px;
    }

    .ModifFiche_left {
        flex: 1 1 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .ModifFiche_left div {
        flex: 1 1 180px;
        margin-bottom: 0;
    }

    .ModifFiche_right {
        flex: 1 1 auto;
    }

    .ModifFiche_groupe_version {
        flex-direction: column;
    }

    .ModifFiche_header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }

    .ModifFiche_footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .ModifFiche_boutons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .ModifFiche_box {
        padding: 16px;
    }

    .ModifFiche_titre {
        font-size: 22px;
    }

    .ModifFiche_header_logo h1 {
        font-size: 22px;
    }
}

/* =============================================
   FICHEMEDIA.PHP - Classes Media_
   ============================================= */

/* ---- HEADER ---- */
.Media_header {
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 12px 12px 0 0;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 20px auto 0;
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.15);
}

.Media_header_logo h1 {
    font-size: 28px;
    color: #1a5276;
    margin: 0;
}

.Media_header_logo a {
    text-decoration: none;
    color: #1a5276;
    transition: color 0.3s ease;
}

.Media_header_logo a:hover {
    color: #2e86c1;
}

.Media_header_slogan {
    font-size: 14px;
    color: #5d6d7e;
    font-style: italic;
    margin-top: 2px;
}

.Media_header_user {
    font-size: 15px;
    font-weight: 500;
}

.Media_header_bienvenue {
    margin-right: 12px;
    color: #1a5276;
}

.Media_header_deconnexion {
    padding: 6px 14px;
    border-radius: 20px;
    background: #fdedec;
    border: 1.5px solid #e74c3c;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #e74c3c;
    text-decoration: none;
}

.Media_header_deconnexion:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: scale(1.05);
}

/* ---- CORPS : 3 COLONNES ---- */
.Media_body {
    display: flex;
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    border-left: 2px solid #2e86c1;
    border-right: 2px solid #2e86c1;
    padding: 30px 20px;
    min-height: 550px;
}

/* ---- COLONNE GAUCHE ---- */
.Media_left {
    flex: 0 0 200px;
    min-width: 180px;
}

.Media_left div {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 16px;
}

.Media_left h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.Media_left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.Media_left ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #1a2a3a;
    border-bottom: 1px solid #eaf2f8;
}

.Media_left ul li:last-child {
    border-bottom: none;
}

/* ---- COLONNE CENTRALE ---- */
.Media_center {
    flex: 1;
    min-width: 300px;
}

.Media_box {
    background: #ffffff;
    border: 2px solid #d4e6f1;
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.Media_titre {
    font-size: 26px;
    color: #1a5276;
    margin: 0 0 6px 0;
    text-align: center;
}

.Media_sous_titre {
    text-align: center;
    color: #5d6d7e;
    font-size: 14px;
    margin-bottom: 20px;
}

.Media_erreur {
    background: #fdedec;
    color: #e74c3c;
    border: 1px solid #f5b7b1;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.Media_succes {
    background: #d5f5e3;
    color: #1e8449;
    border: 1px solid #82e0aa;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.Media_form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.Media_groupe {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.Media_label {
    font-weight: 600;
    color: #1a5276;
    font-size: 14px;
}

.Media_input,
.Media_select {
    padding: 10px 14px;
    border: 2px solid #d4e6f1;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.Media_input:focus,
.Media_select:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.Media_input_file {
    padding: 10px 14px;
    border: 2px dashed #d4e6f1;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #f7fafc;
    transition: all 0.3s ease;
}

.Media_input_file:hover {
    border-color: #2e86c1;
    background: #eaf2f8;
}

.Media_btn_upload {
    padding: 12px 24px;
    background: #2e86c1;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.Media_btn_upload:hover {
    background: #1a5276;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(46, 134, 193, 0.35);
}

/* ---- LISTE DES MÉDIAS ---- */
.Media_liste {
    margin-top: 25px;
    border-top: 2px solid #eaf2f8;
    padding-top: 20px;
}

.Media_liste h2 {
    font-size: 20px;
    color: #1a5276;
    margin-bottom: 16px;
}

.Media_liste h3 {
    font-size: 16px;
    color: #1a5276;
    margin: 16px 0 12px 0;
}

/* ---- IMAGES ---- */
.Media_images_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.Media_image_item {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.Media_image_item:hover {
    border-color: #2e86c1;
    box-shadow: 0 2px 10px rgba(46, 134, 193, 0.1);
}

.Media_image_preview {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    background: #eaf2f8;
}

.Media_image_info {
    margin-top: 8px;
}

.Media_image_nom {
    display: block;
    font-size: 12px;
    color: #1a2a3a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.Media_image_taille {
    display: block;
    font-size: 11px;
    color: #85929e;
}

/* ---- ZIPS ---- */
.Media_zips_liste {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.Media_zip_item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.3s ease;
}

.Media_zip_item:hover {
    border-color: #2e86c1;
}

.Media_zip_icon {
    font-size: 24px;
}

.Media_zip_nom {
    flex: 1;
    font-size: 14px;
    color: #1a2a3a;
}

.Media_zip_taille {
    font-size: 12px;
    color: #85929e;
}

.Media_zip_desc {
    font-size: 13px;
    color: #5d6d7e;
    font-style: italic;
}

.Media_btn_supprimer {
    padding: 4px 14px;
    background: #fdedec;
    color: #e74c3c;
    border: 1px solid #f5b7b1;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.Media_btn_supprimer:hover {
    background: #e74c3c;
    color: #ffffff;
}

/* ---- Aucun média ---- */
.Media_aucun {
    text-align: center;
    padding: 30px 20px;
    color: #85929e;
    font-size: 16px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #d4e6f1;
    margin-top: 20px;
}

/* ---- Retour ---- */
.Media_retour {
    margin-top: 20px;
    text-align: center;
}

.Media_btn_retour {
    display: inline-block;
    padding: 10px 24px;
    background: #eaf2f8;
    color: #1a5276;
    border: 1.5px solid #d4e6f1;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.Media_btn_retour:hover {
    background: #d4e6f1;
    border-color: #2e86c1;
    transform: scale(1.02);
}

/* ---- COLONNE DROITE ---- */
.Media_right {
    flex: 0 0 220px;
    min-width: 180px;
}

.Media_right div {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 16px;
}

.Media_right h3 {
    font-size: 15px;
    color: #1a5276;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4e6f1;
    padding-bottom: 6px;
}

.Media_right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.Media_right ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #1a2a3a;
    border-bottom: 1px solid #eaf2f8;
}

.Media_right ul li:last-child {
    border-bottom: none;
}

.Media_info_article p {
    font-size: 14px;
    color: #1a2a3a;
    margin: 6px 0;
}

/* ---- FOOTER ---- */
.Media_footer {
    max-width: 1280px;
    margin: 0 auto 20px;
    background: #ffffff;
    border: 2px solid #2e86c1;
    border-radius: 0 0 12px 12px;
    padding: 18px 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #5d6d7e;
}

.Media_footer a {
    color: #1a5276;
    text-decoration: none;
    transition: all 0.3s ease;
}

.Media_footer a:hover {
    color: #2e86c1;
    text-decoration: underline;
}

.Media_footer_links a {
    margin: 0 4px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .Media_body {
        flex-direction: column;
        gap: 20px;
    }

    .Media_left {
        flex: 1 1 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .Media_left div {
        flex: 1 1 180px;
        margin-bottom: 0;
    }

    .Media_right {
        flex: 1 1 auto;
    }

    .Media_header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }

    .Media_footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .Media_images_grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .Media_zip_item {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .Media_box {
        padding: 16px;
    }

    .Media_titre {
        font-size: 22px;
    }

    .Media_header_logo h1 {
        font-size: 22px;
    }
}

/* =============================================
   DETAIL_ARTICLE.PHP - MÉDIAS
   ============================================= */

/* ---- IMAGES ---- */
.detailA_images {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid #eaf2f8;
}

.detailA_images_titre {
    font-size: 17px;
    color: #1a5276;
    margin-bottom: 12px;
}

.detailA_images_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.detailA_image_item {
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.detailA_image_item:hover {
    border-color: #2e86c1;
    box-shadow: 0 2px 10px rgba(46, 134, 193, 0.1);
}

.detailA_image_lien {
    display: block;
}

.detailA_image_thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    background: #eaf2f8;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.detailA_image_thumb:hover {
    transform: scale(1.03);
}

.detailA_image_desc {
    font-size: 12px;
    color: #5d6d7e;
    margin: 6px 0 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- ZIPS ---- */
.detailA_zips {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid #eaf2f8;
}

.detailA_zips_titre {
    font-size: 17px;
    color: #1a5276;
    margin-bottom: 12px;
}

.detailA_zips_liste {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detailA_zip_item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7fafc;
    border: 1px solid #d4e6f1;
    border-radius: 8px;
    padding: 10px 14px;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.detailA_zip_item:hover {
    border-color: #2e86c1;
}

.detailA_zip_icon {
    font-size: 22px;
}

.detailA_zip_nom {
    flex: 1;
    font-size: 14px;
    color: #1a2a3a;
    min-width: 120px;
}

.detailA_zip_taille {
    font-size: 12px;
    color: #85929e;
}

.detailA_zip_desc {
    font-size: 13px;
    color: #5d6d7e;
    font-style: italic;
    flex: 1;
    min-width: 100px;
}

.detailA_btn_zip_telecharger {
    padding: 5px 16px;
    background: #2e86c1;
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.detailA_btn_zip_telecharger:hover {
    background: #1a5276;
    transform: scale(1.04);
    box-shadow: 0 2px 10px rgba(46, 134, 193, 0.3);
}

.detailA_zip_connectez_vous {
    font-size: 12px;
    color: #e74c3c;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .detailA_images_grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .detailA_zip_item {
        flex-wrap: wrap;
        gap: 8px;
    }

    .detailA_zip_nom {
        flex: 1 1 100%;
    }

    .detailA_zip_desc {
        flex: 1 1 100%;
    }
}

@media (max-width: 600px) {
    .detailA_images_grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .detailA_image_thumb {
        height: 80px;
    }
}