/* BnR Web Push — bell + modal styles */

#bnr-webpush-bell {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1E3A5F;
    border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99990;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
#bnr-webpush-bell.bnr-show { display: flex; }
#bnr-webpush-bell:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.28); }
#bnr-webpush-bell svg { width: 24px; height: 24px; color: #fff; }
#bnr-webpush-bell .bnr-bell-dot {
    position: absolute;
    top: 6px; right: 6px;
    width: 10px; height: 10px;
    background: #ef4444;
    border: 2px solid #fff;
    border-radius: 50%;
}

#bnr-webpush-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99995;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#bnr-webpush-modal.bnr-show { display: flex; }
.bnr-webpush-modal-box {
    background: #fff;
    border-radius: 14px;
    max-width: 460px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.bnr-webpush-modal-header {
    padding: 18px 20px 8px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bnr-webpush-modal-header h2 { margin: 0; font-size: 18px; font-weight: 700; color: #1a1a1a; }
.bnr-webpush-close-btn {
    border: none; background: #f0f0f0; border-radius: 50%;
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #555;
}
.bnr-webpush-modal-body { padding: 14px 20px; overflow-y: auto; flex: 1; }
.bnr-webpush-modal-body p { color: #555; font-size: 14px; margin: 0 0 14px; line-height: 1.4; }
.bnr-webpush-topics { display: flex; flex-direction: column; gap: 6px; }
.bnr-webpush-topic {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.bnr-webpush-topic:hover { background: #f8f8f8; }
.bnr-webpush-topic.bnr-selected { background: #f0f9f0; border-color: #4CAF50; }
.bnr-webpush-topic-info { display: flex; align-items: center; gap: 10px; }
.bnr-webpush-topic-icon { font-size: 18px; width: 28px; text-align: center; }
.bnr-webpush-topic-name { font-size: 14px; font-weight: 500; color: #222; }
.bnr-webpush-check {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid #ddd;
    display: flex; align-items: center; justify-content: center;
}
.bnr-webpush-topic.bnr-selected .bnr-webpush-check { background: #4CAF50; border-color: #4CAF50; }
.bnr-webpush-topic.bnr-selected .bnr-webpush-check::after { content: "\2713"; color: #fff; font-size: 12px; font-weight: bold; }
.bnr-webpush-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bnr-webpush-save-btn {
    width: 100%;
    padding: 12px;
    background: #1E3A5F;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.bnr-webpush-save-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.bnr-webpush-status { font-size: 13px; color: #555; min-height: 18px; text-align: center; }
.bnr-webpush-unsub-link { background: none; border: none; color: #999; font-size: 12px; text-decoration: underline; cursor: pointer; }
