/*
Template Name: Dashora Admin Dashboard
Author: Layoutdrop
Description: Main stylesheet for Dashora dashboard, apps, components, authentication, and responsive layouts.

Table of Contents
01. Design Tokens and Base Reset
02. Sidebar, Brand, and Navigation
03. Topbar, Search, and Header Actions
04. Page Shell, Breadcrumbs, Buttons, and Cards
05. Dashboard Widgets, Tables, Charts, and Timelines
06. Projects, Tasks, Teams, Notifications, and Utility Cards
07. Component Library Pages
09. Invoice, Pricing, Profile, and Settings Pages
10. Authentication and Utility Pages
12. Shared Typography and Surface Refinements
13. Responsive Breakpoints
14. Print Styles
*/

/* 01. Design Tokens and Base Reset */
:root {
  --bg: #f1f1f1;
  --surface: #ffffff;
  --surface-2: #f3f5f9;
  --text: #15171c;
  --muted: #707783;
  --line: #dfe5ef;
  --primary: #5278ff;
  --primary-2: #2fb6d0;
  --success: #2fa84f;
  --warning: #eab308;
  --danger: #dc2626;
  --shadow: 0 10px 28px rgba(21, 23, 28, 0.08);
  --sidebar: #ffffff;
}
[data-theme="dark"] {
  --bg: #0b1020;
  --surface: #141a2d;
  --surface-2: #101627;
  --text: #eef2ff;
  --muted: #94a3b8;
  --line: #25314a;
  --sidebar: #080d19;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[data-theme="dark"] body {
  background: radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.16),
      transparent 34%
    ),
    var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus,
button:focus-visible,
.btn:focus,
.btn:focus-visible,
.btn:active:focus,
.btn.active:focus,
.btn.show:focus,
.btn-check:focus + .btn,
.dropdown-item:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.accordion-button:focus,
.page-link:focus,
.fc .fc-button:focus,
.fc .fc-button:focus-visible {
  box-shadow: none !important;
  outline: 0;
}
button:focus-visible,
.btn:focus-visible,
.dropdown-item:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.accordion-button:focus-visible,
.page-link:focus-visible {
  border-color: rgba(82, 120, 255, 0.55);
}
/* 02. Sidebar, Brand, and Navigation */
.app-layout {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  background: var(--sidebar);
  color: #4b5563;
  padding: 20px 18px;
  overflow-y: auto;
  z-index: 1040;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.22s ease,
    box-shadow 0.22s ease;
  will-change: transform, width;
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 26px rgba(21, 23, 28, 0.04);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
a.brand {
  color: inherit;
}
a.brand:hover .brand-mark {
  box-shadow: 0 14px 32px rgba(82, 120, 255, 0.28);
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #5278ff, #2fb6d0);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(82, 120, 255, 0.22);
}
.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}
.brand strong {
  color: var(--text);
  font-size: 21px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 800;
}
.brand small,
.avatar-btn small {
  color: var(--muted);
  font-size: 12px;
}
.nav-section {
  margin-bottom: 8px;
}
.nav-accordion-toggle {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #4b5563;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 800;
}
.nav-accordion-toggle > span {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.nav-accordion-toggle > span > i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5278ff;
  background: rgba(82, 120, 255, 0.1);
  font-size: 12px;
  flex: 0 0 auto;
}
.nav-accordion-toggle:hover,
.nav-accordion.open > .nav-accordion-toggle {
  background: #eef3ff;
  color: #303846;
}
[data-theme="dark"] .nav-accordion-toggle {
  color: var(--muted);
}
[data-theme="dark"] .nav-accordion-toggle:hover,
[data-theme="dark"] .nav-accordion.open > .nav-accordion-toggle {
  background: rgba(82, 120, 255, 0.22);
  color: #fff;
}
[data-theme="dark"] .nav-accordion.open > .nav-accordion-toggle > span > i {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.nav-accordion-toggle > i {
  transition: transform 0.18s ease;
  color: var(--muted);
  font-size: 13px;
}
.nav-accordion.open > .nav-accordion-toggle > i {
  transform: rotate(180deg);
}
.nav-accordion-panel {
  display: none;
  padding: 5px 0 8px 16px;
}
.nav-accordion.open > .nav-accordion-panel {
  display: block;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  border-radius: 8px;
  color: #556070;
  padding: 10px 13px;
  margin-bottom: 5px;
  font-weight: 700;
}
.nav-link a img {
  margin-right: 11px;
}
.nav-link i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5278ff;
  font-size: 11px;
  background: rgba(82, 120, 255, 0.1);
}
.nav-link:hover,
.nav-link.active {
  background: #eef3ff;
  color: #303846;
  box-shadow: none;
}
[data-theme="dark"] .nav-link {
  color: var(--muted);
}
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  background: rgba(82, 120, 255, 0.22);
  color: #fff;
}
[data-theme="dark"] .nav-link.active i {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.nav-link:nth-child(3n) i {
  color: #eab308;
  background: rgba(234, 179, 8, 0.13);
}
.nav-link:nth-child(4n) i {
  color: #2fb6d0;
  background: rgba(47, 182, 208, 0.13);
}
.nav-link:nth-child(5n) i {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.12);
}
.sidebar-layout-switch {
  margin: 10px 0 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
  display: grid;
  gap: 7px;
}
.sidebar-layout-switch span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}
.sidebar-layout-switch button {
  border: 0;
  background: transparent;
  color: #556070;
  text-align: left;
  border-radius: 7px;
  padding: 7px 9px;
  font-weight: 800;
}
.sidebar-layout-switch button.active,
.sidebar-layout-switch button:hover {
  background: #eef3ff;
  color: #5278ff;
}
[data-theme="dark"] .sidebar-layout-switch {
  background: var(--surface-2);
}
[data-theme="dark"] .sidebar-layout-switch button {
  color: var(--muted);
}
[data-theme="dark"] .sidebar-layout-switch button.active,
[data-theme="dark"] .sidebar-layout-switch button:hover {
  background: rgba(82, 120, 255, 0.22);
  color: #fff;
}
.main {
  width: 100%;
  min-width: 0;
  margin-left: 280px;
  min-height: 100vh;
}
/* 03. Topbar, Search, and Header Actions */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1090;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(21, 23, 28, 0.05);
}
[data-theme="dark"] .topbar {
  background: rgba(11, 16, 32, 0.82);
}
.topbar-brand {
  display: none;
  flex: 0 0 auto;
}
.topbar-brand .brand-mark {
  width: 42px;
  height: 42px;
}
.topbar-brand:hover .brand-mark {
  box-shadow: 0 14px 32px rgba(82, 120, 255, 0.28);
}
.search {
  flex: 1;
  max-width: 390px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border: 1px solid #d7deea;
  border-radius: 8px;
  padding: 0 16px;
  height: 50px;
  box-shadow: none;
  color: var(--muted);
}
.command-search-trigger {
  text-align: left;
  cursor: pointer;
}
.command-search-trigger i {
  font-size: 20px;
  color: #4b4658;
}
.command-search-trigger span {
  flex: 1;
  color: #a2a0aa;
  font-weight: 800;
}
.command-search-trigger kbd {
  color: #a2a0aa;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 900;
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
.form-control:focus,
.form-select:focus {
  color: var(--text);
  background-color: var(--surface);
  border-color: var(--line);
  box-shadow: none !important;
  outline: 0;
}
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  background-color: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}
.search input::placeholder {
  color: #a2a0aa;
  opacity: 1;
}
[data-theme="dark"] .search {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--muted);
}
[data-theme="dark"] .command-search-trigger i,
[data-theme="dark"] .command-search-trigger span,
[data-theme="dark"] .command-search-trigger kbd {
  color: #fff;
  opacity: 0.78;
}
[data-theme="dark"] .search input,
[data-theme="dark"] .search input::placeholder {
  color: #fff;
}
.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.icon-btn,
.avatar-btn,
.layout-btn,
.profile-trigger {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.layout-btn {
  gap: 8px;
  padding: 0 12px;
  font-weight: 800;
}
.layout-dropdown-wrap {
  position: relative;
  display: inline-flex;
}
.layout-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.layout-menu .dropdown-item.active {
  background: #eef3ff;
  color: #5278ff;
}
[data-theme="dark"] .layout-menu .dropdown-item.active {
  background: rgba(82, 120, 255, 0.22);
  color: #fff;
}
.avatar-btn {
  gap: 10px;
  padding: 4px 12px 4px 5px;
  height: 46px;
}
.avatar-btn span,
.avatar,
.avatar-stack span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 12px;
  position: relative;
}
.avatar img,
.avatar-stack span img,
.profile-photo img,
.profile-avatar img,
.notify-avatar img,
.rep-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
.avatar.has-photo,
.avatar-stack span.has-photo,
.profile-photo.has-photo,
.profile-avatar.has-photo,
.notify-avatar.has-photo,
.rep-avatar.has-photo {
  overflow: hidden;
  background: var(--surface-2);
  color: transparent;
}
.profile-photo.has-photo {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.6),
    0 10px 24px rgba(32, 44, 80, 0.12);
}
.profile-photo.has-photo img {
  padding: 2px;
  background: #fff;
}
.profile-photo.has-photo i {
  z-index: 2;
}
.profile-photo.lg.has-photo img {
  padding: 3px;
}
.avatar-btn strong,
.avatar-btn small {
  display: block;
  text-align: left;
  line-height: 1.1;
}
.profile-trigger {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 0;
  border: 0;
  background: transparent;
}
.profile-photo {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #6c63ee, #9a8cff);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.28);
  font-weight: 900;
}
.profile-photo i {
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #4cc96f;
  border: 3px solid #fff;
}
.profile-photo.lg {
  width: 70px;
  height: 70px;
  font-size: 20px;
}
.profile-photo.lg i {
  width: 16px;
  height: 16px;
}
.pulse-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14);
}
/* 04. Page Shell, Breadcrumbs, Buttons, and Cards */
.content {
  width: 100%;
  max-width: none;
  padding: 32px clamp(24px, 2vw, 36px);
  margin: 0;
}
.content > .executive-grid,
.content > .project-summary,
.content > .task-summary,
.content > .comment-summary,
.content > .crypto-hero,
.content > .job-hero,
.content > .customer-hero,
.content > .calendar-shell {
  margin-top: 0;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 38px;
  margin-bottom: 24px;
}
.page-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}
.page-breadcrumb-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.18s ease;
}
.page-breadcrumb-home:hover {
  color: var(--primary);
}
.page-breadcrumb-home i {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(82, 120, 255, 0.14);
  border-radius: 8px;
  color: var(--primary);
  background: rgba(82, 120, 255, 0.08);
  font-size: 13px;
}
.page-breadcrumb-separator {
  color: #a7b0bf;
  font-size: 10px;
}
.page-breadcrumb h1 {
  overflow: hidden;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[dir="rtl"] .page-breadcrumb-separator i {
  transform: rotate(180deg);
}
[data-theme="dark"] .page-breadcrumb-home i {
  border-color: rgba(82, 120, 255, 0.25);
  background: rgba(82, 120, 255, 0.13);
}
.eyebrow {
  color: var(--primary-2);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h1,
h2,
h3,
h4,
h5,
h6,
.executive-card h2,
.commerce-hero h2 {
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(30px, 3.5vw, 42px);
  margin: 4px 0 8px;
  font-weight: 700;
  line-height: 1.1;
}
.page-title h1 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.page-title p {
  display: none;
}
.page-title p,
.panel p,
.work-card p,
.pricing-card p,
.auth-card p,
.empty-state p {
  color: var(--muted);
  margin: 0;
}
.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
  padding: 20px clamp(24px, 2vw, 36px) 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.dashboard-footer p {
  margin: 0;
}
.dashboard-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.dashboard-footer a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.18s ease;
}
.dashboard-footer a:hover {
  color: var(--primary);
}
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}
.btn {
  border-radius: 8px;
  font-weight: 700;
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-light,
.btn-outline-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
.btn-light:hover,
.btn-outline-secondary:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: #cfd8e6;
}
[data-theme="dark"] .btn-light,
[data-theme="dark"] .btn-outline-secondary {
  background: var(--surface-2);
  color: #fff;
  border-color: var(--line);
}
[data-theme="dark"] .btn-light:hover,
[data-theme="dark"] .btn-outline-secondary:hover {
  background: rgba(82, 120, 255, 0.18);
  color: #fff;
  border-color: rgba(82, 120, 255, 0.42);
}
[data-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(180%);
}
.panel,
.metric-card,
.work-card,
.pricing-card,
.auth-card,
.empty-state {
  background: var(--surface);
  border: 1px solid #e4e9f1;
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(32, 44, 80, 0.05);
}
[data-theme="dark"] .panel,
[data-theme="dark"] .metric-card,
[data-theme="dark"] .work-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .auth-card,
[data-theme="dark"] .empty-state {
  background: var(--surface);
  border-color: var(--line);
}

.panel-body,
.panel-head {
  padding: 25px;
}

.panel.panel-table .panel-body {
  padding: 0px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.panel h2,
.work-card h3,
.pricing-card h2 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}
.row.mt-1 {
  margin-top: 0 !important;
}
.mt-4 {
  margin-top: 1.5rem !important;
}
.row.g-4 > [class*="col-"] {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.row.g-4 > [class*="col-"] > .panel,
.row.g-4 > [class*="col-"] > .metric-card,
.row.g-4 > [class*="col-"] > .work-card,
.row.g-4 > [class*="col-"] > .pricing-card,
.row.g-4 > [class*="col-"] > .empty-state,
.row.g-4 > [class*="col-"] > .project-card,
.row.g-4 > [class*="col-"] > .layout-preview-card {
  height: 100%;
}
.panel,
.metric-card,
.work-card,
.pricing-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.panel:hover,
.metric-card:hover,
.work-card:hover,
.pricing-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 26px rgba(32, 44, 80, 0.075);
  border-color: #d9e0eb;
}
[data-theme="dark"] .panel:hover,
[data-theme="dark"] .metric-card:hover,
[data-theme="dark"] .work-card:hover,
[data-theme="dark"] .pricing-card:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  border-color: rgba(148, 163, 184, 0.26);
}
/* 05. Dashboard Widgets, Tables, Charts, and Timelines */
.metric-card {
  padding: 22px 22px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 150px;
  position: relative;
  overflow: hidden;
  border-color: #dbe2ec;
}
.metric-card > div {
  min-width: 0;
}
.metric-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -34px auto;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}
.metric-card.metric-success {
  background: linear-gradient(110deg, #eef8fa, #ffffff);
}
.metric-card.metric-primary {
  background: linear-gradient(110deg, #f4ecff, #ffffff);
}
.metric-card.metric-info {
  background: linear-gradient(110deg, #edf2ff, #ffffff);
}
.metric-card.metric-warning {
  background: linear-gradient(110deg, #fff0ee, #ffffff);
}
[data-theme="dark"] .metric-card.metric-success {
  background: linear-gradient(110deg, rgba(47, 149, 184, 0.2), var(--surface));
}
[data-theme="dark"] .metric-card.metric-primary {
  background: linear-gradient(110deg, rgba(138, 29, 242, 0.2), var(--surface));
}
[data-theme="dark"] .metric-card.metric-info {
  background: linear-gradient(110deg, rgba(82, 120, 255, 0.2), var(--surface));
}
[data-theme="dark"] .metric-card.metric-warning {
  background: linear-gradient(110deg, rgba(220, 38, 38, 0.18), var(--surface));
}
[data-theme="dark"] .metric-card::after,
[data-theme="dark"] .crm-kpi-card::after {
  background: rgba(255, 255, 255, 0.06);
}
.metric-card span,
.metric-card small {
  color: var(--muted);
  font-weight: 700;
}
.metric-card h3 {
  font-size: 31px;
  margin: 9px 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.metric-card small i {
  font-size: 10px;
}
.metric-card > i {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.bg-primary-soft {
  background: #8a1df2;
  color: #fff;
}
.bg-success-soft {
  background: #2f95b8;
  color: #fff;
}
.bg-info-soft {
  background: #5578f7;
  color: #fff;
}
.bg-warning-soft {
  background: #d92323;
  color: #fff;
}
.chart-lg {
  min-height: 340px;
  max-height: 380px;
}
.chart-md {
  min-height: 280px;
  max-height: 320px;
}
.dash-table {
  color: var(--text);
  margin-bottom: 0;
}
.dash-table th {
  color: var(--text);
  font-size: 13px;
  text-transform: none;
  border-color: var(--line);
  background: #f7f7f8;
  padding: 15px 18px;
}
.dash-table td {
  border-color: var(--line);
  padding: 16px 18px;
}
.dash-table .person-line,
.project-assignee-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}
.dash-table .person-line .rep-avatar,
.project-assignee-line .rep-avatar {
  flex: 0 0 30px;
  margin-right: 0;
}
.dash-table .person-line strong,
.dash-table .person-line span:last-child,
.project-assignee-line strong,
.project-assignee-line span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="dark"] .table,
[data-theme="dark"] .dash-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-border-color: var(--line);
}
[data-theme="dark"] .dash-table th {
  background: var(--surface-2);
  color: var(--text);
}
.status {
  border-radius: 999px;
  padding: 7px 22px;
  font-size: 12px;
  font-weight: 800;
}
.status.paid {
  color: #15803d;
  background: rgba(22, 163, 74, 0.12);
}
.status.pending {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
}
.status.overdue {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.12);
}
.timeline {
  display: grid;
  gap: 16px;
}
.timeline-item {
  display: flex;
  gap: 12px;
}
.timeline-item > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 7px;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
}
.timeline-item strong,
.timeline-item small {
  display: block;
}
.timeline-item small {
  color: var(--muted);
}
.legend-list {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}
.blue {
  background: var(--primary);
}
.green {
  background: var(--primary-2);
}
.amber {
  background: var(--warning);
}
.work-card,
.pricing-card,
.empty-state {
  padding: 22px;
}
.work-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.12);
  margin-bottom: 16px;
}
.progress {
  height: 8px;
  background: var(--surface-2);
  margin: 18px 0;
}
.avatar-stack {
  display: flex;
  flex: 0 0 auto;
}
.avatar-stack span {
  margin-right: -8px;
  border: 2px solid var(--surface);
}
/* 06. Projects, Tasks, Teams, Notifications, and Utility Cards */
.project-summary,
.task-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.summary-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.summary-tile i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
}
.summary-tile strong,
.summary-tile span {
  display: block;
}
.summary-tile strong {
  font-size: 28px;
  line-height: 1;
}
.summary-tile span {
  color: var(--muted);
  font-weight: 700;
  margin-top: 6px;
}
.summary-tile.blue i,
.roadmap-item.blue > span {
  background: #5278ff;
}
.summary-tile.green i,
.roadmap-item.green > span {
  background: #2fa84f;
}
.summary-tile.amber i,
.roadmap-item.amber > span {
  background: #f6a642;
}
.summary-tile.violet i,
.roadmap-item.violet > span {
  background: #8a1df2;
}
.local-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}
.local-search {
  max-width: 520px;
  width: 100%;
  flex: 1;
}
.local-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-weight: 750;
}
.filter-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.local-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 28px;
}
.local-empty i {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 10px;
}
.local-empty h2 {
  margin: 0 0 6px;
}
.project-card {
  overflow: hidden;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.project-cover {
  height: 118px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.project-cover::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -38px;
  top: -38px;
  background: rgba(255, 255, 255, 0.18);
}
.project-cover i {
  font-size: 30px;
  position: relative;
  z-index: 1;
}
.project-cover span {
  position: relative;
  z-index: 1;
  font-weight: 900;
}
.tone-1 {
  background: linear-gradient(135deg, #5278ff, #2fb6d0);
}
.tone-2 {
  background: linear-gradient(135deg, #8a1df2, #5278ff);
}
.tone-3 {
  background: linear-gradient(135deg, #2fa84f, #2fb6d0);
}
.tone-4 {
  background: linear-gradient(135deg, #f6a642, #dc2626);
}
.project-body {
  padding: 20px;
}
.project-meta,
.project-foot,
.project-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.project-meta span,
.project-foot small,
.project-progress span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.project-meta em {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  border-radius: 999px;
  padding: 5px 9px;
  color: #5278ff;
  background: #eef3ff;
}
.project-body h3,
.task-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.project-body p,
.task-card p {
  color: var(--muted);
  margin: 0;
}
.project-progress {
  margin: 18px 0;
}
.project-progress .progress,
.roadmap-item .progress {
  margin: 8px 0 0;
}
.project-board-panel {
  min-height: 100%;
}
.roadmap-list {
  display: grid;
  gap: 14px;
}
.roadmap-item {
  display: grid;
  grid-template-columns: 96px 1fr 52px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
}
[data-theme="dark"] .roadmap-item {
  background: var(--surface-2);
}
.roadmap-item > span {
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}
.roadmap-item strong {
  display: block;
}
.roadmap-item em {
  font-style: normal;
  color: var(--muted);
  font-weight: 900;
}
.team-card {
  height: 100%;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.team-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.team-card h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 900;
}
.team-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 800;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.team-tags span {
  color: var(--primary);
  background: rgba(82, 120, 255, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}
.team-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.team-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 11px;
  text-align: center;
}
.team-stats strong,
.team-stats span {
  display: block;
}
.team-stats strong {
  font-size: 18px;
  font-weight: 900;
}
.team-stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.team-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.team-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
[data-theme="dark"] .team-tags span {
  background: rgba(82, 120, 255, 0.2);
  color: #fff;
}
.task-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.task-column {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  min-height: 520px;
}
[data-theme="dark"] .task-column {
  background: var(--surface-2);
}
.task-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.task-column-head strong {
  font-size: 16px;
}
.task-column-head span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--muted);
  font-weight: 900;
}
.task-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(21, 23, 28, 0.06);
}
.task-card-top,
.task-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.task-card-top span,
.task-card-foot small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.task-card-top em {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  border-radius: 999px;
  padding: 5px 8px;
}
.task-card-top em.high {
  color: #dc2626;
  background: #fff0ee;
}
.task-card-top em.medium {
  color: #b7791f;
  background: #fff7df;
}
.task-card-top em.low {
  color: #2fa84f;
  background: #eaf8ee;
}
.task-card-foot {
  margin-top: 18px;
}
.kanban-hero,
.file-manager-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  background: linear-gradient(110deg, #ffffff, #f4f7ff);
}
.kanban-hero h2,
.file-manager-hero h2 {
  max-width: 760px;
  margin: 6px 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.12;
}
.kanban-hero p,
.file-manager-hero p {
  max-width: 720px;
  color: var(--muted);
}
[data-theme="dark"] .kanban-hero,
[data-theme="dark"] .file-manager-hero {
  background: linear-gradient(110deg, var(--surface), rgba(82, 120, 255, 0.12));
}
.kanban-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 10px;
  min-width: min(100%, 360px);
}
.kanban-meta span,
.storage-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(32, 44, 80, 0.05);
}
.kanban-meta strong,
.storage-card strong {
  display: block;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
}
.kanban-board .task-column {
  min-height: 610px;
}
.kanban-board {
  grid-template-columns: repeat(4, minmax(230px, 1fr));
}
.storage-card {
  min-width: min(100%, 300px);
}
.storage-card span,
.storage-card small {
  display: block;
}
.storage-card .mini-track {
  margin: 12px 0 8px;
}
.file-folder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.file-folder-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}
.file-folder-card > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(82, 120, 255, 0.12);
  font-size: 22px;
}
.file-folder-card strong,
.file-folder-card span {
  display: block;
}
.file-folder-card span,
.file-folder-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.upload-panel {
  display: flex;
  flex-direction: column;
}
.upload-drop {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 190px;
  padding: 24px;
  border: 1px dashed rgba(82, 120, 255, 0.35);
  border-radius: 8px;
  background: rgba(82, 120, 255, 0.07);
  text-align: center;
}
.upload-drop i {
  color: var(--primary);
  font-size: 34px;
}
.upload-drop span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.file-type-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.file-type-list span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.file-type-list i {
  color: var(--primary);
  font-size: 20px;
}
.file-type-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.layout-preview-card {
  height: 100%;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.layout-preview-card h3 {
  margin: 18px 0 6px;
  font-size: 19px;
  font-weight: 900;
}
.layout-preview-card p {
  color: var(--muted);
  min-height: 48px;
}
.layout-preview {
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
  position: relative;
  overflow: hidden;
}
.layout-preview::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 48px;
  background: #fff;
  border-right: 1px solid var(--line);
}
.layout-preview::after {
  content: "";
  position: absolute;
  left: 64px;
  right: 16px;
  top: 18px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.layout-preview i {
  position: absolute;
  left: 14px;
  top: 16px;
  z-index: 1;
  color: #5278ff;
}
.layout-preview span {
  position: absolute;
  left: 64px;
  right: 18px;
  height: 20px;
  border-radius: 6px;
  background: #e9eef8;
}
[data-theme="dark"] .layout-preview {
  background: var(--surface-2);
}
[data-theme="dark"] .layout-preview::before,
[data-theme="dark"] .layout-preview::after {
  background: var(--surface);
}
[data-theme="dark"] .layout-preview span {
  background: rgba(148, 163, 184, 0.18);
}
.layout-preview span:nth-of-type(1) {
  top: 64px;
  width: 62%;
}
.layout-preview span:nth-of-type(2) {
  top: 94px;
  width: 80%;
}
.layout-preview span:nth-of-type(3) {
  top: 124px;
  width: 46%;
}
.layout-preview.horizontal::before {
  inset: 0 0 auto 0;
  width: auto;
  height: 42px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.layout-preview.horizontal::after {
  top: 58px;
  left: 18px;
}
.layout-preview.horizontal i {
  left: 18px;
  top: 12px;
}
.layout-preview.detached::before {
  inset: 16px auto 16px 16px;
  width: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.layout-preview.two-column::before {
  width: 34px;
}
.layout-preview.two-column i {
  left: 9px;
}
.layout-preview.two-column::after {
  left: 78px;
}
.layout-preview.two-column span {
  left: 78px;
}
.layout-preview.hovered::before {
  width: 32px;
}
.layout-preview.hovered i {
  left: 8px;
}
/* 07. Component Library Pages */
.component-nav-menu {
  max-height: min(70vh, 620px);
  overflow-y: auto;
}
.component-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
}
.component-jump a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 800;
}
.component-jump a:hover {
  color: var(--primary);
  border-color: rgba(82, 120, 255, 0.4);
}
.component-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.component-index-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.component-index-card:hover {
  color: var(--text);
  border-color: rgba(82, 120, 255, 0.4);
  box-shadow: 0 14px 30px rgba(32, 44, 80, 0.1);
  transform: translateY(-2px);
}
.component-index-card > i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(82, 120, 255, 0.1);
  font-size: 18px;
}
.component-index-card span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.component-index-card strong {
  font-size: 14px;
}
.component-index-card small {
  color: var(--muted);
  line-height: 1.4;
}
.component-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.component-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.component-showcase .component-demo:first-child {
  grid-column: 1 / -1;
}
.component-showcase .component-demo {
  min-height: 100%;
}
.component-single {
  max-width: 980px;
}
.component-single .component-demo {
  width: 100%;
}
.component-demo {
  scroll-margin-top: 24px;
  min-width: 0;
}
.component-demo .panel-head {
  margin-bottom: 18px;
}
.component-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.component-card,
.component-demo .card,
.component-demo .list-group-item,
.component-demo .accordion-item {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line);
}
.component-demo .accordion-button {
  color: var(--text);
  background: var(--surface-2);
  box-shadow: none;
}
.component-demo .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(82, 120, 255, 0.1);
}
.component-slide {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #fff;
  border-radius: 8px;
}
.component-slide strong {
  font-size: 26px;
}
.component-slide-caption {
  min-height: 260px;
  padding: 32px;
  text-align: center;
}
.type-stack > * {
  margin-bottom: 14px;
}
.modal-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: 0 18px 45px rgba(32, 44, 80, 0.12);
}
.modal-preview .modal-content {
  border: 0;
  box-shadow: none;
}
.offcanvas-preview {
  max-width: 360px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.offcanvas {
  z-index: 1305;
}
.offcanvas-backdrop {
  z-index: 1300;
}
.breadcrumb-chevron .breadcrumb-item + .breadcrumb-item::before {
  content: "\F285";
  font-family: bootstrap-icons;
  font-size: 11px;
}
.component-navbar {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--surface-2);
}
.component-navbar .navbar-toggler {
  border-color: var(--line);
}
[data-theme="dark"] .component-navbar .navbar-toggler-icon {
  filter: invert(1);
}
.component-tab-content {
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: var(--surface-2);
}
.component-progress-list {
  display: grid;
  gap: 18px;
}
.component-progress-list > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-weight: 800;
}
.component-progress-list .progress {
  height: 20px;
  margin: 0;
}
.component-scrollspy {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
}
.component-scrollspy .nav {
  align-content: start;
  gap: 5px;
}
.component-scrollspy-body {
  position: relative;
  height: 210px;
  overflow-y: auto;
  padding: 4px 14px;
  border-left: 1px solid var(--line);
}
.component-scrollspy-body h3 {
  margin: 8px 0;
  font-size: 18px;
}
.component-scrollspy-body p {
  min-height: 90px;
  color: var(--muted);
}
.component-page {
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: -0.005em;
}
.component-page h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
}
.component-page .page-title p {
  max-width: 700px;
  font-size: 14px;
  line-height: 1.65;
}
.component-page .eyebrow,
.component-page .component-jump a {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.component-page .panel {
  border-color: #e4e9f1;
  box-shadow: 0 5px 18px rgba(32, 44, 80, 0.045);
}
.component-page .panel:hover {
  transform: none;
  border-color: #dce3ed;
  box-shadow: 0 8px 24px rgba(32, 44, 80, 0.065);
}
.component-page .panel h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.component-page .panel-head p {
  font-size: 13px;
  line-height: 1.55;
}
.component-page .btn,
.component-page .nav-link,
.component-page .dropdown-item {
  font-weight: 600;
}
.component-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.accordion-showcase .accordion-feature {
  grid-column: 1 / -1;
}
.accordion-clean {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-color: #263875;
  --bs-accordion-active-bg: #f7f8fc;
}
.accordion-clean .accordion-item {
  overflow: hidden;
  background: transparent;
  border-color: var(--line);
}
.component-page .accordion-clean .accordion-button {
  min-height: 54px;
  padding: 15px 18px;
  color: #1e293b;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.component-page .accordion-clean .accordion-button:not(.collapsed) {
  color: #263875;
  background: #f7f8fc;
  box-shadow: inset 0 -1px 0 var(--line);
}
.accordion-clean .accordion-button::after {
  width: 15px;
  height: 15px;
  background-size: 15px;
  opacity: 0.72;
}
.component-page .accordion-clean .accordion-body {
  padding: 17px 18px 19px;
  color: #647084;
  background: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.72;
}
.accordion-separated {
  display: grid;
  gap: 10px;
}
.accordion-separated .accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
}
.accordion-icons .accordion-button {
  gap: 11px;
}
.accordion-title-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid #dce4ff;
  border-radius: 7px;
  color: var(--primary);
  background: #f5f7ff;
}
.accordion-numbered .accordion-button {
  gap: 13px;
}
.accordion-numbered .accordion-button > span {
  color: #8b96a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.accordion-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.accordion-faq .accordion-item {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
}
[data-theme="dark"] .component-page .panel {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}
[data-theme="dark"] .accordion-clean .accordion-button,
[data-theme="dark"] .accordion-clean .accordion-body {
  color: var(--text);
  background: var(--surface-2);
}
[data-theme="dark"] .accordion-clean .accordion-button:not(.collapsed) {
  color: #a9bbff;
  background: rgba(82, 120, 255, 0.11);
}
[data-theme="dark"] .accordion-title-icon {
  border-color: rgba(82, 120, 255, 0.3);
  background: rgba(82, 120, 255, 0.12);
}

/* 09. Invoice, Pricing, Profile, and Settings Pages */
.invoice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.invoice-document {
  padding: 0;
  overflow: hidden;
}
.invoice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, #ffffff, #f5f8ff);
}
[data-theme="dark"] .invoice-top {
  background: linear-gradient(110deg, var(--surface), rgba(82, 120, 255, 0.12));
}
.invoice-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.invoice-brand strong,
.invoice-brand small {
  display: block;
  line-height: 1.1;
}
.invoice-brand strong {
  font-size: 22px;
  font-weight: 900;
}
.invoice-brand small {
  color: var(--muted);
  font-weight: 700;
}
.invoice-title {
  text-align: right;
}
.invoice-title h2 {
  margin: 10px 0 0;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
}
.invoice-title p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}
.invoice-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  padding: 34px;
  border-bottom: 1px solid var(--line);
}
.invoice-hero strong {
  display: block;
  margin: 4px 0 4px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}
.invoice-hero p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.invoice-meta-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}
.invoice-meta-card span,
.invoice-party-grid h3,
.invoice-note h3 {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.invoice-meta-card strong {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0;
}
.invoice-meta-card strong:last-child {
  margin-bottom: 0;
}
.invoice-party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 30px 34px;
  border-bottom: 1px solid var(--line);
}
.invoice-party-grid section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
}
[data-theme="dark"] .invoice-party-grid section,
[data-theme="dark"] .invoice-meta-card {
  background: var(--surface-2);
}
.invoice-party-grid strong {
  display: block;
  margin: 8px 0 8px;
  font-size: 17px;
  font-weight: 900;
}
.invoice-party-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.invoice-items {
  padding: 30px 34px;
  border-bottom: 1px solid var(--line);
}
.invoice-items table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.invoice-items th {
  color: var(--text);
  background: #f7f7f8;
  padding: 15px 18px;
  font-size: 13px;
  font-weight: 900;
}
.invoice-items td {
  padding: 18px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-weight: 800;
}
.invoice-items th:not(:first-child),
.invoice-items td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}
.invoice-items td strong,
.invoice-items td span {
  display: block;
}
.invoice-items td span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
[data-theme="dark"] .invoice-items th {
  background: var(--surface-2);
}
.invoice-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  padding: 30px 34px 34px;
}
.invoice-note {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}
.invoice-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}
.invoice-totals {
  display: grid;
  gap: 11px;
}
.invoice-totals div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}
.invoice-totals strong {
  color: var(--text);
}
.invoice-totals .grand-total {
  margin-top: 5px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 18px;
}
.invoice-totals .grand-total strong {
  font-size: 24px;
  color: var(--primary);
}
.invoice-side {
  position: sticky;
  top: 102px;
}
.invoice-side-block {
  margin-bottom: 22px;
}
.invoice-side-block h2 {
  margin: 14px 0 8px;
  font-size: 22px;
  font-weight: 900;
}
.invoice-side-block p {
  color: var(--muted);
  margin: 0;
  font-weight: 700;
}
.invoice-status-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.invoice-status-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.invoice-status-list div:last-child {
  border-bottom: 0;
}
.invoice-status-list span {
  color: var(--muted);
  font-weight: 800;
}
.invoice-status-list strong {
  text-align: right;
}
.invoice-actions {
  display: grid;
  gap: 10px;
}
.pricing-card.featured {
  border-color: var(--primary);
  transform: translateY(-8px);
}
.pricing-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  background: linear-gradient(110deg, #ffffff, #f4f7ff);
}
[data-theme="dark"] .pricing-intro {
  background: linear-gradient(110deg, var(--surface), rgba(82, 120, 255, 0.12));
}
.pricing-intro h2 {
  margin: 5px 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
}
.pricing-intro p {
  max-width: 760px;
}
.billing-toggle {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}
.billing-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  padding: 10px 14px;
  font-weight: 900;
  white-space: nowrap;
}
.billing-toggle button.active {
  color: var(--primary);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}
.billing-toggle span {
  color: var(--success);
  font-size: 11px;
}
.pricing-grid .pricing-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}
.pricing-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.pricing-card-head h2 {
  margin: 0 0 4px;
}
.plan-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-size: 22px;
  box-shadow: 0 14px 28px rgba(82, 120, 255, 0.2);
}
.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
[dir="rtl"] .popular-badge {
  right: auto;
  left: 18px;
}
.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 20px;
}
.plan-meta span {
  color: var(--primary);
  background: rgba(82, 120, 255, 0.1);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}
.price {
  font-size: 42px;
  font-weight: 900;
  margin: 18px 0;
}
.price span {
  font-size: 14px;
  color: var(--muted);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
  color: var(--muted);
}
.pricing-card li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}
.pricing-card li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: rgba(47, 168, 79, 0.14);
  box-shadow: inset 0 0 0 1px rgba(47, 168, 79, 0.22);
}
.pricing-card li::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 5px;
  margin-left: 5px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}
[dir="rtl"] .pricing-card li::after {
  margin-left: 0;
  margin-right: 5px;
}
.empty-state {
  text-align: center;
  min-height: 330px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
}
.empty-state i {
  font-size: 46px;
  color: var(--primary);
}
/* 10. Authentication and Utility Pages */
.auth-layout {
  min-height: 100vh;
  background: radial-gradient(
      circle at top left,
      rgba(82, 120, 255, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(47, 182, 208, 0.16),
      transparent 30%
    ),
    var(--bg);
}
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}
.auth-split-page {
  grid-template-columns: minmax(340px, 560px) minmax(340px, 460px);
  gap: 28px;
  align-items: stretch;
}
.auth-showcase,
.auth-card,
.auth-visual,
.utility-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(223, 229, 239, 0.9);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(21, 23, 28, 0.14);
  backdrop-filter: blur(18px);
}
[data-theme="dark"] .auth-showcase,
[data-theme="dark"] .auth-card,
[data-theme="dark"] .auth-visual,
[data-theme="dark"] .utility-card {
  background: rgba(17, 24, 39, 0.82);
  border-color: var(--line);
}
.auth-showcase {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  color: #fff;
  background: linear-gradient(135deg, #5278ff 0%, #2fb6d0 58%, #8a1df2 100%);
}
.auth-showcase::after,
.auth-visual::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.auth-showcase .brand,
.auth-showcase .eyebrow,
.auth-showcase p {
  color: rgba(255, 255, 255, 0.82);
}
.auth-showcase h2 {
  position: relative;
  max-width: 480px;
  margin: 12px 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 900;
}
.auth-showcase p {
  position: relative;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.7;
}
.auth-proof {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.auth-proof span {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}
.auth-proof strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 24px;
}
.auth-card {
  width: min(100%, 460px);
  padding: 34px;
}
.auth-form-card {
  align-self: center;
}
.auth-brand {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}
.auth-card h1 {
  font-size: 34px;
}
.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.auth-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}
.auth-links a,
.auth-options a {
  color: var(--primary);
}
.utility-page {
  grid-template-columns: minmax(420px, 880px) minmax(320px, 420px);
  gap: 28px;
  align-items: stretch;
}
.auth-visual {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}
.auth-visual .auth-brand {
  align-self: flex-start;
  margin-bottom: 34px;
}
.auth-visual .auth-brand strong {
  color: var(--text);
}
.auth-visual .auth-brand small {
  color: var(--muted);
}
.auth-visual h1 {
  position: relative;
  margin: 18px 0 12px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.auth-visual p {
  position: relative;
  max-width: 580px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
[data-theme="dark"] .auth-visual .auth-brand strong {
  color: var(--text);
}
[data-theme="dark"] .auth-visual .auth-brand small {
  color: var(--muted);
}
.error-code {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--primary);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(76px, 13vw, 160px);
  line-height: 0.85;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.error-code i {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-size: 48px;
  box-shadow: 0 18px 48px rgba(82, 120, 255, 0.32);
}
.auth-actions,
.auth-inline-form {
  position: relative;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.auth-inline-form {
  max-width: 540px;
}
.auth-inline-form .form-control {
  flex: 1 1 260px;
  min-height: 48px;
}
.utility-card {
  align-self: center;
  display: grid;
  gap: 12px;
  padding: 24px;
}
.utility-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.utility-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font-weight: 800;
}
.utility-card a:hover {
  color: var(--primary);
  border-color: rgba(82, 120, 255, 0.4);
}
.utility-card a i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
}
.launch-badge {
  position: relative;
  z-index: 1;
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: rgba(82, 120, 255, 0.12);
  border: 1px solid rgba(82, 120, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
}
.countdown {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0;
  max-width: 640px;
}
.countdown span {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
}
.countdown b {
  display: block;
  color: var(--text);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
}
.countdown small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.auth-cover-page {
  width: 100%;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 620px);
  gap: 0;
  align-items: stretch;
  justify-items: stretch;
  place-items: stretch;
  padding: 0;
  background: var(--surface);
}
.auth-cover-visual {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  color: #fff;
  background: radial-gradient(
      circle at 24% 22%,
      rgba(255, 255, 255, 0.2),
      transparent 28%
    ),
    linear-gradient(135deg, #12DA9D 0%, #1B4942 52%, #1B4942 100%);
}
.auth-cover-visual::before {
  content: "";
  position: absolute;
  inset: 74px 10% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.auth-cover-visual::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.auth-cover-visual .brand,
.auth-cover-visual .brand strong,
.auth-cover-visual .brand small,
.auth-cover-visual .eyebrow,
.auth-cover-copy p {
  color: rgba(255, 255, 255, 0.9);
}
.auth-cover-visual .brand-mark {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}
.auth-cover-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.auth-cover-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.auth-cover-copy p {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.7;
}
.auth-device {
  position: relative;
  z-index: 2;
  width: min(92%, 720px);
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(18px);
  transform: rotate(-2deg);
}
.auth-device-top {
  display: flex;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.auth-device-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}
.auth-device-body {
  display: grid;
  grid-template-columns: 84px 1fr;
  min-height: 360px;
  padding: 18px;
  gap: 18px;
}
.auth-device aside {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}
.auth-device aside i {
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
}
.auth-device-screen {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 16px;
}
.auth-chart {
  min-height: 168px;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0.12)
  );
  position: relative;
  overflow: hidden;
}
.auth-chart::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 42px;
  height: 72px;
  border: solid rgba(255, 255, 255, 0.76);
  border-width: 0 0 5px 0;
  border-radius: 50%;
  transform: skewX(-10deg);
}
.auth-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
  height: 86px;
}
.auth-bars i {
  border-radius: 8px 8px 4px 4px;
  background: rgba(255, 255, 255, 0.34);
}
.auth-bars i:nth-child(1) {
  height: 44%;
}
.auth-bars i:nth-child(2) {
  height: 72%;
}
.auth-bars i:nth-child(3) {
  height: 56%;
}
.auth-bars i:nth-child(4) {
  height: 88%;
}
.auth-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.auth-mini-grid span {
  height: 72px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}
.auth-form-panel {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 58px;
  background: var(--surface);
}
.auth-form-wrap {
  width: min(100%, 500px);
}
.auth-form-brand {
  display: flex;
  margin-bottom: 34px;
}
.auth-form-brand img {
  width: 250px;
}
.auth-form-wrap h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.auth-form-wrap > p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.7;
}
.auth-form-wrap .form-label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}
.auth-form-wrap .form-control {
  min-height: 54px;
  background: var(--surface-2);
  font-size: 15px;
}
.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  margin: 2px 0 18px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 24px 0 16px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.auth-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.auth-social button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
}
.auth-social button:hover {
  color: var(--primary);
  border-color: rgba(82, 120, 255, 0.38);
}
[data-theme="dark"] .auth-cover-page,
[data-theme="dark"] .auth-form-panel {
  background: var(--surface);
}
.soft-dropdown {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(21, 23, 28, 0.14);
  padding: 8px;
  min-width: 220px;
  z-index: 1200;
}
[data-theme="dark"] .soft-dropdown {
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36);
}
.topbar-actions > .dropdown-menu {
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
}
.layout-dropdown-wrap .dropdown-menu {
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
}
.topbar-actions .dropdown-item {
  border-radius: 7px;
  padding: 9px 11px;
  font-weight: 700;
}
.topbar-actions .dropdown-item:hover {
  background: #eef3ff;
  color: #5278ff;
}
.notification-menu {
  width: min(92vw, 440px);
  padding: 0;
  overflow: hidden;
}
.notification-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.notification-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  flex: 1;
}
.notification-head span {
  color: #6c63ee;
  background: #ece9ff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 800;
}
.notification-head a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--text);
  font-size: 20px;
}
.notification-list {
  display: grid;
}
.notification-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 14px;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  color: inherit;
}
.notification-item:hover {
  background: #f7f9fc;
}
.notification-item strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}
.notification-item p {
  margin: 6px 0 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.notification-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.notification-item > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6c63ee;
  align-self: center;
}
.notify-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
}
.notify-avatar.photo {
  color: #fff;
  background: linear-gradient(135deg, #6c63ee, #9a8cff);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.28);
}
.notify-avatar.photo.alt {
  background: linear-gradient(135deg, #a7c7e7, #f4c7d8);
}
.notify-avatar.initials {
  color: #ef5350;
  background: #ffe1e1;
}
.notify-avatar.icon {
  color: #2fa84f;
  background: #e4f8ea;
  font-size: 20px;
}
.notification-action {
  display: block;
  margin: 18px 22px 22px;
  text-align: center;
  color: #fff;
  background: #6c63ee;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(108, 99, 238, 0.28);
}
.notification-action:hover {
  color: #fff;
  background: #5b52df;
}
.profile-menu {
  width: min(92vw, 320px);
  padding: 0;
  overflow: hidden;
}
.profile-menu-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.profile-menu-head h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
}
.profile-menu-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}
.profile-menu-list {
  display: grid;
  padding: 14px 22px;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.profile-menu-list.secondary {
  border-bottom: 0;
  padding-bottom: 12px;
}
.profile-menu-list a {
  min-height: 48px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
}
.profile-menu-list a:hover {
  background: #f7f9fc;
  color: #6c63ee;
}
.profile-menu-list a i {
  font-size: 22px;
  color: var(--muted);
}
.profile-menu-list a span {
  font-size: 18px;
  font-weight: 700;
}
.profile-menu-list a em {
  min-width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #f25555;
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
}
.profile-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 20px;
  color: #fff;
  background: #f25555;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(242, 85, 85, 0.26);
}
.profile-logout:hover {
  color: #fff;
  background: #e94848;
}
[data-theme="dark"] .topbar-actions .dropdown-item,
[data-theme="dark"] .horizontal-menu .dropdown-item {
  color: var(--text);
}
[data-theme="dark"] .topbar-actions .dropdown-item:hover,
[data-theme="dark"] .topbar-actions .dropdown-item.active,
[data-theme="dark"] .notification-item:hover,
[data-theme="dark"] .profile-menu-list a:hover {
  background: rgba(82, 120, 255, 0.22);
  color: #fff;
}
[data-theme="dark"] .notification-head span {
  background: rgba(108, 99, 238, 0.18);
}
[data-theme="dark"] .notify-avatar.initials {
  background: rgba(239, 83, 80, 0.16);
}
[data-theme="dark"] .notify-avatar.icon {
  background: rgba(47, 168, 79, 0.16);
}
.form-control,
.form-select {
  background-color: var(--surface-2);
  color: var(--text);
  border-color: var(--line);
  border-radius: 8px;
}
.form-control::placeholder {
  color: var(--muted);
  opacity: 0.82;
}
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background-color: var(--surface-2);
  color: #fff;
  border-color: var(--line);
}
[data-theme="dark"] .form-control::placeholder {
  color: rgba(255, 255, 255, 0.58);
}
.form-check-input {
  border-color: #c6cfdd;
  background-color: var(--surface);
  box-shadow: none;
  cursor: pointer;
}
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: none;
}
[data-theme="dark"] .form-check-input {
  background-color: var(--surface-2);
  border-color: #43506a;
}
[data-theme="dark"] .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
[data-theme="dark"] .form-switch .form-check-input:not(:checked) {
  background-image: none;
}
.sidebar-backdrop {
  display: none;
  opacity: 0;
  transition: opacity 0.26s ease;
}
.mini-rail {
  display: none;
  position: fixed;
  inset: 0 auto 0 0;
  width: 76px;
  padding: 18px 12px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  z-index: 1039;
  box-shadow: 8px 0 26px rgba(21, 23, 28, 0.04);
}
.mini-rail a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  margin-bottom: 10px;
}
.mini-rail a:hover {
  color: #5278ff;
  background: #eef3ff;
}
.layout-nav-horizontal {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 10px 30px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(21, 23, 28, 0.04);
  overflow: visible;
  position: relative;
  z-index: 1010;
}
.layout-nav-horizontal .nav-link {
  margin: 0;
  white-space: nowrap;
}
.horizontal-dropdown {
  position: relative;
  flex: 0 0 auto;
}
.horizontal-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.horizontal-dropdown > .nav-link {
  border: 0;
  background: transparent;
}
.horizontal-dropdown > .nav-link > .bi-chevron-down {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.horizontal-menu {
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  min-width: 230px;
}
.horizontal-dropdown:hover > .horizontal-menu,
.horizontal-dropdown.is-hovering > .horizontal-menu {
  display: block;
}
.horizontal-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  padding: 10px 12px;
  font-weight: 800;
}
.horizontal-menu .dropdown-item i {
  color: #5278ff;
}
.horizontal-menu .dropdown-item.active,
.horizontal-menu .dropdown-item:hover {
  background: #eef3ff;
  color: #5278ff;
}
[data-theme="dark"] .horizontal-menu .dropdown-item.active,
[data-theme="dark"] .horizontal-menu .dropdown-item:hover {
  background: rgba(82, 120, 255, 0.22);
  color: #fff;
}
[data-theme="dark"] .horizontal-dropdown > .nav-link.active {
  color: #fff;
}
.dash-modal {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.dash-modal .modal-header,
.dash-modal .modal-footer {
  border-color: var(--line);
}
.dash-modal .modal-title {
  margin: 4px 0 0;
  font-weight: 900;
}
.command-modal {
  --bs-modal-width: min(92vw, 980px);
}
.command-modal .modal-dialog {
  align-items: flex-start;
  padding-top: 6vh;
}
.command-modal .modal-backdrop,
.modal-backdrop.show {
  opacity: 0.42;
}
.command-panel {
  overflow: hidden;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}
.command-head {
  min-height: 88px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}
.command-head > i {
  color: #4b4658;
  font-size: 28px;
}
.command-head input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}
.command-head input::placeholder {
  color: #a2a0aa;
  opacity: 1;
}
.command-head span {
  color: #a2a0aa;
  font-size: 20px;
  font-weight: 800;
}
.command-head button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4b4658;
  font-size: 24px;
}
.command-head button:hover {
  background: var(--surface-2);
}
.command-body {
  max-height: min(68vh, 720px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 58px;
  padding: 64px 86px 72px;
}
.command-group h3 {
  margin: 0 0 20px;
  color: #a2a0aa;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.command-list {
  display: grid;
  gap: 10px;
}
.command-list a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #3d3948;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 20px;
  font-weight: 700;
}
.command-list a:hover,
.command-list a.active {
  color: var(--primary);
  background: rgba(82, 120, 255, 0.1);
}
.command-list a i {
  width: 28px;
  text-align: center;
  color: currentColor;
  font-size: 21px;
}
.command-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}
.command-empty i {
  color: var(--primary);
  font-size: 34px;
}
.command-empty h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
}
.command-empty p {
  margin: 0;
}
[data-theme="dark"] .command-panel {
  background: var(--surface);
}
[data-theme="dark"] .command-head > i,
[data-theme="dark"] .command-head button,
[data-theme="dark"] .command-head input {
  color: #fff;
}
[data-theme="dark"] .command-head input::placeholder,
[data-theme="dark"] .command-head span,
[data-theme="dark"] .command-group h3 {
  color: rgba(255, 255, 255, 0.56);
}
[data-theme="dark"] .command-list a {
  color: rgba(255, 255, 255, 0.86);
}
[data-theme="dark"] .command-list a:hover,
[data-theme="dark"] .command-list a.active {
  color: #fff;
  background: rgba(82, 120, 255, 0.22);
}
.dash-toast {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.dash-toast .toast-header {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--line);
}
.executive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-bottom: 24px;
}
.executive-card,
.commerce-hero {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  border-radius: 8px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, #5278ff 0%, #2fb6d0 100%);
  box-shadow: 0 18px 46px rgba(82, 120, 255, 0.22);
}
.executive-card::after,
.commerce-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.executive-card h2,
.commerce-hero h2 {
  position: relative;
  max-width: 760px;
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}
.executive-card p,
.commerce-hero p {
  position: relative;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}
.executive-card .eyebrow,
.commerce-hero .eyebrow {
  color: #a7f3d0;
}
.hero-actions {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}
.hero-stat {
  position: relative;
  min-width: 220px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}
.hero-stat small,
.hero-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}
.hero-stat strong {
  display: block;
  margin: 8px 0;
  font-size: 38px;
  line-height: 1;
}
.goal-card {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.goal-card > span {
  color: var(--muted);
  font-weight: 800;
}
.goal-ring {
  --value: 65;
  width: 150px;
  height: 150px;
  margin: 18px 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--surface) 72%, transparent 73%),
    conic-gradient(
      var(--primary) calc(var(--value) * 1%),
      rgba(148, 163, 184, 0.16) 0
    );
  color: var(--text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

/* 12. Shared Typography and Surface Refinements */
/* Shared lighter typography and surfaces across dashboard pages. */
.brand strong,
.nav-accordion-toggle,
.nav-link,
.horizontal-menu .dropdown-item,
.layout-btn,
.command-search-trigger span,
.sidebar-layout-switch button,
.btn,
.dropdown-item,
.form-label,
.table th {
  font-weight: 600;
}
.panel h2,
.panel h3,
.work-card h3,
.pricing-card h2,
.project-body h3,
.task-card h3,
.team-card h3,
.layout-preview-card h3,
.calendar-toolbar h2,
.fallback-calendar-toolbar h3,
.chat-sidebar-head h2,
.chat-profile h2,
.shared-files h3,
.customer-identity h2,
.customer-contact h3,
.customer-health h3,
.invoice-title h2,
.invoice-side-block h2,
.pricing-intro h2,
.notification-head h3,
.profile-menu-head h3,
.dash-modal .modal-title,
.faq-feature h2,
.faq-contact-card h3,
.executive-card h2,
.commerce-hero h2,
.auth-showcase h2,
.auth-visual h1,
.auth-cover-copy h2,
.auth-form-wrap h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
}
.project-meta span,
.project-foot small,
.project-progress span,
.task-card-top span,
.task-card-foot small,
.chat-contact small,
.chat-contact em,
.message-row small,
.chat-profile p,
.chat-profile-meta span,
.shared-files em,
.mail-item small,
.invoice-title p,
.invoice-items td,
.invoice-totals div,
.invoice-status-list span,
.notification-item small,
.profile-menu-head p {
  font-weight: 500;
}
.filter-meta,
.calendar-legend,
.calendar-library-panel .fc .fc-col-header-cell,
.calendar-library-panel .fc .fc-daygrid-day-number,
.fallback-calendar-head,
.calendar-day.head,
.calendar-day > span,
.agenda-item > span,
.chat-tabs button,
.chat-presence,
.chat-context span,
.invoice-meta-card span,
.invoice-party-grid h3,
.invoice-note h3,
.invoice-items th,
.billing-toggle button,
.command-group h3,
.faq-release-card span {
  font-weight: 600;
}
.panel,
.metric-card,
.work-card,
.pricing-card,
.auth-card,
.empty-state,
.project-card,
.task-card,
.team-card,
.layout-preview-card {
  border-color: #e4e9f1;
  box-shadow: 0 5px 18px rgba(32, 44, 80, 0.05);
}
[data-theme="dark"] .panel,
[data-theme="dark"] .metric-card,
[data-theme="dark"] .work-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .auth-card,
[data-theme="dark"] .empty-state,
[data-theme="dark"] .project-card,
[data-theme="dark"] .task-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .layout-preview-card {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}
[data-layout="horizontal"] .sidebar,
[data-layout="horizontal"] .mini-rail {
  display: none;
}
[data-layout="horizontal"] .main {
  margin-left: 0;
}
[data-layout="horizontal"] .layout-nav-horizontal {
  display: flex;
}
[data-layout="horizontal"] .topbar {
  min-height: 76px;
}
[data-layout="horizontal"] .topbar-brand {
  display: inline-flex;
}
[data-layout="detached"] .sidebar {
  inset: 18px auto 18px 18px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(21, 23, 28, 0.12);
}
[data-layout="detached"] .main {
  margin-left: 316px;
}
[data-layout="detached"] .topbar {
  margin: 18px 18px 0 0;
  border-radius: 8px;
  border: 1px solid var(--line);
}
[data-layout="two-column"] .mini-rail {
  display: block;
}
[data-layout="two-column"] .sidebar {
  left: 76px;
  width: 244px;
}
[data-layout="two-column"] .main {
  margin-left: 320px;
}
[data-layout="hovered"] .sidebar {
  width: 86px;
  overflow-x: hidden;
  padding-inline: 14px;
}
[data-layout="hovered"] .sidebar:hover {
  width: 280px;
  padding-inline: 18px;
  box-shadow: 12px 0 34px rgba(21, 23, 28, 0.12);
}
[data-layout="hovered"] .main {
  margin-left: 86px;
}
[data-layout="hovered"] .brand {
  justify-content: center;
}
[data-layout="hovered"] .brand div {
  opacity: 0;
  pointer-events: none;
  width: 0;
  overflow: hidden;
  transition: opacity 0.16s ease;
}
[data-layout="hovered"] .nav-accordion-toggle {
  justify-content: center;
  padding: 10px 0;
  width: 56px;
  margin-inline: auto;
}
[data-layout="hovered"] .nav-accordion-toggle > span {
  opacity: 1;
  pointer-events: auto;
  width: 46px;
  overflow: visible;
  justify-content: center;
  gap: 0;
  font-size: 0;
  transition: width 0.16s ease, gap 0.16s ease, font-size 0.16s ease;
}
[data-layout="hovered"] .nav-accordion-toggle > span > i {
  opacity: 1;
  width: 38px;
  height: 38px;
  font-size: 16px;
  margin: 0;
}
[data-layout="hovered"] .nav-accordion-toggle > i {
  display: none;
}
[data-layout="hovered"] .nav-accordion-panel {
  display: none;
  padding-left: 0;
}
[data-layout="hovered"] .nav-accordion.open > .nav-accordion-panel {
  display: none;
}
[data-layout="hovered"] .sidebar:hover .brand {
  justify-content: flex-start;
}
[data-layout="hovered"] .sidebar:hover .brand div {
  opacity: 1;
  pointer-events: auto;
  width: auto;
  overflow: visible;
}
[data-layout="hovered"] .sidebar:hover .nav-accordion-toggle > span {
  width: auto;
  justify-content: flex-start;
  gap: 11px;
  font-size: inherit;
}
[data-layout="hovered"] .sidebar:hover .nav-accordion-toggle {
  width: 100%;
  justify-content: space-between;
  padding: 10px 12px;
  margin-inline: 0;
}
[data-layout="hovered"] .sidebar:hover .nav-accordion-toggle > i {
  display: block;
}
[data-layout="hovered"] .sidebar:hover .nav-accordion-toggle > span > i {
  width: 22px;
  height: 22px;
  font-size: 12px;
}
[data-layout="hovered"]
  .sidebar:hover
  .nav-accordion.open
  > .nav-accordion-panel {
  display: block;
  padding-left: 16px;
}
[dir="rtl"] .sidebar {
  left: auto;
  right: 0;
}
[dir="rtl"] .main {
  margin-left: 0;
  margin-right: 280px;
}
[dir="rtl"] .topbar-actions {
  margin-left: 0;
  margin-right: auto;
}
[dir="rtl"] .search,
[dir="rtl"] .command-search-trigger {
  text-align: right;
}
[dir="rtl"] .nav-accordion-panel {
  padding: 5px 16px 8px 0;
}
[dir="rtl"] .sidebar-layout-switch button {
  text-align: right;
}
[dir="rtl"] .nav-link:hover,
[dir="rtl"] .nav-link.active {
  box-shadow: none;
}
[dir="rtl"] .topbar-actions > .dropdown-menu {
  right: auto !important;
  left: 0 !important;
}
[dir="rtl"] .layout-dropdown-wrap .dropdown-menu {
  left: auto !important;
  right: 0 !important;
}
[dir="rtl"] .horizontal-menu {
  left: auto !important;
  right: 0 !important;
  text-align: right;
}
[dir="rtl"] .horizontal-menu .dropdown-item,
[dir="rtl"] .layout-menu .dropdown-item {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
[dir="rtl"] .notification-menu,
[dir="rtl"] .profile-menu {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .notification-head,
[dir="rtl"] .profile-menu-head {
  text-align: right;
}
[dir="rtl"] .notification-item {
  grid-template-columns: 54px minmax(0, 1fr) 14px;
  text-align: right;
}
[dir="rtl"] .profile-menu-list a {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  text-align: right;
}
[dir="rtl"] .profile-logout {
  flex-direction: row-reverse;
}
[dir="rtl"] .command-head {
  grid-template-columns: 44px auto minmax(0, 1fr) 42px;
}
[dir="rtl"] .command-head > i {
  grid-column: 4;
}
[dir="rtl"] .command-head input {
  grid-column: 3;
  text-align: right;
}
[dir="rtl"] .command-head span {
  grid-column: 2;
}
[dir="rtl"] .command-head button {
  grid-column: 1;
}
[dir="rtl"] .command-list a {
  flex-direction: row-reverse;
  text-align: right;
}
[dir="rtl"] .command-group h3 {
  text-align: right;
}
[dir="rtl"] .avatar-btn strong,
[dir="rtl"] .avatar-btn small {
  text-align: right;
}
[dir="rtl"] .chat-contact,
[dir="rtl"] .chat-profile-meta,
[dir="rtl"] .shared-files {
  text-align: right;
}
[dir="rtl"] .message-row.me {
  justify-self: start;
  text-align: left;
}
[dir="rtl"] .message-row.other {
  justify-self: end;
}
[dir="rtl"] .mini-rail {
  left: auto;
  right: 0;
  border-right: 0;
  border-left: 1px solid var(--line);
}
[dir="rtl"] [data-layout="horizontal"] .main {
  margin-right: 0;
}
[dir="rtl"] [data-layout="detached"] .sidebar {
  right: 18px;
  left: auto;
}
[dir="rtl"] [data-layout="detached"] .main {
  margin-right: 316px;
  margin-left: 0;
}
[dir="rtl"] [data-layout="detached"] .topbar {
  margin: 18px 0 0 18px;
}
[dir="rtl"] [data-layout="two-column"] .sidebar {
  right: 76px;
  left: auto;
}
[dir="rtl"] [data-layout="two-column"] .main {
  margin-right: 320px;
  margin-left: 0;
}
[dir="rtl"] [data-layout="hovered"] .main {
  margin-right: 86px;
  margin-left: 0;
}
[dir="rtl"] [data-layout="hovered"] .sidebar:hover {
  box-shadow: -12px 0 34px rgba(21, 23, 28, 0.12);
}
/* 13. Responsive Breakpoints */
@media (max-width: 991.98px) {
  .sidebar {
    transform: translate3d(-100%, 0, 0);
    z-index: 1310;
  }
  [dir="rtl"] .sidebar {
    transform: translateX(100%);
  }
  .sidebar.show {
    transform: translate3d(0, 0, 0);
  }
  .sidebar-backdrop.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.48);
    z-index: 1308;
    opacity: 1;
  }
  [data-layout="horizontal"] .sidebar {
    display: block;
  }
  [data-layout="horizontal"] .layout-nav-horizontal {
    display: none;
  }
  [data-layout="horizontal"] .topbar {
    min-height: 66px;
  }
  .main {
    margin-left: 0;
  }
  [dir="rtl"] .main,
  [dir="rtl"] [data-layout="detached"] .main,
  [dir="rtl"] [data-layout="two-column"] .main,
  [dir="rtl"] [data-layout="hovered"] .main {
    margin-right: 0;
  }
  [data-layout="detached"] .main,
  [data-layout="two-column"] .main,
  [data-layout="hovered"] .main {
    margin-left: 0;
  }
  [data-layout="detached"] .sidebar {
    inset: 0 auto 0 0;
    height: 100%;
    border-radius: 0;
  }
  [data-layout="detached"] .topbar {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  [dir="rtl"] [data-layout="detached"] .topbar {
    margin: 0;
  }
  [data-layout="two-column"] .mini-rail {
    display: none;
  }
  [data-layout="two-column"] .sidebar,
  [data-layout="hovered"] .sidebar {
    left: 0;
    width: 280px;
  }
  [dir="rtl"] [data-layout="two-column"] .sidebar,
  [dir="rtl"] [data-layout="hovered"] .sidebar {
    right: 0;
    left: auto;
  }
  [data-layout="hovered"] .brand div,
  [data-layout="hovered"] .nav-accordion-toggle > span,
  [data-layout="hovered"] .nav-accordion-toggle > i,
  [data-layout="hovered"] .nav-link span,
  [data-layout="hovered"] .sidebar-layout-switch {
    opacity: 1;
    pointer-events: auto;
    width: auto;
    overflow: visible;
  }
  [data-layout="hovered"] .nav-accordion-toggle {
    justify-content: space-between;
    padding: 10px 12px;
  }
  [data-layout="hovered"] .nav-accordion.open > .nav-accordion-panel {
    display: block;
    padding-left: 16px;
  }
  [data-layout="hovered"] .nav-link {
    justify-content: flex-start;
  }
  .topbar {
    position: relative;
    top: auto;
    display: flex;
    flex-wrap: nowrap;
    min-height: 66px;
    gap: 10px;
    padding: 12px 16px;
  }
  .topbar > [data-sidebar-toggle] {
    display: inline-flex !important;
  }
  .topbar > .topbar-brand {
    display: inline-flex;
    margin-right: 2px;
  }
  [data-layout="horizontal"] .topbar > .topbar-brand {
    display: inline-flex;
  }
  .topbar > .command-search-trigger {
    display: none;
  }
  .topbar > .topbar-actions {
    display: flex;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    margin-left: auto;
    justify-content: flex-end;
  }
  [dir="rtl"] .topbar > .topbar-actions {
    margin-left: 0;
    margin-right: auto;
    justify-content: flex-start;
  }
  [dir="rtl"] .topbar-actions > .notification-menu,
  [dir="rtl"] .topbar-actions > .profile-menu {
    right: 0 !important;
    left: auto !important;
  }
  .topbar-actions > .layout-dropdown-wrap {
    display: none;
  }
  .layout-btn {
    width: 42px;
    padding: 0;
  }
  .layout-btn span,
  .layout-btn .bi-chevron-down {
    display: none;
  }
  .profile-trigger {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }
  .profile-photo {
    width: 40px;
    height: 40px;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.28);
  }
  .profile-photo i {
    right: 0;
    bottom: 1px;
    width: 11px;
    height: 11px;
    border-width: 2px;
  }
  .content {
    padding: 20px 16px;
  }
  .page-title,
  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .chat-shell,
  .inbox-layout,
  .inbox-shell,
  .mail-content,
  .executive-grid,
  .pipeline-grid,
  .project-summary,
  .task-summary,
  .customer-detail-grid,
  .crm-kpi-grid,
  .coin-grid,
  .job-stats,
  .comment-summary,
  .comments-layout,
  .invoice-layout,
  .faq-category-grid {
    grid-template-columns: 1fr 1fr;
  }
  .premium-chat {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  }
  .chat-profile {
    grid-column: 1 / -1;
    min-height: auto;
  }
  .chat-profile-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .auth-split-page,
  .utility-page,
  .auth-cover-page {
    grid-template-columns: 1fr;
  }
  .auth-showcase,
  .auth-visual,
  .auth-cover-visual,
  .auth-form-panel {
    min-height: auto;
  }
  .utility-card {
    align-self: stretch;
  }
  .auth-cover-visual {
    min-height: 560px;
  }
  .auth-form-brand {
    display: flex;
  }
  .crypto-hero,
  .job-hero,
  .kanban-hero,
  .file-manager-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .crypto-hero-stats {
    min-width: 0;
    width: 100%;
  }
  .analytics-insight {
    align-items: flex-start;
    flex-direction: column;
  }
  .customer-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .pricing-intro {
    align-items: flex-start;
    flex-direction: column;
  }
  .faq-hero,
  .faq-feature {
    align-items: flex-start;
    flex-direction: column;
  }
  .faq-shell {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .invoice-layout {
    grid-template-columns: 1fr;
  }
  .invoice-side {
    position: static;
  }
  .invoice-hero,
  .invoice-bottom {
    grid-template-columns: 1fr;
  }
  .layout-nav-horizontal {
    padding: 10px 16px;
  }
  .executive-card,
  .commerce-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .calendar-grid,
  .file-folder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calendar-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .avatar-btn div {
    display: none;
  }
  .component-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .component-showcase {
    grid-template-columns: 1fr;
  }
  .component-showcase .component-demo:first-child {
    grid-column: auto;
  }
  .accordion-showcase .accordion-feature {
    grid-column: auto;
  }
  .accordion-faq {
    grid-template-columns: 1fr;
  }
  .component-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .main {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .topbar {
    padding: 10px 12px;
  }
  .component-index-grid {
    grid-template-columns: 1fr;
  }
  .content {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .content > * {
    width: 100%;
  }
  .content > .row {
    width: calc(100% - 16px);
    margin-left: 0;
    margin-right: 0;
  }
  .content > *,
  .page-title > *,
  .executive-grid,
  .executive-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .metric-card {
    padding-right: 22px;
  }
  .metric-card > i {
    display: none;
  }
  [dir="rtl"] .metric-card {
    padding-left: 22px;
  }
  .page-title {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .page-breadcrumb {
    min-width: 0;
  }
  .page-breadcrumb-home span {
    display: none;
  }
  .page-breadcrumb h1 {
    max-width: 190px;
  }
  .page-title .page-actions {
    width: 100%;
    margin: 0;
  }
  .page-title .page-actions .btn {
    width: 100%;
    justify-content: center;
  }
  [dir="rtl"] .page-title .page-actions {
    margin: 0;
  }
  .dashboard-footer {
    align-items: center;
    flex-direction: column;
    padding: 20px 16px 24px;
    text-align: center;
  }
  .dashboard-footer nav {
    justify-content: center;
  }
  .team-members-widget .member-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .team-members-widget .member-row > .rep-avatar {
    grid-row: 1 / span 2;
  }
  .team-members-widget .member-row b {
    grid-column: 2;
    grid-row: 2;
  }
  .team-members-widget .member-row em {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .executive-grid {
    width: 100%;
  }
  .component-showcase,
  .component-showcase > *,
  .component-jump {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .component-showcase .component-demo {
    padding: 22px 20px;
    overflow: hidden;
  }
  .component-showcase .accordion-button,
  .component-showcase .accordion-body {
    overflow-wrap: anywhere;
  }
  .component-page .dash-accordion .accordion-button {
    align-items: center;
    flex-direction: row;
  }
  .executive-card,
  .commerce-hero {
    width: 100%;
    min-width: 0;
    padding: 28px 24px;
  }
  .executive-card > div,
  .commerce-hero > div {
    width: 100%;
    min-width: 0;
  }
  .executive-card h2,
  .commerce-hero h2 {
    max-width: 100%;
    font-size: clamp(27px, 8.5vw, 36px);
    overflow-wrap: anywhere;
  }
  .hero-stat {
    width: 100%;
    min-width: 0;
  }
  .analytics-insight,
  .kanban-hero,
  .file-manager-hero {
    width: calc(100% - 16px);
    padding: 24px;
  }
  .analytics-insight-actions {
    flex-direction: column;
  }
  .analytics-insight-actions,
  .analytics-insight-actions .btn {
    width: 100%;
  }
  .analytics-insight-actions .btn {
    justify-content: center;
  }
  .device-stats,
  .kanban-meta,
  .file-folder-grid {
    grid-template-columns: 1fr;
  }
  .storage-card {
    width: 100%;
    min-width: 0;
  }
  .file-folder-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .file-folder-card em {
    grid-column: 2;
  }
  .content,
  .page-title,
  .premium-chat,
  .chat-sidebar,
  .premium-chat-window,
  .chat-profile {
    width: 100%;
    min-width: 0;
  }
  .local-filter-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .filter-meta {
    white-space: normal;
  }
  .page-actions,
  .topbar-actions {
    gap: 6px;
  }
  .command-search-trigger kbd {
    display: none;
  }
  .command-body {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 22px 34px;
  }
  .command-head {
    min-height: 74px;
    grid-template-columns: 30px minmax(0, 1fr) 44px;
    padding: 0 18px;
  }
  .command-head span {
    display: none;
  }
  .command-head input {
    font-size: 20px;
  }
  [dir="rtl"] .command-head {
    grid-template-columns: 44px minmax(0, 1fr) 30px;
  }
  [dir="rtl"] .command-head > i {
    grid-column: 3;
  }
  [dir="rtl"] .command-head input {
    grid-column: 2;
  }
  [dir="rtl"] .command-head button {
    grid-column: 1;
  }
  .executive-grid,
  .project-summary,
  .task-summary {
    grid-template-columns: 1fr;
  }
  .crm-kpi-grid,
  .balance-grid,
  .coin-grid,
  .job-stats,
  .crypto-hero-stats,
  .comment-summary,
  .comments-layout,
  .inbox-shell,
  .mail-content,
  .premium-chat,
  .chat-shell,
  .invoice-party-grid,
  .faq-category-grid,
  .faq-sidebar,
  .faq-quick-stats {
    grid-template-columns: 1fr;
  }
  .chat-sidebar,
  .premium-chat-window,
  .chat-profile {
    min-height: auto;
  }
  .chat-context,
  .chat-profile-meta {
    grid-template-columns: 1fr;
  }
  .chat-header,
  .chat-header-actions {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .message-row {
    max-width: 92%;
  }
  .composer {
    flex-wrap: wrap;
  }
  .composer .form-control {
    flex: 1 1 100%;
    order: -1;
  }
  .mail-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .mail-search {
    max-width: none;
  }
  .job-card {
    grid-template-columns: 1fr;
  }
  .faq-hero {
    padding: 24px;
  }
  .faq-search,
  .faq-hero-tools {
    min-width: 0;
    width: 100%;
  }
  .dash-accordion .accordion-button {
    align-items: flex-start;
    flex-direction: column;
  }
  .dash-accordion .accordion-body,
  [dir="rtl"] .dash-accordion .accordion-body {
    padding: 0 18px 18px;
  }
  .invoice-top {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
  .invoice-title {
    text-align: left;
  }
  .invoice-hero,
  .invoice-party-grid,
  .invoice-items,
  .invoice-bottom {
    padding: 24px;
  }
  .invoice-items {
    overflow-x: auto;
  }
  .invoice-items table {
    min-width: 640px;
  }
  [dir="rtl"] .invoice-title {
    text-align: right;
  }
  .customer-detail-grid {
    grid-template-columns: 1fr;
  }
  .customer-identity {
    align-items: flex-start;
    flex-direction: column;
  }
  .billing-toggle {
    width: 100%;
  }
  .billing-toggle button {
    flex: 1;
  }
  .pricing-card.featured {
    transform: none;
  }
  .calendar-library-panel {
    padding: 12px;
    min-height: 620px;
  }
  .calendar-library-panel .fc .fc-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .calendar-grid {
    grid-template-columns: 1fr;
  }
  .component-scrollspy {
    grid-template-columns: 1fr;
  }
  .component-scrollspy .nav {
    flex-direction: row;
  }
  .component-scrollspy-body {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .bubble {
    max-width: 90%;
  }
  .auth-page {
    padding: 16px;
  }
  .auth-card,
  .auth-showcase,
  .auth-visual,
  .utility-card,
  .auth-cover-visual,
  .auth-form-panel {
    padding: 24px;
  }
  .auth-proof,
  .countdown {
    grid-template-columns: 1fr;
  }
  .auth-actions,
  .auth-inline-form,
  .auth-links {
    flex-direction: column;
  }
  .error-code i {
    width: 76px;
    height: 76px;
    font-size: 32px;
  }
  .auth-cover-visual {
    min-height: 460px;
  }
  .auth-form-wrap {
    width: 100%;
  }
  .auth-device {
    width: 100%;
    transform: none;
  }
  .auth-device-body {
    grid-template-columns: 54px 1fr;
    min-height: 260px;
    padding: 12px;
    gap: 12px;
  }
  .auth-device aside {
    padding: 8px;
  }
}
/* 14. Print Styles */
@media print {
  @page {
    margin: 14mm;
  }
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f7f9fc;
    --text: #111827;
    --muted: #4b5563;
    --line: #d7deea;
    --shadow: none;
  }
  body {
    background: #ffffff !important;
    color: #111827 !important;
  }
  .sidebar,
  .mini-rail,
  .sidebar-backdrop,
  .topbar,
  .layout-nav-horizontal,
  .page-title,
  .invoice-side,
  .toast-container,
  .modal,
  .command-modal {
    display: none !important;
  }
  .main {
    margin: 0 !important;
    width: 100% !important;
    min-height: auto !important;
  }
  .content {
    padding: 0 !important;
  }
  .invoice-layout {
    display: block !important;
  }
  .invoice-document {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  .invoice-top,
  .invoice-hero,
  .invoice-party-grid,
  .invoice-items,
  .invoice-bottom {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .invoice-top {
    padding-top: 0 !important;
    background: #ffffff !important;
  }
  .invoice-party-grid section,
  .invoice-meta-card,
  .invoice-note,
  .invoice-items table {
    break-inside: avoid;
  }
  .invoice-items table {
    min-width: 0 !important;
  }
  .invoice-items th {
    background: #f3f4f6 !important;
  }
  .btn,
  button {
    display: none !important;
  }
}
