

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

.toast-item {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 14px 0 0;
    min-width: 220px;
    max-width: 360px;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(225, 236, 255, 0.88);
    background: rgba(22, 26, 38, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    animation: toastIn 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
    overflow: hidden;
}

.toast-accent {
    width: 38px;
    min-width: 38px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: stretch;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.toast-accent svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.toast-body {
    flex: 1;
    padding: 11px 0;
    word-break: break-word;
}

.toast-item.success .toast-accent { color: rgba(134, 239, 172, 0.85); }
.toast-item.error   .toast-accent { color: rgba(252, 165, 165, 0.85); }
.toast-item.info    .toast-accent { color: rgba(147, 197, 253, 0.85); }

.toast-item.fade-out {
    animation: toastOut 0.22s ease forwards;
}

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

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