#alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    padding: 12px 16px;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateX(100%);
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
}

.alert.success { background-color: #28a745; } /* Green */
.alert.warning { background-color: #F9AA1B; } /* Yellow */
.alert.info { background-color: #17a2b8; } /* Blue */
.alert.error { background-color: #dc3545; } /* Red */

.alert .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
