#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 99999;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    width: 100%;
    max-width: 100%;

    pointer-events: none;
}

.toast {
    width: 320px;
    max-width: calc(100vw - 40px);

    box-sizing: border-box;

    padding: 12px 18px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 500;

    text-align: center;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);

    pointer-events: auto;

    animation:
        toast-in 0.25s ease,
        toast-out 0.3s ease 4.7s forwards;
}

.toast.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.toast.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.toast.info {
    background: #e0f2fe;
    color: #075985;
    border: 1px solid #bae6fd;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toast-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-15px);
    }
}