/* ========================================
   BUNQR — Dialogs d'action collaborateur
   Layout "Side Splash" — v1.1
   Utilisé par : EnableEmployeeDialog, DisableEmployeeDialog,
                 GrantAppAccessDialog, SuspendAppAccessDialog
   ======================================== */

/* Coquille principale — flex row */
.ead-shell {
    display: flex;
    min-height: 340px;
    overflow: hidden;
}

/* ── Panneau gauche (splash coloré) ── */
.ead-splash {
    width: 176px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    gap: 14px;
}

/* Avatar initiales */
.ead-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bunqr-ocre);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    flex-shrink: 0;
}

/* Cercle icône action */
.ead-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Label mode (ex: "ACTIVATION RH") */
.ead-splash-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-align: center;
    line-height: 1.4;
}

/* Badge périmètre (mode app-on) */
.ead-scope-badge {
    background: rgba(255, 255, 255, .7);
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Panneau droit (contenu formulaire) ── */
.ead-content {
    flex: 1;
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.ead-title {
    font-weight: 700;
    font-size: 17px;
    font-family: 'DM Sans', sans-serif;
    color: var(--bunqr-noir);
}

.ead-subtitle {
    font-size: 12px;
    color: #718096;
    margin-top: 3px;
    line-height: 1.5;
}

/* Pied de dialog — boutons */
.ead-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--bunqr-border, #E2E4E6);
}

/* ── Bandeaux inline ── */

/* Succès (vert) — post activation RH */
.ead-success-banner {
    background: rgba(46, 125, 94, .08);
    border: 1px solid rgba(46, 125, 94, .2);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 12px;
    color: #2e7d5e;
    line-height: 1.5;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* Shortcut "Créer l'accès app ?" */
.ead-shortcut {
    background: rgba(161, 196, 207, .15);
    border: 1px solid rgba(161, 196, 207, .6);
    border-radius: 6px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ead-shortcut-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Avertissement (rouge) — suspension accès */
.ead-warning-banner {
    background: rgba(176, 42, 55, .06);
    border: 1px solid rgba(176, 42, 55, .2);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 12px;
    color: var(--bunqr-danger, #b02a37);
    line-height: 1.5;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* ── Variantes splash par mode ── */
.ead-splash--rh-on  { background: var(--bunqr-vert, #D6DEDD); }
.ead-splash--app-on { background: rgba(161, 196, 207, .5); }
.ead-splash--rh-off { background: rgba(176, 42, 55, .08); }
.ead-splash--app-off{ background: #f3f4f6; }
