/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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 ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
/* =========================================
   TOP BAR — BASE (MOBILE FIRST)
   ========================================= */

.styles_wrap__KIYHo {
  display: flex;
  align-items: center;

  height: 52px;

  /* ⬅️ tighter left, normal right */
  padding: 0 14px 0 8px;

  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-sizing: border-box;
}

/* Drawer open state */
.styles_drawer-open__WUUQQ .styles_wrap__KIYHo {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* =========================================
   HAMBURGER BUTTON
   ========================================= */

.styles_hamburger__RqfKg {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  /* ❌ remove artificial push */
  margin: 0;

  font-size: 26px;
  font-weight: 700;
  color: #333;

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

.styles_hamburger__RqfKg:active {
  opacity: 0.6;
}

/* =========================================
   LOGO + TITLE
   ========================================= */

.styles_titleWrap__W2axh {
  display: flex;
  align-items: center;

  /* spacing belongs HERE, not on hamburger */
  gap: 8px;

  text-decoration: none;
  cursor: pointer;
}

.styles_title__j9eGl {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  line-height: 1;
  white-space: nowrap;
}

/* =========================================
   RIGHT AREA (USER MENU)
   ========================================= */

.styles_rightArea__okq6p {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================
   TABLET & DESKTOP
   ========================================= */

@media (min-width: 769px) {
  .styles_wrap__KIYHo {
    height: 56px;
    padding: 0 18px;
  }

  .styles_hamburger__RqfKg {
    display: none;
  }

  .styles_title__j9eGl {
    padding-top:2px;
    font-size: 18px;
  }
}
/* 📱 Phone-only: pull account closer to right edge */
@media (max-width: 768px) {
  .styles_wrap__KIYHo {
    padding-right: 6px;   /* was ~14px */
  }
}
@media (max-width: 768px) {
  .styles_titleWrap__W2axh {
    transform: translateY(2px);
  }
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/auth/ChangePasswordModal.module.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************/
.ChangePasswordModal_overlay___qugX {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.ChangePasswordModal_modal___LITd {
  width: 380px;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: ChangePasswordModal_pop__0iJBN 0.18s ease-out;
}

/* Subtle Google-style pop */
@keyframes ChangePasswordModal_pop__0iJBN {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================
   Title
========================= */
.ChangePasswordModal_title__pE61z {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #202124; /* stronger title like login page */
}

/* =========================
   Fields
========================= */
.ChangePasswordModal_field__fyRZS {
  margin-bottom: 14px;
}

.ChangePasswordModal_label__sXpAM {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #5f6368; /* Google muted text */
}

.ChangePasswordModal_input__PBTWY {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d0d7e2;
  font-size: 14px;
  background: #f8faff; /* subtle blue tint */
  color: #202124;
}

.ChangePasswordModal_input__PBTWY:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 1px #1a73e8;
  background: #ffffff;
}

/* =========================
   Forgot password
========================= */
.ChangePasswordModal_forgotRow__FqcIP {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.ChangePasswordModal_linkBtn__64R8x {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #1a73e8;
  cursor: pointer;
}

.ChangePasswordModal_linkBtn__64R8x:hover {
  text-decoration: underline;
}

/* =========================
   Error
========================= */
.ChangePasswordModal_error__Tm_Lw {
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fce8e6;
  color: #a50e0e;
  font-size: 13px;
}

/* =========================
   Actions
========================= */
.ChangePasswordModal_actions__Z0gdO {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

/* PRIMARY — match login button strength */
.ChangePasswordModal_primaryBtn__Rn0u5 {
  flex: 1 1;
  padding: 11px;
  background: #1a73e8; /* Google blue */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.ChangePasswordModal_primaryBtn__Rn0u5:hover:not(:disabled) {
  background: #1558c0;
}

.ChangePasswordModal_primaryBtn__Rn0u5:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* SECONDARY — quiet */
.ChangePasswordModal_secondaryBtn__90vRT {
  flex: 1 1;
  padding: 11px;
  background: #f1f3f4;
  color: #202124;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
/* =========================
   Mobile responsiveness
========================= */
@media (max-width: 480px) {
  .ChangePasswordModal_overlay___qugX {
    padding: 16px; /* prevent edge clipping */
  }

  .ChangePasswordModal_modal___LITd {
    width: 100%;
    max-width: 100%;
    padding: 20px 18px;
    border-radius: 10px;
  }

  .ChangePasswordModal_title__pE61z {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .ChangePasswordModal_input__PBTWY {
    font-size: 16px; /* ✅ prevent iOS zoom */
  }

  .ChangePasswordModal_actions__Z0gdO {
    flex-direction: column;
  }

  .ChangePasswordModal_primaryBtn__Rn0u5,
  .ChangePasswordModal_secondaryBtn__90vRT {
    width: 100%;
    padding: 12px;
  }
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/auth/UserMenu.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.UserMenu_wrap__JtBZW {
  position: relative;
}

/* ===============================
   Avatar button
   =============================== */
.UserMenu_avatarBtn__VllH_ {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
}

.UserMenu_avatarCircle__H77Kw {
  width: 36px;                 /* ⬆ bigger */
  height: 36px;
  border-radius: 50%;
  background: #e0edff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;             /* ⬆ slightly bigger */
  font-weight: 600;
}

/* ===============================
   Dropdown menu
   =============================== */
.UserMenu_menu___eU1b {
  position: absolute;
  right: 0;
  top: 120%;
  width: 240px;                /* ⬆ wider, breathable */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  padding: 12px;
  z-index: 1000;

  /* open animation */
  transform-origin: top right;
  animation: UserMenu_menuIn__69ZXL 140ms ease-out forwards;
}

@keyframes UserMenu_menuIn__69ZXL {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===============================
   Profile header
   =============================== */
.UserMenu_profile__rQsEP {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 10px;
}

.UserMenu_profileAvatar__WLX81 {
  width: 40px;                 /* ⬆ larger focal point */
  height: 40px;
  border-radius: 50%;
  background: #e0edff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

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

.UserMenu_profileName__Iz6Ib {
  font-size: 15px;             /* ⬆ readable */
  font-weight: 600;
  color: #111827;
}

.UserMenu_profileHint__42ZCK {
  font-size: 13px;
  color: #6b7280;
}

/* ===============================
   Divider
   =============================== */
.UserMenu_divider__ygH6B {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
}

/* ===============================
   Menu items
   =============================== */
.UserMenu_menuItem__G7xsY {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;          /* ⬆ better click area */
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;             /* ⬆ proper body size */
  color: #111827;
  border-radius: 8px;
}

.UserMenu_menuItem__G7xsY:hover {
  background: #f3f4f6;
}

.UserMenu_logout__Vh9t0 {
  color: #dc2626;
}

/* ===============================
   Icons (Material Symbols)
   =============================== */
.UserMenu_menuItem__G7xsY .material-symbols-outlined {
  font-size: 18px;             /* ⬆ balanced */
  opacity: 0.9;
}
/* ===============================
   📱 Mobile overrides
   =============================== */
@media (max-width: 600px) {


  /* Dropdown menu */
  .UserMenu_menu___eU1b {
    width: 180px;                 /* ⬇ narrower */

  }
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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 ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************/
/* ===========================
   Sidebar Wrapper
=========================== */

.styles_wrap___1EiD {
  height: 100%;
  width: clamp(200px, 22vw, 260px); /* ✅ responsive width */
  flex-shrink: 0;                  /* ✅ prevent flex collapse */

  background: #fff;
  border-right: 1px solid #e5e7eb;
  padding: 12px 8px;

  display: flex;
  flex-direction: column;
}

/* ===========================
   Brand (optional)
=========================== */

.styles_brand__XXTid {
  padding: 8px 10px;
  margin: 4px 6px 12px;
  color: #64748b;
  font-weight: 600;
}

/* ===========================
   Navigation
=========================== */

.styles_nav__p9Cjn {
  margin-top: 12px; /* ✅ replace vh */
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===========================
   Disabled Links
=========================== */

.styles_disabled__8V_kj {
  opacity: 0.45;
  cursor: not-allowed;
}

.styles_disabled__8V_kj:hover {
  background: none;
  transform: none;
  box-shadow: none;
}

/* ===========================
   Section Labels
=========================== */

.styles_section__5Hb6U {
  margin: 10px 0 6px;
  padding: 0 12px;

  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

/* ===========================
   Divider
=========================== */

.styles_divider__ySsyQ {
  margin: 10px 6px 8px;
  border-top: 1px solid #e5e7eb;
}

/* ===========================
   Bottom Sections (correct)
=========================== */

.styles_bottomSections___D1z1 {
  margin-top: auto; /* ✅ replaces magic 180px */
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===========================
   Tablet / Mid-size Screens
=========================== */

@media (max-width: 1200px) {
  .styles_wrap___1EiD {
    width: 220px;
  }

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

/* ===========================
   Mobile (≤ 768px)
=========================== */

@media (max-width: 768px) {
  .styles_nav__p9Cjn {
    justify-content: flex-start;
    gap: 4px;
  }

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

/* ===========================
   Phone (≤ 640px)
=========================== */

@media (max-width: 640px) {
  .styles_wrap___1EiD {
    padding: 8px 6px;
  }

  .styles_nav__p9Cjn {
    gap: 2px;
  }

  .styles_nav__p9Cjn a {
    padding: 8px 10px !important;
    font-size: 14px;
    border-radius: 8px;
  }

  .styles_section__5Hb6U {
    margin: 12px 0 4px;
    padding: 0 10px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .styles_divider__ySsyQ {
    margin: 8px 6px;
  }
}

/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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
========================================= */
.styles_container__hcOSL {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;

  --topbar-height: 56px;
}

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

/* =========================================
   TOP BAR (STICKY — iOS SAFE)
========================================= */
.styles_topbarGlobal__bwtMa {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 3000;

  height: var(--topbar-height);
  width: 100%;
  max-width: 100%;

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

  box-sizing: border-box;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.styles_sidebar__mnMwe {
  grid-area: sidebar;
}

.styles_main__S_dhn {
  grid-area: main;
  padding: 16px 20px 24px;

  min-width: 0;
}

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

/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px) {
  .styles_appGrid__bPCpw {
    grid-template-columns: 1fr;
    grid-template-areas: "main";
  }

  .styles_sidebar__mnMwe {
    display: none;
  }

  .styles_main__S_dhn {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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;
  }
}

