/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./app/components/layout/TopBar/styles.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
/* =========================================
   Desktop + Mobile Top Bar Wrapper
   ========================================= */
.styles_wrap__KIYHo {
  display: flex;
  align-items: center;
  padding: 0px 12px;
  height: 56px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;

 
}

/* ⭐ When drawer is open: remove shadow & border */
.styles_drawer-open__WUUQQ .styles_wrap__KIYHo {
  border-bottom: none !important;
  box-shadow: none !important;
}


/* =========================================
   HAMBURGER BUTTON (Hidden on Desktop)
   ========================================= */
.styles_hamburger__RqfKg {
  display: none; /* hidden on desktop */

  /* Better mobile touch target */
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;

  font-size: 28px;
  font-weight: 800;
  color: #333;

  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

/* Tap effect */
.styles_hamburger__RqfKg:active {
  opacity: 0.6;
}


/* =========================================
   LOGO + TITLE GROUP
   ========================================= */
.styles_titleWrap__W2axh {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.styles_title__j9eGl {
  margin-left: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}


/* =========================================
   SEARCH BUTTON (right aligned)
   ========================================= */
.styles_searchBtn__c2cPG {
  margin-left: auto;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.75;
}

.styles_searchBtn__c2cPG:hover {
  opacity: 1;
}

.styles_searchBtn__c2cPG:active {
  opacity: 0.5;
}


/* =========================================
   MOBILE OVERRIDES
   ========================================= */
@media (max-width: 768px) {
  .styles_hamburger__RqfKg {
    display: flex;   /* show hamburger */
  }

  .styles_title__j9eGl {
    font-size: 15px;
  }

  .styles_searchBtn__c2cPG {
    font-size: 22px;
  }

  .styles_wrap__KIYHo {
    height: 44px;
    padding: 0px 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.07); /* lighter shadow on mobile */
  }

  /* ⭐ When drawer is open (mobile): remove border & shadow */
  .styles_drawer-open__WUUQQ .styles_wrap__KIYHo {
    border-bottom: none !important;
    box-shadow: none !important;
  }
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./app/components/layout/NavLink/styles.module.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************/
.styles_link__cj7P4 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #0f172a;
}
.styles_link__cj7P4:hover { background: #f4f4f5; }
.styles_active__qx6iO { background: #eef2ff; color: #3730a3; }

/*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./app/components/layout/Sidebar/styles.module.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************/
.styles_wrap___1EiD {
  height: 100%;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  padding: 12px 8px;

  display: flex;
  flex-direction: column;
}

/* Optional brand (keep if still used) */
.styles_brand__XXTid {
  padding: 8px 10px;
  margin: 4px 6px 12px;
  color: #64748b;
  font-weight: 600;
}

.styles_nav__p9Cjn {
  display: flex;
  flex-direction: column;
  gap: 6px;

}


/* -----------------------------
   Mobile adjustments
------------------------------ */
@media (max-width: 768px) {
  .styles_nav__p9Cjn {
    justify-content: flex-start; /* mobile: top-aligned */
    gap: 4px;
  }

  .styles_nav__p9Cjn a {
    padding: 4px 6px !important;
    font-size: 14px;
  }
}

/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./app/components/layout/Drawer/styles.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
/* Drawer panel */
.styles_drawer__XafY3 {
  position: fixed;
  top: var(--topbar-height);          /* ⭐ attach right below top bar */
  left: 0;
  width: 200px;

  height: calc(100dvh - var(--topbar-height));  /* ⭐ correct height */
  background: white;
  transform: translateX(-100%);
  transition: transform 0.25s ease;

  box-shadow: 3px 0 10px rgba(0,0,0,0.18);
  z-index: 2000;
  overflow-y: auto;
}

/* drawer open */
.styles_drawer__XafY3.styles_open__EdhcE {
  transform: translateX(0);
}

/* backdrop */
.styles_overlay__CHUL2 {
  position: fixed;
  top: var(--topbar-height);          /* ⭐ EXACT same */
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--topbar-height));
  background: rgba(0,0,0,0.35);

  z-index: 1500;
}

/* hide on desktop */
@media (min-width: 768px) {
  .styles_drawer__XafY3,
  .styles_overlay__CHUL2 {
    display: none;
  }
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./app/components/layout/LayoutShell/styles.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************/
/* =========================================
   GLOBAL WRAPPER (also stores height variable)
========================================= */
.styles_container__hcOSL {
  height: 100vh;
  width: 100%;
  overflow: hidden;

  /* default desktop topbar height */
  --topbar-height: 56px;
}

/* mobile override */
@media (max-width: 768px) {
  .styles_container__hcOSL {
    --topbar-height: 44px;
  }
}


/* =========================================
   FIXED TOP BAR
========================================= */
.styles_topbarGlobal__bwtMa {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: var(--topbar-height);
  z-index: 3000;

  background: white;
  border-bottom: 1px solid #e5e5e5;
}

.styles_drawer-open__IcVtV .styles_topbarGlobal__bwtMa {
  border-bottom: none !important;
  box-shadow: none !important;
}


/* =========================================
   GRID BELOW TOPBAR
========================================= */
.styles_appGrid__bPCpw {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-areas: "sidebar main";

  margin-top: var(--topbar-height);
  height: calc(100vh - var(--topbar-height));
}

.styles_sidebar__mnMwe {
  grid-area: sidebar;
}

.styles_main__S_dhn {
  grid-area: main;
  padding: 16px 20px 24px;
  overflow-y: auto;
}


/* =========================================
   RESPONSIVE (Tablet)
========================================= */
@media (max-width: 920px) {
  .styles_appGrid__bPCpw {
    grid-template-columns: 72px 1fr;
  }
}


/* =========================================
   RESPONSIVE (Mobile)
========================================= */
@media (max-width: 768px) {

  /* ⭐ FIX: remove sidebar column entirely */
  .styles_appGrid__bPCpw {
    grid-template-columns: 1fr !important;
    grid-template-areas: "main" !important;
  }

  .styles_sidebar__mnMwe {
    display: none;
  }

  /* Optional tighter padding for mobile */
  .styles_main__S_dhn {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --background: #ffffff;
  --foreground: #171717;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
}

