/* Toast notifications — bottom center */

.toast-container {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    width: min(90vw, 28rem);
}

.toast {
    pointer-events: auto;
    width: 100%;
    padding: 0.85rem 1.15rem;
    border-radius: 0.6rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast.is-leaving {
    opacity: 0;
    transform: translateY(0.5rem);
}

.toast--success {
    background: #166534;
    color: #ffffff;
}

.toast--error {
    background: #991b1b;
    color: #ffffff;
}

.toast--info {
    background: #1e40af;
    color: #ffffff;
}
