#simple-toast {
    --st-accent: #0073aa;
    position: fixed;
    z-index: 999999;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 16px 38px 16px 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;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--st-accent);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s ease;
    pointer-events: none;
}

#simple-toast.st-clickable {
    cursor: pointer;
}

#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; }

#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 */
#simple-toast.st-stacked {
    flex-direction: column;
    text-align: center;
    max-width: 320px;
    padding: 18px 38px 14px 20px;
    align-items: center;
    border-left: none;
    border-top: 4px solid var(--st-accent);
}

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

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

#simple-toast.st-stacked .st-buttons {
    justify-content: center;
}

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

/* Content wrapper */
#simple-toast .st-content {
    flex: 1;
    min-width: 0;
}

/* Title */
#simple-toast .st-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--st-accent);
    margin: 0 0 2px 0;
}

/* Description */
#simple-toast .st-description {
    color: #000;
    font-size: 13px;
    margin: 0;
    word-wrap: break-word;
}

/* Buttons row */
#simple-toast .st-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

#simple-toast .st-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--st-accent);
    transition: background 0.15s, color 0.15s, transform 0.1s;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

#simple-toast .st-btn:active {
    transform: scale(0.96);
}

#simple-toast .st-btn-primary {
    background: var(--st-accent);
    color: #fff;
}

#simple-toast .st-btn-primary:hover {
    filter: brightness(1.1);
}

#simple-toast .st-btn-secondary {
    background: transparent;
    color: var(--st-accent);
}

#simple-toast .st-btn-secondary:hover {
    background: var(--st-accent);
    color: #fff;
}

/* Close button */
#simple-toast .st-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0 0 0 4px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s;
    position: absolute;
    top: 8px;
    right: 10px;
}

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

/* Don't show again */
#simple-toast .st-dont-show {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #999;
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
}

#simple-toast.st-stacked .st-dont-show {
    text-align: center;
}

#simple-toast .st-dont-show:hover {
    color: #666;
}

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

/* Mobile */
@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;
    }
}
