/* WP Self Push — Frontend Prompt Styles */

#wpsp-prompt {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    max-width: 360px;
    width: calc(100% - 48px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.10);
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transform: translateY(20px);
    opacity: 0;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .35s ease;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

#wpsp-prompt.wpsp-visible {
    transform: translateY(0);
    opacity: 1;
}

.wpsp-prompt-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px 18px 18px;
}

.wpsp-prompt-icon {
    font-size: 2em;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #fff7e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpsp-prompt-text {
    flex: 1;
    min-width: 0;
}

.wpsp-prompt-text strong {
    display: block;
    font-size: .95em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.wpsp-prompt-text p {
    margin: 0;
    font-size: .82em;
    color: #666;
    line-height: 1.4;
}

.wpsp-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.wpsp-prompt-actions button {
    border: none;
    cursor: pointer;
    border-radius: 7px;
    padding: 7px 14px;
    font-size: .82em;
    font-weight: 600;
    transition: background .2s, transform .1s;
}

.wpsp-prompt-actions button:active {
    transform: scale(.97);
}

#wpsp-allow {
    background: #0073aa;
    color: #fff;
}

#wpsp-allow:hover {
    background: #005177;
}

#wpsp-deny {
    background: #f0f0f0;
    color: #555;
}

#wpsp-deny:hover {
    background: #e0e0e0;
}

/* Toast */
.wpsp-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1a1a1a;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: .9em;
    font-weight: 500;
    z-index: 99999;
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.wpsp-toast.wpsp-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile */
@media (max-width: 480px) {
    #wpsp-prompt {
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 14px 14px 0 0;
    }
    .wpsp-prompt-actions {
        flex-direction: row;
    }
}
