/* Webview banner — exact copy from bytewire-push-notifications.php (lines 233-250) */
.bw-webview-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #1f2937;
    border-bottom: 1px solid #111827;
    height: 70px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px
}

.bw-webview-banner-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    color: #e5e7eb;
    padding: 2px 6px;
    line-height: 1;
    opacity: .9;
    flex-shrink: 0
}

.bw-webview-banner-text {
    flex: 1;
    font-size: .88rem;
    color: #f9fafb;
    font-weight: 500
}

.bw-webview-banner-cta {
    padding: 10px 20px;
    background: #3b82f6;
    color: #f8fafc;
    border: none;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0
}

.bw-webview-banner-cta:hover {
    background: #2563eb
}

/* Dark mode — uses html[data-theme="dark"] attribute (NOT prefers-color-scheme) */
html[data-theme="dark"] .bw-webview-banner {
    background: #111827;
    border-color: #0b1220
}

html[data-theme="dark"] .bw-webview-banner-text {
    color: #f3f4f6
}

html[data-theme="dark"] .bw-webview-banner-close {
    color: #9ca3af;
    opacity: .6
}
