/* WP Push Notify — Prompt de permissão */

#wpn-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#wpn-prompt.wpn-prompt-visible {
    opacity: 1;
    transform: translateY(0);
}
.wpn-prompt-inner {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.08);
    padding: 20px 24px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(0,0,0,.06);
}
.wpn-prompt-icon { font-size: 28px; line-height: 1; }
.wpn-prompt-text p { margin: 0; font-size: 14px; line-height: 1.5; color: #333; }
.wpn-prompt-categories {
    margin: 8px 0;
}
.wpn-prompt-categories-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
}
.wpn-prompt-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 120px;
    overflow-y: auto;
}
.wpn-category-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0f0f1;
    color: #333;
    cursor: pointer;
    transition: all .2s ease;
    border: 2px solid transparent;
}
.wpn-category-tag:hover {
    background: #e0e0e1;
}
.wpn-category-tag.wpn-category-selected {
    background: #2271b1;
    color: #fff;
    border-color: #135e96;
}
.wpn-prompt-actions { display: flex; gap: 8px; margin-top: 4px; }
.wpn-btn {
    border: none; border-radius: 8px; padding: 10px 20px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all .2s ease; line-height: 1;
}
.wpn-btn-allow { background: #2271b1; color: #fff; flex: 1; }
.wpn-btn-allow:hover { background: #135e96; }
.wpn-btn-dismiss { background: #f0f0f1; color: #666; flex-shrink: 0; }
.wpn-btn-dismiss:hover { background: #dcdcde; color: #333; }

@media (max-width: 480px) {
    #wpn-prompt { bottom: 10px; right: 10px; left: 10px; }
    .wpn-prompt-inner { max-width: 100%; }
}

@media (prefers-color-scheme: dark) {
    .wpn-prompt-inner {
        background: #1e1e1e;
        border-color: rgba(255,255,255,.1);
        box-shadow: 0 8px 32px rgba(0,0,0,.4);
    }
    .wpn-prompt-text p { color: #e0e0e0; }
    .wpn-prompt-categories-label { color: #aaa; }
    .wpn-category-tag { background: #333; color: #fff; }
    .wpn-category-tag:hover { background: #444; }
    .wpn-btn-dismiss { background: #333; color: #aaa; }
    .wpn-btn-dismiss:hover { background: #444; color: #fff; }
}
