#toast-container {
    position: fixed;
    bottom: 1rem; 
    right: 1rem;
    z-index: 1055;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    min-width: 280px;
    max-width: 350px;
    background-color: #fff;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    border-left: 5px solid #0d6efd;
    overflow: hidden;
    animation: toast-in 0.3s ease-out;
}


.toast.hide {
    animation: toast-out 0.3s ease-in forwards;
}

.toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    padding-bottom: 0.5rem;
    font-weight: 600;
    background-color: #f8f9fa;
}

.toast-header span {
    color: var(--color-dark-gray);
}

.toast-body {
    padding: 1rem;
    padding-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0.6;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes toast-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-out {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.toast.success { border-left-color: #198754; }
.toast.error   { border-left-color: #dc3545; }
.toast.warning { border-left-color: #ffc107; }
.toast.info    { border-left-color: #0dcaf0; }
