/* 
  Defensive shield for the shell header to prevent React/Vite style leakage.
  These rules use high specificity and !important to override global resets.
*/

/* Target only standard text navigation links, avoiding icon-based links */
header#top.header-fixed .navbar-nav>li>a:not(.headericons):not(.profile):not(.notify) {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    /* color: #737373 !important; */
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: 'Lato', sans-serif !important;
    text-decoration: none !important;
    padding: 7px 7px 3px 7px !important;
    display: block !important;
    transition: none !important;
}

header#top.header-fixed .navbar-nav>li>a:hover {
    background: transparent !important;
    color: var(--text-color-block, #000000) !important;
    border-radius: 0px !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

header#top.header-fixed .navbar-nav>li>a:focus {
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

header#top.header-fixed .navbar-nav>li>a.active {
    color: var(--text-color-block, #333) !important;
    border-radius: 0px !important;
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Ensure icon-based links (mail, refresh) are visible and correctly aligned */
header#top.header-fixed .navbar-nav>li>a.headericons,
header#top.header-fixed .navbar-nav>li>a.notify {
    display: inline-block !important;
    /* Restore inline alignment */
    padding: 0 10px !important;
    border: none !important;
    background: transparent !important;
}

/* Protect header images from global resets or hidden display */
header#top.header-fixed .navbar-nav img {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
}

/* Ensure Logo is not affected */
header#top.header-fixed .logo {
    border: none !important;
    box-shadow: none !important;
}