```css
/* =====================================================
   EDH — Alertes personnalisées
   ===================================================== */


.edh-alert-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(15, 35, 70, 0.42);
    backdrop-filter: blur(3px);

    animation: edh-alert-fade-in 0.2s ease;
}

.edh-alert-box {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: auto;
    box-sizing: border-box;

    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 25px;
    background: #ffffff;
    border: 1px solid #d93025;
    border-left: 4px solid #d93025;
    border-radius: 14px;

    box-shadow: 0 18px 55px rgba(20, 45, 85, 0.22);

    animation: edh-alert-appear 0.22s ease;
}


.edh-alert-box.edh-alert-info {
    border-top-color: #315fba;
}

.edh-alert-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #DB0F00;
    color: #fff;

    font-size: 24px;
    font-weight: 700;
}

.edh-alert-info .edh-alert-icon {
    background: #eaf1ff;
    color: #315fba;
}

.edh-alert-content {
    flex: 1;
    min-width: 0;
}

.edh-alert-title {
    margin: 1px 0 9px;
    color: #173b73;
    font-size: 19px;
    font-weight: 700;
}

.edh-alert-message {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    white-space: pre-line;
    line-height: 1.6;
}

.edh-alert-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.edh-alert-button {
    min-width: 100px;
    padding: 10px 22px;

    border: 0;
    border-radius: 8px;

    background: #315fba;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    transition: background 0.2s ease,
                transform 0.15s ease;
}

.edh-alert-button:hover {
    background: #D60000;
}

.edh-alert-button:active {
    transform: scale(0.97);
}

.edh-alert-button:focus-visible {
    outline: 3px solid #91b5ff;
    outline-offset: 3px;
}



.edh-alert-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    /* Fond plus opaque */
    background: rgba(10, 25, 50, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    /* Bloquer les interactions avec la page */
    pointer-events: auto;

    animation: edh-alert-fade-in 0.2s ease;
}


.edh-alert-box {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none;
    margin: auto !important;
}


@keyframes edh-alert-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes edh-alert-appear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 500px) {
    .edh-alert-box {
        gap: 12px;
        padding: 20px 17px;
    }

    .edh-alert-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 21px;
    }

    .edh-alert-title {
        font-size: 17px;
    }

    .edh-alert-message {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .edh-alert-overlay,
    .edh-alert-box {
        animation: none;
    }
}
```