﻿/* Bundled mobile header styles — generated from mobile-header-*.css (phase B1) */

/* === mobile-header-enhanced.css === */
/**
 * Enhanced Mobile Header Styles for Careerfy Child Theme
 * Improved Style 1 with better UX and modern design
 */

/* Enhanced Mobile Header Strip */
.careerfy-mobilehder-strip,
.careerfy-mobilehder-strip.mobile-hder-style1 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
    border-bottom: 1px solid #e1e5e9 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    display: none !important;
}

/* Show on mobile devices */
@media (max-width: 991px) {
    .careerfy-mobilehder-strip,
    .careerfy-mobilehder-strip.mobile-hder-style1 {
        display: block !important;
        background: #F9FAFB !important;
        background-color: #F9FAFB !important;
    }
}

/* Enhanced Mobile Header Container */
.mobile-hder-topcon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    min-height: 60px;
    position: relative;
    width: 100%;
}

/* Enhanced Logo Container */
.mobile-logocon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-width: 0; /* Allow text truncation */
    margin-right: auto;
}

.mobile-logocon a {
    display: flex;
    align-items: center;
    text-decoration: none;
    max-width: 100%;
}

.mobile-logocon a img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* Enhanced Right Buttons Container */
.mobile-right-btnscon {
    display: flex;
    align-items: center;
    gap: 1px;
    flex-shrink: 0;
    margin-left: auto;
    order: 2;
}

/* Ensure logo stays on the left */
.mobile-logocon {
    order: 1;
}

/* Enhanced Mobile Navigation Toggle Button */
.mobile-navigation-togglebtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-navigation-togglebtn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-navigation-togglebtn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hamburger Animation */
.mobile-navigation-togglebtn i {
    transition: transform 0.3s ease;
}

.mobile-navigation-togglebtn.active i {
    transform: rotate(90deg);
}

/* Enhanced User Account Button */
.mobile-right-btnscon a.jobsearch-useracount-hdrbtn,
.mobile-right-btnscon a.mobile-usernotifics-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 50%;
    color: #495057;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-right-btnscon a.jobsearch-useracount-hdrbtn:hover,
.mobile-right-btnscon a.mobile-usernotifics-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile login button styles */
.mobile-right-btnscon a.mobile-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 50%;
    color: #495057;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-right-btnscon a.mobile-login-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Empty button for alignment when user is not logged in */
.mobile-empty-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    /* Invisible placeholder to maintain layout */
}

/* Notification Badge */
.hderbell-notifics-count {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #dc3545;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Enhanced Custom Button */
.mobile-hdr-custombtn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.mobile-hdr-custombtn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
    color: #ffffff;
}

.mobile-hdr-custombtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.mobile-hdr-custombtn i {
    margin-right: 6px;
    font-size: 14px;
}

/* Enhanced Mobile Sidebar */
.careerfy-mobile-hdr-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: #ffffff;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.careerfy-mobile-hdr-sidebar.animate-menu-open {
    left: 0;
}

/* Enhanced Sidebar Navigation */
.careerfy-sidebar-navigation {
    height: 100%;
    overflow-y: auto;
    padding-top: 60px; /* Account for mobile header height */
}

/* Enhanced Mobile Navbar */
.careerfy-mobile-navbar {
    list-style: none;
    margin: 0;
    padding: 0;
}

.careerfy-mobile-navbar > li {
    position: relative;
    border-bottom: 1px solid #f1f3f4;
}

.careerfy-mobile-navbar > li > a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.careerfy-mobile-navbar > li > a:hover {
    background: #f8f9fa;
    color: #212529;
    padding-left: 24px;
}

.careerfy-mobile-navbar > li.active > a {
    background: #007bff;
    color: #ffffff;
}

.careerfy-mobile-navbar > li > a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* Enhanced Submenu */
.careerfy-mobile-navbar .sidebar-submenu {
    display: none;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.careerfy-mobile-navbar li.active > .sidebar-submenu {
    display: block;
}

.careerfy-mobile-navbar .sidebar-submenu > li > a {
    padding: 12px 20px 12px 52px;
    font-size: 14px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
}

.careerfy-mobile-navbar .sidebar-submenu > li > a:hover {
    background: #e9ecef;
    color: #495057;
    padding-left: 56px;
}

/* Enhanced Child Navigation Opener */
.child-navitms-opner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.careerfy-mobile-navbar li.active > .child-navitms-opner {
    color: #ffffff;
    transform: translateY(-50%) rotate(180deg);
}

/* Enhanced Close Button */
.mobile-navclose-btn,
button.mobile-navclose-btn {
    position: absolute;
    right: -32px;
    top: 16px;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-left: none;
    border-radius: 0 6px 6px 0;
    color: #495057;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s ease;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
}

.mobile-navclose-btn:hover,
button.mobile-navclose-btn:hover {
    background: #f8f9fa;
    color: #212529;
}

/* Enhanced Overlay */
.careerfy-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.careerfy-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .mobile-hder-topcon {
        padding: 10px 12px;
        min-height: 56px;
    }
    
    .mobile-logocon a img {
        max-height: 36px;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a.jobsearch-useracount-hdrbtn,
    .mobile-right-btnscon a.mobile-usernotifics-btn,
    .mobile-right-btnscon a.mobile-login-btn,
    .mobile-empty-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .mobile-hdr-custombtn {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .careerfy-mobile-hdr-sidebar {
        width: 280px;
        left: -280px;
    }

    .careerfy-mobile-hdr-sidebar.animate-menu-open {
        left: 0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .careerfy-mobilehder-strip {
        background: #1a1a1a;
        border-bottom-color: #333;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a.jobsearch-useracount-hdrbtn,
    .mobile-right-btnscon a.mobile-usernotifics-btn {
        background: #2d2d2d;
        border-color: #444;
        color: #e9ecef;
    }
    
    .mobile-navigation-togglebtn:hover,
    .mobile-right-btnscon a.jobsearch-useracount-hdrbtn:hover,
    .mobile-right-btnscon a.mobile-usernotifics-btn:hover {
        background: #3d3d3d;
        color: #ffffff;
    }
    
    .careerfy-mobile-hdr-sidebar {
        background: #1a1a1a;
    }
    
    .careerfy-mobile-navbar > li > a {
        color: #e9ecef;
        border-bottom-color: #333;
    }
    
    .careerfy-mobile-navbar > li > a:hover {
        background: #2d2d2d;
        color: #ffffff;
    }
    
    .careerfy-mobile-navbar .sidebar-submenu {
        background: #2d2d2d;
        border-top-color: #444;
    }
    
    .careerfy-mobile-navbar .sidebar-submenu > li > a {
        color: #adb5bd;
        border-bottom-color: #444;
    }
    
    .careerfy-mobile-navbar .sidebar-submenu > li > a:hover {
        background: #3d3d3d;
        color: #e9ecef;
    }
}

/* Accessibility Improvements */
.mobile-navigation-togglebtn:focus,
.mobile-right-btnscon a:focus,
.mobile-hdr-custombtn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Smooth Scrolling */
.careerfy-sidebar-navigation {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Loading State */
.careerfy-mobilehder-strip.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Animation for menu items */
.careerfy-mobile-navbar > li {
    animation: slideInLeft 0.3s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.careerfy-mobile-navbar > li:nth-child(1) { animation-delay: 0.1s; }
.careerfy-mobile-navbar > li:nth-child(2) { animation-delay: 0.15s; }
.careerfy-mobile-navbar > li:nth-child(3) { animation-delay: 0.2s; }
.careerfy-mobile-navbar > li:nth-child(4) { animation-delay: 0.25s; }
.careerfy-mobile-navbar > li:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* === mobile-header-responsive.css === */
/**
 * Responsive Enhancements for Mobile Header
 * Additional responsive styles for better mobile experience
 */

/* Hidden on desktop; shown in the max-width 991px block below (overrides parent header-mobile). */
.careerfy-mobilehder-strip {
    display: none;
}

/* Hide desktop header on mobile */
@media (max-width: 991px) {
    #careerfy-header {
        display: none !important;
    }
    
    .careerfy-mobilehder-strip {
        display: block !important;
    }
    
    /* Must match inline --rework-mobile-header-offset (critical CSS in wp_head). */
    body {
        padding-top: var(--rework-mobile-header-offset, 84px);
    }
    
    /* Ensure content is not hidden behind fixed header */
    .careerfy-main-content,
    .jobsearch-main-content {
        margin-top: 0;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .careerfy-mobilehder-strip {
        min-height: 56px;
    }
    
    .mobile-hder-topcon {
        padding: 8px 12px;
    }
    
    .mobile-logocon a img {
        max-height: 32px;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .mobile-hdr-custombtn {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .careerfy-mobile-hdr-sidebar {
        width: 260px;
        left: -260px;
    }

    /* Re-assert open state after MQ closed-position (same file, later cascade). */
    .careerfy-mobile-hdr-sidebar.animate-menu-open {
        left: 0;
    }
    
    body {
        padding-top: var(--rework-mobile-header-offset, 84px);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .careerfy-mobilehder-strip {
        min-height: 60px;
    }
    
    .mobile-hder-topcon {
        padding: 10px 16px;
    }
    
    .mobile-logocon a img {
        max-height: 36px;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .careerfy-mobilehder-strip {
        min-height: 64px;
    }
    
    .mobile-hder-topcon {
        padding: 12px 20px;
    }
    
    .mobile-logocon a img {
        max-height: 40px;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .careerfy-mobile-hdr-sidebar {
        width: 320px;
        left: -320px;
    }

    .careerfy-mobile-hdr-sidebar.animate-menu-open {
        left: 0;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .careerfy-mobilehder-strip {
        display: none !important;
    }
    
    #careerfy-header {
        display: block !important;
    }
    
    body {
        padding-top: 0;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 991px) and (orientation: landscape) {
    .careerfy-mobilehder-strip {
        min-height: 50px;
    }
    
    .mobile-hder-topcon {
        padding: 8px 16px;
    }
    
    .mobile-logocon a img {
        max-height: 32px;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    body {
        padding-top: 50px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .mobile-logocon a img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .careerfy-mobilehdr-sidebar,
    .careerfy-mobile-overlay,
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a,
    .careerfy-mobile-navbar > li {
        transition: none !important;
        animation: none !important;
    }
}

/* Print styles */
@media print {
    .careerfy-mobilehder-strip,
    .careerfy-mobile-hdr-sidebar,
    .careerfy-mobile-overlay {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
    }
}

/* Focus styles for better accessibility */
@media (max-width: 991px) {
    .mobile-navigation-togglebtn:focus,
    .mobile-right-btnscon a:focus,
    .mobile-hdr-custombtn:focus,
    .careerfy-mobile-navbar a:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a,
    .mobile-hdr-custombtn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .careerfy-mobile-navbar > li > a {
        min-height: 48px;
        padding: 16px 20px;
    }
}

/* Dark mode responsive adjustments */
@media (prefers-color-scheme: dark) and (max-width: 991px) {
    .careerfy-mobilehder-strip {
        background: #1a1a1a;
        border-bottom-color: #333;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a {
        background: #2d2d2d;
        border-color: #444;
        color: #e9ecef;
    }
    
    .mobile-navigation-togglebtn:hover,
    .mobile-right-btnscon a:hover {
        background: #3d3d3d;
        color: #ffffff;
    }
}

/* Container adjustments for mobile */
@media (max-width: 991px) {
    .container,
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Ensure proper z-index stacking */
@media (max-width: 991px) {
    .careerfy-mobilehder-strip {
        z-index: 9999;
    }
    
    .careerfy-mobile-hdr-sidebar {
        z-index: 10000;
    }
    
    .careerfy-mobile-overlay {
        z-index: 9999;
    }
    
    /* Ensure other fixed elements don't interfere */
    .careerfy-sticky-header {
        z-index: 9998;
    }
}



/* === mobile-header-positioning.css === */
/**
 * Mobile Header Positioning Fixes
 * Ensures proper layout with logo on left and buttons on right
 * Overrides parent theme styles with higher specificity
 */

/* Force light background color - override parent theme */
.careerfy-mobilehder-strip,
.careerfy-mobilehder-strip.mobile-hder-style1 {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
}

/* Override any dark mode styles */
@media (prefers-color-scheme: dark) {
    .careerfy-mobilehder-strip,
    .careerfy-mobilehder-strip.mobile-hder-style1 {
        background: #F9FAFB !important;
        background-color: #F9FAFB !important;
    }
}

/* Force proper flexbox layout */
.mobile-hder-topcon {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* Logo positioning - always left */
.mobile-logocon {
    flex: 0 0 auto !important;
    order: 1 !important;
    margin-right: auto !important;
    max-width: 50% !important;
}

/* Buttons positioning - always right */
.mobile-right-btnscon {
    flex: 0 0 auto !important;
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    width: auto !important;
    min-width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

/* Override parent float/width вЂ” keep buttons right-aligned */
.mobile-right-btnscon {
    float: none !important;
}
.mobile-right-btnscon a,
.mobile-right-btnscon .mobile-empty-btn {
    float: none !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Ensure proper order of buttons */
.mobile-right-btnscon {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-direction: row !important;
}

/* First button (notifications or empty) */
.mobile-right-btnscon .mobile-usernotifics-btn,
.mobile-right-btnscon .mobile-empty-btn {
    order: 1 !important;
}

/* Second button (profile or login) */
.mobile-right-btnscon .jobsearch-useracount-hdrbtn,
.mobile-right-btnscon .mobile-login-btn {
    order: 2 !important;
}

/* Third button (menu) */
.mobile-right-btnscon .mobile-navigation-togglebtn {
    order: 3 !important;
}

/* Responsive adjustments for very small screens */
@media (max-width: 360px) {
    .mobile-hder-topcon {
        padding: 8px 12px !important;
    }
    
    .mobile-logocon {
        max-width: 45% !important;
    }
    
    .mobile-right-btnscon {
        gap: 6px !important;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a,
    .mobile-empty-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}

/* Ensure proper spacing on all screen sizes */
@media (max-width: 991px) {
    .mobile-hder-topcon {
        min-height: 60px !important;
    }
    
    .mobile-logocon a img {
        max-height: 40px !important;
        width: auto !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .mobile-hder-topcon {
        min-height: 56px !important;
        padding: 10px 12px !important;
    }
    
    .mobile-logocon a img {
        max-height: 36px !important;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a,
    .mobile-empty-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
}

/* Small devices */
@media (min-width: 481px) and (max-width: 767px) {
    .mobile-hder-topcon {
        min-height: 60px !important;
        padding: 12px 16px !important;
    }
    
    .mobile-logocon a img {
        max-height: 40px !important;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a,
    .mobile-empty-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }
}

/* Medium devices */
@media (min-width: 768px) and (max-width: 991px) {
    .mobile-hder-topcon {
        min-height: 64px !important;
        padding: 12px 20px !important;
    }
    
    .mobile-logocon a img {
        max-height: 44px !important;
    }
    
    .mobile-navigation-togglebtn,
    .mobile-right-btnscon a,
    .mobile-empty-btn {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }
}


/* === mobile-header-override.css === */
/**
 * Mobile Header Override Styles
 * Maximum specificity to override parent theme styles
 */

/* Override parent theme mobile header styles with maximum specificity */
body .careerfy-wrapper .careerfy-mobilehder-strip,
body .careerfy-wrapper .careerfy-mobilehder-strip.mobile-hder-style1,
.careerfy-mobilehder-strip.mobile-hder-style1,
.careerfy-mobilehder-strip {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
    background-image: none !important;
}

/* Override any dark mode or theme-specific styles */
@media (prefers-color-scheme: dark) {
    body .careerfy-wrapper .careerfy-mobilehder-strip,
    body .careerfy-wrapper .careerfy-mobilehder-strip.mobile-hder-style1,
    .careerfy-mobilehder-strip.mobile-hder-style1,
    .careerfy-mobilehder-strip {
        background: #F9FAFB !important;
        background-color: #F9FAFB !important;
        background-image: none !important;
    }
}

/* Override any inline styles or theme options */
.careerfy-mobilehder-strip[style*="background"],
.careerfy-mobilehder-strip.mobile-hder-style1[style*="background"] {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
}

/* Force override for all possible selectors */
#careerfy-header + .careerfy-mobilehder-strip,
.careerfy-wrapper .careerfy-mobilehder-strip,
.careerfy-mobilehder-strip.mobile-hder-style1 {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
}

/* Override any CSS variables that might be setting background */
.careerfy-mobilehder-strip {
    --mobile-header-bg: #F9FAFB !important;
    --header-bg-color: #F9FAFB !important;
}

/* Ensure mobile header is visible on mobile */
@media (max-width: 991px) {
    body .careerfy-wrapper .careerfy-mobilehder-strip,
    body .careerfy-wrapper .careerfy-mobilehder-strip.mobile-hder-style1,
    .careerfy-mobilehder-strip.mobile-hder-style1,
    .careerfy-mobilehder-strip {
        display: block !important;
        background: #F9FAFB !important;
        background-color: #F9FAFB !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Override any theme-specific mobile header styles */
.theme-careerfy .careerfy-mobilehder-strip,
.theme-careerfy .careerfy-mobilehder-strip.mobile-hder-style1,
.careerfy-theme .careerfy-mobilehder-strip,
.careerfy-theme .careerfy-mobilehder-strip.mobile-hder-style1 {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
}

/* Force override for any potential parent theme selectors */
.careerfy-framework .careerfy-mobilehder-strip,
.careerfy-framework .careerfy-mobilehder-strip.mobile-hder-style1,
.wp-jobsearch .careerfy-mobilehder-strip,
.wp-jobsearch .careerfy-mobilehder-strip.mobile-hder-style1 {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
}



/* === mobile-header-final.css === */
/**
 * Final Mobile Header Override
 * Maximum specificity to ensure #F9FAFB background is applied
 * This file loads last to override all other styles
 */

/* Ultimate override with maximum specificity */
html body .careerfy-wrapper .careerfy-mobilehder-strip,
html body .careerfy-wrapper .careerfy-mobilehder-strip.mobile-hder-style1,
html body .careerfy-mobilehder-strip,
html body .careerfy-mobilehder-strip.mobile-hder-style1,
.careerfy-mobilehder-strip.mobile-hder-style1,
.careerfy-mobilehder-strip {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
    background-image: none !important;
    background-attachment: scroll !important;
    background-position: 0% 0% !important;
    background-repeat: repeat !important;
    background-size: auto !important;
}

/* Override any theme-specific mobile header styles */
.theme-careerfy .careerfy-wrapper .careerfy-mobilehder-strip,
.theme-careerfy .careerfy-wrapper .careerfy-mobilehder-strip.mobile-hder-style1,
.careerfy-theme .careerfy-wrapper .careerfy-mobilehder-strip,
.careerfy-theme .careerfy-wrapper .careerfy-mobilehder-strip.mobile-hder-style1,
.wp-jobsearch .careerfy-wrapper .careerfy-mobilehder-strip,
.wp-jobsearch .careerfy-wrapper .careerfy-mobilehder-strip.mobile-hder-style1 {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
    background-image: none !important;
}

/* Override any dark mode styles */
@media (prefers-color-scheme: dark) {
    html body .careerfy-wrapper .careerfy-mobilehder-strip,
    html body .careerfy-wrapper .careerfy-mobilehder-strip.mobile-hder-style1,
    html body .careerfy-mobilehder-strip,
    html body .careerfy-mobilehder-strip.mobile-hder-style1,
    .careerfy-mobilehder-strip.mobile-hder-style1,
    .careerfy-mobilehder-strip {
        background: #F9FAFB !important;
        background-color: #F9FAFB !important;
        background-image: none !important;
    }
}

/* Override any inline styles */
.careerfy-mobilehder-strip[style*="background"],
.careerfy-mobilehder-strip.mobile-hder-style1[style*="background"] {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
    background-image: none !important;
}

/* Force override for all possible parent selectors */
#careerfy-header + .careerfy-mobilehder-strip,
.careerfy-wrapper .careerfy-mobilehder-strip,
.careerfy-mobilehder-strip.mobile-hder-style1,
.careerfy-framework .careerfy-mobilehder-strip,
.careerfy-framework .careerfy-mobilehder-strip.mobile-hder-style1 {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
    background-image: none !important;
}

/* Ensure mobile header is visible and styled correctly on mobile */
@media (max-width: 991px) {
    html body .careerfy-wrapper .careerfy-mobilehder-strip,
    html body .careerfy-wrapper .careerfy-mobilehder-strip.mobile-hder-style1,
    html body .careerfy-mobilehder-strip,
    html body .careerfy-mobilehder-strip.mobile-hder-style1,
    .careerfy-mobilehder-strip.mobile-hder-style1,
    .careerfy-mobilehder-strip {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #F9FAFB !important;
        background-color: #F9FAFB !important;
        background-image: none !important;
    }
}

/* Override any CSS custom properties */
.careerfy-mobilehder-strip {
    --mobile-header-bg: #F9FAFB !important;
    --header-bg-color: #F9FAFB !important;
    --bg-color: #F9FAFB !important;
    --background-color: #F9FAFB !important;
}

/* Force override for any potential framework styles */
.careerfy-framework .careerfy-mobilehder-strip,
.careerfy-framework .careerfy-mobilehder-strip.mobile-hder-style1,
.wp-jobsearch .careerfy-mobilehder-strip,
.wp-jobsearch .careerfy-mobilehder-strip.mobile-hder-style1,
.careerfy-child .careerfy-mobilehder-strip,
.careerfy-child .careerfy-mobilehder-strip.mobile-hder-style1 {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
    background-image: none !important;
}


