.custom-alert {
    max-width: 500px;
    background-color: white;
    color: #03A1AA;
    border: 1px solid #03A1AA;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: fixed; /* Ensures the toast is fixed relative to the viewport */
    top: 150px; /* Distance from the top of the viewport */
    right: 20px; /* Distance from the right of the viewport */
    z-index: 9999; /* Ensures the toast appears above other elements */
    animation: slide-in 0.5s ease-out, fade-out 0.5s ease-in 4.5s; /* Slide-in and fade-out animations */
}

/* Slide-in animation */
@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Fade-out animation */
@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


.custom-alert .alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.custom-alert .close-button-success {
    background: none;
    border: none;
    font-size: 16px;
    color: #03A1AA;
    cursor: pointer;
}

.custom-alert .close-button-warning {
    background: none;
    border: none;
    font-size: 16px;
    color: #ffc107;
    cursor: pointer;
}

.custom-alert .close-button-error {
    background: none;
    border: none;
    font-size: 16px;
    color: #dc3545;
    cursor: pointer;
}

/* Error Alert */
.error-alert {
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Warning Alert */
.warning-alert {
    color: #ffc107;
    border: 1px solid #ffc107;
}
