.error-card {
    /* position: fixed;
    top: 20px;
    right: 20px; */
    max-width: 320px;
    background-color: #fdecea;
    color: #611a15;
    padding: 15px 18px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1;
    font-size: 14px;
    margin-top: 50px;
    animation: slideDown 0.4s ease-out, fadeOut 0.5s ease-in 5s forwards;
}

.error-card ul {
    margin: 0;
    padding-left: 18px;
}

.error-card li {
    margin-bottom: 6px;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}
.animate-slide-down {
    animation: slideDown 0.4s ease-out;
}

.alert-card {
    /* position: fixed;
    top: 20px;
    right: 20px; */
    margin-top: 50px;
    margin-right: 20px;
    max-width: 340px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 9999;
}

/* TYPES */
.alert-error {
    background: #fdecea;
    color: #611a15;
}

.alert-success {
    background: #e6f4ea;
    color: #1e4620;
}

.alert-warning {
    background: #fff4e5;
    color: #663c00;
}

.alert-info {
    background: #e8f0fe;
    color: #1a3c78;
}
