#simple-toast {
    position: fixed;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 14px 18px;
    max-width: 420px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #1a1a2e;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

#simple-toast.st-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#simple-toast.st-hiding {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* Positions */
#simple-toast.st-bottom-right { bottom: 24px; right: 24px; }
#simple-toast.st-bottom-left  { bottom: 24px; left: 24px; }
#simple-toast.st-top-right    { top: 24px;    right: 24px; }
#simple-toast.st-top-left     { top: 24px;    left: 24px; }

/* Top positions slide down instead of up */
#simple-toast.st-top-right,
#simple-toast.st-top-left {
    transform: translateY(-20px);
}
#simple-toast.st-top-right.st-visible,
#simple-toast.st-top-left.st-visible {
    transform: translateY(0);
}
#simple-toast.st-top-right.st-hiding,
#simple-toast.st-top-left.st-hiding {
    transform: translateY(-20px);
}

/* Stacked layout: logo above text */
#simple-toast.st-stacked {
    flex-direction: column;
    text-align: center;
    max-width: 300px;
    padding: 18px 20px 14px;
}

#simple-toast.st-stacked .st-logo {
    height: 44px;
    margin-bottom: 2px;
}

#simple-toast.st-stacked .st-close {
    position: absolute;
    top: 8px;
    right: 10px;
    padding: 0;
}

#simple-toast .st-logo {
    height: 36px;
    width: auto;
    border-radius: 6px;
    flex-shrink: 0;
}

#simple-toast .st-text {
    flex: 1;
    color: #1a1a2e;
    text-decoration: none;
}

#simple-toast .st-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0 0 0 8px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s;
}

#simple-toast .st-close:hover {
    color: #333;
}

#simple-toast:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    #simple-toast {
        left: 12px !important;
        right: 12px !important;
        max-width: none;
        bottom: 12px !important;
        top: auto !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #simple-toast {
        transition: opacity 0.15s;
        transform: none !important;
    }
    #simple-toast.st-hiding {
        transform: none !important;
    }
}
