/* ── LogoutModal — préfixe lm- pour éviter tout conflit Bootstrap ── */

.lm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    background: rgba(10, 18, 32, .65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lm-dialog {
    background: #ffffff;
    border-radius: 16px;
    box-shadow:
        0 2px 4px  rgba(0, 0, 0,    .04),
        0 8px 24px rgba(15, 27, 45, .18),
        0 24px 64px rgba(15, 27, 45, .14);
    width: 100%;
    max-width: 540px;
    overflow: hidden;
    animation: lm-pop .22s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes lm-pop {
    from { opacity: 0; transform: scale(.88) translateY(16px); }
    to   { opacity: 1; transform: scale(1)   translateY(0);    }
}

/* ── Header navy ─────────────────────────────────────────────── */
.lm-header {
    position: relative;
    background: linear-gradient(135deg, #0F1B2D 0%, #1E3A5F 100%);
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.lm-circles { position: absolute; inset: 0; pointer-events: none; }
.lm-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
}
.lm-circle.c1 { width: 220px; height: 220px; top: -80px; right: -60px; }
.lm-circle.c2 { width: 140px; height: 140px; top: -20px; right:  20px; }

.lm-brand {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .4);
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.lm-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: rgba(255, 255, 255, .6);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.lm-close:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.lm-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(220, 38, 38, .18);
    border: 2px solid rgba(220, 38, 38, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #f87171;
    position: relative;
    z-index: 1;
}

/* ── Corps ───────────────────────────────────────────────────── */
.lm-body {
    padding: 32px 40px 28px;
    text-align: center;
}

.lm-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F1B2D;
    margin: 0 0 10px;
    line-height: 1.25;
}

.lm-desc {
    font-size: 14px;
    color: #6B7F94;
    line-height: 1.65;
    margin: 0 0 28px;
}

.lm-desc strong {
    color: #2E86C1;
    font-weight: 600;
}

/* ── Boutons ─────────────────────────────────────────────────── */
.lm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.lm-btn {
    flex: 1;
    max-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.lm-btn:active { transform: scale(.97); }

.lm-btn-cancel {
    background: #F0F4F8;
    color: #1A2B3C;
    border: 1px solid #D6E0EA;
}
.lm-btn-cancel:hover { background: #dde5ef; border-color: #b8c9d9; }

.lm-btn-confirm {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, .3);
}
.lm-btn-confirm:hover {
    background: linear-gradient(135deg, #c81e1e 0%, #991b1b 100%);
    box-shadow: 0 6px 16px rgba(220, 38, 38, .4);
}
