/*
 * Notifications, demandes d'absence, envoi du planning et photos de chantier
 * (retour client du 01/10/2026).
 */

/* Cloche de l'en-tête et sa pastille de non lues : cible de 44 px. */
.cloche {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--texte-doux);
}
.cloche:hover { background: var(--gris-pale); color: var(--texte); text-decoration: none; }
.cloche--active { color: var(--orange-fonce); }
.cloche .nav-icone { width: 22px; height: 22px; margin: 0; }
.cloche__pastille {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--rouge);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* Liste des notifications : une ligne entière à toucher. */
.liste-notifications, .liste-copies-locales { margin: 0; padding: 0; list-style: none; }
.liste-notifications > li + li, .liste-copies-locales > li + li { border-top: 1px solid var(--bordure); }
.liste-notifications__lien {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .15rem .75rem;
    min-height: 44px;
    padding: .65rem .25rem;
    color: inherit;
}
.liste-notifications__lien:hover { text-decoration: none; background: var(--fond); }
.liste-notifications__titre { font-weight: 600; overflow-wrap: anywhere; }
.liste-notifications__message { grid-column: 1 / -1; color: var(--texte-doux); font-size: .9rem; overflow-wrap: anywhere; }
.liste-notifications__date { grid-column: 1 / -1; color: var(--texte-faible); font-size: .8rem; }
.est-non-lue .liste-notifications__titre::before {
    content: "";
    display: inline-block;
    width: .55rem;
    height: .55rem;
    margin-right: .45rem;
    border-radius: 50%;
    background: var(--orange);
    vertical-align: middle;
}

/* Demandes d'absence : même principe. */
.liste-absences { margin: 0; padding: 0; list-style: none; }
.liste-absences > li + li { border-top: 1px solid var(--bordure); }
.liste-absences__lien {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .1rem .75rem;
    min-height: 44px;
    padding: .6rem .25rem;
    color: inherit;
}
.liste-absences__lien:hover { text-decoration: none; background: var(--fond); }
.liste-absences__lien > .badge { grid-column: 2; grid-row: 1 / span 3; }
.liste-absences__titre { font-weight: 600; overflow-wrap: anywhere; }
.liste-absences__periode { color: var(--texte-doux); font-size: .9rem; }
.liste-absences__motif { color: var(--rouge); font-size: .85rem; overflow-wrap: anywhere; }

/* Bandeau d'envoi du planning, sous la navigation des semaines. */
.envoi-planning {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
}
.envoi-planning > p { margin: 0; }
.envoi-planning form { margin: 0; }
.envoi-planning__manquants { flex-basis: 100%; margin: 0; padding-left: 1.2rem; font-size: .9rem; }
