/* WT Module Mobile Responsive Styles */

@media (max-width: 640px) {
  /* Hide the global sidebar and navbar when WT module is active */
  body._index__wt-module-active__1Dq1Y ._index__sidebar__2xHGN,
  body._index__wt-module-active__1Dq1Y ._index__navbar__G1DPy,
  body._index__wt-module-active__1Dq1Y ._index__hamburger-menu__W-bNI {
    display: none !important;
  }

  /* Adjust main content area to take full width */
  body._index__wt-module-active__1Dq1Y ._index__main__1j9-Y {
    margin-left: 0 !important;
    padding-top: 0 !important;
  }

  body._index__wt-module-active__1Dq1Y ._index__employee-app-container__TsKez {
    padding: 0 !important;
    height: 100vh;
    overflow-y: auto;
  }

  /* Style for the new topbar tabs */
  ._index__wt-topbar-tabs-container__3LXbn {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 0;
    overflow-x: auto;
    white-space: nowrap;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  ._index__wt-topbar-tabs-container__3LXbn ._index__horizontal-nav__3tZNx {
    display: flex;
    padding: 0 12px;
  }

  ._index__wt-topbar-tabs-container__3LXbn ._index__sidebar-list__xD5FF {
    padding: 6px 16px;
    margin-right: 8px;
    border-radius: 20px;
    background: #f0f4f8;
    color: #4a5568;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  ._index__wt-topbar-tabs-container__3LXbn ._index__sidebar-list__xD5FF._index__active__15R9- {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #ffffff;
    border-color: #1a237e;
    box-shadow: 0 4px 6px rgba(26, 35, 126, 0.2);
  }

  /* Hide scrollbar but keep functionality */
  ._index__wt-topbar-tabs-container__3LXbn::-webkit-scrollbar {
    display: none;
  }
  ._index__wt-topbar-tabs-container__3LXbn {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* Adjust ModuleHeader height and spacing */
  body._index__wt-module-active__1Dq1Y ._index__module-header__1MGyF {
    background: #fff;
    padding: 12px 16px !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* Desktop styles to ensure tabs are hidden */
@media (min-width: 641px) {
  ._index__wt-topbar-tabs-container__3LXbn {
    display: none;
  }
}
