/* ==========================================================================
   STYLE TRAITEMENTS OBLIGATOIRES
   ========================================================================== */

/* --- 1. Style Section generale (?section=to_index) ----------- */

/* --- 2. Style Section dates (?section=to_dates) -------------- */
.cadre-dates {
    background-color: var(--blanc);
    border: 2px solid var(--color-blue-normal);
    border-radius: 10px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cadre-dates h2 {
    margin-top: 0;
    color: var(--color-blue-dark);
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.texte-dates-attente {
    font-style: italic;
    color: #777;
    font-weight: bold;
}

.texte-dates-valide {
    color: var(--color-blue-dark);
    line-height: 1.6;
}

/* Blocs de contenu */
.bloc-contenu {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.bloc-contenu h3 {
    color: #333;
    font-size: 1.4rem;
}

/* --- 3. Style Section tableau et telechargement (?section=to_telechargement) -------------- */


/* Liens Communne */
.nom-commune a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

.nom-commune a:hover {
    color: var(--color-alfa);
    text-decoration: underline;
}

/* Boutons ZTO */
.cellule-ztos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-zto {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    color: #333;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-zto:hover {
    background-color: var(--color-alfa);
    color: white;
    border-color: var(--color-alfa);
}

/* Legende sans TO */
.sin-to {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
}