/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"]}],"variableName":"inter"} ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Inter_Fallback_f367f3';src: local("Arial");ascent-override: 90.49%;descent-override: 22.56%;line-gap-override: 0.00%;size-adjust: 107.06%
}.__className_f367f3 {font-family: '__Inter_f367f3', '__Inter_Fallback_f367f3';font-style: normal
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* CSS Reset and Modern Variables */
:root {
  /* Color Palette - Premium Construction ERP */
  --color-primary: #1e3a5f;      /* Deep Navy Blue */
  --color-primary-light: #2c5282; /* Lighter Blue for hover */
  --color-secondary: #f6ad55;    /* Construction Gold/Orange */
  --color-secondary-hover: #ed8936; 
  
  --color-background: #f8fafc;   /* Very light slate */
  --color-surface: #ffffff;      /* White cards/panels */
  
  --color-text: #1e293b;         /* Slate 800 */
  --color-text-muted: #64748b;   /* Slate 500 */
  
  --color-border: #e2e8f0;       /* Slate 200 */
  --color-divider: #cbd5e1;      /* Slate 300 */
  
  /* Status Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-size-base: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 20px;
  --font-size-xxl: 24px;
  
  /* Layout & Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 16px;
  
  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Global Layout Utilities */
.page-container {
  display: flex;
  height: 100vh; /* Changed from min-height to strictly 100vh */
  width: 100%;
  overflow: hidden; /* Prevents body from scrolling */
}

.main-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100vh; /* Ensure it stays exactly 100vh */
}

.content-area {
  flex: 1 1;
  padding: var(--spacing-xl);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-container {
    flex-direction: row;
  }

  .main-content {
    width: calc(100% - 70px);
  }

  .content-area {
    padding: var(--spacing-md);
  }
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/layout/Header.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.Header_header__hO3lJ {
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  background: var(--glass-bg); /* globals.css'ten */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
}

.Header_leftSection__LRnru {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.Header_centerSection__llN6k {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.Header_searchBox__XsAup {
  display: flex;
  align-items: center;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 8px 16px;
  width: 350px;
  transition: all 0.3s ease;
}

.Header_searchBox__XsAup:focus-within {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.2);
  width: 400px;
}

.Header_searchIcon__qNG0m {
  font-size: 14px;
  opacity: 0.5;
  margin-right: 12px;
}

.Header_searchInput__MAyjA {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--color-text);
  font-family: inherit;
}

.Header_searchInput__MAyjA::placeholder {
  color: var(--color-text-muted);
}

.Header_rightSection__SKytc {
  display: flex;
  align-items: center;
  gap: 16px;
}

.Header_iconBtn__sGNob, .Header_notifications__8N899 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.Header_iconBtn__sGNob:hover, .Header_notifications__8N899:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.Header_icon__Hlcsw {
  font-size: 18px;
}

.Header_badge__jvoAX {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-error);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-surface);
}

/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/layout/Sidebar.module.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
.Sidebar_sidebar__5oZEx {
  width: 280px;
  background: var(--color-primary); /* Deep Navy */
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.Sidebar_logoContainer__VlvjR {
  padding: 32px 24px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
}

.Sidebar_logoImage__x8vns {
  max-width: 100%;
  height: auto;
}

.Sidebar_logoPlaceholder__Nn883 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #fff;
}

.Sidebar_logoTextHighlight__g2ptt {
  font-weight: 800;
  color: var(--color-secondary); /* Gold */
}

.Sidebar_sidebarScroll__zKPPH {
  flex: 1 1;
  overflow-y: auto;
  padding: 24px 16px;
}

.Sidebar_sidebarScroll__zKPPH::-webkit-scrollbar {
  width: 6px;
}
.Sidebar_sidebarScroll__zKPPH::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.Sidebar_menuGroup__mOlvG {
  margin-bottom: 32px;
}

.Sidebar_categoryTitle__Vu9It {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  padding-left: 12px;
  letter-spacing: 1.5px;
}

.Sidebar_menuList__V5PEp {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.Sidebar_menuItem__XoWw1 {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.Sidebar_menuItem__XoWw1:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateX(4px);
}

.Sidebar_menuItem__XoWw1.Sidebar_active__6EB_0 {
  background: rgba(246, 173, 85, 0.1); /* Gold transparent */
  color: var(--color-secondary);
  border: 1px solid rgba(246, 173, 85, 0.2);
  font-weight: 600;
}

.Sidebar_icon__lbwLH {
  font-size: 18px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.Sidebar_menuItem__XoWw1.Sidebar_active__6EB_0 .Sidebar_icon__lbwLH {
  opacity: 1;
}

.Sidebar_menuItemWrapper__tUS2w {
  display: flex;
  flex-direction: column;
}

.Sidebar_subMenu__Mwg5l {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 32px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.Sidebar_menuItemWrapper__tUS2w:hover .Sidebar_subMenu__Mwg5l {
  max-height: 500px;
  opacity: 1;
  margin-top: 4px;
  margin-bottom: 8px;
}

.Sidebar_subMenuItem__eNcxo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.Sidebar_subMenuItem__eNcxo:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.Sidebar_subMenuItem__eNcxo.Sidebar_active__6EB_0 {
  color: var(--color-secondary);
  font-weight: 600;
  background: rgba(246, 173, 85, 0.05);
}

.Sidebar_caret__htGjA {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.Sidebar_menuItemWrapper__tUS2w:hover .Sidebar_caret__htGjA {
  transform: rotate(180deg);
}

/* Footer (User Info) */
.Sidebar_sidebarFooter__SM5Lt {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.15);
}

.Sidebar_userInfo__7eqTY {
  display: flex;
  align-items: center;
  gap: 14px;
}

.Sidebar_avatar__ZWpp0 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), #d97706);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(246, 173, 85, 0.3);
}

.Sidebar_userDetails__t_Av_ {
  display: flex;
  flex-direction: column;
}

.Sidebar_userName__q0Kk9 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.Sidebar_userRole__hO7SZ {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .Sidebar_sidebar__5oZEx {
    width: 70px;
    height: 100vh;
    max-height: none;
    overflow: visible; /* Submenu'lerin taşmasına izin ver */
  }
  
  .Sidebar_logoContainer__VlvjR {
    padding: 16px 0;
    justify-content: center;
  }
  
  .Sidebar_logoPlaceholder__Nn883 {
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
  }
  
  .Sidebar_logoPlaceholder__Nn883 span:not(.Sidebar_logoTextHighlight__g2ptt) {
    display: none;
  }
  
  .Sidebar_sidebarScroll__zKPPH {
    padding: 12px 6px;
    overflow-x: visible; /* Submenu taşması için */
  }
  
  .Sidebar_menuItem__XoWw1 {
    padding: 12px 0;
    justify-content: center;
  }
  
  .Sidebar_menuItem__XoWw1 span:not(.Sidebar_icon__lbwLH), .Sidebar_caret__htGjA {
    display: none;
  }
  
  .Sidebar_icon__lbwLH {
    font-size: 22px;
    margin: 0;
  }
  
  .Sidebar_sidebarFooter__SM5Lt {
    display: none;
  }
  
  /* Submenu absolute positioning */
  .Sidebar_subMenu__Mwg5l {
    position: absolute;
    left: 70px; /* Sidebar bittikten hemen sonra başla */
    margin-top: -44px; /* Butonun hizasında çıkar */
    background: var(--color-primary);
    padding: 8px 12px;
    border-radius: 0 12px 12px 0;
    width: 240px;
    box-shadow: 4px 4px 16px rgba(0,0,0,0.4);
    z-index: 1000;
  }
  
  .Sidebar_menuItemWrapper__tUS2w:hover .Sidebar_subMenu__Mwg5l {
    max-height: 500px;
    opacity: 1;
    margin-top: -44px; /* Hizalamayı koru */
  }
}

