.toast-container.app-toast-container {
    z-index: 20000;
}

#liveToast.app-toast.toast {
    --toast-accent: #3b82f6;
    --toast-glow: rgba(59, 130, 246, 0.22);
    width: 360px;
    max-width: calc(100vw - 32px);
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    padding: 0;
    position: relative;
}

#liveToast.app-toast.toast.app-toast-success {
    --toast-accent: #22c55e;
    --toast-glow: rgba(34, 197, 94, 0.22);
}

#liveToast.app-toast.toast.app-toast-info {
    --toast-accent: #3b82f6;
    --toast-glow: rgba(59, 130, 246, 0.22);
}

#liveToast.app-toast.toast.app-toast-error {
    --toast-accent: #ef4444;
    --toast-glow: rgba(239, 68, 68, 0.2);
}

#liveToast.app-toast.toast::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(140px 90px at 0% 0%, var(--toast-glow), transparent 72%);
    pointer-events: none;
}

#liveToast.app-toast .app-toast-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 16px 18px;
    position: relative;
    z-index: 1;
}

#liveToast.app-toast.app-toast-compact .app-toast-inner {
    align-items: center;
}

#liveToast.app-toast .app-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--toast-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#liveToast.app-toast .app-toast-icon svg {
    display: block;
}

#liveToast.app-toast .app-toast-content {
    flex: 1;
    min-width: 0;
    padding-right: 4px;
}

#liveToast.app-toast .app-toast-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

#liveToast.app-toast .app-toast-desc {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: #8b8f96;
}

#liveToast.app-toast .app-toast-desc[hidden],
#liveToast.app-toast .app-toast-actions[hidden] {
    display: none !important;
}

#liveToast.app-toast .app-toast-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

#liveToast.app-toast .app-toast-action {
    background: none;
    border: none;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.2;
    cursor: pointer;
}

#liveToast.app-toast .app-toast-action-primary {
    color: #2563eb;
    font-weight: 700;
}

#liveToast.app-toast .app-toast-action-muted {
    color: #9aa0a6;
    font-weight: 400;
}

#liveToast.app-toast .app-toast-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: -2px;
    padding: 0;
    border: none;
    background: transparent;
    color: #c0c4c8;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: none;
}

#liveToast.app-toast.app-toast-compact .app-toast-close {
    margin-top: 0;
}

#liveToast.app-toast .app-toast-close:hover,
#liveToast.app-toast .app-toast-close:focus {
    color: #8b8f96;
    background: transparent;
    box-shadow: none;
}

#liveToast.app-toast.toast.show {
    display: block;
    opacity: 1;
}
