/**
 * Unified Theme CSS
 * 
 * Uses CSS variables for all theme values
 * Variables are injected by BRI_Unified_Theme_Manager
 * 
 * This file works for all BRI plugins: Studio, Repositorium, Atlas, Tactical Engine, etc.
 */

/* ==========================================================================
   Map Styling - Movement Lines, Routes, and Assets
   ========================================================================== */

/* Map Container */
.bri-map-container {
    position: relative;
    background: var(--bri-bg, #1a1a1a);
    border: 2px solid var(--bri-border, #333);
    border-radius: 4px;
    overflow: hidden;
}

/* Movement Lines / Routes */
.bri-route-line {
    stroke-width: 2px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.8;
    animation: routePulse 2s ease-in-out infinite;
}

.bri-route-line.route-red { stroke: #ff0000; }
.bri-route-line.route-orange { stroke: #ff6600; }
.bri-route-line.route-yellow { stroke: #ffd700; }
.bri-route-line.route-blue { stroke: #0066ff; }
.bri-route-line.route-purple { stroke: #9932cc; }

/* Route Direction Arrows */
.bri-route-arrow {
    fill: currentColor;
    stroke: var(--bri-bg, #1a1a1a);
    stroke-width: 1px;
}

/* Route Timestamps */
.bri-route-timestamp {
    fill: #ffffff;
    font-family: var(--bri-font-mono, 'Courier New', monospace);
    font-size: 11px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

/* Asset Icons */
.bri-asset-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s ease;
}

.bri-asset-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

/* Aircraft Icons */
.bri-asset-aircraft {
    fill: #ff0000;
    stroke: #ffffff;
    stroke-width: 1px;
}

.bri-asset-aircraft.formation {
    opacity: 0.9;
}

/* Naval Assets */
.bri-asset-ship {
    fill: #666666;
    stroke: #ffffff;
    stroke-width: 1px;
}

.bri-asset-carrier-group {
    fill: #ffd700;
    stroke: #000000;
    stroke-width: 2px;
}

/* Asset Labels */
.bri-asset-label {
    fill: #ffffff;
    font-family: var(--bri-font-primary, Arial, sans-serif);
    font-size: 10px;
    font-weight: 600;
    text-anchor: middle;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

/* Patrol Areas / Zones */
.bri-patrol-zone {
    fill: rgba(0, 102, 255, 0.1);
    stroke: #0066ff;
    stroke-width: 2px;
    stroke-dasharray: 5, 5;
    pointer-events: none;
}

/* Map Legend */
.bri-map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--bri-accent, #bd0104);
    border-radius: 4px;
    padding: 15px;
    color: #ffffff;
    font-family: var(--bri-font-primary, Arial, sans-serif);
    font-size: 12px;
    max-width: 300px;
    z-index: 1000;
}

.bri-map-legend h3 {
    margin: 0 0 10px 0;
    color: var(--bri-accent, #bd0104);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.bri-map-legend-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    gap: 10px;
}

.bri-map-legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    flex-shrink: 0;
}

.bri-map-legend-marker.aircraft { background: #ff0000; }
.bri-map-legend-marker.awacs { background: #00d9ff; }
.bri-map-legend-marker.fighter { background: #0066ff; }
.bri-map-legend-marker.bomber { background: #ff6600; }

/* Scale Bar */
.bri-map-scale {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 4px;
    color: #ffffff;
    font-family: var(--bri-font-mono, 'Courier New', monospace);
    font-size: 11px;
    z-index: 1000;
}

/* Inset Map */
.bri-map-inset {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 150px;
    height: 100px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--bri-accent, #bd0104);
    border-radius: 4px;
    z-index: 1000;
}

/* Route Animation */
@keyframes routePulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Map Labels */
.bri-map-label {
    fill: #ffffff;
    font-family: var(--bri-font-primary, Arial, sans-serif);
    font-size: 12px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.bri-map-label.country {
    font-size: 14px;
    font-weight: 700;
}

.bri-map-label.city {
    font-size: 11px;
    opacity: 0.9;
}

.bri-map-label.water-body {
    font-size: 11px;
    fill: #88ccff;
    font-style: italic;
}

/* Map Theme Variables */
.bri-map-container {
    --map-land-color: #8b6914;
    --map-water-color: #1a2a3a;
    --map-route-opacity: 0.8;
    --map-asset-size: 24px;
}

/* Dark Map Theme */
.bri-theme-broad_horizon_dark .bri-map-container,
.bri-theme-raven_intel_dark .bri-map-container,
.bri-theme-military-green .bri-map-container {
    --map-land-color: #8b6914;
    --map-water-color: #0a1a2a;
}

/* Light Map Theme */
.bri-theme-broad_horizon .bri-map-container,
.bri-theme-raven_intel .bri-map-container {
    --map-land-color: #d4a574;
    --map-water-color: #4a6c82;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

/* Universal menu icon padding - applies to all themes */
#adminmenu .wp-menu-image {
    padding-left: var(--bri-icon-padding, 12px) !important;
}

/* Universal submenu width - applies to all themes */
#adminmenu .wp-submenu {
    width: var(--bri-submenu-width, 220px) !important;
    min-width: var(--bri-submenu-width, 220px) !important;
    max-width: var(--bri-submenu-width, 220px) !important;
}

/* Fix menu position - prevent menu from moving when scrolling */
#adminmenuback,
#adminmenuwrap {
    position: fixed !important;
    left: 0 !important;
    top: 32px !important;
    height: calc(100vh - 32px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 1000 !important;
}

/* Force menu width - override WordPress defaults with maximum specificity */
/* Override the #adminmenu, #adminmenuback, #adminmenuwrap rule that sets width: 160px */
/* Direct override for the grouped selector: #adminmenu, #adminmenu .wp-submenu, #adminmenuback, #adminmenuwrap */
body.bri-theme-broad_horizon_dark #adminmenu,
body.bri-theme-broad_horizon_dark #adminmenu .wp-submenu,
body.bri-theme-broad_horizon_dark #adminmenuback,
body.bri-theme-broad_horizon_dark #adminmenuwrap,
body.bri-theme-raven_intel #adminmenu,
body.bri-theme-raven_intel #adminmenu .wp-submenu,
body.bri-theme-raven_intel #adminmenuback,
body.bri-theme-raven_intel #adminmenuwrap,
body.bri-theme-raven_intel_dark #adminmenu,
body.bri-theme-raven_intel_dark #adminmenu .wp-submenu,
body.bri-theme-raven_intel_dark #adminmenuback,
body.bri-theme-raven_intel_dark #adminmenuwrap,
body.bri-theme-data-dark #adminmenu,
body.bri-theme-data-dark #adminmenu .wp-submenu,
body.bri-theme-data-dark #adminmenuback,
body.bri-theme-data-dark #adminmenuwrap,
body.bri-theme-military-green #adminmenu,
body.bri-theme-military-green #adminmenu .wp-submenu,
body.bri-theme-military-green #adminmenuback,
body.bri-theme-military-green #adminmenuwrap,
body.bri-theme-dark-interface #adminmenu,
body.bri-theme-dark-interface #adminmenu .wp-submenu,
body.bri-theme-dark-interface #adminmenuback,
body.bri-theme-dark-interface #adminmenuwrap,
body.bri-theme-iron-man-hud #adminmenu,
body.bri-theme-iron-man-hud #adminmenu .wp-submenu,
body.bri-theme-iron-man-hud #adminmenuback,
body.bri-theme-iron-man-hud #adminmenuwrap,
body.bri-theme-geopolitical-dark #adminmenu,
body.bri-theme-geopolitical-dark #adminmenu .wp-submenu,
body.bri-theme-geopolitical-dark #adminmenuback,
body.bri-theme-geopolitical-dark #adminmenuwrap,
body.bri-theme-intelligence-dark #adminmenu,
body.bri-theme-intelligence-dark #adminmenu .wp-submenu,
body.bri-theme-intelligence-dark #adminmenuback,
body.bri-theme-intelligence-dark #adminmenuwrap,
body.bri-theme-ancient-dark #adminmenu,
body.bri-theme-ancient-dark #adminmenu .wp-submenu,
body.bri-theme-ancient-dark #adminmenuback,
body.bri-theme-ancient-dark #adminmenuwrap,
body.bri-theme-broad_horizon #adminmenu,
body.bri-theme-broad_horizon #adminmenu .wp-submenu,
body.bri-theme-broad_horizon #adminmenuback,
body.bri-theme-broad_horizon #adminmenuwrap,
body.bri-theme-standard #adminmenu,
body.bri-theme-standard #adminmenu .wp-submenu,
body.bri-theme-standard #adminmenuback,
body.bri-theme-standard #adminmenuwrap,
body.bri-theme-business-blue #adminmenu,
body.bri-theme-business-blue #adminmenu .wp-submenu,
body.bri-theme-business-blue #adminmenuback,
body.bri-theme-business-blue #adminmenuwrap,
body.bri-theme-business-red #adminmenu,
body.bri-theme-business-red #adminmenu .wp-submenu,
body.bri-theme-business-red #adminmenuback,
body.bri-theme-business-red #adminmenuwrap,
body.bri-theme-business_dynamics #adminmenu,
body.bri-theme-business_dynamics #adminmenu .wp-submenu,
body.bri-theme-business_dynamics #adminmenuback,
body.bri-theme-business_dynamics #adminmenuwrap,
body.bri-theme-figma_blue #adminmenu,
body.bri-theme-figma_blue #adminmenu .wp-submenu,
body.bri-theme-figma_blue #adminmenuback,
body.bri-theme-figma_blue #adminmenuwrap,
body.bri-theme-data-light #adminmenu,
body.bri-theme-data-light #adminmenu .wp-submenu,
body.bri-theme-data-light #adminmenuback,
body.bri-theme-data-light #adminmenuwrap,
body.bri-theme-geopolitical-light #adminmenu,
body.bri-theme-geopolitical-light #adminmenu .wp-submenu,
body.bri-theme-geopolitical-light #adminmenuback,
body.bri-theme-geopolitical-light #adminmenuwrap,
body.bri-theme-intelligence-light #adminmenu,
body.bri-theme-intelligence-light #adminmenu .wp-submenu,
body.bri-theme-intelligence-light #adminmenuback,
body.bri-theme-intelligence-light #adminmenuwrap,
body.bri-theme-ancient-light #adminmenu,
body.bri-theme-ancient-light #adminmenu .wp-submenu,
body.bri-theme-ancient-light #adminmenuback,
body.bri-theme-ancient-light #adminmenuwrap,
body.bri-theme-clean-light #adminmenu,
body.bri-theme-clean-light #adminmenu .wp-submenu,
body.bri-theme-clean-light #adminmenuback,
body.bri-theme-clean-light #adminmenuwrap {
    width: var(--bri-menu-width, 320px) !important;
    min-width: var(--bri-menu-width, 320px) !important;
    max-width: var(--bri-menu-width, 320px) !important;
}

body.bri-theme-broad_horizon_dark #adminmenuback,
body.bri-theme-raven_intel #adminmenuback,
body.bri-theme-raven_intel_dark #adminmenuback,
body.bri-theme-data-dark #adminmenuback,
body.bri-theme-military-green #adminmenuback,
body.bri-theme-dark-interface #adminmenuback,
body.bri-theme-iron-man-hud #adminmenuback,
body.bri-theme-geopolitical-dark #adminmenuback,
body.bri-theme-intelligence-dark #adminmenuback,
body.bri-theme-ancient-dark #adminmenuback,
body.bri-theme-broad_horizon_dark #wpbody #adminmenuback,
body.bri-theme-raven_intel #wpbody #adminmenuback,
body.bri-theme-raven_intel_dark #wpbody #adminmenuback,
body.bri-theme-data-dark #wpbody #adminmenuback,
body.bri-theme-military-green #wpbody #adminmenuback,
body.bri-theme-dark-interface #wpbody #adminmenuback,
body.bri-theme-iron-man-hud #wpbody #adminmenuback,
body.bri-theme-geopolitical-dark #wpbody #adminmenuback,
body.bri-theme-intelligence-dark #wpbody #adminmenuback,
body.bri-theme-ancient-dark #wpbody #adminmenuback {
    width: var(--bri-menu-width, 320px) !important;
    min-width: var(--bri-menu-width, 320px) !important;
    max-width: var(--bri-menu-width, 320px) !important;
    left: 0 !important;
}

body.bri-theme-broad_horizon_dark #adminmenuwrap,
body.bri-theme-raven_intel #adminmenuwrap,
body.bri-theme-raven_intel_dark #adminmenuwrap,
body.bri-theme-data-dark #adminmenuwrap,
body.bri-theme-military-green #adminmenuwrap,
body.bri-theme-dark-interface #adminmenuwrap,
body.bri-theme-iron-man-hud #adminmenuwrap,
body.bri-theme-geopolitical-dark #adminmenuwrap,
body.bri-theme-intelligence-dark #adminmenuwrap,
body.bri-theme-ancient-dark #adminmenuwrap,
body.bri-theme-broad_horizon_dark #wpbody #adminmenuwrap,
body.bri-theme-raven_intel #wpbody #adminmenuwrap,
body.bri-theme-raven_intel_dark #wpbody #adminmenuwrap,
body.bri-theme-data-dark #wpbody #adminmenuwrap,
body.bri-theme-military-green #wpbody #adminmenuwrap,
body.bri-theme-dark-interface #wpbody #adminmenuwrap,
body.bri-theme-iron-man-hud #wpbody #adminmenuwrap,
body.bri-theme-geopolitical-dark #wpbody #adminmenuwrap,
body.bri-theme-intelligence-dark #wpbody #adminmenuwrap,
body.bri-theme-ancient-dark #wpbody #adminmenuwrap {
    width: var(--bri-menu-width, 320px) !important;
    min-width: var(--bri-menu-width, 320px) !important;
    max-width: var(--bri-menu-width, 320px) !important;
}

body.bri-theme-broad_horizon_dark #adminmenu,
body.bri-theme-raven_intel #adminmenu,
body.bri-theme-raven_intel_dark #adminmenu,
body.bri-theme-data-dark #adminmenu,
body.bri-theme-military-green #adminmenu,
body.bri-theme-dark-interface #adminmenu,
body.bri-theme-iron-man-hud #adminmenu,
body.bri-theme-geopolitical-dark #adminmenu,
body.bri-theme-intelligence-dark #adminmenu,
body.bri-theme-ancient-dark #adminmenu,
body.bri-theme-broad_horizon_dark #wpbody #adminmenu,
body.bri-theme-raven_intel #wpbody #adminmenu,
body.bri-theme-raven_intel_dark #wpbody #adminmenu,
body.bri-theme-data-dark #wpbody #adminmenu,
body.bri-theme-military-green #wpbody #adminmenu,
body.bri-theme-dark-interface #wpbody #adminmenu,
body.bri-theme-iron-man-hud #wpbody #adminmenu,
body.bri-theme-geopolitical-dark #wpbody #adminmenu,
body.bri-theme-intelligence-dark #wpbody #adminmenu,
body.bri-theme-ancient-dark #wpbody #adminmenu {
    width: var(--bri-menu-width, 320px) !important;
    min-width: var(--bri-menu-width, 320px) !important;
    max-width: var(--bri-menu-width, 320px) !important;
}

body.bri-theme-broad_horizon_dark #adminmenu .wp-submenu,
body.bri-theme-raven_intel #adminmenu .wp-submenu,
body.bri-theme-raven_intel_dark #adminmenu .wp-submenu,
body.bri-theme-data-dark #adminmenu .wp-submenu,
body.bri-theme-military-green #adminmenu .wp-submenu,
body.bri-theme-dark-interface #adminmenu .wp-submenu,
body.bri-theme-iron-man-hud #adminmenu .wp-submenu,
body.bri-theme-geopolitical-dark #adminmenu .wp-submenu,
body.bri-theme-intelligence-dark #adminmenu .wp-submenu,
body.bri-theme-ancient-dark #adminmenu .wp-submenu,
body.bri-theme-broad_horizon_dark #wpbody #adminmenu .wp-submenu,
body.bri-theme-raven_intel #wpbody #adminmenu .wp-submenu,
body.bri-theme-raven_intel_dark #wpbody #adminmenu .wp-submenu,
body.bri-theme-data-dark #wpbody #adminmenu .wp-submenu,
body.bri-theme-military-green #wpbody #adminmenu .wp-submenu,
body.bri-theme-dark-interface #wpbody #adminmenu .wp-submenu,
body.bri-theme-iron-man-hud #wpbody #adminmenu .wp-submenu,
body.bri-theme-geopolitical-dark #wpbody #adminmenu .wp-submenu,
body.bri-theme-intelligence-dark #wpbody #adminmenu .wp-submenu,
body.bri-theme-ancient-dark #wpbody #adminmenu .wp-submenu {
    width: auto !important;
    min-width: var(--bri-menu-width, 320px) !important;
}

/* Fix floating elements */
.bri-theme-broad_horizon_dark .card::after,
.bri-theme-broad_horizon_dark .postbox::after,
.bri-theme-raven_intel .card::after,
.bri-theme-raven_intel .postbox::after,
.bri-theme-raven_intel_dark .card::after,
.bri-theme-raven_intel_dark .postbox::after,
.bri-theme-data-dark .card::after,
.bri-theme-data-dark .postbox::after,
.bri-theme-military-green .card::after,
.bri-theme-military-green .postbox::after,
.bri-theme-dark-interface .card::after,
.bri-theme-dark-interface .postbox::after,
.bri-theme-iron-man-hud .card::after,
.bri-theme-iron-man-hud .postbox::after,
.bri-theme-geopolitical-dark .card::after,
.bri-theme-geopolitical-dark .postbox::after,
.bri-theme-intelligence-dark .card::after,
.bri-theme-intelligence-dark .postbox::after,
.bri-theme-ancient-dark .card::after,
.bri-theme-ancient-dark .postbox::after {
    content: "";
    display: table;
    clear: both;
}

.bri-theme-broad_horizon_dark .card,
.bri-theme-broad_horizon_dark .postbox,
.bri-theme-raven_intel .card,
.bri-theme-raven_intel .postbox,
.bri-theme-raven_intel_dark .card,
.bri-theme-raven_intel_dark .postbox,
.bri-theme-data-dark .card,
.bri-theme-data-dark .postbox,
.bri-theme-military-green .card,
.bri-theme-military-green .postbox,
.bri-theme-dark-interface .card,
.bri-theme-dark-interface .postbox,
.bri-theme-iron-man-hud .card,
.bri-theme-iron-man-hud .postbox,
.bri-theme-geopolitical-dark .card,
.bri-theme-geopolitical-dark .postbox,
.bri-theme-intelligence-dark .card,
.bri-theme-intelligence-dark .postbox,
.bri-theme-ancient-dark .card,
.bri-theme-ancient-dark .postbox {
    clear: both;
    overflow: hidden;
}
.bri-theme-broad_horizon,
.bri-theme-broad_horizon_dark,
.bri-theme-raven_intel,
.bri-theme-raven_intel_dark,
.bri-theme-business-blue,
.bri-theme-business-red,
.bri-theme-data-dark,
.bri-theme-data-light,
.bri-theme-military-green,
.bri-theme-dark-interface,
.bri-theme-iron-man-hud,
.bri-theme-geopolitical-dark,
.bri-theme-geopolitical-light,
.bri-theme-intelligence-dark,
.bri-theme-intelligence-light,
.bri-theme-ancient-dark,
.bri-theme-ancient-light,
.bri-theme-clean-light {
    font-family: var(--bri-font-primary, -apple-system, sans-serif);
    background: var(--bri-bg, #ffffff);
    color: var(--bri-text, #1d2327);
}

.bri-theme-broad_horizon #wpcontent,
.bri-theme-standard #wpcontent,
.bri-theme-business-blue #wpcontent,
.bri-theme-business-red #wpcontent,
.bri-theme-data-light #wpcontent,
.bri-theme-geopolitical-light #wpcontent,
.bri-theme-intelligence-light #wpcontent,
.bri-theme-ancient-light #wpcontent,
.bri-theme-clean-light #wpcontent {
    background: var(--bri-bg, #ffffff);
    padding: 20px;
    color: var(--bri-text, #1d2327);
    margin-left: var(--bri-menu-width, 320px) !important;
}

/* Ensure content area margin matches menu width - more specific selectors */
body.bri-theme-standard #wpcontent,
body.bri-theme-business-blue #wpcontent,
body.bri-theme-business-red #wpcontent,
body.bri-theme-business_dynamics #wpcontent,
body.bri-theme-figma_blue #wpcontent,
body.bri-theme-broad_horizon #wpcontent,
body.bri-theme-data-light #wpcontent,
body.bri-theme-geopolitical-light #wpcontent,
body.bri-theme-intelligence-light #wpcontent,
body.bri-theme-ancient-light #wpcontent,
body.bri-theme-clean-light #wpcontent,
body.bri-theme-raven_intel #wpcontent {
    margin-left: var(--bri-menu-width, 320px) !important;
    min-width: calc(100% - var(--bri-menu-width, 320px)) !important;
}

.bri-theme-broad_horizon_dark #wpcontent,
.bri-theme-raven_intel #wpcontent,
.bri-theme-raven_intel_dark #wpcontent,
.bri-theme-data-dark #wpcontent,
.bri-theme-military-green #wpcontent,
.bri-theme-dark-interface #wpcontent,
.bri-theme-iron-man-hud #wpcontent,
.bri-theme-geopolitical-dark #wpcontent,
.bri-theme-intelligence-dark #wpcontent,
.bri-theme-ancient-dark #wpcontent {
    background: var(--bri-bg, #1a1a2a) !important;
    padding: 20px;
    color: var(--bri-text, #e0e0e0);
    margin-left: var(--bri-menu-width, 320px) !important;
}

/* Ensure dark theme content area margin matches menu width */
body.bri-theme-broad_horizon_dark #wpcontent,
body.bri-theme-raven_intel #wpcontent,
body.bri-theme-raven_intel_dark #wpcontent,
body.bri-theme-data-dark #wpcontent,
body.bri-theme-military-green #wpcontent,
body.bri-theme-dark-interface #wpcontent,
body.bri-theme-iron-man-hud #wpcontent,
body.bri-theme-geopolitical-dark #wpcontent,
body.bri-theme-intelligence-dark #wpcontent,
body.bri-theme-ancient-dark #wpcontent {
    margin-left: var(--bri-menu-width, 320px) !important;
    min-width: calc(100% - var(--bri-menu-width, 320px)) !important;
}

/* ==========================================================================
   Admin Bar
   ========================================================================== */
.bri-theme-broad_horizon #wpadminbar,
.bri-theme-broad_horizon_dark #wpadminbar,
.bri-theme-raven_intel #wpadminbar,
.bri-theme-raven_intel_dark #wpadminbar,
.bri-theme-standard #wpadminbar,
.bri-theme-business-blue #wpadminbar,
.bri-theme-business-red #wpadminbar,
.bri-theme-data-dark #wpadminbar,
.bri-theme-data-light #wpadminbar,
.bri-theme-military-green #wpadminbar,
.bri-theme-dark-interface #wpadminbar,
.bri-theme-iron-man-hud #wpadminbar,
.bri-theme-geopolitical-dark #wpadminbar,
.bri-theme-geopolitical-light #wpadminbar,
.bri-theme-intelligence-dark #wpadminbar,
.bri-theme-intelligence-light #wpadminbar,
.bri-theme-ancient-dark #wpadminbar,
.bri-theme-ancient-light #wpadminbar,
.bri-theme-clean-light #wpadminbar {
    background: var(--bri-bg, #ffffff);
    border-bottom: 1px solid var(--bri-border, #e5e7eb);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Clean Light - Minimal, clean styling */
.bri-theme-clean-light #wpadminbar .ab-top-menu > li > .ab-item {
    color: var(--bri-text, #1d2327);
    font-family: var(--bri-font-primary, -apple-system, sans-serif);
    font-size: 13px;
    font-weight: 400;
}

.bri-theme-clean-light #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-clean-light #wpadminbar .ab-top-menu > li > .ab-item:focus {
    background: rgba(189, 1, 4, 0.05);
    color: var(--bri-accent, #bd0104);
}

.bri-theme-clean-light .bri-brand-text {
    color: var(--bri-accent, #bd0104);
    font-weight: 600;
    font-size: 14px;
}

.bri-theme-clean-light .wrap h1 {
    color: var(--bri-text, #1d2327);
    border-bottom: 2px solid var(--bri-accent, #bd0104);
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none;
}

.bri-theme-clean-light .wrap h2 {
    color: var(--bri-text, #1d2327);
    border-left: 3px solid var(--bri-accent, #bd0104);
    text-transform: none;
    letter-spacing: normal;
}

.bri-theme-clean-light .card,
.bri-theme-clean-light .postbox {
    background: var(--bri-card-bg, #ffffff);
    border: 1px solid var(--bri-border, #e5e7eb);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    clip-path: none;
}

.bri-theme-clean-light .card h2,
.bri-theme-clean-light .postbox h2 {
    color: var(--bri-text, #1d2327);
    border-bottom: 1px solid var(--bri-border, #e5e7eb);
    text-transform: none;
    letter-spacing: normal;
}

.bri-theme-clean-light .button-primary {
    background: var(--bri-accent, #bd0104);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    clip-path: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bri-theme-clean-light .button-primary:hover {
    background: var(--bri-accent-dark, #8b0000);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: none;
}

.bri-theme-clean-light .wp-list-table {
    background: var(--bri-card-bg, #ffffff);
    border: 1px solid var(--bri-border, #e5e7eb);
    border-radius: 4px;
    clip-path: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.bri-theme-clean-light .wp-list-table thead th {
    background: var(--bri-card-bg, #f8f8f8);
    color: var(--bri-text, #1d2327);
    border-bottom: 2px solid var(--bri-border, #e5e7eb);
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none;
}

.bri-theme-clean-light .wp-list-table tbody tr:hover {
    background: rgba(189, 1, 4, 0.03);
    box-shadow: none;
}

.bri-theme-clean-light .notice {
    border: 1px solid var(--bri-border, #e5e7eb);
    border-radius: 4px;
    clip-path: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background: var(--bri-card-bg, #ffffff);
}

.bri-theme-clean-light #wpfooter {
    background: var(--bri-bg, #ffffff);
    border-top: 1px solid var(--bri-border, #e5e7eb);
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.bri-theme-clean-light .bri-footer-text {
    color: var(--bri-accent, #bd0104);
    text-shadow: none;
    letter-spacing: normal;
    text-transform: none;
}

.bri-theme-broad_horizon #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-broad_horizon_dark #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-raven_intel #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-raven_intel_dark #wpadminbar .ab-top-menu > li > .ab-item,
/* Tactical themes - Admin bar */
.bri-theme-data-dark #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-data-light #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-military-green #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-dark-interface #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-iron-man-hud #wpadminbar .ab-top-menu > li > .ab-item {
    color: var(--bri-text, #e0e0e0);
    font-family: var(--bri-font-primary, monospace);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Business themes - Admin bar using theme variables */
.bri-theme-standard #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-business-blue #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-business-red #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-business_dynamics #wpadminbar .ab-top-menu > li > .ab-item,
.bri-theme-figma_blue #wpadminbar .ab-top-menu > li > .ab-item {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    font-size: 13px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Tactical themes - Admin bar hover */
.bri-theme-broad_horizon #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-broad_horizon_dark #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-raven_intel #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-raven_intel_dark #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-data-dark #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-data-light #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-military-green #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-dark-interface #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-iron-man-hud #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-broad_horizon #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-broad_horizon_dark #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-raven_intel #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-raven_intel_dark #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-data-dark #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-data-light #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-military-green #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-dark-interface #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-iron-man-hud #wpadminbar .ab-top-menu > li > .ab-item:focus {
    background: color-mix(in srgb, var(--bri-accent) 20%, transparent);
    color: var(--bri-accent, #BD0104);
    box-shadow: inset 0 0 10px var(--bri-glow, rgba(189, 1, 4, 0.3));
}

/* Business themes - Admin bar hover using theme accent */
.bri-theme-standard #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-business-blue #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-business-red #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-business_dynamics #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-figma_blue #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-standard #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-business-blue #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-business-red #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-business_dynamics #wpadminbar .ab-top-menu > li > .ab-item:focus,
.bri-theme-figma_blue #wpadminbar .ab-top-menu > li > .ab-item:focus {
    background: var(--bri-glow, rgba(34, 113, 177, 0.1)) !important;
    color: var(--bri-accent, #2271b1) !important;
    box-shadow: none !important;
}

/* Tactical themes - Brand text */
.bri-theme-broad_horizon .bri-brand-text,
.bri-theme-broad_horizon_dark .bri-brand-text,
.bri-theme-raven_intel .bri-brand-text,
.bri-theme-raven_intel_dark .bri-brand-text,
.bri-theme-data-dark .bri-brand-text,
.bri-theme-data-light .bri-brand-text,
.bri-theme-military-green .bri-brand-text,
.bri-theme-dark-interface .bri-brand-text,
.bri-theme-iron-man-hud .bri-brand-text {
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--bri-accent, #BD0104);
}

/* Business themes - Clean brand text */
.bri-theme-business-blue .bri-brand-text,
.bri-theme-business-red .bri-brand-text {
    font-weight: 600;
    letter-spacing: normal;
    color: var(--bri-accent, #2271b1);
    text-shadow: 0 0 10px var(--bri-glow, rgba(189, 1, 4, 0.3));
    font-size: 14px;
}

/* ==========================================================================
   Navigation Menu
   ========================================================================== */
/* Light tactical themes - Menu background */
.bri-theme-broad_horizon #adminmenu,
.bri-theme-data-light #adminmenu,
.bri-theme-geopolitical-light #adminmenu,
.bri-theme-intelligence-light #adminmenu,
.bri-theme-ancient-light #adminmenu,
.bri-theme-clean-light #adminmenu {
    background: var(--bri-bg, #f0f0f1);
}

/* Standard & Business themes - Menu using theme variables */
.bri-theme-standard #adminmenu,
.bri-theme-business-blue #adminmenu,
.bri-theme-business-red #adminmenu,
.bri-theme-business_dynamics #adminmenu,
.bri-theme-figma_blue #adminmenu {
    background: #23282d !important;
    border-right: none !important;
    box-shadow: none !important;
}

.bri-theme-broad_horizon_dark #adminmenu,
.bri-theme-raven_intel #adminmenu,
.bri-theme-raven_intel_dark #adminmenu,
.bri-theme-data-dark #adminmenu,
.bri-theme-military-green #adminmenu,
.bri-theme-dark-interface #adminmenu,
.bri-theme-iron-man-hud #adminmenu,
.bri-theme-geopolitical-dark #adminmenu,
.bri-theme-intelligence-dark #adminmenu,
.bri-theme-ancient-dark #adminmenu {
    background: var(--bri-bg, #1a1a2a);
    border-right: 2px solid var(--bri-accent, #BD0104);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    width: var(--bri-menu-width, 320px) !important;
    min-width: var(--bri-menu-width, 320px) !important;
    max-width: var(--bri-menu-width, 320px) !important;
}

.bri-theme-broad_horizon_dark #adminmenuback,
.bri-theme-raven_intel #adminmenuback,
.bri-theme-raven_intel_dark #adminmenuback,
.bri-theme-data-dark #adminmenuback,
.bri-theme-military-green #adminmenuback,
.bri-theme-dark-interface #adminmenuback,
.bri-theme-iron-man-hud #adminmenuback,
.bri-theme-geopolitical-dark #adminmenuback,
.bri-theme-intelligence-dark #adminmenuback,
.bri-theme-ancient-dark #adminmenuback {
    width: var(--bri-menu-width, 320px) !important;
    min-width: var(--bri-menu-width, 320px) !important;
    max-width: var(--bri-menu-width, 320px) !important;
}

.bri-theme-broad_horizon_dark #adminmenuwrap,
.bri-theme-raven_intel #adminmenuwrap,
.bri-theme-raven_intel_dark #adminmenuwrap,
.bri-theme-data-dark #adminmenuwrap,
.bri-theme-military-green #adminmenuwrap,
.bri-theme-dark-interface #adminmenuwrap,
.bri-theme-iron-man-hud #adminmenuwrap,
.bri-theme-geopolitical-dark #adminmenuwrap,
.bri-theme-intelligence-dark #adminmenuwrap,
.bri-theme-ancient-dark #adminmenuwrap {
    width: var(--bri-menu-width, 320px) !important;
    min-width: var(--bri-menu-width, 320px) !important;
    max-width: var(--bri-menu-width, 320px) !important;
}

/* Tactical themes - Menu text */
.bri-theme-broad_horizon #adminmenu .wp-menu-name,
.bri-theme-broad_horizon_dark #adminmenu .wp-menu-name,
.bri-theme-raven_intel #adminmenu .wp-menu-name,
.bri-theme-raven_intel_dark #adminmenu .wp-menu-name,
.bri-theme-data-dark #adminmenu .wp-menu-name,
.bri-theme-data-light #adminmenu .wp-menu-name,
.bri-theme-military-green #adminmenu .wp-menu-name,
.bri-theme-dark-interface #adminmenu .wp-menu-name,
.bri-theme-iron-man-hud #adminmenu .wp-menu-name {
    font-weight: 600;
    color: var(--bri-text, #e0e0e0);
    font-family: var(--bri-font-primary, monospace);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Standard & Business themes - Menu text using theme variables */
.bri-theme-standard #adminmenu .wp-menu-name,
.bri-theme-business-blue #adminmenu .wp-menu-name,
.bri-theme-business-red #adminmenu .wp-menu-name,
.bri-theme-business_dynamics #adminmenu .wp-menu-name,
.bri-theme-figma_blue #adminmenu .wp-menu-name {
    font-weight: normal !important;
    color: #a7aaad !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: 13px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    white-space: nowrap;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bri-theme-broad_horizon #adminmenu li.menu-top,
.bri-theme-broad_horizon_dark #adminmenu li.menu-top,
.bri-theme-raven_intel #adminmenu li.menu-top,
.bri-theme-raven_intel_dark #adminmenu li.menu-top,
.bri-theme-business-blue #adminmenu li.menu-top,
.bri-theme-business-red #adminmenu li.menu-top,
.bri-theme-data-dark #adminmenu li.menu-top,
.bri-theme-data-light #adminmenu li.menu-top,
.bri-theme-military-green #adminmenu li.menu-top,
.bri-theme-dark-interface #adminmenu li.menu-top,
.bri-theme-iron-man-hud #adminmenu li.menu-top {
    height: auto;
    min-height: 50px;
}

.bri-theme-broad_horizon #adminmenu li.menu-top > a,
.bri-theme-broad_horizon_dark #adminmenu li.menu-top > a,
.bri-theme-raven_intel #adminmenu li.menu-top > a,
.bri-theme-raven_intel_dark #adminmenu li.menu-top > a,
.bri-theme-business-blue #adminmenu li.menu-top > a,
.bri-theme-business-red #adminmenu li.menu-top > a,
.bri-theme-data-dark #adminmenu li.menu-top > a,
.bri-theme-data-light #adminmenu li.menu-top > a,
.bri-theme-military-green #adminmenu li.menu-top > a,
.bri-theme-dark-interface #adminmenu li.menu-top > a,
.bri-theme-iron-man-hud #adminmenu li.menu-top > a {
    padding: 15px 12px !important;
    height: auto;
    min-height: 50px;
    display: flex;
    align-items: center;
    text-align: left !important;
    justify-content: flex-start !important;
}

/* Tactical themes - Menu hover/active */
.bri-theme-broad_horizon #adminmenu li.menu-top:hover,
.bri-theme-broad_horizon_dark #adminmenu li.menu-top:hover,
.bri-theme-raven_intel #adminmenu li.menu-top:hover,
.bri-theme-raven_intel_dark #adminmenu li.menu-top:hover,
.bri-theme-data-dark #adminmenu li.menu-top:hover,
.bri-theme-data-light #adminmenu li.menu-top:hover,
.bri-theme-military-green #adminmenu li.menu-top:hover,
.bri-theme-dark-interface #adminmenu li.menu-top:hover,
.bri-theme-iron-man-hud #adminmenu li.menu-top:hover,
.bri-theme-broad_horizon #adminmenu li.opensub > a.menu-top,
.bri-theme-broad_horizon_dark #adminmenu li.opensub > a.menu-top,
.bri-theme-raven_intel #adminmenu li.opensub > a.menu-top,
.bri-theme-raven_intel_dark #adminmenu li.opensub > a.menu-top,
.bri-theme-data-dark #adminmenu li.opensub > a.menu-top,
.bri-theme-data-light #adminmenu li.opensub > a.menu-top,
.bri-theme-military-green #adminmenu li.opensub > a.menu-top,
.bri-theme-dark-interface #adminmenu li.opensub > a.menu-top,
.bri-theme-iron-man-hud #adminmenu li.opensub > a.menu-top,
.bri-theme-broad_horizon #adminmenu li.current > a.menu-top,
.bri-theme-broad_horizon_dark #adminmenu li.current > a.menu-top,
.bri-theme-raven_intel #adminmenu li.current > a.menu-top,
.bri-theme-raven_intel_dark #adminmenu li.current > a.menu-top,
.bri-theme-data-dark #adminmenu li.current > a.menu-top,
.bri-theme-data-light #adminmenu li.current > a.menu-top,
.bri-theme-military-green #adminmenu li.current > a.menu-top,
.bri-theme-dark-interface #adminmenu li.current > a.menu-top,
.bri-theme-iron-man-hud #adminmenu li.current > a.menu-top {
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--bri-accent, #BD0104);
    box-shadow: inset 0 0 10px var(--bri-glow, rgba(189, 1, 4, 0.2));
}

/* Standard & Business themes - Menu hover/active using theme accent */
.bri-theme-standard #adminmenu li.menu-top:hover,
.bri-theme-business-blue #adminmenu li.menu-top:hover,
.bri-theme-business-red #adminmenu li.menu-top:hover,
.bri-theme-business_dynamics #adminmenu li.menu-top:hover,
.bri-theme-figma_blue #adminmenu li.menu-top:hover,
.bri-theme-standard #adminmenu li.opensub > a.menu-top,
.bri-theme-business-blue #adminmenu li.opensub > a.menu-top,
.bri-theme-business-red #adminmenu li.opensub > a.menu-top,
.bri-theme-business_dynamics #adminmenu li.opensub > a.menu-top,
.bri-theme-figma_blue #adminmenu li.opensub > a.menu-top,
.bri-theme-standard #adminmenu li.current > a.menu-top,
.bri-theme-business-blue #adminmenu li.current > a.menu-top,
.bri-theme-business-red #adminmenu li.current > a.menu-top,
.bri-theme-business_dynamics #adminmenu li.current > a.menu-top,
.bri-theme-figma_blue #adminmenu li.current > a.menu-top {
    background: var(--bri-accent, #2271b1) !important;
    border-left: 4px solid var(--bri-accent, #2271b1) !important;
    box-shadow: none !important;
}

/* Tactical themes - Menu hover text */
.bri-theme-broad_horizon #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-broad_horizon_dark #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-raven_intel #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-raven_intel_dark #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-data-dark #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-data-light #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-military-green #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-dark-interface #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-iron-man-hud #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-broad_horizon #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-broad_horizon_dark #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-raven_intel #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-raven_intel_dark #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-data-dark #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-data-light #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-military-green #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-dark-interface #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-iron-man-hud #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-broad_horizon #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-broad_horizon_dark #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-raven_intel #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-raven_intel_dark #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-data-dark #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-data-light #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-military-green #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-dark-interface #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-iron-man-hud #adminmenu li.current > a.menu-top .wp-menu-name {
    color: var(--bri-accent, #BD0104);
    text-shadow: 0 0 8px var(--bri-glow, rgba(189, 1, 4, 0.5));
    font-weight: 700;
}

/* Business themes - Menu hover text */
.bri-theme-standard #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-business-blue #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-business-red #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-business_dynamics #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-figma_blue #adminmenu li.menu-top:hover .wp-menu-name,
.bri-theme-standard #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-business-blue #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-business-red #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-business_dynamics #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-figma_blue #adminmenu li.opensub > a.menu-top .wp-menu-name,
.bri-theme-standard #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-business-blue #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-business-red #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-business_dynamics #adminmenu li.current > a.menu-top .wp-menu-name,
.bri-theme-figma_blue #adminmenu li.current > a.menu-top .wp-menu-name {
    color: #fff !important;
    text-shadow: none !important;
    font-weight: normal !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}

.bri-theme-broad_horizon #adminmenu .wp-submenu,
/* Light tactical themes - Submenu */
.bri-theme-data-light #adminmenu .wp-submenu {
    background: var(--bri-card-bg, #f6f7f7);
}

/* Business themes - Submenu using theme variables */
.bri-theme-standard #adminmenu .wp-submenu,
.bri-theme-business-blue #adminmenu .wp-submenu,
.bri-theme-business-red #adminmenu .wp-submenu,
.bri-theme-business_dynamics #adminmenu .wp-submenu,
.bri-theme-figma_blue #adminmenu .wp-submenu {
    background: #23282d !important;
    border-left: none !important;
    box-shadow: none !important;
}

.bri-theme-broad_horizon_dark #adminmenu .wp-submenu,
.bri-theme-raven_intel #adminmenu .wp-submenu,
.bri-theme-raven_intel_dark #adminmenu .wp-submenu,
.bri-theme-data-dark #adminmenu .wp-submenu,
.bri-theme-military-green #adminmenu .wp-submenu,
.bri-theme-dark-interface #adminmenu .wp-submenu,
.bri-theme-iron-man-hud #adminmenu .wp-submenu {
    background: var(--bri-card-bg, #1a1a2e);
    border-left: 2px solid var(--bri-accent, #BD0104);
    box-shadow: inset 2px 0 10px rgba(0, 0, 0, 0.5);
    width: var(--bri-submenu-width, 220px) !important;
}

/* Tactical themes - Submenu links */
.bri-theme-broad_horizon #adminmenu .wp-submenu li a,
.bri-theme-broad_horizon_dark #adminmenu .wp-submenu li a,
.bri-theme-raven_intel #adminmenu .wp-submenu li a,
.bri-theme-raven_intel_dark #adminmenu .wp-submenu li a,
.bri-theme-data-dark #adminmenu .wp-submenu li a,
.bri-theme-data-light #adminmenu .wp-submenu li a,
.bri-theme-military-green #adminmenu .wp-submenu li a,
.bri-theme-dark-interface #adminmenu .wp-submenu li a,
.bri-theme-iron-man-hud #adminmenu .wp-submenu li a {
    color: var(--bri-text-dim, #888);
    padding: 10px 12px 10px var(--bri-submenu-padding, 20px) !important;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

/* Business themes - Submenu links using theme variables */
.bri-theme-standard #adminmenu .wp-submenu li a,
.bri-theme-business-blue #adminmenu .wp-submenu li a,
.bri-theme-business-red #adminmenu .wp-submenu li a,
.bri-theme-business_dynamics #adminmenu .wp-submenu li a,
.bri-theme-figma_blue #adminmenu .wp-submenu li a {
    color: #a7aaad !important;
    padding: 8px 12px 8px var(--bri-submenu-padding, 36px) !important;
    font-size: 13px !important;
    letter-spacing: normal !important;
    border-left: none !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}

/* Business themes - Ensure menu icons are visible */
.bri-theme-standard #adminmenu .wp-menu-image,
.bri-theme-business-blue #adminmenu .wp-menu-image,
.bri-theme-business-red #adminmenu .wp-menu-image,
.bri-theme-business_dynamics #adminmenu .wp-menu-image,
.bri-theme-figma_blue #adminmenu .wp-menu-image {
    opacity: 1 !important;
    filter: none !important;
    width: var(--bri-icon-width, 20px) !important;
    height: var(--bri-icon-width, 20px) !important;
    display: inline-block !important;
    margin-right: 6px !important;
    padding-left: var(--bri-icon-padding, 12px) !important;
}

.bri-theme-standard #adminmenu .wp-menu-image:before,
.bri-theme-business-blue #adminmenu .wp-menu-image:before,
.bri-theme-business-red #adminmenu .wp-menu-image:before,
.bri-theme-business_dynamics #adminmenu .wp-menu-image:before,
.bri-theme-figma_blue #adminmenu .wp-menu-image:before {
    color: #a7aaad !important;
    font-size: var(--bri-icon-width, 20px) !important;
    line-height: 1 !important;
}

.bri-theme-standard #adminmenu li:hover .wp-menu-image:before,
.bri-theme-business-blue #adminmenu li:hover .wp-menu-image:before,
.bri-theme-business-red #adminmenu li:hover .wp-menu-image:before,
.bri-theme-business_dynamics #adminmenu li:hover .wp-menu-image:before,
.bri-theme-figma_blue #adminmenu li:hover .wp-menu-image:before,
.bri-theme-standard #adminmenu li.current .wp-menu-image:before,
.bri-theme-business-blue #adminmenu li.current .wp-menu-image:before,
.bri-theme-business-red #adminmenu li.current .wp-menu-image:before,
.bri-theme-business_dynamics #adminmenu li.current .wp-menu-image:before,
.bri-theme-figma_blue #adminmenu li.current .wp-menu-image:before {
    color: #fff !important;
}

/* Tactical themes - Submenu hover */
.bri-theme-broad_horizon #adminmenu .wp-submenu li a:hover,
.bri-theme-broad_horizon_dark #adminmenu .wp-submenu li a:hover,
.bri-theme-raven_intel #adminmenu .wp-submenu li a:hover,
.bri-theme-raven_intel_dark #adminmenu .wp-submenu li a:hover,
.bri-theme-data-dark #adminmenu .wp-submenu li a:hover,
.bri-theme-data-light #adminmenu .wp-submenu li a:hover,
.bri-theme-military-green #adminmenu .wp-submenu li a:hover,
.bri-theme-dark-interface #adminmenu .wp-submenu li a:hover,
.bri-theme-iron-man-hud #adminmenu .wp-submenu li a:hover {
    background: color-mix(in srgb, var(--bri-accent) 10%, transparent);
    color: var(--bri-accent, #BD0104);
    border-left-color: var(--bri-accent, #BD0104);
    text-shadow: 0 0 5px var(--bri-glow, rgba(189, 1, 4, 0.3));
}

/* Business themes - Submenu hover using theme accent */
.bri-theme-standard #adminmenu .wp-submenu li a:hover,
.bri-theme-business-blue #adminmenu .wp-submenu li a:hover,
.bri-theme-business-red #adminmenu .wp-submenu li a:hover,
.bri-theme-business_dynamics #adminmenu .wp-submenu li a:hover,
.bri-theme-figma_blue #adminmenu .wp-submenu li a:hover {
    background: var(--bri-accent, #2271b1) !important;
    color: #fff !important;
    border-left: none !important;
    text-shadow: none !important;
}

/* ==========================================================================
   Headers & Titles
   ========================================================================== */
/* Tactical themes - Headers with borders and uppercase */
.bri-theme-broad_horizon .wrap h1,
.bri-theme-broad_horizon_dark .wrap h1,
.bri-theme-raven_intel .wrap h1,
.bri-theme-raven_intel_dark .wrap h1,
.bri-theme-data-dark .wrap h1,
.bri-theme-data-light .wrap h1,
.bri-theme-military-green .wrap h1,
.bri-theme-dark-interface .wrap h1,
.bri-theme-iron-man-hud .wrap h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--bri-accent, #BD0104);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bri-accent, #BD0104);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--bri-glow, rgba(189, 1, 4, 0.3));
    font-family: var(--bri-font-primary, monospace);
    position: relative;
}

.bri-theme-broad_horizon .wrap h2,
.bri-theme-broad_horizon_dark .wrap h2,
.bri-theme-raven_intel .wrap h2,
.bri-theme-raven_intel_dark .wrap h2,
.bri-theme-data-dark .wrap h2,
.bri-theme-data-light .wrap h2,
.bri-theme-military-green .wrap h2,
.bri-theme-dark-interface .wrap h2,
.bri-theme-iron-man-hud .wrap h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--bri-text, #e0e0e0);
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--bri-font-primary, monospace);
    border-left: 3px solid var(--bri-accent, #BD0104);
    padding-left: 10px;
}

/* Business themes - Clean, professional headers */
.bri-theme-business-blue .wrap h1,
.bri-theme-business-red .wrap h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--bri-text, #1d2327);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bri-border, #d1d5db);
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    position: relative;
}

.bri-theme-business-blue .wrap h2,
.bri-theme-business-red .wrap h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--bri-text, #1d2327);
    margin-top: 24px;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    border-left: none;
    padding-left: 0;
}

/* ==========================================================================
   Cards & Containers
   ========================================================================== */
/* Tactical themes - Frames with clip-path */
.bri-theme-broad_horizon .card,
.bri-theme-data-light .card,
.bri-theme-broad_horizon .postbox,
.bri-theme-data-light .postbox {
    background: var(--bri-card-bg, #ffffff);
    border: 2px solid var(--bri-accent, #BD0104);
    border-radius: 0;
    clip-path: polygon(
        10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px),
        calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px
    );
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 20px var(--bri-glow, rgba(189, 1, 4, 0.3));
    position: relative;
}

/* Business themes - Clean, professional cards */
.bri-theme-business-blue .card,
.bri-theme-business-red .card,
.bri-theme-business-blue .postbox,
.bri-theme-business-red .postbox {
    background: var(--bri-card-bg, #f6f7f7);
    border: 1px solid var(--bri-border, #d1d5db);
    border-radius: 4px;
    clip-path: none;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

.bri-theme-broad_horizon_dark .card,
.bri-theme-raven_intel .card,
.bri-theme-raven_intel_dark .card,
.bri-theme-data-dark .card,
.bri-theme-military-green .card,
.bri-theme-dark-interface .card,
.bri-theme-iron-man-hud .card,
.bri-theme-geopolitical-dark .card,
.bri-theme-intelligence-dark .card,
.bri-theme-ancient-dark .card,
.bri-theme-broad_horizon_dark .postbox,
.bri-theme-raven_intel .postbox,
.bri-theme-raven_intel_dark .postbox,
.bri-theme-data-dark .postbox,
.bri-theme-military-green .postbox,
.bri-theme-dark-interface .postbox,
.bri-theme-iron-man-hud .postbox,
.bri-theme-geopolitical-dark .postbox,
.bri-theme-intelligence-dark .postbox,
.bri-theme-ancient-dark .postbox {
    background: var(--bri-bg, #1a1a2a) !important;
    border: 1px solid var(--bri-border, #333333) !important;
    border-radius: 0;
    clip-path: none !important;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: none !important;
    position: relative;
}

/* Tactical themes - Card headers */
.bri-theme-broad_horizon .card h2,
.bri-theme-data-light .card h2,
.bri-theme-broad_horizon .postbox h2,
.bri-theme-data-light .postbox h2,
.bri-theme-broad_horizon_dark .card h2,
.bri-theme-raven_intel .card h2,
.bri-theme-raven_intel_dark .card h2,
.bri-theme-data-dark .card h2,
.bri-theme-military-green .card h2,
.bri-theme-dark-interface .card h2,
.bri-theme-iron-man-hud .card h2,
.bri-theme-broad_horizon_dark .postbox h2,
.bri-theme-raven_intel .postbox h2,
.bri-theme-raven_intel_dark .postbox h2,
.bri-theme-data-dark .postbox h2,
.bri-theme-military-green .postbox h2,
.bri-theme-dark-interface .postbox h2,
.bri-theme-iron-man-hud .postbox h2 {
    border-bottom: 1px solid var(--bri-accent, #BD0104);
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: var(--bri-accent, #BD0104);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--bri-font-primary, monospace);
}

/* Business themes - Clean card headers */
.bri-theme-business-blue .card h2,
.bri-theme-business-red .card h2,
.bri-theme-business-blue .postbox h2,
.bri-theme-business-red .postbox h2 {
    border-bottom: 1px solid var(--bri-border, #d1d5db);
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: var(--bri-text, #1d2327);
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-weight: 600;
}

/* ==========================================================================
   WordPress Admin Elements (Metaboxes, Widgets, etc.)
   ========================================================================== */
.bri-theme-broad_horizon .inside,
.bri-theme-business-blue .inside,
.bri-theme-business-red .inside,
.bri-theme-data-light .inside,
.bri-theme-broad_horizon .metabox-holder,
.bri-theme-business-blue .metabox-holder,
.bri-theme-business-red .metabox-holder,
.bri-theme-data-light .metabox-holder {
    background: var(--bri-card-bg, #ffffff);
}

.bri-theme-broad_horizon_dark .inside,
.bri-theme-raven_intel .inside,
.bri-theme-raven_intel_dark .inside,
.bri-theme-data-dark .inside,
.bri-theme-military-green .inside,
.bri-theme-dark-interface .inside,
.bri-theme-iron-man-hud .inside,
.bri-theme-broad_horizon_dark .metabox-holder,
.bri-theme-raven_intel .metabox-holder,
.bri-theme-raven_intel_dark .metabox-holder,
.bri-theme-data-dark .metabox-holder,
.bri-theme-military-green .metabox-holder,
.bri-theme-dark-interface .metabox-holder,
.bri-theme-iron-man-hud .metabox-holder {
    background: var(--bri-card-bg, #1a1a2e);
}

/* Remove default white backgrounds from WordPress elements */
.bri-theme-broad_horizon_dark .postbox .inside,
.bri-theme-raven_intel .postbox .inside,
.bri-theme-raven_intel_dark .postbox .inside,
.bri-theme-data-dark .postbox .inside,
.bri-theme-military-green .postbox .inside,
.bri-theme-dark-interface .postbox .inside,
.bri-theme-iron-man-hud .postbox .inside,
.bri-theme-geopolitical-dark .postbox .inside,
.bri-theme-intelligence-dark .postbox .inside,
.bri-theme-ancient-dark .postbox .inside {
    background: transparent !important;
}

/* Remove all floating effects - make everything flat */
.bri-theme-broad_horizon_dark .postbox .postbox-header,
.bri-theme-raven_intel .postbox .postbox-header,
.bri-theme-raven_intel_dark .postbox .postbox-header,
.bri-theme-data-dark .postbox .postbox-header,
.bri-theme-military-green .postbox .postbox-header,
.bri-theme-dark-interface .postbox .postbox-header,
.bri-theme-iron-man-hud .postbox .postbox-header,
.bri-theme-geopolitical-dark .postbox .postbox-header,
.bri-theme-intelligence-dark .postbox .postbox-header,
.bri-theme-ancient-dark .postbox .postbox-header {
    background: transparent !important;
    border-bottom: 1px solid var(--bri-border, #333333) !important;
    box-shadow: none !important;
}

/* Force dark backgrounds on all WordPress admin containers */
.bri-theme-broad_horizon_dark .wrap,
.bri-theme-raven_intel .wrap,
.bri-theme-raven_intel_dark .wrap,
.bri-theme-data-dark .wrap,
.bri-theme-military-green .wrap,
.bri-theme-dark-interface .wrap,
.bri-theme-iron-man-hud .wrap,
.bri-theme-geopolitical-dark .wrap,
.bri-theme-intelligence-dark .wrap,
.bri-theme-ancient-dark .wrap {
    background: transparent !important;
}

.bri-theme-broad_horizon_dark .form-table,
.bri-theme-raven_intel .form-table,
.bri-theme-raven_intel_dark .form-table,
.bri-theme-data-dark .form-table,
.bri-theme-military-green .form-table,
.bri-theme-dark-interface .form-table,
.bri-theme-iron-man-hud .form-table,
.bri-theme-geopolitical-dark .form-table,
.bri-theme-intelligence-dark .form-table,
.bri-theme-ancient-dark .form-table {
    background: transparent !important;
}

.bri-theme-broad_horizon_dark .form-table td,
.bri-theme-raven_intel .form-table td,
.bri-theme-raven_intel_dark .form-table td,
.bri-theme-data-dark .form-table td,
.bri-theme-military-green .form-table td,
.bri-theme-dark-interface .form-table td,
.bri-theme-iron-man-hud .form-table td,
.bri-theme-geopolitical-dark .form-table td,
.bri-theme-intelligence-dark .form-table td,
.bri-theme-ancient-dark .form-table td {
    background: transparent !important;
    color: var(--bri-text, #e0e0e0) !important;
}

.bri-theme-broad_horizon_dark .form-table th,
.bri-theme-raven_intel .form-table th,
.bri-theme-raven_intel_dark .form-table th,
.bri-theme-data-dark .form-table th,
.bri-theme-military-green .form-table th,
.bri-theme-dark-interface .form-table th,
.bri-theme-iron-man-hud .form-table th,
.bri-theme-geopolitical-dark .form-table th,
.bri-theme-intelligence-dark .form-table th,
.bri-theme-ancient-dark .form-table th {
    background: transparent !important;
    color: var(--bri-text, #e0e0e0) !important;
}

/* Ensure all form inputs have dark backgrounds */
.bri-theme-broad_horizon_dark input[type="text"],
.bri-theme-broad_horizon_dark input[type="email"],
.bri-theme-broad_horizon_dark input[type="url"],
.bri-theme-broad_horizon_dark input[type="password"],
.bri-theme-broad_horizon_dark input[type="number"],
.bri-theme-broad_horizon_dark input[type="search"],
.bri-theme-broad_horizon_dark textarea,
.bri-theme-broad_horizon_dark select,
.bri-theme-raven_intel input[type="text"],
.bri-theme-raven_intel input[type="email"],
.bri-theme-raven_intel input[type="url"],
.bri-theme-raven_intel input[type="password"],
.bri-theme-raven_intel input[type="number"],
.bri-theme-raven_intel input[type="search"],
.bri-theme-raven_intel textarea,
.bri-theme-raven_intel select,
.bri-theme-raven_intel_dark input[type="text"],
.bri-theme-raven_intel_dark input[type="email"],
.bri-theme-raven_intel_dark input[type="url"],
.bri-theme-raven_intel_dark input[type="password"],
.bri-theme-raven_intel_dark input[type="number"],
.bri-theme-raven_intel_dark input[type="search"],
.bri-theme-raven_intel_dark textarea,
.bri-theme-raven_intel_dark select,
.bri-theme-data-dark input[type="text"],
.bri-theme-data-dark input[type="email"],
.bri-theme-data-dark input[type="url"],
.bri-theme-data-dark input[type="password"],
.bri-theme-data-dark input[type="number"],
.bri-theme-data-dark input[type="search"],
.bri-theme-data-dark textarea,
.bri-theme-data-dark select,
.bri-theme-military-green input[type="text"],
.bri-theme-military-green input[type="email"],
.bri-theme-military-green input[type="url"],
.bri-theme-military-green input[type="password"],
.bri-theme-military-green input[type="number"],
.bri-theme-military-green input[type="search"],
.bri-theme-military-green textarea,
.bri-theme-military-green select,
.bri-theme-dark-interface input[type="text"],
.bri-theme-dark-interface input[type="email"],
.bri-theme-dark-interface input[type="url"],
.bri-theme-dark-interface input[type="password"],
.bri-theme-dark-interface input[type="number"],
.bri-theme-dark-interface input[type="search"],
.bri-theme-dark-interface textarea,
.bri-theme-dark-interface select,
.bri-theme-iron-man-hud input[type="text"],
.bri-theme-iron-man-hud input[type="email"],
.bri-theme-iron-man-hud input[type="url"],
.bri-theme-iron-man-hud input[type="password"],
.bri-theme-iron-man-hud input[type="number"],
.bri-theme-iron-man-hud input[type="search"],
.bri-theme-iron-man-hud textarea,
.bri-theme-iron-man-hud select,
.bri-theme-geopolitical-dark input[type="text"],
.bri-theme-geopolitical-dark input[type="email"],
.bri-theme-geopolitical-dark input[type="url"],
.bri-theme-geopolitical-dark input[type="password"],
.bri-theme-geopolitical-dark input[type="number"],
.bri-theme-geopolitical-dark input[type="search"],
.bri-theme-geopolitical-dark textarea,
.bri-theme-geopolitical-dark select,
.bri-theme-intelligence-dark input[type="text"],
.bri-theme-intelligence-dark input[type="email"],
.bri-theme-intelligence-dark input[type="url"],
.bri-theme-intelligence-dark input[type="password"],
.bri-theme-intelligence-dark input[type="number"],
.bri-theme-intelligence-dark input[type="search"],
.bri-theme-intelligence-dark textarea,
.bri-theme-intelligence-dark select,
.bri-theme-ancient-dark input[type="text"],
.bri-theme-ancient-dark input[type="email"],
.bri-theme-ancient-dark input[type="url"],
.bri-theme-ancient-dark input[type="password"],
.bri-theme-ancient-dark input[type="number"],
.bri-theme-ancient-dark input[type="search"],
.bri-theme-ancient-dark textarea,
.bri-theme-ancient-dark select {
    background: var(--bri-card-bg, #1a1a2e) !important;
    border: 1px solid var(--bri-border, #333333) !important;
    color: var(--bri-text, #e0e0e0) !important;
}

.bri-theme-broad_horizon_dark input[type="text"]:focus,
.bri-theme-broad_horizon_dark input[type="email"]:focus,
.bri-theme-broad_horizon_dark input[type="url"]:focus,
.bri-theme-broad_horizon_dark input[type="password"]:focus,
.bri-theme-broad_horizon_dark input[type="number"]:focus,
.bri-theme-broad_horizon_dark input[type="search"]:focus,
.bri-theme-broad_horizon_dark textarea:focus,
.bri-theme-broad_horizon_dark select:focus,
.bri-theme-raven_intel input[type="text"]:focus,
.bri-theme-raven_intel input[type="email"]:focus,
.bri-theme-raven_intel input[type="url"]:focus,
.bri-theme-raven_intel input[type="password"]:focus,
.bri-theme-raven_intel input[type="number"]:focus,
.bri-theme-raven_intel input[type="search"]:focus,
.bri-theme-raven_intel textarea:focus,
.bri-theme-raven_intel select:focus,
.bri-theme-raven_intel_dark input[type="text"]:focus,
.bri-theme-raven_intel_dark input[type="email"]:focus,
.bri-theme-raven_intel_dark input[type="url"]:focus,
.bri-theme-raven_intel_dark input[type="password"]:focus,
.bri-theme-raven_intel_dark input[type="number"]:focus,
.bri-theme-raven_intel_dark input[type="search"]:focus,
.bri-theme-raven_intel_dark textarea:focus,
.bri-theme-raven_intel_dark select:focus,
.bri-theme-data-dark input[type="text"]:focus,
.bri-theme-data-dark input[type="email"]:focus,
.bri-theme-data-dark input[type="url"]:focus,
.bri-theme-data-dark input[type="password"]:focus,
.bri-theme-data-dark input[type="number"]:focus,
.bri-theme-data-dark input[type="search"]:focus,
.bri-theme-data-dark textarea:focus,
.bri-theme-data-dark select:focus,
.bri-theme-military-green input[type="text"]:focus,
.bri-theme-military-green input[type="email"]:focus,
.bri-theme-military-green input[type="url"]:focus,
.bri-theme-military-green input[type="password"]:focus,
.bri-theme-military-green input[type="number"]:focus,
.bri-theme-military-green input[type="search"]:focus,
.bri-theme-military-green textarea:focus,
.bri-theme-military-green select:focus,
.bri-theme-dark-interface input[type="text"]:focus,
.bri-theme-dark-interface input[type="email"]:focus,
.bri-theme-dark-interface input[type="url"]:focus,
.bri-theme-dark-interface input[type="password"]:focus,
.bri-theme-dark-interface input[type="number"]:focus,
.bri-theme-dark-interface input[type="search"]:focus,
.bri-theme-dark-interface textarea:focus,
.bri-theme-dark-interface select:focus,
.bri-theme-iron-man-hud input[type="text"]:focus,
.bri-theme-iron-man-hud input[type="email"]:focus,
.bri-theme-iron-man-hud input[type="url"]:focus,
.bri-theme-iron-man-hud input[type="password"]:focus,
.bri-theme-iron-man-hud input[type="number"]:focus,
.bri-theme-iron-man-hud input[type="search"]:focus,
.bri-theme-iron-man-hud textarea:focus,
.bri-theme-iron-man-hud select:focus,
.bri-theme-geopolitical-dark input[type="text"]:focus,
.bri-theme-geopolitical-dark input[type="email"]:focus,
.bri-theme-geopolitical-dark input[type="url"]:focus,
.bri-theme-geopolitical-dark input[type="password"]:focus,
.bri-theme-geopolitical-dark input[type="number"]:focus,
.bri-theme-geopolitical-dark input[type="search"]:focus,
.bri-theme-geopolitical-dark textarea:focus,
.bri-theme-geopolitical-dark select:focus,
.bri-theme-intelligence-dark input[type="text"]:focus,
.bri-theme-intelligence-dark input[type="email"]:focus,
.bri-theme-intelligence-dark input[type="url"]:focus,
.bri-theme-intelligence-dark input[type="password"]:focus,
.bri-theme-intelligence-dark input[type="number"]:focus,
.bri-theme-intelligence-dark input[type="search"]:focus,
.bri-theme-intelligence-dark textarea:focus,
.bri-theme-intelligence-dark select:focus,
.bri-theme-ancient-dark input[type="text"]:focus,
.bri-theme-ancient-dark input[type="email"]:focus,
.bri-theme-ancient-dark input[type="url"]:focus,
.bri-theme-ancient-dark input[type="password"]:focus,
.bri-theme-ancient-dark input[type="number"]:focus,
.bri-theme-ancient-dark input[type="search"]:focus,
.bri-theme-ancient-dark textarea:focus,
.bri-theme-ancient-dark select:focus {
    border-color: var(--bri-accent, #BD0104) !important;
    box-shadow: 0 0 5px var(--bri-glow, rgba(189, 1, 4, 0.3)) !important;
}

/* Global override: Remove all white backgrounds in dark themes */
.bri-theme-broad_horizon_dark *,
.bri-theme-raven_intel *,
.bri-theme-raven_intel_dark *,
.bri-theme-data-dark *,
.bri-theme-military-green *,
.bri-theme-dark-interface *,
.bri-theme-iron-man-hud *,
.bri-theme-geopolitical-dark *,
.bri-theme-intelligence-dark *,
.bri-theme-ancient-dark * {
    /* Override WordPress default white backgrounds */
}

.bri-theme-broad_horizon_dark [style*="background: #fff"],
.bri-theme-broad_horizon_dark [style*="background:#fff"],
.bri-theme-broad_horizon_dark [style*="background: white"],
.bri-theme-broad_horizon_dark [style*="background:white"],
.bri-theme-raven_intel [style*="background: #fff"],
.bri-theme-raven_intel [style*="background:#fff"],
.bri-theme-raven_intel [style*="background: white"],
.bri-theme-raven_intel [style*="background:white"],
.bri-theme-raven_intel_dark [style*="background: #fff"],
.bri-theme-raven_intel_dark [style*="background:#fff"],
.bri-theme-raven_intel_dark [style*="background: white"],
.bri-theme-raven_intel_dark [style*="background:white"],
.bri-theme-data-dark [style*="background: #fff"],
.bri-theme-data-dark [style*="background:#fff"],
.bri-theme-data-dark [style*="background: white"],
.bri-theme-data-dark [style*="background:white"],
.bri-theme-military-green [style*="background: #fff"],
.bri-theme-military-green [style*="background:#fff"],
.bri-theme-military-green [style*="background: white"],
.bri-theme-military-green [style*="background:white"],
.bri-theme-dark-interface [style*="background: #fff"],
.bri-theme-dark-interface [style*="background:#fff"],
.bri-theme-dark-interface [style*="background: white"],
.bri-theme-dark-interface [style*="background:white"],
.bri-theme-iron-man-hud [style*="background: #fff"],
.bri-theme-iron-man-hud [style*="background:#fff"],
.bri-theme-iron-man-hud [style*="background: white"],
.bri-theme-iron-man-hud [style*="background:white"],
.bri-theme-geopolitical-dark [style*="background: #fff"],
.bri-theme-geopolitical-dark [style*="background:#fff"],
.bri-theme-geopolitical-dark [style*="background: white"],
.bri-theme-geopolitical-dark [style*="background:white"],
.bri-theme-intelligence-dark [style*="background: #fff"],
.bri-theme-intelligence-dark [style*="background:#fff"],
.bri-theme-intelligence-dark [style*="background: white"],
.bri-theme-intelligence-dark [style*="background:white"],
.bri-theme-ancient-dark [style*="background: #fff"],
.bri-theme-ancient-dark [style*="background:#fff"],
.bri-theme-ancient-dark [style*="background: white"],
.bri-theme-ancient-dark [style*="background:white"] {
    background: var(--bri-card-bg, #1a1a2e) !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
/* Tactical themes - Buttons with clip-path and uppercase */
.bri-theme-broad_horizon .button-primary,
.bri-theme-broad_horizon_dark .button-primary,
.bri-theme-raven_intel .button-primary,
.bri-theme-raven_intel_dark .button-primary,
.bri-theme-data-dark .button-primary,
.bri-theme-data-light .button-primary,
.bri-theme-military-green .button-primary,
.bri-theme-dark-interface .button-primary,
.bri-theme-iron-man-hud .button-primary,
.bri-theme-geopolitical-dark .button-primary,
.bri-theme-geopolitical-light .button-primary,
.bri-theme-intelligence-dark .button-primary,
.bri-theme-intelligence-light .button-primary,
.bri-theme-ancient-dark .button-primary,
.bri-theme-ancient-light .button-primary {
    background: transparent;
    border: 2px solid var(--bri-accent, #BD0104);
    color: var(--bri-accent, #BD0104);
    border-radius: 0;
    padding: 10px 20px;
    font-weight: 600;
    font-family: var(--bri-font-primary, monospace);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    clip-path: polygon(
        5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px),
        calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px
    );
    box-shadow: 0 0 10px var(--bri-glow, rgba(189, 1, 4, 0.3));
}

/* Business/Standard themes - Normal WordPress buttons */
.bri-theme-standard .button-primary,
.bri-theme-business-blue .button-primary,
.bri-theme-business-red .button-primary,
.bri-theme-business_dynamics .button-primary,
.bri-theme-figma_blue .button-primary,
.bri-theme-clean-light .button-primary,
.bri-theme-raven_intel .button-primary {
    background: var(--bri-accent, #2271b1) !important;
    border-color: var(--bri-accent, #2271b1) !important;
    color: #ffffff !important;
    border-radius: 3px !important;
    padding: 8px 16px !important;
    font-weight: 400 !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    font-size: 13px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    clip-path: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.15s ease !important;
}

/* Tactical themes - Button hover */
.bri-theme-broad_horizon .button-primary:hover,
.bri-theme-broad_horizon_dark .button-primary:hover,
.bri-theme-raven_intel .button-primary:hover,
.bri-theme-raven_intel_dark .button-primary:hover,
.bri-theme-data-dark .button-primary:hover,
.bri-theme-data-light .button-primary:hover,
.bri-theme-military-green .button-primary:hover,
.bri-theme-dark-interface .button-primary:hover,
.bri-theme-iron-man-hud .button-primary:hover,
.bri-theme-geopolitical-dark .button-primary:hover,
.bri-theme-geopolitical-light .button-primary:hover,
.bri-theme-intelligence-dark .button-primary:hover,
.bri-theme-intelligence-light .button-primary:hover,
.bri-theme-ancient-dark .button-primary:hover,
.bri-theme-ancient-light .button-primary:hover {
    background: color-mix(in srgb, var(--bri-accent) 20%, transparent);
    box-shadow: 0 0 20px var(--bri-glow, rgba(189, 1, 4, 0.3));
    transform: translateY(-1px);
}

/* Business/Standard themes - Button hover */
.bri-theme-standard .button-primary:hover,
.bri-theme-business-blue .button-primary:hover,
.bri-theme-business-red .button-primary:hover,
.bri-theme-business_dynamics .button-primary:hover,
.bri-theme-figma_blue .button-primary:hover,
.bri-theme-clean-light .button-primary:hover,
.bri-theme-raven_intel .button-primary:hover {
    background: var(--bri-accent-dark, #135e96) !important;
    border-color: var(--bri-accent-dark, #135e96) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    transform: none !important;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.bri-theme-broad_horizon input[type="text"],
.bri-theme-broad_horizon_dark input[type="text"],
.bri-theme-raven_intel input[type="text"],
.bri-theme-raven_intel_dark input[type="text"],
.bri-theme-business-blue input[type="text"],
.bri-theme-business-red input[type="text"],
.bri-theme-data-dark input[type="text"],
.bri-theme-data-light input[type="text"],
.bri-theme-military-green input[type="text"],
.bri-theme-dark-interface input[type="text"],
.bri-theme-iron-man-hud input[type="text"],
.bri-theme-broad_horizon textarea,
.bri-theme-broad_horizon_dark textarea,
.bri-theme-raven_intel textarea,
.bri-theme-raven_intel_dark textarea,
.bri-theme-business-blue textarea,
.bri-theme-business-red textarea,
.bri-theme-data-dark textarea,
.bri-theme-data-light textarea,
.bri-theme-military-green textarea,
.bri-theme-dark-interface textarea,
.bri-theme-iron-man-hud textarea,
.bri-theme-broad_horizon select,
.bri-theme-broad_horizon_dark select,
.bri-theme-raven_intel select,
.bri-theme-raven_intel_dark select,
.bri-theme-business-blue select,
.bri-theme-business-red select,
.bri-theme-data-dark select,
.bri-theme-data-light select,
.bri-theme-military-green select,
.bri-theme-dark-interface select,
.bri-theme-iron-man-hud select {
    background: var(--bri-card-bg, #1a1a1a);
    border: 1px solid var(--bri-border, #333);
    border-radius: 0;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--bri-text, #e0e0e0);
    font-family: var(--bri-font-mono, 'Courier New', monospace);
    transition: all 0.2s ease;
}

.bri-theme-broad_horizon input[type="text"]:focus,
.bri-theme-broad_horizon_dark input[type="text"]:focus,
.bri-theme-raven_intel input[type="text"]:focus,
.bri-theme-raven_intel_dark input[type="text"]:focus,
.bri-theme-business-blue input[type="text"]:focus,
.bri-theme-business-red input[type="text"]:focus,
.bri-theme-data-dark input[type="text"]:focus,
.bri-theme-data-light input[type="text"]:focus,
.bri-theme-military-green input[type="text"]:focus,
.bri-theme-dark-interface input[type="text"]:focus,
.bri-theme-iron-man-hud input[type="text"]:focus,
.bri-theme-broad_horizon textarea:focus,
.bri-theme-broad_horizon_dark textarea:focus,
.bri-theme-raven_intel textarea:focus,
.bri-theme-raven_intel_dark textarea:focus,
.bri-theme-business-blue textarea:focus,
.bri-theme-business-red textarea:focus,
.bri-theme-data-dark textarea:focus,
.bri-theme-data-light textarea:focus,
.bri-theme-military-green textarea:focus,
.bri-theme-dark-interface textarea:focus,
.bri-theme-iron-man-hud textarea:focus,
.bri-theme-broad_horizon select:focus,
.bri-theme-broad_horizon_dark select:focus,
.bri-theme-raven_intel select:focus,
.bri-theme-raven_intel_dark select:focus,
.bri-theme-business-blue select:focus,
.bri-theme-business-red select:focus,
.bri-theme-data-dark select:focus,
.bri-theme-data-light select:focus,
.bri-theme-military-green select:focus,
.bri-theme-dark-interface select:focus,
.bri-theme-iron-man-hud select:focus {
    border-color: var(--bri-accent, #BD0104);
    outline: none;
    box-shadow: 0 0 10px var(--bri-glow, rgba(189, 1, 4, 0.3));
    background: color-mix(in srgb, var(--bri-accent) 5%, var(--bri-card-bg));
}

/* ==========================================================================
   Tables
   ========================================================================== */
.bri-theme-broad_horizon .wp-list-table,
.bri-theme-business-blue .wp-list-table,
.bri-theme-business-red .wp-list-table,
.bri-theme-data-light .wp-list-table {
    background: var(--bri-card-bg, #f6f7f7);
}

.bri-theme-broad_horizon_dark .wp-list-table,
.bri-theme-raven_intel .wp-list-table,
.bri-theme-raven_intel_dark .wp-list-table,
.bri-theme-data-dark .wp-list-table,
.bri-theme-military-green .wp-list-table,
.bri-theme-dark-interface .wp-list-table,
.bri-theme-iron-man-hud .wp-list-table {
    background: var(--bri-card-bg, #1a1a2e);
    border: 2px solid var(--bri-accent, #BD0104);
    border-radius: 0;
    clip-path: polygon(
        10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px),
        calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px
    );
    overflow: hidden;
    box-shadow: 0 0 20px var(--bri-glow, rgba(189, 1, 4, 0.3));
}

.bri-theme-business-blue .wp-list-table thead th,
.bri-theme-business-red .wp-list-table thead th,
.bri-theme-broad_horizon .wp-list-table thead th,
.bri-theme-broad_horizon_dark .wp-list-table thead th,
.bri-theme-raven_intel .wp-list-table thead th,
.bri-theme-raven_intel_dark .wp-list-table thead th,
.bri-theme-business-blue .wp-list-table thead th,
.bri-theme-business-red .wp-list-table thead th,
.bri-theme-data-dark .wp-list-table thead th,
.bri-theme-data-light .wp-list-table thead th,
.bri-theme-military-green .wp-list-table thead th,
.bri-theme-dark-interface .wp-list-table thead th,
.bri-theme-iron-man-hud .wp-list-table thead th {
    background: color-mix(in srgb, var(--bri-accent) 20%, transparent);
    font-weight: 700;
    color: var(--bri-accent, #BD0104);
    border-bottom: 2px solid var(--bri-accent, #BD0104);
    padding: 12px;
    font-family: var(--bri-font-primary, monospace);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 5px var(--bri-glow, rgba(189, 1, 4, 0.3));
}

.bri-theme-broad_horizon .wp-list-table tbody tr:hover,
.bri-theme-business-blue .wp-list-table tbody tr:hover,
.bri-theme-business-red .wp-list-table tbody tr:hover,
.bri-theme-data-light .wp-list-table tbody tr:hover,
.bri-theme-broad_horizon_dark .wp-list-table tbody tr:hover,
.bri-theme-raven_intel .wp-list-table tbody tr:hover,
.bri-theme-raven_intel_dark .wp-list-table tbody tr:hover,
.bri-theme-data-dark .wp-list-table tbody tr:hover,
.bri-theme-military-green .wp-list-table tbody tr:hover,
.bri-theme-dark-interface .wp-list-table tbody tr:hover,
.bri-theme-iron-man-hud .wp-list-table tbody tr:hover {
    background: color-mix(in srgb, var(--bri-accent) 10%, transparent);
    box-shadow: inset 0 0 10px var(--bri-glow, rgba(189, 1, 4, 0.2));
}

.bri-theme-broad_horizon .wp-list-table tbody td,
.bri-theme-business-blue .wp-list-table tbody td,
.bri-theme-business-red .wp-list-table tbody td,
.bri-theme-data-light .wp-list-table tbody td {
    padding: 12px;
    color: var(--bri-text, #1d2327);
    font-family: var(--bri-font-mono, 'Courier New', monospace);
    font-size: 12px;
}

.bri-theme-broad_horizon_dark .wp-list-table tbody td,
.bri-theme-raven_intel .wp-list-table tbody td,
.bri-theme-raven_intel_dark .wp-list-table tbody td,
.bri-theme-data-dark .wp-list-table tbody td,
.bri-theme-military-green .wp-list-table tbody td,
.bri-theme-dark-interface .wp-list-table tbody td,
.bri-theme-iron-man-hud .wp-list-table tbody td {
    padding: 12px;
    color: var(--bri-text, #e0e0e0);
    font-family: var(--bri-font-mono, 'Courier New', monospace);
    font-size: 12px;
}

/* ==========================================================================
   Notices
   ========================================================================== */
.bri-theme-business-blue .notice,
.bri-theme-business-red .notice,
.bri-theme-broad_horizon .notice,
.bri-theme-broad_horizon_dark .notice,
.bri-theme-raven_intel .notice,
.bri-theme-raven_intel_dark .notice,
.bri-theme-business-blue .notice,
.bri-theme-business-red .notice,
.bri-theme-data-dark .notice,
.bri-theme-data-light .notice,
.bri-theme-military-green .notice,
.bri-theme-dark-interface .notice,
.bri-theme-iron-man-hud .notice,
.bri-theme-geopolitical-dark .notice,
.bri-theme-intelligence-dark .notice,
.bri-theme-ancient-dark .notice {
    border: 2px solid var(--bri-accent, #BD0104);
    border-radius: 0;
    background: var(--bri-card-bg, #1a1a2e) !important;
    clip-path: polygon(
        10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px),
        calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px
    );
    box-shadow: 0 0 15px var(--bri-glow, rgba(189, 1, 4, 0.3));
    padding: 12px 16px;
    margin: 15px 0;
    background: var(--bri-card-bg, #1a1a1a);
    font-family: var(--bri-font-primary, monospace);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.bri-theme-business-blue .notice.notice-success,
.bri-theme-business-red .notice.notice-success,
.bri-theme-broad_horizon .notice.notice-success,
.bri-theme-broad_horizon_dark .notice.notice-success,
.bri-theme-raven_intel .notice.notice-success,
.bri-theme-raven_intel_dark .notice.notice-success,
.bri-theme-business-blue .notice.notice-success,
.bri-theme-business-red .notice.notice-success,
.bri-theme-data-dark .notice.notice-success,
.bri-theme-data-light .notice.notice-success,
.bri-theme-military-green .notice.notice-success,
.bri-theme-dark-interface .notice.notice-success,
.bri-theme-iron-man-hud .notice.notice-success {
    border-color: var(--bri-success, #00a32a);
    box-shadow: 0 0 15px color-mix(in srgb, var(--bri-success) 30%, transparent);
}

.bri-theme-business-blue .notice.notice-error,
.bri-theme-business-red .notice.notice-error,
.bri-theme-broad_horizon .notice.notice-error,
.bri-theme-broad_horizon_dark .notice.notice-error,
.bri-theme-raven_intel .notice.notice-error,
.bri-theme-raven_intel_dark .notice.notice-error,
.bri-theme-business-blue .notice.notice-error,
.bri-theme-business-red .notice.notice-error,
.bri-theme-data-dark .notice.notice-error,
.bri-theme-data-light .notice.notice-error,
.bri-theme-military-green .notice.notice-error,
.bri-theme-dark-interface .notice.notice-error,
.bri-theme-iron-man-hud .notice.notice-error {
    border-color: var(--bri-danger, #d63638);
    box-shadow: 0 0 15px color-mix(in srgb, var(--bri-danger) 30%, transparent);
}

.bri-theme-business-blue .notice.notice-warning,
.bri-theme-business-red .notice.notice-warning,
.bri-theme-broad_horizon .notice.notice-warning,
.bri-theme-broad_horizon_dark .notice.notice-warning,
.bri-theme-raven_intel .notice.notice-warning,
.bri-theme-raven_intel_dark .notice.notice-warning,
.bri-theme-business-blue .notice.notice-warning,
.bri-theme-business-red .notice.notice-warning,
.bri-theme-data-dark .notice.notice-warning,
.bri-theme-data-light .notice.notice-warning,
.bri-theme-military-green .notice.notice-warning,
.bri-theme-dark-interface .notice.notice-warning,
.bri-theme-iron-man-hud .notice.notice-warning {
    border-color: var(--bri-warning, #dba617);
    box-shadow: 0 0 15px color-mix(in srgb, var(--bri-warning) 30%, transparent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* Business themes - Clean footer (no floating effects) */
body.bri-theme-standard #wpfooter,
body.bri-theme-business-blue #wpfooter,
body.bri-theme-business-red #wpfooter,
body.bri-theme-business_dynamics #wpfooter,
body.bri-theme-figma_blue #wpfooter,
body.bri-theme-broad_horizon #wpfooter,
body.bri-theme-data-light #wpfooter,
body.bri-theme-geopolitical-light #wpfooter,
body.bri-theme-intelligence-light #wpfooter,
body.bri-theme-ancient-light #wpfooter,
body.bri-theme-clean-light #wpfooter,
body.bri-theme-raven_intel #wpfooter {
    background: var(--bri-bg, #ffffff) !important;
    border-top: 1px solid var(--bri-border, #d1d5db) !important;
    box-shadow: none !important;
    clip-path: none !important;
    transform: none !important;
    padding: 15px 20px !important;
    margin-left: var(--bri-menu-width, 320px) !important;
    min-width: calc(100% - var(--bri-menu-width, 320px)) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative !important;
    clear: both !important;
    float: none !important;
    z-index: auto !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    outline: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Light tactical themes - Footer */
.bri-theme-broad_horizon #wpfooter,
.bri-theme-data-light #wpfooter {
    background: var(--bri-bg, #ffffff);
}

/* Dark tactical themes - Footer with borders */
.bri-theme-broad_horizon_dark #wpfooter,
.bri-theme-raven_intel #wpfooter,
.bri-theme-raven_intel_dark #wpfooter,
.bri-theme-data-dark #wpfooter,
.bri-theme-military-green #wpfooter,
.bri-theme-dark-interface #wpfooter,
.bri-theme-iron-man-hud #wpfooter,
.bri-theme-geopolitical-dark #wpfooter,
.bri-theme-intelligence-dark #wpfooter,
.bri-theme-ancient-dark #wpfooter {
    background: var(--bri-bg, #1a1a2a);
    border-top: 2px solid var(--bri-accent, #BD0104);
    box-shadow: 0 0 20px var(--bri-glow, rgba(189, 1, 4, 0.3));
    padding: 15px 20px;
    margin-left: var(--bri-menu-width, 320px) !important;
    min-width: calc(100% - var(--bri-menu-width, 320px)) !important;
}

/* Business themes - Clean footer text */
.bri-theme-business-blue .bri-footer-text,
.bri-theme-business-red .bri-footer-text {
    color: var(--bri-text-dim, #6b7280);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    margin: 0;
}

/* Tactical themes - Footer text */
.bri-theme-broad_horizon .bri-footer-text,
.bri-theme-broad_horizon_dark .bri-footer-text,
.bri-theme-raven_intel .bri-footer-text,
.bri-theme-raven_intel_dark .bri-footer-text,
.bri-theme-data-dark .bri-footer-text,
.bri-theme-data-light .bri-footer-text,
.bri-theme-military-green .bri-footer-text,
.bri-theme-dark-interface .bri-footer-text,
.bri-theme-iron-man-hud .bri-footer-text {
    color: var(--bri-accent, #BD0104);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 5px var(--bri-glow, rgba(189, 1, 4, 0.3));
    font-family: var(--bri-font-primary, monospace);
    margin: 0;
}

/* ==========================================================================
   Standard & Business Themes - Complete Override (All Elements Use CSS Variables)
   ========================================================================== */
/* Standard WordPress Theme */
.bri-theme-standard {
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.bri-theme-standard body,
.bri-theme-standard #wpcontent,
.bri-theme-standard .wrap,
.bri-theme-standard p,
.bri-theme-standard div,
.bri-theme-standard span,
.bri-theme-standard td,
.bri-theme-standard th,
.bri-theme-standard label {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-standard h1,
.bri-theme-standard h2,
.bri-theme-standard h3,
.bri-theme-standard h4,
.bri-theme-standard h5,
.bri-theme-standard h6 {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 600 !important;
}

.bri-theme-standard a,
.bri-theme-standard a:link,
.bri-theme-standard a:visited {
    color: var(--bri-accent, #2271b1) !important;
}

.bri-theme-standard a:hover,
.bri-theme-standard a:focus {
    color: var(--bri-accent-dark, #135e96) !important;
}

.bri-theme-standard .card,
.bri-theme-standard .postbox,
.bri-theme-standard .inside,
.bri-theme-standard .metabox-holder {
    background: var(--bri-card-bg, #ffffff) !important;
    border-color: var(--bri-border, #c3c4c7) !important;
    color: var(--bri-text, #1d2327) !important;
}

.bri-theme-standard .wp-list-table,
.bri-theme-standard table {
    background: var(--bri-card-bg, #ffffff) !important;
    border-color: var(--bri-border, #c3c4c7) !important;
}

.bri-theme-standard .wp-list-table th,
.bri-theme-standard table th {
    background: var(--bri-card-bg, #ffffff) !important;
    color: var(--bri-text, #1d2327) !important;
    border-color: var(--bri-border, #c3c4c7) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

.bri-theme-standard .wp-list-table td,
.bri-theme-standard table td {
    color: var(--bri-text, #1d2327) !important;
    border-color: var(--bri-border, #c3c4c7) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-standard input[type="text"],
.bri-theme-standard input[type="email"],
.bri-theme-standard input[type="password"],
.bri-theme-standard input[type="number"],
.bri-theme-standard input[type="url"],
.bri-theme-standard textarea,
.bri-theme-standard select {
    background: var(--bri-bg, #ffffff) !important;
    border-color: var(--bri-border, #c3c4c7) !important;
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-standard input[type="text"]:focus,
.bri-theme-standard input[type="email"]:focus,
.bri-theme-standard input[type="password"]:focus,
.bri-theme-standard input[type="number"]:focus,
.bri-theme-standard input[type="url"]:focus,
.bri-theme-standard textarea:focus,
.bri-theme-standard select:focus {
    border-color: var(--bri-accent, #2271b1) !important;
    box-shadow: 0 0 0 1px var(--bri-accent, #2271b1) !important;
}

.bri-theme-standard #wpadminbar {
    background: var(--bri-bg, #ffffff) !important;
    border-bottom-color: var(--bri-border, #c3c4c7) !important;
}

.bri-theme-standard #wpadminbar .ab-top-menu > li > .ab-item {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-standard #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-standard #wpadminbar .ab-top-menu > li > .ab-item:focus {
    background: var(--bri-glow, rgba(34, 113, 177, 0.1)) !important;
    color: var(--bri-accent, #2271b1) !important;
}

.bri-theme-standard #wpfooter {
    background: var(--bri-bg, #ffffff) !important;
    border-top-color: var(--bri-border, #c3c4c7) !important;
    color: var(--bri-text-dim, #646970) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

/* Business Dynamics Theme - Complete Override */
.bri-theme-business_dynamics {
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.bri-theme-business_dynamics body,
.bri-theme-business_dynamics #wpcontent,
.bri-theme-business_dynamics .wrap,
.bri-theme-business_dynamics p,
.bri-theme-business_dynamics div,
.bri-theme-business_dynamics span,
.bri-theme-business_dynamics td,
.bri-theme-business_dynamics th,
.bri-theme-business_dynamics label {
    color: var(--bri-text, #1C2330) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business_dynamics h1,
.bri-theme-business_dynamics h2,
.bri-theme-business_dynamics h3,
.bri-theme-business_dynamics h4,
.bri-theme-business_dynamics h5,
.bri-theme-business_dynamics h6 {
    color: var(--bri-text, #1C2330) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 600 !important;
}

.bri-theme-business_dynamics a,
.bri-theme-business_dynamics a:link,
.bri-theme-business_dynamics a:visited {
    color: var(--bri-accent, #35C7C5) !important;
}

.bri-theme-business_dynamics a:hover,
.bri-theme-business_dynamics a:focus {
    color: var(--bri-accent-dark, #1C2330) !important;
}

.bri-theme-business_dynamics .card,
.bri-theme-business_dynamics .postbox,
.bri-theme-business_dynamics .inside,
.bri-theme-business_dynamics .metabox-holder {
    background: var(--bri-card-bg, #f8f9fa) !important;
    border-color: var(--bri-border, #e0e0e0) !important;
    color: var(--bri-text, #1C2330) !important;
}

.bri-theme-business_dynamics .wp-list-table,
.bri-theme-business_dynamics table {
    background: var(--bri-card-bg, #f8f9fa) !important;
    border-color: var(--bri-border, #e0e0e0) !important;
}

.bri-theme-business_dynamics .wp-list-table th,
.bri-theme-business_dynamics table th {
    background: var(--bri-card-bg, #f8f9fa) !important;
    color: var(--bri-text, #1C2330) !important;
    border-color: var(--bri-border, #e0e0e0) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

.bri-theme-business_dynamics .wp-list-table td,
.bri-theme-business_dynamics table td {
    color: var(--bri-text, #1C2330) !important;
    border-color: var(--bri-border, #e0e0e0) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business_dynamics input[type="text"],
.bri-theme-business_dynamics input[type="email"],
.bri-theme-business_dynamics input[type="password"],
.bri-theme-business_dynamics input[type="number"],
.bri-theme-business_dynamics input[type="url"],
.bri-theme-business_dynamics textarea,
.bri-theme-business_dynamics select {
    background: var(--bri-bg, #ffffff) !important;
    border-color: var(--bri-border, #e0e0e0) !important;
    color: var(--bri-text, #1C2330) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business_dynamics input[type="text"]:focus,
.bri-theme-business_dynamics input[type="email"]:focus,
.bri-theme-business_dynamics input[type="password"]:focus,
.bri-theme-business_dynamics input[type="number"]:focus,
.bri-theme-business_dynamics input[type="url"]:focus,
.bri-theme-business_dynamics textarea:focus,
.bri-theme-business_dynamics select:focus {
    border-color: var(--bri-accent, #35C7C5) !important;
    box-shadow: 0 0 0 1px var(--bri-accent, #35C7C5) !important;
}

.bri-theme-business_dynamics #wpadminbar {
    background: var(--bri-bg, #ffffff) !important;
    border-bottom-color: var(--bri-border, #e0e0e0) !important;
}

.bri-theme-business_dynamics #wpadminbar .ab-top-menu > li > .ab-item {
    color: var(--bri-text, #1C2330) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business_dynamics #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-business_dynamics #wpadminbar .ab-top-menu > li > .ab-item:focus {
    background: var(--bri-glow, rgba(53, 199, 197, 0.1)) !important;
    color: var(--bri-accent, #35C7C5) !important;
}

.bri-theme-business_dynamics #wpfooter {
    background: var(--bri-bg, #ffffff) !important;
    border-top-color: var(--bri-border, #e0e0e0) !important;
    color: var(--bri-text-dim, #6b7280) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

/* Figma Blue Theme - Complete Override */
.bri-theme-figma_blue {
    font-family: var(--bri-font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.bri-theme-figma_blue body,
.bri-theme-figma_blue #wpcontent,
.bri-theme-figma_blue .wrap,
.bri-theme-figma_blue p,
.bri-theme-figma_blue div,
.bri-theme-figma_blue span,
.bri-theme-figma_blue td,
.bri-theme-figma_blue th,
.bri-theme-figma_blue label {
    color: var(--bri-text, #1a1a1a) !important;
    font-family: var(--bri-font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-figma_blue h1,
.bri-theme-figma_blue h2,
.bri-theme-figma_blue h3,
.bri-theme-figma_blue h4,
.bri-theme-figma_blue h5,
.bri-theme-figma_blue h6 {
    color: var(--bri-text, #1a1a1a) !important;
    font-family: var(--bri-font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 600 !important;
}

.bri-theme-figma_blue a,
.bri-theme-figma_blue a:link,
.bri-theme-figma_blue a:visited {
    color: var(--bri-accent, #0000ff) !important;
}

.bri-theme-figma_blue a:hover,
.bri-theme-figma_blue a:focus {
    color: var(--bri-accent-dark, #0000cc) !important;
}

.bri-theme-figma_blue .card,
.bri-theme-figma_blue .postbox,
.bri-theme-figma_blue .inside,
.bri-theme-figma_blue .metabox-holder {
    background: var(--bri-card-bg, #fafafa) !important;
    border-color: var(--bri-border, #e5e5e5) !important;
    color: var(--bri-text, #1a1a1a) !important;
}

.bri-theme-figma_blue .wp-list-table,
.bri-theme-figma_blue table {
    background: var(--bri-card-bg, #fafafa) !important;
    border-color: var(--bri-border, #e5e5e5) !important;
}

.bri-theme-figma_blue .wp-list-table th,
.bri-theme-figma_blue table th {
    background: var(--bri-card-bg, #fafafa) !important;
    color: var(--bri-text, #1a1a1a) !important;
    border-color: var(--bri-border, #e5e5e5) !important;
    font-family: var(--bri-font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

.bri-theme-figma_blue .wp-list-table td,
.bri-theme-figma_blue table td {
    color: var(--bri-text, #1a1a1a) !important;
    border-color: var(--bri-border, #e5e5e5) !important;
    font-family: var(--bri-font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-figma_blue input[type="text"],
.bri-theme-figma_blue input[type="email"],
.bri-theme-figma_blue input[type="password"],
.bri-theme-figma_blue input[type="number"],
.bri-theme-figma_blue input[type="url"],
.bri-theme-figma_blue textarea,
.bri-theme-figma_blue select {
    background: var(--bri-bg, #ffffff) !important;
    border-color: var(--bri-border, #e5e5e5) !important;
    color: var(--bri-text, #1a1a1a) !important;
    font-family: var(--bri-font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-figma_blue input[type="text"]:focus,
.bri-theme-figma_blue input[type="email"]:focus,
.bri-theme-figma_blue input[type="password"]:focus,
.bri-theme-figma_blue input[type="number"]:focus,
.bri-theme-figma_blue input[type="url"]:focus,
.bri-theme-figma_blue textarea:focus,
.bri-theme-figma_blue select:focus {
    border-color: var(--bri-accent, #0000ff) !important;
    box-shadow: 0 0 0 1px var(--bri-accent, #0000ff) !important;
}

.bri-theme-figma_blue #wpadminbar {
    background: var(--bri-bg, #ffffff) !important;
    border-bottom-color: var(--bri-border, #e5e5e5) !important;
}

.bri-theme-figma_blue #wpadminbar .ab-top-menu > li > .ab-item {
    color: var(--bri-text, #1a1a1a) !important;
    font-family: var(--bri-font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-figma_blue #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-figma_blue #wpadminbar .ab-top-menu > li > .ab-item:focus {
    background: var(--bri-glow, rgba(0, 0, 255, 0.1)) !important;
    color: var(--bri-accent, #0000ff) !important;
}

.bri-theme-figma_blue #wpfooter {
    background: var(--bri-bg, #ffffff) !important;
    border-top-color: var(--bri-border, #e5e5e5) !important;
    color: var(--bri-text-dim, #666666) !important;
    font-family: var(--bri-font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

/* Business Red Theme - Complete Override */
.bri-theme-business-red {
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.bri-theme-business-red body,
.bri-theme-business-red #wpcontent,
.bri-theme-business-red .wrap,
.bri-theme-business-red p,
.bri-theme-business-red div,
.bri-theme-business-red span,
.bri-theme-business-red td,
.bri-theme-business-red th,
.bri-theme-business-red label {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business-red h1,
.bri-theme-business-red h2,
.bri-theme-business-red h3,
.bri-theme-business-red h4,
.bri-theme-business-red h5,
.bri-theme-business-red h6 {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 600 !important;
}

.bri-theme-business-red a,
.bri-theme-business-red a:link,
.bri-theme-business-red a:visited {
    color: var(--bri-accent, #d63638) !important;
}

.bri-theme-business-red a:hover,
.bri-theme-business-red a:focus {
    color: var(--bri-accent-dark, #b32d2e) !important;
}

.bri-theme-business-red .card,
.bri-theme-business-red .postbox,
.bri-theme-business-red .inside,
.bri-theme-business-red .metabox-holder {
    background: var(--bri-card-bg, #f6f7f7) !important;
    border-color: var(--bri-border, #d1d5db) !important;
    color: var(--bri-text, #1d2327) !important;
}

.bri-theme-business-red .wp-list-table,
.bri-theme-business-red table {
    background: var(--bri-card-bg, #f6f7f7) !important;
    border-color: var(--bri-border, #d1d5db) !important;
}

.bri-theme-business-red .wp-list-table th,
.bri-theme-business-red table th {
    background: var(--bri-card-bg, #f6f7f7) !important;
    color: var(--bri-text, #1d2327) !important;
    border-color: var(--bri-border, #d1d5db) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

.bri-theme-business-red .wp-list-table td,
.bri-theme-business-red table td {
    color: var(--bri-text, #1d2327) !important;
    border-color: var(--bri-border, #d1d5db) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business-red input[type="text"],
.bri-theme-business-red input[type="email"],
.bri-theme-business-red input[type="password"],
.bri-theme-business-red input[type="number"],
.bri-theme-business-red input[type="url"],
.bri-theme-business-red textarea,
.bri-theme-business-red select {
    background: var(--bri-bg, #ffffff) !important;
    border-color: var(--bri-border, #d1d5db) !important;
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business-red input[type="text"]:focus,
.bri-theme-business-red input[type="email"]:focus,
.bri-theme-business-red input[type="password"]:focus,
.bri-theme-business-red input[type="number"]:focus,
.bri-theme-business-red input[type="url"]:focus,
.bri-theme-business-red textarea:focus,
.bri-theme-business-red select:focus {
    border-color: var(--bri-accent, #d63638) !important;
    box-shadow: 0 0 0 1px var(--bri-accent, #d63638) !important;
}

.bri-theme-business-red #wpadminbar {
    background: var(--bri-bg, #ffffff) !important;
    border-bottom-color: var(--bri-border, #d1d5db) !important;
}

.bri-theme-business-red #wpadminbar .ab-top-menu > li > .ab-item {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business-red #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-business-red #wpadminbar .ab-top-menu > li > .ab-item:focus {
    background: var(--bri-glow, rgba(214, 54, 56, 0.1)) !important;
    color: var(--bri-accent, #d63638) !important;
}

.bri-theme-business-red #wpfooter {
    background: var(--bri-bg, #ffffff) !important;
    border-top-color: var(--bri-border, #d1d5db) !important;
    color: var(--bri-text-dim, #6b7280) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

/* ==========================================================================
   Business Blue Theme - Complete Override (All Elements Use CSS Variables)
   ========================================================================== */
/* Ensure ALL business-blue elements use theme variables consistently */
.bri-theme-business-blue {
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

/* Business Blue - All text elements use theme colors */
.bri-theme-business-blue body,
.bri-theme-business-blue #wpcontent,
.bri-theme-business-blue .wrap,
.bri-theme-business-blue p,
.bri-theme-business-blue div,
.bri-theme-business-blue span,
.bri-theme-business-blue td,
.bri-theme-business-blue th,
.bri-theme-business-blue label {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

/* Business Blue - All headings use theme colors and fonts */
.bri-theme-business-blue h1,
.bri-theme-business-blue h2,
.bri-theme-business-blue h3,
.bri-theme-business-blue h4,
.bri-theme-business-blue h5,
.bri-theme-business-blue h6 {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 600 !important;
}

/* Business Blue - All links use theme accent */
.bri-theme-business-blue a,
.bri-theme-business-blue a:link,
.bri-theme-business-blue a:visited {
    color: var(--bri-accent, #2271b1) !important;
}

.bri-theme-business-blue a:hover,
.bri-theme-business-blue a:focus {
    color: var(--bri-accent-dark, #135e96) !important;
}

/* Business Blue - All buttons use theme accent (already handled above, but ensure consistency) */
.bri-theme-business-blue .button,
.bri-theme-business-blue input[type="submit"],
.bri-theme-business-blue input[type="button"] {
    background: var(--bri-accent, #2271b1) !important;
    border-color: var(--bri-accent, #2271b1) !important;
    color: #ffffff !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border-radius: 3px !important;
    clip-path: none !important;
}

.bri-theme-business-blue .button:hover,
.bri-theme-business-blue input[type="submit"]:hover,
.bri-theme-business-blue input[type="button"]:hover {
    background: var(--bri-accent-dark, #135e96) !important;
    border-color: var(--bri-accent-dark, #135e96) !important;
}

/* Business Blue - All form elements use theme colors */
.bri-theme-business-blue input[type="text"],
.bri-theme-business-blue input[type="email"],
.bri-theme-business-blue input[type="password"],
.bri-theme-business-blue input[type="number"],
.bri-theme-business-blue input[type="url"],
.bri-theme-business-blue textarea,
.bri-theme-business-blue select {
    background: var(--bri-bg, #ffffff) !important;
    border-color: var(--bri-border, #d1d5db) !important;
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business-blue input[type="text"]:focus,
.bri-theme-business-blue input[type="email"]:focus,
.bri-theme-business-blue input[type="password"]:focus,
.bri-theme-business-blue input[type="number"]:focus,
.bri-theme-business-blue input[type="url"]:focus,
.bri-theme-business-blue textarea:focus,
.bri-theme-business-blue select:focus {
    border-color: var(--bri-accent, #2271b1) !important;
    box-shadow: 0 0 0 1px var(--bri-accent, #2271b1) !important;
}

/* Business Blue - All cards and containers use theme colors */
.bri-theme-business-blue .card,
.bri-theme-business-blue .postbox,
.bri-theme-business-blue .inside,
.bri-theme-business-blue .metabox-holder {
    background: var(--bri-card-bg, #f6f7f7) !important;
    border-color: var(--bri-border, #d1d5db) !important;
    color: var(--bri-text, #1d2327) !important;
}

/* Business Blue - All tables use theme colors */
.bri-theme-business-blue .wp-list-table,
.bri-theme-business-blue table {
    background: var(--bri-card-bg, #f6f7f7) !important;
    border-color: var(--bri-border, #d1d5db) !important;
}

.bri-theme-business-blue .wp-list-table th,
.bri-theme-business-blue table th {
    background: var(--bri-card-bg, #f6f7f7) !important;
    color: var(--bri-text, #1d2327) !important;
    border-color: var(--bri-border, #d1d5db) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

.bri-theme-business-blue .wp-list-table td,
.bri-theme-business-blue table td {
    color: var(--bri-text, #1d2327) !important;
    border-color: var(--bri-border, #d1d5db) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business-blue .wp-list-table tbody tr:hover td {
    background: var(--bri-glow, rgba(34, 113, 177, 0.1)) !important;
}

/* Business Blue - All notices use theme colors */
.bri-theme-business-blue .notice,
.bri-theme-business-blue .notice-success,
.bri-theme-business-blue .notice-info,
.bri-theme-business-blue .notice-warning,
.bri-theme-business-blue .notice-error {
    border-left-color: var(--bri-accent, #2271b1) !important;
    background: var(--bri-card-bg, #f6f7f7) !important;
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business-blue .notice-success {
    border-left-color: var(--bri-success, #00a32a) !important;
}

.bri-theme-business-blue .notice-warning {
    border-left-color: var(--bri-warning, #dba617) !important;
}

.bri-theme-business-blue .notice-error {
    border-left-color: var(--bri-danger, #d63638) !important;
}

/* Business Blue - Admin bar uses theme colors */
.bri-theme-business-blue #wpadminbar {
    background: var(--bri-bg, #ffffff) !important;
    border-bottom-color: var(--bri-border, #d1d5db) !important;
}

.bri-theme-business-blue #wpadminbar .ab-top-menu > li > .ab-item {
    color: var(--bri-text, #1d2327) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

.bri-theme-business-blue #wpadminbar .ab-top-menu > li:hover > .ab-item,
.bri-theme-business-blue #wpadminbar .ab-top-menu > li > .ab-item:focus {
    background: var(--bri-glow, rgba(34, 113, 177, 0.1)) !important;
    color: var(--bri-accent, #2271b1) !important;
}

/* Business Blue - Footer uses theme colors */
.bri-theme-business-blue #wpfooter {
    background: var(--bri-bg, #ffffff) !important;
    border-top-color: var(--bri-border, #d1d5db) !important;
    color: var(--bri-text-dim, #6b7280) !important;
    font-family: var(--bri-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 782px) {
    .bri-theme-business-blue #wpcontent,
    .bri-theme-business-red #wpcontent,
.bri-theme-broad_horizon #wpcontent,
.bri-theme-broad_horizon_dark #wpcontent,
.bri-theme-raven_intel #wpcontent,
.bri-theme-raven_intel_dark #wpcontent,
.bri-theme-business-blue #wpcontent,
.bri-theme-business-red #wpcontent,
.bri-theme-data-dark #wpcontent,
.bri-theme-data-light #wpcontent,
.bri-theme-military-green #wpcontent,
.bri-theme-dark-interface #wpcontent,
.bri-theme-iron-man-hud #wpcontent {
        padding: 10px;
    }
    
    .bri-theme-business-blue .wrap h1,
    .bri-theme-business-red .wrap h1,
.bri-theme-broad_horizon .wrap h1,
.bri-theme-broad_horizon_dark .wrap h1,
.bri-theme-raven_intel .wrap h1,
.bri-theme-raven_intel_dark .wrap h1,
.bri-theme-business-blue .wrap h1,
.bri-theme-business-red .wrap h1,
.bri-theme-data-dark .wrap h1,
.bri-theme-data-light .wrap h1,
.bri-theme-military-green .wrap h1,
.bri-theme-dark-interface .wrap h1,
.bri-theme-iron-man-hud .wrap h1 {
        font-size: 20px;
    }
    
    .bri-theme-broad_horizon .card,
    .bri-theme-broad_horizon_dark .card,
    .bri-theme-raven_intel .card,
    .bri-theme-raven_intel_dark .card,
    .bri-theme-business-blue .card,
    .bri-theme-business-red .card,
    .bri-theme-data-dark .card,
    .bri-theme-data-light .card,
    .bri-theme-military-green .card,
    .bri-theme-dark-interface .card,
    .bri-theme-iron-man-hud .card {
        padding: 15px;
    }
}
