/***********************************
 Language Switcher
************************************/
.sp-module.flg-language-switcher {
    position: fixed;
    z-index: 9;
    left: 0;
    overflow: hidden;
    border-radius: 0px!important;
    background: #2866b1 !important; /* final background */
    padding: 5px 15px!important;    /* final padding */
}

ul.lang-inline {
    display: flex;
}

#sp-left .sp-module ul.lang-inline>li>a {
    line-height: 20px;
}

.sp-module-content .mod-languages ul.lang-inline li {
    border: 0px solid #000!important;
    padding: 0px 5px 3px;
    border-radius: 3px;
}

.sp-module-content .mod-languages ul.lang-inline li:hover {
    background-color: #e7e7e780 !important;
    padding: 0px 5px 3px;
    border-radius: 3px;
}

/***********************************
 Dashboard + Logo Panel
************************************/
.dashboard-panel-body .logo-panel {
    padding: 0px 15px!important;
}

.dashboard-panel-body #sp-top-bar {
    display: none;
}

#sp-top-bar {
    background: #2866b1;
    color: #000;
}

/***********************************
 Responsive Adjustments
************************************/
@media (max-width:958px) {
    .dashboard-panel-body .logo-panel {
        top: 33px!important;
    }
    .sp-module.flg-language-switcher {
        top: 0px;
        width: 100%;
    }
    .page-header__sidebar {
        top: 50px!important;
    }
}

@media screen and (min-width:992px) {
    .sp-module.flg-language-switcher {
        width: 265px;
    }
}

@media screen and (max-width:992px) {
    .sp-module.flg-language-switcher {
        margin-bottom: 0px!important;
    }
}

/***********************************
 Fonts
************************************/
.sp-column h3 {
    letter-spacing: -1px;
    font-family: 'Open Sans';
    font-weight: 900;
    margin-bottom: 0px;
}

/***********************************
 Tables
************************************/
.table-responsive {
    min-height: max-content;
}

table {
    font-size: 14px;
}

th {
    background: #0a1b30 !important;
    color: #fff!important;
}

th a {
    color: #fff;
}

/* Wrap the table in a scrollable container */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

/* Header */
.table-responsive table th {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid #ddd;
  text-align: left;
}

/* Data cells */
.table-responsive table td {
  white-space: nowrap; /* prevent wrapping */
}

/***********************************
 Dropdown Menu
************************************/
ul.dropdown-menu.dropdown-menu-end.shadow-sm a.dropdown-item {
    font-size: 12px;
    padding: 5px 15px;
}

ul.dropdown-menu.dropdown-menu-end.shadow-sm{
    padding: 0;
}

.dropdown-menu.fixed-dropdown {
    position: fixed !important;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    min-width: 220px;
    padding: 0.5rem 0;
    z-index: 2147483647;
    top: auto;
    left: auto;
}

.dropdown-item {
    color: #000;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
    color: #000;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    padding: 14px 28px;
}

.dropdown-submenu>a:hover {
    background-color: #f0f0f0;
}

.dropdown-submenu>.submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25);
    padding: 0.25rem 0;
    z-index: 1060;
}

.dropdown-submenu:hover>.submenu {
    display: block;
}

.submenu .dropdown-item {
    font-size: 15px;
    padding: 12px 24px;
    background-color: transparent;
    color: #000;
}

.submenu .dropdown-item:hover {
    background-color: #f0f0f0;
    color: #000;
}

/***********************************
 Sidebar
************************************/
li.uk-nav-header.category-toggle {
    border-bottom: 1px solid #cccccc4a!important;
    border-radius: 0px!important;
}

.sidebar-box .uk-nav li.uk-nav-header {
    margin-top: 10px!important;
    padding-left: 30px;
    color: #fff!important;
}

.sidebar-box span.toggle-icon {
    float: right;
    margin-right: 15px;
}

.sidebar-box .uk-nav li a:focus,
.sidebar-box .uk-nav li a:active,
.sidebar-box .uk-nav li a.nice-select.open {
    background: rgb(179 179 179 / 0%)!important;
    color: #60a8ff!important;
}

@media screen and (min-width: 992px) {
    .sidebar-box {
        margin-top: 138px;
    }
}

/***********************************
 Frontend Edit
************************************/
.front-end-edit h1 {
    display: none;
    margin-top: 30px;
}

.form-horizontal .controls {
    margin: 0px!important;
    margin-top: 30px!important;
}

/***********************************
 Chosen
************************************/
.chosen-container-single .chosen-single {
    box-shadow: unset;
    height: 38px;
    line-height: 35px;
    font-size: 16px;
}

.chosen-container-single .chosen-single div b {
    background: url(chosen-sprite.png) no-repeat 0px 9px;
}

.chosen-container-single .chosen-single > div b {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: #333;
}

.chosen-container-single .chosen-single > div b::before {
    content: "\f078"; /* fa-chevron-down */
}

/***********************************
 Feed Activity
************************************/
.feedactivity {
    position: fixed;
    bottom: 15px;
    left: 20px;
    z-index: 99999;
    width: fit-content;
    height: fit-content;
}

.promotion-msg-card {
    max-width: 300px!important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px!important;
    padding: 10px 10px!important;
}

.promotion-msg-card .close-button {
    text-align: right;
    margin-right: 3px;
    top: -3px;
    position: relative;
}

.promotion-msg-card td {
    vertical-align: top;
    font-size: 14px;
    line-height: 1.3;
}

.promotion-msg-card img.hikashop_product_image {
    padding-top: 5px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.promotion-msg-card .msg-content {
    margin: 0;
}

.promotion-msg-card p {
    margin: 0;
}

i.fa-solid.fa-circle-xmark {
    position: relative;
}

i.fa-solid.fa-circle-xmark:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f057';
    font-style: normal;
    margin: 20px;
}

/***********************************
 Responsive Adjustments (Mobile)
************************************/
@media (max-width:991px) {
    .offcanvas-menu div.mod-languages ul {
        display: block;
        flex-direction: row;
    }
}

@media (min-width:768px) {
    #sp-cart .floating-button {
        display: none !important;
    }
    .offcanvas-menu .mod-languages {
        display: none;
    }
}

@media (max-width:767px) {
    .feedactivity {
        bottom: 15px;
        left: 15px;
    }
    .promotion-msg-card td img {
        display: none;
    }
    .promotion-msg-card .msg-content {
        font-size: 12px !important;
    }
    .promotion-msg-card p {
        font-size: 9px !important;
    }
    .promotion-msg-card {
        max-width: 200px !important;
    }
    i.fa-solid.fa-circle-xmark:before {
        margin: 0px;
    }
    #sp-cart .floating-button {
        bottom: 90px !important;
        left: auto !important;
        right: 15px !important;
        width: fit-content !important;
    }
    .floating-button span.hikashop_small_cart_total_title i {
        font-size: 14px;
    }
    div#whatsapp.floating_button {
        bottom: 65px;
        right: 70px;
    }
    #whatsapp button.whatsapp-button {
        position: fixed;
        z-index: 9999;
        border-radius: 50px;
        font-size: 30px;
        padding: 5px;
        height: 50px !important;
        width: 50px !important;
        background: #25d366;
        color: #fff;
        border: 0px;
        animation: glow 1s infinite alternate;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #whatsapp button.whatsapp-button i.fab.fa-whatsapp.whatsapp-fixed {
        font-size: 25px;
        line-height: 40px;
    }
    .mod-languages {
        top: 15px;
    }
    a.sp-scroll-up {
        right: 85px;
        bottom: 20px;
    }
    .offcanvas-menu .mod-languages {
        display: block;
        position: relative;
        bottom: 0;
        right: 0;
        background: none;
        box-shadow: none;
        padding: 0 25px;
    }
    .offcanvas-menu .sp-module-content .mod-languages ul.lang-inline {
        text-align: center;
    }
}


/***********************************
 Filter
************************************/
.filter-search-actions.btn-group {
    margin-right: 8px!important;
}


/* =========================
   JS-stools Desktop (inline toolbar)
   ========================= */
.js-stools .btn-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.js-stools .filter-search-bar .input-group {
  flex: 1;
  min-width: 200px; /* search bar adapts but doesn't shrink too small */
}

.js-stools .btn {
  flex-shrink: 0;
  white-space: nowrap; /* prevent button text wrapping */
}

.js-stools-container-filters.clearfix.js-stools-container-filters-visible {
    padding: 0px;
}

/* =========================
   Mobile (stacked / full width)
   ========================= */
@media (max-width: 767px) {
  .js-stools .btn-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  /* Make elements full width */
  .js-stools .filter-search-bar,
  .js-stools .filter-search-bar .input-group,
  .js-stools .filter-search-bar .input-group input,
  .js-stools .btn,
  .js-stools .btn-wrapper {
    width: 100% !important;
  }

  /* Center button text */
  .js-stools .btn {
    text-align: center;
  }

  /* Search input + button split */
  input#filter_search {
    width: 80% !important;
  }
  button.filter-search-bar__button.btn.btn-primary {
    max-width: 20%;
  }

  /* Filter & Clear buttons split */
  .js-stools-btn-filter {
    max-width: 80% !important;
  }
  .js-stools-btn-clear {
    max-width: 20% !important;
  }

  .jstooldiv {
    margin: 0 !important;
  }
}


.js-stools-container-filters.clearfix.js-stools-container-filters-visible::before {
    display: none;
}

/* =========================
   button
   ========================= */
form#adminForm a.btn.btn-success.btn-small {
    margin-top: 30px;
}

/* =========================
   user greeting
   ========================= */

.user-greeting {
    background: #0a1b30;
    width: 265px;
}

.user-greeting p {
font-family: poppins!important;
margin: 0;
font-size: 16px;
font-weight: 500;
}

.user-greeting {
    font-size: 30px;
    margin-bottom: 30px!important;
    margin-top: -30px!important;
}

@media (max-width: 958px) {
.user-greeting {
position: fixed;
top: 35px!important;
box-shadow: 0 2px 10px rgb(0 0 0 / 0%)!important;
background: transparent!important;
margin: 0px!important;
border-bottom: 0px!important;
}

.dashboard-panel-body .logo-panel {height: 75px;}
.dashboard-panel-body .logo-panel img {top: -4px!important;}
.dashboard-panel-body aside.sidebar{z-index:200!important;}
.page-header__sidebar{z-index:250!important;}
}



/* =========================
      register
   ========================= */

#invitePanel .panel-footer {
    z-index: 7000;
}

#invitePanel .panel-body {
    height: calc(100vh - 180px)!important;
}

.star {
    color: red;
}



.icon-eye:before {
    /* Use !important to override any template defaults */
    content: "\f06e" !important; 
    
    /* Try this specific order of font families */
    font-family: "FontAwesome", "Font Awesome 5 Free", "icomoon" !important;
    
    display: inline-block !important;
    font-weight: 900 !important; /* Required for FA5+ */
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased;
    
    /* Ensure it has a size and visible color */
    font-size: 16px;
    color: #333; 
}

.icon-eye-slash:before {
    /* Use !important to override any template defaults */
    content: "\f070" !important; 
  
      /* Try this specific order of font families */
    font-family: "FontAwesome", "Font Awesome 5 Free", "icomoon" !important;
    
    display: inline-block !important;
    font-weight: 900 !important; /* Required for FA5+ */
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased;
    
    /* Ensure it has a size and visible color */
    font-size: 16px;
    color: #333; 
    
}


button.btn.btn-secondary.input-password-toggle:hover {
    background: #2866b1;
    border-color: #2866b1;
    color: #fff;
}

button.btn.btn-secondary.input-password-toggle:hover .icon-eye:before{
    color: #fff;
}

/* Sets the top bar background to blue */
#sp-header, .mod-topbar {
    background-color: #0056b3 !important; /* Adjust hex to your preferred blue */
}

/* Sets the navigation links to white */
#sp-header .sp-megamenu-parent > li > a, 
#sp-header .sp-megamenu-parent > li > span,
.mod-topbar a {
    color: #ffffff !important;
}

/* Ensures the active/hover states also look good */
#sp-header .sp-megamenu-parent > li:hover > a,
#sp-header .sp-megamenu-parent > li.active > a {
    color: #e0e0e0 !important; /* Slightly off-white for hover/active */
}

/* Removes the width limit and padding from the header container */
#sp-page-title .container, 
#sp-header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensures the inner row doesn't have negative margins pulling it out of view */
#sp-page-title .container-inner, 
#sp-header .container-inner {
    width: 100% !important;
    margin: 0 !important;
}

/* If you want the text/logo to still have some breathing room from the edges */
.mod-topbar > div {
    padding: 0 40px !important; 
}

/* 1. Force Header Full Width */
#sp-header,
#sp-header .container,
#sp-header .container-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* 2. Change Background to Blue */
#sp-header {
    background-color: #1a56bc !important; 
    border-bottom: none !important;
}

/* 3. Change Menu Text to White */
#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
    color: #ffffff !important;
}

/* 4. Make Active and Hover states light grey */
#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li > a:hover {
    color: #d1d1d1 !important;
}

/* Target the flag container specifically */
.languages-switcher {
    display: flex !important;
    justify-content: flex-end !important;
    /* Negative margin pulls the element toward the right edge */
    margin-right: -12px !important; 
    transition: all 0.2s ease;
}

/* Ensure the top bar container isn't blocking the movement */
#sp-top-bar .container {
    max-width: 1700px !important; /* Adjust this to match your menu container width */
    margin: 0 auto !important;
    padding-right: 0 !important;
}

tfoot {
    overflow: visible;
}

.pagination {
    margin-bottom: 0 !important;
}

@media (max-width:767px){
    .employeelist-jstools .js-stools-btn-filter{
        width:60% !important;
        max-width:60% !important;
    }
    .employeelist-jstools .btn-success{
        width:20% !important;
        max-width:20% !important;
    }
    .employeelist-jstools .js-stools-btn-clear{
        width:20% !important;
        max-width:20% !important;
    }
}
/*EO workervisa overall*/