/* +--------------------------------------------------------------------------+
// © 2002-2013 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: a2z.css,v 1.1.2.2 2026/06/04 09:10:58 dgoron Exp $ */

/*=========================================================================*/
/* Page A2Z                                                           */
/*=========================================================================*/

/* Abécédaire */
.a2z-alphabet-nav {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.a2z-alphabet-nav h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.a2z-alphabet-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.a2z-alphabet-btn {
    min-width: 45px;
    padding: 10px 15px;
    background-color: #34495e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.a2z-alphabet-btn:hover {
    background-color: #2c3e50;
}

.a2z-alphabet-btn.active {
    background-color: #e74c3c;
}

/* Sélecteur de sous-catégorie (toujours visible) */
.a2z-category-selector {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.a2z-category-selector label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.95rem;
}

.a2z-category-selector select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #3498db;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.a2z-category-selector select:hover {
    border-color: #2980b9;
}

.a2z-category-selector select:focus {
    outline: none;
    border-color: #e74c3c;
}

/* Container pour la liste des périodiques et la notice */
.a2z-content-wrapper {
    display: flex;
    gap: 20px;
}

/* Menu latéral des périodiques (desktop uniquement) */
.a2z-sidebar {
    width: 280px;
    background-color: #2c3e50;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.a2z-sidebar h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.a2z-sidebar-serials {
    list-style: none;
}

.a2z-sidebar-serials li {
    margin-bottom: 10px;
}

.a2z-serial-button {
    width: 100%;
    padding: 12px 15px;
    background-color: #34495e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s;
    font-size: 0.95rem;
}

.a2z-serial-button:hover {
    background-color: #3d566e;
}

.perio_active .a2z-serial-button {
    background-color: #e74c3c;
    font-weight: bold;
}

/* Sélecteur de périodique mobile (caché sur desktop) */
.a2z-mobile-serial-selector {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.a2z-mobile-serial-selector label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.95rem;
}

.a2z-mobile-serial-selector select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #3498db;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
}

/* Contenu principal */
.a2z-main-serial {
    flex: 1;
}

/* Notice principale */
.a2z-notice-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.a2z-notice-card h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.a2z-notice-info {
    margin: 15px 0;
    line-height: 1.8;
}

.a2z-notice-info strong {
    color: #34495e;
}

/* .btn { */
/*     display: inline-block; */
/*     padding: 10px 20px; */
/*     background-color: #3498db; */
/*     color: white; */
/*     text-decoration: none; */
/*     border-radius: 5px; */
/*     margin: 10px 10px 10px 0; */
/*     transition: background-color 0.3s; */
/* } */

/* .btn:hover { */
/*     background-color: #2980b9; */
/* } */

/* RESPONSIVE - Tablettes et mobiles */
@media (max-width: 768px) {
/*     Cacher le menu latéral des périodiques */
    .a2z-sidebar {
        display: none;
    }

/*     Afficher le sélecteur mobile */
    .a2z-mobile-periodique-selector {
        display: block;
    }

/*     Contenu en pleine largeur */
    .a2z-content-wrapper {
        flex-direction: column;
    }

    .a2z-alphabet-buttons {
        gap: 6px;
    }

    .a2z-alphabet-btn {
        min-width: 40px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .a2z-notice-card {
        padding: 20px;
    }

    .a2z-notice-card h1 {
        font-size: 1.4rem;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .a2z-container {
        padding: 10px;
    }

    .a2z-alphabet-nav,
    .a2z-selectors-container {
        padding: 15px;
    }

    .a2z-alphabet-buttons {
        gap: 4px;
    }

    .a2z-alphabet-btn {
        min-width: 35px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .a2z-notice-card {
        padding: 15px;
    }

    .a2z-notice-card h1 {
        font-size: 1.2rem;
    }

/*     .btn { */
/*         display: block; */
/*         text-align: center; */
/*         margin: 10px 0; */
/*     } */
}
