/* CRM — « Toutes les demandes » (CDC V3.4 Annexe E7, D193). */

.admission-liste-table .admission-row {
    cursor: pointer;
}

.admission-liste-table .admission-row:hover,
.admission-liste-table .admission-row:focus-visible {
    background: var(--surface-hover, #f6f2ea);
    outline: none;
}

.admission-liste-table .admission-row:focus-visible {
    box-shadow: inset 3px 0 0 var(--accent-gold, #c9a227);
}

.admission-enfant-famille {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admission-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.admission-liste-table thead th {
    font-size: 13px;
    font-weight: 700;
    color: var(--cta, #0d1b3e);
}

/* E13 point 1 : le tableau occupe toute la largeur (panneaux latéraux supprimés). */
[data-theme="direction"] .admission-layout { grid-template-columns: 1fr; }

/* E13 point 2 : pastilles de priorité plus grandes, plus saturées, texte blanc en gras. */
.prio-pastille {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 36px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.prio-p0 { background: #16a34a; }
.prio-p1 { background: #2563eb; }
.prio-p2 { background: #ea580c; }
.prio-aucune { background: #6b7280; }

/* E13 point 5 : dégradé de bleu croissant sur 1.1 à 1.4 ; texte blanc dès 1.3. */
.etape-cellule {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.etape-cellule-1-1 { background: #dbeafe; color: #1e3a8a; }
.etape-cellule-1-2 { background: #93c5fd; color: #1e3a8a; }
.etape-cellule-1-3 { background: #3b82f6; color: #ffffff; }
.etape-cellule-1-4 { background: #1e40af; color: #ffffff; }

.temps-feu {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

.temps-feu-vert { background: #2e9e4f; }
.temps-feu-jaune { background: #e0a526; }
.temps-feu-rouge { background: #c8453b; }

.admission-detail-reference {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 8px;
    font-size: 13px;
}

.agenda-pastille-recommandee {
    box-shadow: inset 0 0 0 2px var(--cta, #0d1b3e);
}
