/* Complete dark-theme coverage for the Web Blocker Dashboard APP. */
html[data-theme="dark"] body.wb-dashboard-app {
    --brand-primary: #d8dee7;
    --brand-hover: #ffffff;
    --brand-active: #aeb7c2;
    --app-sidebar-bg: #14181d;
    --app-panel-bg: #24282f;
    --app-card-bg: #1b1f24;
    --app-card-raised: #30363e;
    --app-card-hover: #383f48;
    --app-field-bg: #111419;
    --app-track-bg: #0f1216;
    --app-control-border: #48515c;
}

html[data-theme="dark"] body.wb-dashboard-app .sidebar {
    background: var(--app-sidebar-bg) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.mobile-header, .burger-menu-btn) {
    background-color: var(--app-sidebar-bg) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .main-content {
    background: transparent !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.logo-section, .logo-text, .title, .nav-item, .nav-text, .section-label, .protection-status, .support-link) {
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nav-item {
    background: transparent !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nav-item::before {
    background: var(--app-card-raised) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nav-item.active,
html[data-theme="dark"] body.wb-dashboard-app .nav-item.active:hover {
    background: transparent !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nav-item.active::before {
    background: linear-gradient(90deg, var(--brand-active), var(--brand-primary)) !important;
    box-shadow: inset 0 3px 18px rgba(0, 0, 0, 0.3), 0 8px 22px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nav-item.active .nav-text {
    color: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nav-item .wb-product-icon {
    background: var(--app-card-raised) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--app-control-border);
}

html[data-theme="dark"] body.wb-dashboard-app .nav-item.active .wb-product-icon {
    background: var(--brand-primary) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(216, 222, 231, 0.2);
}

html[data-theme="dark"] body.wb-dashboard-app :where(.sidebar .progress-container, .dp-progress-bar, .scrollbar-track) {
    background-color: var(--app-track-bg) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.main-card, .discipline-panel) {
    background: var(--app-panel-bg) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
    box-shadow: var(--shadow) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.focus-card, .stat-card, .card, .action-card, .site-item, .empty-state) {
    background: var(--app-card-bg) !important;
    border-color: var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.action-card:hover, .site-item:hover) {
    background: var(--app-card-hover) !important;
    border-color: var(--app-control-border) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.level-card[data-level="1"] .card-main-content, .level-card[data-level="2"] .card-main-content, .level-card[data-level="3"] .card-main-content, .level-card[data-level="4"] .card-main-content) {
    background: var(--app-card-bg) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .level-card:not(.disabled-temp):hover .card-main-content,
html[data-theme="dark"] body.wb-dashboard-app .level-card.active .card-main-content {
    background: var(--app-card-raised) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .level-card.active {
    border-color: var(--brand-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.level-details, .details-content) {
    background: var(--app-field-bg) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.level-title, .level-specs, .level-quote, .details-title, .details-list li, .more-btn, .card-text, .goal-title, .card-title, .legend-text, .focus-status, .stat-label, .stat-value, .stat-unit, .small-card-title, .bypass-value, .audit-title, .social-name, .site-name, .status-label, .empty-text, .url-input-helper) {
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.level-quote, .status-label, .url-input-helper, .dp-progress-hint) {
    color: var(--text-secondary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.custom-radio, .counter-badge) {
    border-color: var(--app-control-border) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .level-card.active .custom-radio {
    border-color: var(--brand-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.level-card.active .radio-dot, .bullet) {
    background: var(--brand-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.url-input, .search-box, .search-box input, .feedback-input, .feedback-textarea, .custom-select-trigger, .wb-rating-field input, .wb-rating-field select, .wb-rating-field textarea) {
    background: var(--app-field-bg) !important;
    border-color: var(--input-border) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.custom-options, .wb-rating-field select option) {
    background: var(--app-panel-bg) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .custom-option {
    color: var(--text-secondary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .custom-option:hover {
    background: var(--app-card-raised) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(#blocklist .add-btn, .btn-set, .wb-rating-btn-submit, .selection-btn-primary, .vote-results-modal-primary) {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app #blocklist .add-btn.install-mode {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.btn-remove, .selection-btn-secondary, .wb-rating-btn-back, .vote-results-modal-secondary, .action-btn) {
    background: var(--app-card-raised) !important;
    border-color: var(--app-control-border) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.action-btn.active, .filter-chip.active) {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.extension-notice, .search-box, .list-item, .summary-item) {
    border-color: var(--border-subtle) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.slider, .toggle-switch input + .slider) {
    background-color: var(--app-track-bg) !important;
    border: 1px solid var(--app-control-border);
}

html[data-theme="dark"] body.wb-dashboard-app .toggle-switch input:checked + .slider {
    background-color: var(--brand-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .toggle-switch input + .slider::before {
    background-color: var(--text-muted) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .toggle-switch input:checked + .slider::before {
    background-color: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.sites-list::-webkit-scrollbar-track, .sites-summary::-webkit-scrollbar-track, .websites-list-container::-webkit-scrollbar-track) {
    background: var(--app-track-bg) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.feedback-window, .wb-rating-widget, .vote-results-modal, .password-modal-content, .password-modal, .modal-content) {
    background: var(--app-panel-bg) !important;
    border-color: var(--app-control-border) !important;
    color: var(--text-primary) !important;
    box-shadow: var(--shadow) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.feedback-header, .wb-rating-header) {
    background: var(--app-card-bg) !important;
    border-color: var(--border-subtle) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .chat-trigger {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.84) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .chat-trigger i svg {
    color: #171a1f !important;
    stroke: currentColor !important;
}

html[data-theme="dark"] body.wb-dashboard-app .chat-trigger:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .chat-trigger:hover i svg {
    color: #171a1f !important;
    stroke: currentColor !important;
}

html[data-theme="dark"] body.wb-dashboard-app .feedback-header .avatar {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid #ffffff !important;
    color: #171a1f !important;
}

html[data-theme="dark"] body.wb-dashboard-app .feedback-header .avatar svg,
html[data-theme="dark"] body.wb-dashboard-app .feedback-header .avatar svg * {
    color: #171a1f !important;
    stroke: currentColor !important;
}

html[data-theme="dark"] body.wb-dashboard-app .feedback-btn,
html[data-theme="dark"] body.wb-dashboard-app .feedback-btn:hover,
html[data-theme="dark"] body.wb-dashboard-app .feedback-btn:active,
html[data-theme="dark"] body.wb-dashboard-app .feedback-btn:disabled {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid #ffffff !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    opacity: 1 !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .feedback-btn:hover:not(:disabled) {
    background: #ffffff !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.vote-results-modal-overlay, .password-modal-overlay, .modal-overlay) {
    background: var(--overlay) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.footer-lang-selector .dropdown-trigger, .wb-campaign-pill, .wb-notification-icon-wrapper) {
    background: var(--app-panel-bg) !important;
    border-color: var(--app-control-border) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.footer-lang-selector .dropdown-trigger:hover, .wb-campaign-pill:hover, .wb-notification-icon-wrapper:hover) {
    background: var(--app-card-hover) !important;
    border-color: var(--text-muted) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.wb-product-icon, .icon-box) {
    background-color: var(--app-card-raised);
    color: var(--text-primary);
}

html[data-theme="dark"] body.wb-dashboard-app :where(.empty-state .wb-product-icon, .action-card .wb-product-icon, .level-card.active .wb-product-icon) {
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.custom-tooltip, .avatar, .icon) {
    background: var(--app-card-raised) !important;
    border-color: var(--app-control-border) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .tooltip-btn {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #20252b !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.progress-bar, .dp-progress-fill) {
    background: linear-gradient(90deg, #7f8995, #d8dee7) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .wb-notification-badge {
    background: #ffffff !important;
    border-color: var(--app-sidebar-bg) !important;
    color: #20252b !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.nc-shell, .notification-center-container, .nc-content, .nc-header) {
    background-color: var(--app-panel-bg) !important;
    border-color: var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.nc-card, .nc-empty-state) {
    background-color: var(--app-card-bg) !important;
    border-color: var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.nc-filter-chip, .nc-back-btn, .nc-close-btn, .nc-mark-all-btn, .nc-icon-box) {
    background-color: var(--app-card-raised) !important;
    border-color: var(--app-control-border) !important;
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.nc-filter-chip.active, .nc-card-cta-btn) {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nc-filter-chip.active {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app .footer-lang-selector .dropdown-item {
    color: var(--text-primary) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .footer-lang-selector .dropdown-menu {
    background: rgba(37, 42, 49, 0.96) !important;
    border: 1px solid #596572 !important;
    color: #d8dee7 !important;
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    overflow: hidden;
}

html[data-theme="dark"] body.wb-dashboard-app .footer-lang-selector .dropdown-item {
    background: transparent !important;
    color: #d8dee7 !important;
    -webkit-text-fill-color: #d8dee7 !important;
}

html[data-theme="dark"] body.wb-dashboard-app .footer-lang-selector .dropdown-item:hover,
html[data-theme="dark"] body.wb-dashboard-app .footer-lang-selector .dropdown-item:focus-visible {
    background: #3a414b !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    outline: none;
}

html[data-theme="dark"] body.wb-dashboard-app .footer-lang-selector .dropdown-item.active,
html[data-theme="dark"] body.wb-dashboard-app .footer-lang-selector .dropdown-item[aria-current="true"] {
    background: rgba(255, 255, 255, 0.94) !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    opacity: 1 !important;
}

html[data-theme="dark"] body.wb-dashboard-app .footer-lang-selector.open .dropdown-trigger {
    background: var(--app-card-hover) !important;
    border-color: #7f8995 !important;
}

/* Dashboard dark-theme refinement aligned with the current extension shell. */
html[data-theme="dark"] body.wb-dashboard-app .sidebar {
    background: transparent !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(.mobile-header, .burger-menu-btn) {
    background-color: transparent !important;
}

@media screen and (max-width: 799px) {
    html[data-theme="dark"] body.wb-dashboard-app .sidebar {
        background: var(--app-sidebar-bg) !important;
    }

    html[data-theme="dark"] body.wb-dashboard-app .mobile-header {
        background-color: var(--app-sidebar-bg) !important;
    }

    html[data-theme="dark"] body.wb-dashboard-app .burger-menu-btn.active {
        background-color: var(--app-card-raised) !important;
        border-color: var(--app-control-border) !important;
    }
}

html[data-theme="dark"] body.wb-dashboard-app .nav-item:hover::before,
html[data-theme="dark"] body.wb-dashboard-app .nav-item.active::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 44%),
        #3c4047 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nav-item.active .wb-product-icon {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.wb-dashboard-app #overview-section .overview-header {
    background: var(--app-card-bg) !important;
    border-color: var(--app-control-border) !important;
    box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] body.wb-dashboard-app #overview-section .sub-tab.active::before,
html[data-theme="dark"] body.wb-dashboard-app :where(.filter-btn.active, .action-btn.active) {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: #ffffff !important;
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    backdrop-filter: blur(12px) saturate(135%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

html[data-theme="dark"] body.wb-dashboard-app #overview-section .sub-tab.active,
html[data-theme="dark"] body.wb-dashboard-app :where(.filter-btn.active, .action-btn.active) {
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    text-shadow: none !important;
}

html[data-theme="dark"] body.wb-dashboard-app #overview-section .sub-tab:not(.active) {
    color: #d8dee7 !important;
    -webkit-text-fill-color: #d8dee7 !important;
}

html[data-theme="dark"] body.wb-dashboard-app #blocklist .url-input {
    background: #ffffff !important;
    border: 1px solid #d9dee5 !important;
    color: #20252b !important;
    -webkit-text-fill-color: #20252b !important;
    caret-color: #20252b !important;
}

html[data-theme="dark"] body.wb-dashboard-app #blocklist .url-input::placeholder {
    color: #7a838e !important;
    -webkit-text-fill-color: #7a838e !important;
    opacity: 1 !important;
}

/* Password inputs stay light in every password flow, including revealed and autofilled states. */
html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-modal-input {
    background: #ffffff !important;
    border: 1px solid #d9dee5 !important;
    color: #20252b !important;
    -webkit-text-fill-color: #20252b !important;
    caret-color: #20252b !important;
    box-shadow: inset 0 4px 6px rgba(24, 29, 35, 0.18) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-modal-input::placeholder {
    color: #8a939e !important;
    -webkit-text-fill-color: #8a939e !important;
    opacity: 1 !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-modal-input:focus {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #20252b !important;
    -webkit-text-fill-color: #20252b !important;
    outline: none !important;
    box-shadow: inset 0 4px 6px rgba(24, 29, 35, 0.16), 0 0 0 3px rgba(255, 255, 255, 0.14) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-modal-input:-webkit-autofill,
html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-modal-input:-webkit-autofill:hover,
html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-modal-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #20252b !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    caret-color: #20252b !important;
}

html[data-theme="dark"] body.wb-dashboard-app #blocklist .add-btn,
html[data-theme="dark"] body.wb-dashboard-app #blocklist .add-btn.install-mode {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #ffffff !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    backdrop-filter: blur(12px) saturate(135%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(
    #blocklist .empty-icon.wb-product-icon,
    #import-export .card-icon .wb-product-icon
) {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #ffffff !important;
    color: #171a1f !important;
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    backdrop-filter: blur(12px) saturate(135%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

html[data-theme="dark"] body.wb-dashboard-app #blocklist .delete-btn svg path {
    stroke: #20252b !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(
    #blocklist .sites-list::-webkit-scrollbar-track,
    #discipline-level .scrollbar-track
) {
    background: #111419 !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(
    #blocklist .sites-list::-webkit-scrollbar-thumb,
    #discipline-level .scrollbar-thumb,
    #discipline-level .cards-scroll-area::-webkit-scrollbar-thumb
) {
    background: #7d8793 !important;
}

html[data-theme="dark"] body.wb-dashboard-app #discipline-level .coming-soon-badge {
    background: #3a414b !important;
    border: 1px solid #596472 !important;
    color: #d8dee7 !important;
    -webkit-text-fill-color: #d8dee7 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.wb-dashboard-app #discipline-level .discipline-footer .btn-set,
html[data-theme="dark"] body.wb-dashboard-app #discipline-level .discipline-footer .btn-remove:not(:disabled) {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #ffffff !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    backdrop-filter: blur(12px) saturate(135%);
}

html[data-theme="dark"] body.wb-dashboard-app #discipline-level .discipline-footer .btn-remove:disabled {
    background: #3a414b !important;
    border: 1px solid #596472 !important;
    color: #aeb7c2 !important;
    -webkit-text-fill-color: #aeb7c2 !important;
    box-shadow: none !important;
    opacity: 0.72 !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(#discipline-level, #password-mobile-container) .level-card.active .custom-radio {
    background: #171a1f !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 17px rgba(255, 255, 255, 0.62), inset 0 0 0 1px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] body.wb-dashboard-app :where(#discipline-level, #password-mobile-container) .level-card.active .radio-dot {
    width: 48% !important;
    height: 48% !important;
    background: #ffffff !important;
    box-shadow: 0 0 9px rgba(255, 255, 255, 0.72) !important;
}

html[data-theme="dark"] body.wb-dashboard-app #discipline-level .level-card.active .level-icon .wb-product-icon {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #ffffff !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    backdrop-filter: blur(12px) saturate(135%);
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

html[data-theme="dark"] body.wb-dashboard-app #discipline-level .level-card.active .level-icon .wb-product-icon svg {
    color: #171a1f !important;
    stroke: currentColor !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-toggle-eye {
    color: rgba(32, 37, 43, 0.62) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-toggle-eye:hover,
html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-toggle-eye.visible {
    color: #414954 !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-modal-btn.btn-primary {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #ffffff !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    backdrop-filter: blur(12px) saturate(135%);
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .password-modal-btn.btn-secondary {
    background: #3a414b !important;
    border: 1px solid #596472 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Removal flow: every action remains a high-contrast white control on the dark surface. */
html[data-theme="dark"] body.wb-dashboard-app .password-modal.selection-modal .selection-btn-primary,
html[data-theme="dark"] body.wb-dashboard-app .password-modal.selection-modal .selection-btn-secondary,
html[data-theme="dark"] body.wb-dashboard-app .password-modal.confirm-modal .password-modal-btn,
html[data-theme="dark"] body.wb-dashboard-app .password-modal.remove-password-modal .password-modal-btn,
html[data-theme="dark"] body.wb-dashboard-app .password-modal.premium-email-modal .password-modal-btn,
html[data-theme="dark"] body.wb-dashboard-app .password-modal.premium-code-modal .password-modal-btn {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid #ffffff !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal.selection-modal .selection-btn-primary:hover:not(:disabled),
html[data-theme="dark"] body.wb-dashboard-app .password-modal.selection-modal .selection-btn-secondary:hover:not(:disabled),
html[data-theme="dark"] body.wb-dashboard-app .password-modal.confirm-modal .password-modal-btn:hover:not(:disabled),
html[data-theme="dark"] body.wb-dashboard-app .password-modal.remove-password-modal .password-modal-btn:hover:not(:disabled),
html[data-theme="dark"] body.wb-dashboard-app .password-modal.premium-email-modal .password-modal-btn:hover:not(:disabled),
html[data-theme="dark"] body.wb-dashboard-app .password-modal.premium-code-modal .password-modal-btn:hover:not(:disabled) {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
}

html[data-theme="dark"] body.wb-dashboard-app #discipline-level .password-activation-notice {
    color: #ffffff !important;
    background: #30363e !important;
    border-color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 16px rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] body.wb-dashboard-app #discipline-level .password-activation-notice__icon {
    color: #171a1f !important;
    background: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal :where(.hint-item.invalid, .password-modal-error) {
    color: #c3cbd5 !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .hint-item.invalid .hint-icon {
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .hint-item.invalid .hint-icon svg {
    overflow: visible;
    background: transparent !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .hint-item.invalid .hint-icon circle {
    display: none;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .hint-item.invalid .hint-icon path {
    stroke: #ffffff !important;
}

html[data-theme="dark"] body.wb-dashboard-app .password-modal .hint-item.invalid .hint-dot {
    background: #ffffff !important;
}

/* Notification Center uses the shared white accent without colored card rails. */
html[data-theme="dark"] body.wb-dashboard-app .nc-card-cta-btn {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid #ffffff !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    backdrop-filter: blur(12px) saturate(135%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nc-card-cta-btn:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #171a1f !important;
    -webkit-text-fill-color: #171a1f !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nc-card-cta-btn svg {
    color: #171a1f !important;
    stroke: currentColor !important;
}

html[data-theme="dark"] body.wb-dashboard-app .nc-card-product-update {
    border-inline-start: 0 !important;
    border-left: 0 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24) !important;
}
