.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeInOut 5s ease-in-out forwards;
    opacity: 0;
}

.toast.success {
    background-color: #4CAF50;
}

.toast.error {
    background-color: #f44336;
}

.toast.warning {
    background-color: #ff9800;
    /* orange */
}

.toast.info {
    background-color: #2196f3;
    /* blue */
}


@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0;
        transform: translateY(20px);
    }

    10%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.3s ease;
}

.alert .material-icons-outlined {
    font-size: 20px;
}

.alert-success {
    background-color: #e6f9ec;
    color: #157347;
    border-left: 4px solid #198754;
}

.alert-error {
    background-color: #fdecea;
    color: #b02a37;
    border-left: 4px solid #dc3545;
}

.alert-danger {
    background-color: #fdecea;
    color: red;
    border-left: 4px solid red;
}

.alert-warning {
    background-color: #fff8e5;
    color: #8a6d3b;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background-color: #e7f3fe;
    color: #0c63e4;
    border-left: 4px solid #0d6efd;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
