#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    color: white;
    min-width: 300px;
    max-width: 400px;
    border-radius: 4px;
    padding: 15px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    animation: slideIn 0.4s ease-out;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.toast .left-icon {
    font-size: 24px;
    margin-right: 15px;
}

.toast .message {
    flex-grow: 1;
    font-size: 16px;
    text-align: center;
}

.toast .close-btn {
    font-size: 18px;
    cursor: pointer;
    margin-left: 15px;
}

.toast .timer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: white;
    animation: shrinkTimer 4s linear forwards;
}

.toast.success { background: #7a9d74; }
.toast.error { background: #F5A3A3; }
.toast.info { background: linear-gradient(to right, #00529B, #89CFF0); }

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