/* Mes alertes (/alertes, 25/11/2026). Couleurs et variables de site.css (--violet, --bord, --gris). */
.alertes-page { max-width: 820px; margin: 0 auto; padding: 8px 12px 32px; }
.alertes-page [hidden] { display: none !important; }
.alertes-tete h1 { margin: 12px 0 6px; font-size: 1.7rem; color: var(--violet); }
.alertes-tete p a { color: var(--violet); }
.alertes-actions { margin: 12px 0 8px; }
.alertes-actions .btn { text-transform: none; font-weight: 700; }
.alertes-etat { color: var(--gris); }
.alertes-etat.erreur { color: #a00020; }
.alertes-liste { margin: 0; padding: 0; list-style: none; }
.alerte { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--bord); border-radius: 10px; background: #fff; margin-bottom: 8px; }
.alerte.non-lue { background: #F2F3FF; border-color: var(--violet); }
.alerte-icone { flex: none; width: 2rem; text-align: center; font-size: 1.3rem; color: var(--violet); padding-top: 2px; }
.alerte-texte { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.4; }
.alerte-texte a { color: var(--violet); }
.alerte-texte .alerte-qui { font-weight: 700; }
.alerte-heure { display: block; color: var(--gris); font-size: .85rem; margin-top: 2px; }
.alerte-pastille { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: #dc3545; }
.alerte.lue .alerte-pastille { visibility: hidden; }
.alerte-voir { flex: none; align-self: center; }
.alerte-voir a { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 10px; color: var(--violet); font-weight: 600; text-decoration: none; }
.alerte-voir a:hover, .alerte-voir a:focus-visible { text-decoration: underline; }
@media (max-width: 520px) {
  .alerte { flex-wrap: wrap; }
  .alerte-voir { flex-basis: 100%; text-align: right; }
}
