@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');


/* ===========================
   Nexus Design System 4.0 – Final
   تم: Neutral Professional Light
=========================== */
:root {
  /* ---------- پس‌زمینه‌ها ---------- */
  --bg-body: #e8ecf1;
  --bg-primary: #f0f3f7;
  --bg-secondary: #e3e7ef;
  --bg-elevated: #d9dee8;

  /* ---------- خطوط ---------- */
  --border-primary: #cdd3de;
  --border-subtle: #dce1e9;

  /* ---------- متن ---------- */
  --text-primary: #1a1f2e;
  --text-secondary: #4a5162;
  --text-tertiary: #6e7687;

  /* ---------- رنگ تأکیدی اصلی (آبی) ---------- */
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-subtle: rgba(37, 99, 235, 0.08);

  /* ---------- رنگ تأکیدی دوم (گرم) ---------- */
  --accent-warm: #f59e0b;
  --accent-warm-subtle: rgba(245, 158, 11, 0.08);

  /* ---------- رنگ‌های وضعیت ---------- */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* ---------- تایپوگرافی ---------- */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Inter', sans-serif;

  /* ---------- گردی‌ها ---------- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* ---------- سایه‌ها ---------- */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-colored: 0 8px 24px rgba(37, 99, 235, 0.12);
}
/* ریست کلی */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}/* ========== دکمه همبرگری (مخفی در دسکتاپ) ========== */
/* .menuBtn {
  display: none;
  position: fixed;
  top: 80px;
  left: 16px;
  z-index: 300;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
} */

/* ========== سایدبار ========== */
/* .sidebar {
  width: 260px;
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-primary);
  display: flex;
  flex-direction: column;
  height: 100vh;
  flex-shrink: 0;
  transition: width 0.3s ease, transform 0.3s ease;
  position: relative;
} */

/* حالت جمع‌شده در دسکتاپ */
/* .collapsed {
  width: 68px;
}

.collapsed .brandText,
.collapsed .link span,
.collapsed .logout span {
  display: none;
} */

/* ========== برند ========== */
/* .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border-primary);
}
.brandIcon { font-size: 1.3rem; color: var(--accent-primary); }
.brandText { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }

.collapseBtn {
  display: none;
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 1.1rem;
}


.nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow-y: auto;
}

.link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.link:hover { background: var(--bg-elevated); color: var(--text-primary); }
.active { background: var(--accent-subtle); color: var(--accent-primary); }
.icon { font-size: 1.1rem; flex-shrink: 0; } */

/* ========== دکمه خروج ========== */
/* .logout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  margin: 0.75rem;
  background: transparent;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
}
.logout:hover { background: var(--bg-elevated); color: var(--error); border-color: var(--error); } */

/* ========== دسکتاپ: دکمه Collapse ========== */
/* @media (min-width: 769px) {
  .collapseBtn {
    display: block;
  }
} */

/* ========== موبایل ========== */
/* @media (max-width: 768px) {
  .menuBtn {
    display: block;
  }

  .collapseBtn {
    display: none;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    height: 100vh;
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }

  .collapsed {
    width: 260px;
  }
} */

._sidebar_l0jnx_18 {
  width: 240px;
  min-width: 240px;
  height: 100%;
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-primary);
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
  transition: all 0.3s ease;
  overflow-x: hidden;
  z-index: 95;
  position: relative;
}

/* حالت جمع شده (دسکتاپ) */
._collapsed_l0jnx_31 {
  width: 64px;
  min-width: 64px;
}

/* حالت موبایل (overlay) */
@media (max-width: 768px) {
  ._sidebar_l0jnx_18 {
    position: fixed;
    top: 64px;
    left: -100%;
    height: calc(100vh - 64px);
    z-index: 95;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
  }

  ._sidebar_l0jnx_18._open_l0jnx_133 {
    left: 0;
  }
}

@media (max-width: 480px) {
  ._sidebar_l0jnx_18 {
    top: 56px;
    height: calc(100vh - 56px);
  }
}

._brand_l0jnx_35 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem 1rem;
  border-bottom: 1px solid var(--border-primary);
  margin-bottom: 1rem;
}

._collapsed_l0jnx_31 ._brand_l0jnx_35 {
  justify-content: center;
  padding: 0.5rem 0 1rem;
}

._brandIcon_l0jnx_49 {
  font-size: 1.25rem;
  color: var(--accent-primary);
  flex-shrink: 0;
}

._brandText_l0jnx_35 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

._collapseBtn_l0jnx_52 {
  position: absolute;
  right: -12px;
  top: 36px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 96;
  padding: 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
  outline: 2px solid var(--bg-secondary);
  transition: all 0.15s ease;
}

._collapseBtn_l0jnx_52:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

._rotated_l0jnx_240 {
  transform: rotate(180deg);
}

._nav_l0jnx_63 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

._link_l0jnx_36 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
}

._link_l0jnx_36:hover {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
}

._active_l0jnx_86 {
  background-color: var(--accent-bg, rgba(59, 130, 246, 0.1));
  color: var(--accent-primary) !important;
}

._icon_l0jnx_87 {
  font-size: 1.1rem;
  flex-shrink: 0;
}

._logout_l0jnx_37 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  white-space: nowrap;
  margin-top: auto;
}

._logout_l0jnx_37:hover {
  background-color: var(--bg-elevated);
  color: var(--error);
}/** @format */

._header_1ejk6_3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 64px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
}

._brand_1ejk6_17 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

._sidebarToggle_1ejk6_23 {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
}

._sidebarToggle_1ejk6_23:hover {
  color: var(--text-primary);
}

._logoIcon_1ejk6_37 {
  font-size: 1.25rem;
  color: var(--accent-primary);
}

._title_1ejk6_42 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  text-decoration: none;
  white-space: nowrap;
}

._actions_1ejk6_51 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

._link_1ejk6_58 {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
}

._link_1ejk6_58:hover {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
}

._logoutBtn_1ejk6_74 {
  padding: 0.5rem 1.25rem;
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

._logoutBtn_1ejk6_74:hover {
  background-color: var(--bg-elevated);
  color: var(--error);
  border-color: var(--error);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  ._header_1ejk6_3 {
    padding: 0 1rem;
    height: 56px;
    gap: 0.75rem;
  }

  ._sidebarToggle_1ejk6_23 {
    display: block;
  }

  ._title_1ejk6_42 {
    font-size: 0.9rem;
  }

  ._actions_1ejk6_51 {
    gap: 0.5rem;
  }

  ._link_1ejk6_58,
  ._logoutBtn_1ejk6_74 {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  ._brand_1ejk6_17 {
    gap: 0.35rem;
  }

  ._logoIcon_1ejk6_37 {
    font-size: 1rem;
  }

  ._title_1ejk6_42 {
    font-size: 0.8rem;
  }

  ._link_1ejk6_58,
  ._logoutBtn_1ejk6_74 {
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
  }
}/* .main {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.content {
  flex: 1;
  padding: 2rem;
  background-color: var(--bg-primary);
  overflow-y: auto;
}
 */



 ._layout_1sq41_17 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

._main_1sq41_1 {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

._content_1sq41_7 {
  flex: 1;
  padding: 2rem;
  background-color: var(--bg-primary);
  overflow-y: auto;
  transition: margin-left 0.3s ease;
}

._overlay_1sq41_38 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  display: none;
}

@media (max-width: 768px) {
  ._overlay_1sq41_38 {
    display: block;
  }

  ._content_1sq41_7 {
    padding: 1rem;
  }
}._footer_16v4e_1 {
  border-top: 1px solid var(--border-primary);
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

._inner_16v4e_8 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

._copy_16v4e_16 {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

._version_16v4e_22 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  ._inner_16v4e_8 {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}._wrapper_9xcvg_1 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}

._spinner_9xcvg_8 {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bg-elevated);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: _spin_9xcvg_8 0.7s linear infinite;
}

@keyframes _spin_9xcvg_8 {
  to {
    transform: rotate(360deg);
  }
}._container_1kzju_1 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

._content_1kzju_11 {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
}

._codeWrapper_1kzju_18 {
  display: inline-block;
  margin-bottom: 1rem;
}

._code_1kzju_18 {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1;
  letter-spacing: -2px;
}

._title_1kzju_34 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
}

._text_1kzju_41 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 auto 2rem;
  max-width: 450px;
}

._actions_1kzju_49 {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

._homeBtn_1kzju_56,
._loginBtn_1kzju_57 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

._homeBtn_1kzju_56 {
  background: var(--accent-primary);
  color: white;
  border: none;
}

._homeBtn_1kzju_56:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

._loginBtn_1kzju_57 {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

._loginBtn_1kzju_57:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

@media (max-width: 480px) {
  ._code_1kzju_18 {
    font-size: 5rem;
  }

  ._title_1kzju_34 {
    font-size: 1.5rem;
  }
}