.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: toast-in 0.3s ease-out;
    max-width: 360px;
}

.toast.toast-out {
    animation: toast-out 0.2s ease-in forwards;
}

.toast-success {
    background: rgb(240 253 244);
    color: rgb(22 101 52);
    border: 1px solid rgb(187 247 208);
}

.toast-error {
    background: rgb(254 242 242);
    color: rgb(153 27 27);
    border: 1px solid rgb(254 202 202);
}

.toast-warning {
    background: rgb(255 251 235);
    color: rgb(146 64 14);
    border: 1px solid rgb(254 215 170);
}

.toast-info {
    background: rgb(240 249 255);
    color: rgb(30 64 175);
    border: 1px solid rgb(191 219 254);
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toast-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .toast {
        animation: none;
    }
    .toast.toast-out {
        animation: none;
        opacity: 0;
    }
}