/* ==========================================================================
   Toast notifications
   ========================================================================== */

.tsc-toast-container {
    position: fixed;
    bottom: 80px; /* sits above the sticky bottom bar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 200000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    width: 100%;
    max-width: 360px;
    padding: 0 16px;
}

.tsc-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(22, 24, 35, 0.95);
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1),
                opacity 0.25s ease;
    max-width: 100%;
}
.tsc-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}
.tsc-toast.is-dismissing {
    transform: translateY(-10px);
    opacity: 0;
}

.tsc-toast__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}
.tsc-toast__message {
    flex: 1;
    min-width: 0;
}

.tsc-toast--success .tsc-toast__icon { color: #161823; }
.tsc-toast--error   .tsc-toast__icon { color: #dc2626; }
.tsc-toast--info    .tsc-toast__icon { color: #161823; }

@media (min-width: 768px) {
    .tsc-toast-container {
        bottom: 32px;
    }
}