
#toast-container {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.toast-item {
    background: #fff;
    color: #111;
    padding: 12px 20px 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.07);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
    animation: toastIn 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}


.toast-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.toast-item.success::before { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.5); }
.toast-item.error::before   { background: #f87171; box-shadow: 0 0 6px rgba(248,113,113,0.5); }
.toast-item.info::before    { background: #60a5fa; box-shadow: 0 0 6px rgba(96,165,250,0.5); }


.toast-item.success svg { color: #16a34a; }
.toast-item.error   svg { color: #dc2626; }
.toast-item.info    svg { color: #2563eb; }

.toast-item.fade-out {
    animation: toastOut 0.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-14px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)     scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0)     scale(1); }
    to   { opacity: 0; transform: translateY(-10px) scale(0.95); }
}
