#ea-container {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    pointer-events: none;
}

/* ALERT CARD */
.ea-alert {
    pointer-events: auto;
    min-width: 340px;
    max-width: 420px;
    border-radius: 16px;
    padding: 18px 20px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;

    opacity: 0;
    transform: translateX(140%);
    transition: all .45s cubic-bezier(.21,1.02,.73,1);

    box-shadow:
            0 20px 40px rgba(0,0,0,.12),
            0 8px 18px rgba(0,0,0,.08);
}

.ea-alert.show {
    opacity: 1;
    transform: translateX(0);
}

.ea-alert.hide {
    opacity: 0;
    transform: translateX(140%);
}

/* ICON */
.ea-icon {
    font-size: 22px;
    margin-top: 2px;
}

/* MESSAGE */
.ea-message {
    flex: 1;
    font-size: 15.5px;
    font-weight: 500;
}

/* CLOSE BUTTON */
.ea-close {
    border: none;
    background: rgba(255,255,255,.7);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

/* PROGRESS BAR */
.ea-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: rgba(255,255,255,.7);
    transform-origin: left;
}

/* TYPES */

.ea-success {
    background: linear-gradient(135deg,#00c853,#69f0ae,#ffffff);
    color: #004d25;
}

.ea-error {
    background: linear-gradient(135deg,#ff1744,#ff8a80,#ffffff);
    color: #7a0000;
}

.ea-warning {
    background: linear-gradient(135deg,#ff9100,#ffd180,#ffffff);
    color: #663c00;
}

.ea-info {
    background: linear-gradient(135deg,#2979ff,#82b1ff,#ffffff);
    color: #001e62;
}

/* DARK MODE AUTO SUPPORT */
@media (prefers-color-scheme: dark) {

    .ea-alert {
        color: white;
        box-shadow:
                0 25px 60px rgba(0,0,0,.6);
    }

    .ea-close {
        background: rgba(0,0,0,.4);
        color: white;
    }

    .ea-progress {
        background: rgba(255,255,255,.5);
    }
}

/* CONFIRM MODAL */

#ea-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000000;

    opacity: 0;
    transition: .25s;
}

#ea-confirm-overlay.show {
    opacity: 1;
}

.ea-confirm-box {
    background: white;
    border-radius: 18px;
    padding: 26px;
    width: 420px;
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
    font-family: 'Segoe UI';
}

.ea-confirm-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.ea-btn {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.ea-btn-confirm {
    background: #2962ff;
    color: white;
}

.ea-btn-cancel {
    background: #e0e0e0;
}
