/* ============================================================
   FUNEL.IO — Design System v2.0
   Single CSS file · Replaces AdminLTE + Bootstrap + FontAwesome
   Brand: #004059 teal · #831c54 magenta · #ac7c9c mauve · #f5f3ee cream
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ───────────────────────────── */
:root {
  /* Dark theme (default) */
  --bg:          #004059;
  --bg2:         #003449;
  --bg3:         #002a3a;
  --card:        #831c54;
  --card2:       #6e1848;
  --accent:      #ac7c9c;
  --accent2:     #776a88;
  --text:        #f5f3ee;
  --text2:       rgba(245,243,238,.75);
  --text3:       rgba(245,243,238,.45);
  --border:      rgba(245,243,238,.1);
  --shadow:      0 8px 32px rgba(0,0,0,.28);
  --shadow-sm:   0 2px 10px rgba(0,0,0,.2);
  --radius:      20px;
  --radius-sm:   10px;
  --radius-xs:   6px;
  --sidebar-w:   230px;
  --nav-h:       64px;
  --ease:        .2s ease;
}

[data-theme="light"] {
  --bg:          #f5f3ee;
  --bg2:         #ede9e2;
  --bg3:         #e2ddd3;
  --card:        #ac7c9c;
  --card2:       #9b6d8b;
  --accent:      #776a88;
  --text:        #17343f;
  --text2:       rgba(23,52,63,.78);
  --text3:       rgba(23,52,63,.56);
  --border:      rgba(0,0,0,.08);
  --shadow:      0 4px 20px rgba(0,0,0,.12);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
}

/* ── 2. RESET & BASE ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'GoldPlay', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.funel-flash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease);
}

.funel-flash.is-visible {
  opacity: 1;
  visibility: visible;
}

.funel-flash__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 29, 0.72);
  backdrop-filter: blur(8px);
}

.funel-flash__dialog {
  position: relative;
  width: min(26rem, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(172,124,156,.22), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 20px 60px rgba(0,0,0,.34);
  text-align: center;
}

.funel-flash__text {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
}

[data-theme="light"] .funel-flash__dialog {
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}

a           { color: var(--text); text-decoration: none; transition: opacity var(--ease); }
a:hover     { opacity: .8; }
img         { max-width: 100%; height: auto; display: block; }
button      { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol      { list-style: none; }
table       { border-collapse: collapse; width: 100%; }
input, select, textarea { font-family: inherit; }

/* ── 3. FONTS ───────────────────────────────────────────── */
@font-face {
  font-family: 'GoldPlay';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../css/goldplay-regular.woff2) format('woff2');
}

/* ── 4. APP SHELL LAYOUT ────────────────────────────────── */
/* Sidebar is position:fixed, content-wrapper uses margin-left */
.wrapper {
  min-height: 100vh;
}

/* Sidebar */
.main-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform var(--ease), width var(--ease);
  overflow: hidden;
  border-right: 1px solid var(--border);
}

/* Content wrapper */
.content-wrapper {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.content,
.page-inner,
.card,
.info-box,
.table-responsive,
.dataTables_wrapper,
.row > * {
  min-width: 0;
}

.app-shell-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  border: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--ease), visibility var(--ease);
  z-index: 90;
}

/* ── 5. BRAND LOGO ──────────────────────────────────────── */
.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.brand-link img { width: 140px; max-width: 100%; }

/* Sidebar footer */
#footer {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
#footer img   { width: 90px; opacity: .7; margin-bottom: 8px; }
#footer p     { font-size: 11px; color: var(--text3); line-height: 1.6; }
.footer-container { }
.footer-block._0 { }

/* ── 6. SIDEBAR NAVIGATION ──────────────────────────────── */
.sidebar {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 0;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

nav.desktop-nav, nav.mobile-nav { padding: 8px 0; }

.nav-sidebar { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }

.nav-item     { border-radius: var(--radius-sm); overflow: hidden; }
.nav-item.mt-3{ margin-top: 12px; }
.nav-item.mb-5{ margin-bottom: 0; }

.nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
  letter-spacing: -.3px;
}
.nav-item .nav-link:hover {
  background: rgba(245,243,238,.07);
  color: var(--text);
  opacity: 1;
}
.nav-item.btn-grad .nav-link,
.nav-item .nav-link.active {
  background: linear-gradient(135deg, rgba(131,28,84,.6) 0%, rgba(172,124,156,.25) 100%);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.nav-item img { flex-shrink: 0; width: 22px; height: 22px; object-fit: contain; }

/* Keep FontAwesome icons for employee sidebar fallback */
.nav-item .fas, .nav-item .nav-icon {
  width: 22px;
  text-align: center;
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.nav-item .nav-link p { margin: 0; }

/* Avatar */
.avtar { text-align: center; padding: 16px; }
.avtar .img-circle { border-radius: 50%; margin: 0 auto 8px; display: block; width: 60px; height: 60px; object-fit: cover; }
.avtar h5 { font-size: 13px; color: var(--text2); }

/* ── 7. TOP NAVIGATION BAR ──────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 24px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 16px;
  flex-wrap: nowrap;
}
.navbar-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-nav.ml-auto, .navbar-nav.right-nav { margin-left: auto; }
.navbar-nav.d-flex { display: flex; }

.nav-bars .nav-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-xs);
  color: var(--text2);
  transition: background var(--ease), color var(--ease);
  cursor: pointer;
}
.nav-bars .nav-link:hover { background: var(--border); color: var(--text); opacity: 1; }

.page-title-nav { display: flex; align-items: center; }
.page-title-nav h2, .page-title-nav .h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -.5px;
}

.nav-item.page-title { display: flex; align-items: center; }
.page-title.nav-link, .nav-link.page-title {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-xs);
  color: var(--text2);
  transition: background var(--ease), color var(--ease);
}
.page-title.nav-link:hover, .nav-link.page-title:hover {
  background: var(--border);
  color: var(--text);
  opacity: 1;
}

/* Right nav icon SVGs */
.right-nav .nav-link svg { width: 20px; height: 20px; }
.right-nav .fas { font-size: 17px; }

/* Theme switch */
.switch {
  position: relative;
  display: inline-block;
  width: 52px; height: 28px;
}
.switch input { display: none; }
.slider {
  position: absolute;
  inset: 0;
  background: var(--card);
  border-radius: 28px;
  cursor: pointer;
  transition: background var(--ease);
}
.slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 4px; top: 4px;
  background: var(--text);
  border-radius: 50%;
  transition: transform var(--ease);
}
input:checked + .slider { background: var(--accent); }
input:checked + .slider::before { transform: translateX(24px); }
.slider::after { display: none; }

/* ── 8. CONTENT AREA ────────────────────────────────────── */
.content { flex: 1; }
.content .header.bg-custom { display: none; }
.container-fluid {
  width: 100%;
  padding: 24px;
}
.page-inner {
  max-width: 1400px;
}
.mt--6, .my--6 { margin-top: 0 !important; }

/* ── 9. BOOTSTRAP-COMPATIBLE GRID ───────────────────────── */
.container { width: 100%; padding: 0 16px; margin: 0 auto; max-width: 1200px; }
.container-fluid { width: 100%; padding: 20px 24px; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
  row-gap: 16px;
}
.row > * { padding: 0 8px; }

.col   { flex: 1 0 0%; }
.col-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
.col-2  { flex: 0 0 16.667%; max-width: 16.667%; }
.col-3  { flex: 0 0 25%;     max-width: 25%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5  { flex: 0 0 41.667%; max-width: 41.667%; }
.col-6  { flex: 0 0 50%;     max-width: 50%; }
.col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8  { flex: 0 0 66.667%; max-width: 66.667%; }
.col-9  { flex: 0 0 75%;     max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.667%; max-width: 91.667%; }
.col-12 { flex: 0 0 100%;    max-width: 100%; }

/* XS (< 576px) */
.col-xs-6  { flex: 0 0 50%;  max-width: 50%; }
.col-xs-12 { flex: 0 0 100%; max-width: 100%; }

/* SM (≥ 576px) */
@media (min-width: 576px) {
  .col-sm-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
  .col-sm-2  { flex: 0 0 16.667%; max-width: 16.667%; }
  .col-sm-3  { flex: 0 0 25%;     max-width: 25%; }
  .col-sm-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-sm-5  { flex: 0 0 41.667%; max-width: 41.667%; }
  .col-sm-6  { flex: 0 0 50%;     max-width: 50%; }
  .col-sm-7  { flex: 0 0 58.333%; max-width: 58.333%; }
  .col-sm-8  { flex: 0 0 66.667%; max-width: 66.667%; }
  .col-sm-9  { flex: 0 0 75%;     max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333%; max-width: 83.333%; }
  .col-sm-11 { flex: 0 0 91.667%; max-width: 91.667%; }
  .col-sm-12 { flex: 0 0 100%;    max-width: 100%; }
}

/* MD (≥ 768px) */
@media (min-width: 768px) {
  .col-md-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
  .col-md-2  { flex: 0 0 16.667%; max-width: 16.667%; }
  .col-md-3  { flex: 0 0 25%;     max-width: 25%; }
  .col-md-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-md-5  { flex: 0 0 41.667%; max-width: 41.667%; }
  .col-md-6  { flex: 0 0 50%;     max-width: 50%; }
  .col-md-7  { flex: 0 0 58.333%; max-width: 58.333%; }
  .col-md-8  { flex: 0 0 66.667%; max-width: 66.667%; }
  .col-md-9  { flex: 0 0 75%;     max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333%; max-width: 83.333%; }
  .col-md-11 { flex: 0 0 91.667%; max-width: 91.667%; }
  .col-md-12 { flex: 0 0 100%;    max-width: 100%; }
}

/* LG (≥ 992px) */
@media (min-width: 992px) {
  .col-lg-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
  .col-lg-2  { flex: 0 0 16.667%; max-width: 16.667%; }
  .col-lg-3  { flex: 0 0 25%;     max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-lg-5  { flex: 0 0 41.667%; max-width: 41.667%; }
  .col-lg-6  { flex: 0 0 50%;     max-width: 50%; }
  .col-lg-7  { flex: 0 0 58.333%; max-width: 58.333%; }
  .col-lg-8  { flex: 0 0 66.667%; max-width: 66.667%; }
  .col-lg-9  { flex: 0 0 75%;     max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; }
  .col-lg-11 { flex: 0 0 91.667%; max-width: 91.667%; }
  .col-lg-12 { flex: 0 0 100%;    max-width: 100%; }
}

/* XL (≥ 1200px) */
@media (min-width: 1200px) {
  .col-xl-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
  .col-xl-2  { flex: 0 0 16.667%; max-width: 16.667%; }
  .col-xl-3  { flex: 0 0 25%;     max-width: 25%; }
  .col-xl-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-xl-6  { flex: 0 0 50%;     max-width: 50%; }
  .col-xl-8  { flex: 0 0 66.667%; max-width: 66.667%; }
  .col-xl-12 { flex: 0 0 100%;    max-width: 100%; }
}

/* ── 10. FLEX & DISPLAY UTILITIES ───────────────────────── */
.d-flex           { display: flex !important; }
.d-block          { display: block !important; }
.d-inline-block   { display: inline-block !important; }
.d-none           { display: none !important; }
.flex-column      { flex-direction: column !important; }
.flex-row         { flex-direction: row !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-wrap        { flex-wrap: wrap !important; }
.flex-nowrap      { flex-wrap: nowrap !important; }
.flex-1           { flex: 1 !important; }

.justify-content-start   { justify-content: flex-start !important; }
.justify-content-end     { justify-content: flex-end !important; }
.justify-content-center  { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around  { justify-content: space-around !important; }

.align-items-start   { align-items: flex-start !important; }
.align-items-end     { align-items: flex-end !important; }
.align-items-center  { align-items: center !important; }
.align-items-stretch { align-items: stretch !important; }
.align-self-end      { align-self: flex-end !important; }

.ml-auto { margin-left: auto !important; }
.mr-auto { margin-right: auto !important; }
.mx-auto { margin: 0 auto !important; }

/* Responsive display */
@media (min-width: 768px) {
  .d-md-none  { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex  { display: flex !important; }
}
@media (min-width: 992px) {
  .d-lg-none  { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex  { display: flex !important; }
}
@media (min-width: 1200px) {
  .d-xl-block { display: block !important; }
  .d-xl-flex  { display: flex !important; }
}
@media (max-width: 991px) {
  .d-lg-block, .d-xl-block { display: none !important; }
}
@media (max-width: 767px) {
  .d-md-block { display: none !important; }
}

/* ── 11. SPACING UTILITIES ──────────────────────────────── */
.m-0  { margin: 0 !important; }
.m-1  { margin: 4px !important; }
.m-2  { margin: 8px !important; }
.m-3  { margin: 12px !important; }
.m-4  { margin: 20px !important; }
.m-5  { margin: 32px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 20px !important; }
.mt-5 { margin-top: 32px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 20px !important; }
.mb-5 { margin-bottom: 32px !important; }

.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 4px !important; }
.ml-2 { margin-left: 8px !important; }
.ml-3 { margin-left: 12px !important; }
.ml-4 { margin-left: 20px !important; }
.ml-5 { margin-left: 32px !important; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 4px !important; }
.mr-2 { margin-right: 8px !important; }
.mr-3 { margin-right: 12px !important; }
.mr-4 { margin-right: 20px !important; }
.mr-5 { margin-right: 32px !important; }

.mx-1 { margin-inline: 4px !important; }
.mx-2 { margin-inline: 8px !important; }
.my-1 { margin-block: 4px !important; }
.my-2 { margin-block: 8px !important; }
.my-3 { margin-block: 12px !important; }

.p-0  { padding: 0 !important; }
.p-1  { padding: 4px !important; }
.p-2  { padding: 8px !important; }
.p-3  { padding: 12px !important; }
.p-4  { padding: 20px !important; }
.p-5  { padding: 32px !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 4px !important; }
.pt-2 { padding-top: 8px !important; }
.pt-3 { padding-top: 12px !important; }
.pt-4 { padding-top: 20px !important; }
.pt-5 { padding-top: 32px !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 4px !important; }
.pb-2 { padding-bottom: 8px !important; }
.pb-3 { padding-bottom: 12px !important; }
.pb-4 { padding-bottom: 20px !important; }
.pb-5 { padding-bottom: 32px !important; }

.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: 4px !important; }
.pl-2 { padding-left: 8px !important; }
.pl-3 { padding-left: 12px !important; }
.pl-4 { padding-left: 20px !important; }
.pl-5 { padding-left: 32px !important; }
.pl-0 { padding-left: 0 !important; }

.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: 4px !important; }
.pr-2 { padding-right: 8px !important; }
.pr-3 { padding-right: 12px !important; }
.pr-4 { padding-right: 20px !important; }
.pr-5 { padding-right: 32px !important; }

.px-1 { padding-inline: 4px !important; }
.px-2 { padding-inline: 8px !important; }
.py-1 { padding-block: 4px !important; }
.py-2 { padding-block: 8px !important; }
.py-4 { padding-block: 20px !important; }

/* ── 12. TYPOGRAPHY UTILITIES ───────────────────────────── */
.text-left    { text-align: left !important; }
.text-center  { text-align: center !important; }
.text-right   { text-align: right !important; }
.text-white   { color: #fff !important; }
.text-muted   { color: var(--text3) !important; }
.font-weight-bold   { font-weight: 700 !important; }
.font-weight-medium { font-weight: 500 !important; }
.font-size-sm { font-size: .875rem !important; }
.float-left   { float: left !important; }
.float-right  { float: right !important; }
.float-end    { float: right !important; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.4px;
}
h1, .h1 { font-size: 2rem; }
h2, .h2 { font-size: 1.6rem; }
h3, .h3 { font-size: 1.25rem; }
h4, .h4 { font-size: 1.1rem; }
h5, .h5 { font-size: .95rem; }
h6, .h6 { font-size: .85rem; }
p       { color: var(--text2); }
b, strong { font-weight: 700; color: var(--text); }

/* ── 13. CARDS ──────────────────────────────────────────── */
.card {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  padding: 20px 24px 0;
  border-bottom: none !important;
  background: transparent;
}
.card-body {
  padding: 20px 24px !important;
}
.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  float: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-tools { }

.lin_grad {
  box-shadow: var(--shadow);
}

/* Info-box (dashboard stat cards) */
.info-box {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 20px !important;
  display: block;
}
.info-box.lin_grad {  }
.info-box-content  { width: 100%; }
.info-box-number   {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-top: 4px;
}
.info-box-content span { font-size: 14px; color: var(--text2); }
.leads-box { min-height: 110px; }

/* ── 14. BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }

.btn-sm  { padding: 7px 16px; font-size: 13px; }
.btn-lg  { padding: 12px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary, .btn-bergendi {
  background: var(--bg) !important;
  color: var(--text) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.btn-primary:hover, .btn-bergendi:hover {
  background: var(--accent) !important;
  color: var(--text) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

.btn-gray {
  background: var(--bg) !important;
  color: var(--text) !important;
}
.btn-gray:hover { background: var(--accent) !important; }

.btn-default {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}
.btn-default:hover { background: var(--border); }

.btn-warning {
  background: #b7683a;
  color: #fff;
}

.btn-grad {
  background: linear-gradient(135deg, rgba(131,28,84,.5) 0%, rgba(172,124,156,.3) 100%);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50px;
}

/* Dashboard filter buttons */
.button-71 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg) !important;
  color: var(--text) !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
  text-decoration: none;
  text-align: center;
}
.button-71:hover, .button-71.w-100:hover {
  background: var(--card) !important;
  border-color: var(--accent);
  box-shadow: none;
  transform: none;
}
.button-71::before { display: none; }

.button-60 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg) !important;
  color: var(--text) !important;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--ease);
}
.button-60:hover { background: var(--card) !important; border-color: var(--accent); transform: none; box-shadow: none; }
.button-60::before { display: none; }

/* ── 15. FORMS ──────────────────────────────────────────── */
.form-group    { margin-bottom: 16px; }
.form-control  {
  width: 100%;
  padding: 12px 20px;
  background: rgba(0,0,0,.2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 50px !important;
  color: var(--text) !important;
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(172,124,156,.2) !important;
  background: rgba(0,0,0,.25) !important;
}
.form-control::placeholder { color: var(--text3); }
textarea.form-control { border-radius: var(--radius-sm) !important; padding: 16px 20px; resize: vertical; }
select.form-control   { cursor: pointer; }

/* Tall inputs */
input.form-control, select.form-control { height: 48px; }

label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2) !important;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* Input group */
.input-group { position: relative; display: flex; align-items: stretch; }
.input-group .form-control { border-radius: 50px 0 0 50px !important; }
.input-group-append { display: flex; }
.input-group-text {
  padding: 0 16px;
  background: rgba(0,0,0,.2);
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 50px 50px 0;
  color: var(--text2);
  display: flex;
  align-items: center;
}

/* Custom file */
.custom-file { position: relative; flex: 1; }
.custom-file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.custom-file-label {
  display: block;
  padding: 12px 20px;
  background: rgba(0,0,0,.2);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text2);
  font-size: 14px;
  cursor: pointer;
  text-transform: none;
  font-weight: normal;
}
.custom-file-label::after {
  content: 'Browse';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  background: var(--accent);
  border-radius: 0 50px 50px 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

/* Custom select wrapper */
.custom-select {
  background: transparent;
  border: none;
  color: var(--text);
}
.custom-select-wrapper { position: relative; display: block; }
.custom-select-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg) !important;
  color: var(--text) !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  min-width: 160px;
}
.custom-select-trigger::before { display: none; }
.custom-select-trigger::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 2px solid var(--text2);
  border-bottom: 2px solid var(--text2);
  transform: rotate(45deg) translateY(-2px);
  margin-left: auto;
}
.custom-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 160px;
  box-shadow: var(--shadow);
  z-index: 100;
  overflow: hidden;
  display: none;
  opacity: 0;
}
.custom-option {
  padding: 11px 18px;
  font-size: 14px;
  color: var(--text2);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  border-bottom: 1px solid var(--border);
}
.custom-option:last-child { border-bottom: none; }
.custom-option:hover, .custom-option.selection { background: var(--border); color: var(--text); }

/* jumbotron */
.jumbotron {
  background: transparent !important;
  padding: 20px 0;
}

/* ── 16. TABLES ─────────────────────────────────────────── */
.table-responsive { overflow-x: auto; }
.table { width: 100%; }
.table-responsive {
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}

table td, table th, table tr, .table td, .table th {
  border: none !important;
  padding: 14px 12px;
  color: var(--text) !important;
  font-size: 14px;
  vertical-align: middle;
}
thead tr { }
th {
  background: linear-gradient(135deg, rgba(131,28,84,.4) 0%, rgba(172,124,156,.15) 100%);
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text2) !important;
}
th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
th:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
tbody tr { transition: background var(--ease); }
tbody tr:hover { background: rgba(245,243,238,.04); }

/* DataTables overrides */
.dataTables_wrapper .dataTables_filter { float: none; text-align: center; }
.dataTables_filter label { position: relative; display: flex; align-items: center; gap: 10px; }
.dataTables_filter input {
  height: 44px !important;
  width: 220px !important;
  background: rgba(0,0,0,.2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 50px !important;
  color: var(--text) !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  outline: none;
  transition: border-color var(--ease);
}
.dataTables_filter input:focus { border-color: var(--accent) !important; }
.dataTables_filter input::placeholder { color: var(--text3); }

div.dt-buttons { float: right; padding: 8px 0; }
.dataTables_length label { display: flex; align-items: center; gap: 8px; color: var(--text2); font-size: 14px; }
.dataTables_length select {
  appearance: none;
  -webkit-appearance: none;
  width: 80px !important;
  height: 36px;
  background: rgba(0,0,0,.2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 50px !important;
  color: var(--text) !important;
  padding: 0 16px;
  font-size: 14px;
  cursor: pointer;
}
.dataTables_info { font-size: 13px; color: var(--text3); padding-top: 20px !important; padding-bottom: 20px; float: left; }
.dataTables_length { padding-top: 16px; }
.card-header.dataTables_wrapper { padding: 0 !important; }
.dataTables_wrapper .row { align-items: center; }
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  max-width: 100%;
}

/* Sorting arrow reset */
table.dataTable > thead .sorting::before,
table.dataTable > thead .sorting::after,
table.dataTable > thead .sorting_asc::before,
table.dataTable > thead .sorting_asc::after,
table.dataTable > thead .sorting_desc::before,
table.dataTable > thead .sorting_desc::after { content: ''; }

/* DataTables responsive expand/collapse dot */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
  background: var(--accent) !important;
  border-color: var(--accent);
}

/* ── 17. PAGINATION ─────────────────────────────────────── */
.pagination, .dataTables_paginate { display: flex; align-items: center; gap: 4px; padding: 20px 0; }
.paginate_button, .page-item { display: inline-block; }
.paginate_button a,
.page-link, a.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 50px !important;
  border: none !important;
  background: transparent !important;
  color: var(--text2) !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  text-decoration: none;
}
.paginate_button:hover a,
.page-item:hover .page-link { background: var(--border) !important; color: var(--text) !important; }
.page-item.active .page-link,
.paginate_button.current a {
  background: var(--card) !important;
  color: var(--text) !important;
}
.page-item.disabled .page-link { opacity: .4; cursor: not-allowed; }
.paginate_button.previous, .paginate_button.next { font-size: 14px; font-weight: 700; }
.paginate_button.previous a, .paginate_button.next a { color: var(--text2) !important; }
.page_link { background: transparent !important; }

/* ── 18. BADGES ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  background: var(--accent);
  color: var(--text);
}
.badge-paid {
  background: var(--accent);
  color: var(--text);
  width: 90px;
  border-radius: 50px;
  text-align: center;
  display: inline-block;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 700;
}
.badge-unpaid {
  background: var(--card);
  color: var(--text);
  width: 90px;
  border-radius: 50px;
  text-align: center;
  display: inline-block;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 700;
}
/* ── 19. MODALS ─────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: none;
  overflow-y: auto;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}
.modal.show, .modal.in { display: flex; align-items: center; justify-content: center; }
.modal-dialog { width: 90%; max-width: 520px; margin: auto; }
.modal-content { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card) !important;
}
.modal-title { font-size: 18px; font-weight: 700; color: var(--text); }
.modal-body   { padding: 24px; background: var(--card) !important; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  background: var(--card) !important;
}
.close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text2);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background var(--ease);
}
.close:hover { background: var(--border); }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1040; }
.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.show { opacity: 1; }
.modal.fade .modal-dialog { transition: transform .15s ease-out; transform: translateY(-20px); }
.modal.show .modal-dialog { transform: none; }

/* ── 21. CHARTS ─────────────────────────────────────────── */
.chart canvas { max-width: 100%; }
#dash-last-chart { border-radius: 50%; width: 110px; background: transparent !important; box-shadow: none !important; }
#dash-last-chart input, #dash-last-chart input:focus { background: transparent !important; border: none !important; box-shadow: none !important; }

/* ── 22. SCROLLBAR ──────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg3); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── 27. MISC HELPERS ───────────────────────────────────── */
.w-100   { width: 100% !important; }
.h-100   { height: 100% !important; }
.w-50    { width: 50% !important; }
.mw-100  { max-width: 100% !important; }
.img-fluid { max-width: 100%; height: auto; }
.img-circle { border-radius: 50%; }
.overflow-hidden { overflow: hidden !important; }
.text { color: var(--text) !important; }

::placeholder             { color: var(--text3); opacity: 1; }
:-ms-input-placeholder    { color: var(--text3); }
::-ms-input-placeholder   { color: var(--text3); }

/* input autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40px #003449 inset !important;
  -webkit-text-fill-color: var(--text) !important;
}

/* ── 28. AUTH PAGE STYLES ───────────────────────────────── */
/* These are used on the Webflow-structured auth pages */

/* Override body bg for auth */
body.auth-page { background: var(--bg); }

/* Wrappers */
.section-2.wf-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.hire-container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.hire-form-container {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.heading-12 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.hire-form-container > div > p { color: var(--text2); font-size: 15px; margin-bottom: 24px; }

/* Auth form fields */
.field-label-hire {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text2) !important;
  margin-bottom: 6px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.text-field-hire {
  width: 100%;
  height: 48px;
  background: rgba(0,0,0,.25) !important;
  border: 1px solid var(--border) !important;
  border-radius: 50px !important;
  color: var(--text) !important;
  font-size: 15px;
  padding: 0 20px;
  margin-bottom: 16px;
  outline: none;
  font-family: inherit;
  -webkit-appearance: none;
  transition: border-color var(--ease);
}
.text-field-hire:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(172,124,156,.2); }
.text-field-hire::placeholder { color: var(--text3); }

.btn.big.cta-form, .btn.big.cta-form.w-button {
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--bg) !important;
  color: var(--text) !important;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease);
  display: block;
  text-align: center;
}
.btn.big.cta-form:hover { background: var(--accent) !important; }

/* Auth navbar */
.navbar-desktop {
  display: flex;
  align-items: center;
  padding: 16px 32px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.navbar-logo img { width: 120px; }
.navbar-center { display: flex; align-items: center; gap: 4px; margin-left: 32px; flex: 1; }
.navbar-link { padding: 8px 14px; border-radius: 50px; font-size: 14px; color: var(--text2) !important; display: flex; align-items: center; gap: 6px; }
.navbar-link:hover { background: var(--border); color: var(--text) !important; opacity: 1; }
.navbar-link.sign-in { margin-left: auto; }
.btn.w-inline-block {
  padding: 10px 22px;
  background: var(--accent) !important;
  color: var(--text) !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.btn-text { }
.btn-cover { display: none; }

/* Auth footer */
footer.footer, .footer.wf-section {
  background: var(--bg2) !important;
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-symbol { display: none; }
.footer-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}
.footer-block { }
.footer-header { font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: var(--text2); margin-bottom: 12px; }
.footer-link { display: block; font-size: 14px; color: var(--text3); margin-bottom: 8px; }
.footer-link:hover { color: var(--text); opacity: 1; }
.footer-block._0 img { width: 100px; margin-bottom: 12px; }
.heading-9 { font-size: 14px; color: var(--text3); line-height: 1.8; font-weight: 400; }

/* Dropdown */
.dropdown-enterprise, .dropdown-talent {
  position: absolute;
  top: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  z-index: 200;
  min-width: 200px;
}
.hover-expand, .triangle { display: none; }
.dropdown-link-container { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-xs); color: var(--text2) !important; font-size: 14px; }
.dropdown-link-container:hover { background: var(--border); color: var(--text) !important; opacity: 1; }
.dropdown-icn img { width: 20px; }

.navbar-mobile-overlay { display: none; }
.m-main, .m-bottom-bar { }
.burger-menu { display: none; }
.navbar-m-link, .navbar-m-header { display: none; }

/* ── 29. LIGHT THEME OVERRIDES ──────────────────────────── */
[data-theme="light"] .nav-bars a,
[data-theme="light"] .page-title,
[data-theme="light"] .page-title-nav .h3,
[data-theme="light"] .page-title-nav h2 { color: var(--text) !important; }

[data-theme="light"] .btn-bergendi,
[data-theme="light"] .btn-primary {
  background: var(--bg) !important;
}

[data-theme="light"] .active .page-link { background: var(--card) !important; color: #f5f3ee !important; }
[data-theme="light"] .btn-grad { border: none !important; }
[data-theme="light"] #btnpdf { background: var(--accent2) !important; color: var(--text) !important; }

/* Admin/manager use light sidebar */
[data-theme="light"] .main-sidebar, .navbar-red, .sidenav-gray {
  background: var(--bg2);
}

/* ── 30. RESPONSIVE ─────────────────────────────────────── */
.sm-hide { display: none; }
@media (min-width: 760px) { .sm-hide { display: block; } }

@media (max-width: 991px) {
  :root { --sidebar-w: 0px; }

  .main-sidebar {
    width: min(280px, 86vw);
    transform: translateX(-100%);
    overflow: hidden auto;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
  }
  body.sidebar-open .main-sidebar { transform: translateX(0); }
  body.sidebar-open .app-shell-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.sidebar-open { overflow: hidden; }

  .content-wrapper { margin-left: 0; }
  .brand-link { padding: 22px 20px 18px; }
  .brand-link img { width: 126px; }
  .nav-sidebar { padding: 0 12px; }
  .nav-item .nav-link { padding: 12px 14px; justify-content: flex-start; gap: 12px; }
  .nav-item .nav-link span:not(img):not(svg),
  .nav-item .nav-link p { display: block; }
  .nav-item img { margin: 0; }
  #footer { display: block; }

  nav.mobile-nav,
  nav.desktop-nav { display: block; }

  .container-fluid {
    padding-inline: 18px;
    padding-block: 18px;
  }

  .card-header,
  .card-body,
  .modal-header,
  .modal-body,
  .modal-footer {
    padding-inline: 18px !important;
  }

  .dataTables_wrapper .row {
    row-gap: 12px;
  }

  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper div.dt-buttons,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    float: none;
    text-align: left;
  }

  .dataTables_filter label,
  .dataTables_length label {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  div.dt-buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  div.dt-buttons .btn,
  div.dt-buttons button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  :root { --nav-h: 56px; }

  .navbar {
    padding: 10px 14px;
    min-height: var(--nav-h);
    height: auto;
    align-items: center;
  }
  .navbar-nav {
    width: 100%;
    min-width: 0;
  }
  .navbar-nav.ml-auto,
  .navbar-nav.right-nav {
    width: auto;
  }
  .page-title-nav h2, .page-title-nav .h3 { font-size: 16px; }
  .right-nav { display: none !important; }
  .switch { width: 44px; height: 24px; }
  .slider::before { width: 16px; height: 16px; }
  input:checked + .slider::before { transform: translateX(20px); }

  .container-fluid { padding: 16px; }
  .info-box-number { font-size: 1.5rem; }
  .card-title { font-size: 1.1rem; }
  .info-box,
  .card-body { padding: 16px !important; }
  .btn,
  .button-71,
  .button-60,
  .custom-select-trigger {
    width: 100%;
  }
  .custom-select-trigger {
    min-width: 0;
    justify-content: flex-start;
  }
  .custom-options {
    min-width: 100%;
    width: 100%;
  }
  .dataTables_filter input,
  .dataTables_length select {
    width: 100% !important;
    max-width: 100%;
  }
  .dataTables_filter label,
  .dataTables_length label {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .pagination,
  .dataTables_paginate {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .modal-dialog {
    width: calc(100% - 24px);
  }
  .modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-footer > * {
    width: 100%;
  }
  .input-group {
    flex-wrap: wrap;
    gap: 8px;
  }
  .input-group .form-control,
  .input-group-append,
  .input-group-text {
    width: 100%;
  }
  .input-group .form-control,
  .input-group-text {
    border-radius: 50px !important;
  }
  .input-group-text {
    min-height: 48px;
    justify-content: center;
    border-left: 1px solid var(--border);
  }

  /* Remove md/lg responsive blocks that Bootstrap manages */
  .d-md-block.d-lg-none.d-xl-none { display: block !important; }
  .d-none.d-md-none.d-lg-block.d-xl-block { display: none !important; }
}

@media (max-width: 575px) {
  h2 { font-size: 1.2rem; }
  .button-71 { font-size: 13px; padding: 9px 14px; }
  .container-fluid { padding: 14px; }
  .card-header,
  .card-body,
  .modal-header,
  .modal-body,
  .modal-footer {
    padding-inline: 14px !important;
  }
  .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .page-title-nav h2,
  .page-title-nav .h3 {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 992px) {
  .sidebar-collapse .main-sidebar { transform: translateX(-100%); }
  .sidebar-collapse .content-wrapper { margin-left: 0; }
}

/* Hold-transition (AdminLTE compat) */
.hold-transition { transition: none !important; }
.hold-transition * { transition: none !important; }

/* ── 31. SEARCH BOX ICON IN TABLE ───────────────────────── */
.bcksrch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(0,0,0,.2);
  border-radius: 50%;
  cursor: pointer;
}
.bcksrch img, .bcksrch svg { width: 18px; height: 18px; }
div.dataTables_wrapper div.dataTables_filter label { position: relative; }

/* ── 32. PROFILE ────────────────────────────────────────── */
.profile-badge { border: 1px solid var(--border); padding: 5px; position: relative; border-radius: var(--radius-sm); }

/* ── 33. MOBILE UX UPLIFT ─────────────────────────────── */
.mobile-quick-nav {
  display: none;
}

@media (max-width: 760px) {
  .has-mobile-quick-nav .content-wrapper {
    padding-bottom: 96px;
  }

  .has-mobile-quick-nav .container-fluid {
    padding-bottom: 92px;
  }

  .main-sidebar {
    width: min(310px, 90vw);
  }

  .sidebar .nav-link {
    min-height: 48px;
  }

  .navbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    background: rgba(0, 52, 73, 0.92);
  }

  .page-title-nav {
    flex: 1;
    min-width: 0;
  }

  .mobile-quick-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 140;
    display: flex;
    align-items: stretch;
    gap: 6px;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid rgba(245, 243, 238, 0.16);
    background:
      radial-gradient(circle at top right, rgba(172, 124, 156, 0.26), transparent 38%),
      linear-gradient(145deg, rgba(0, 52, 73, 0.96), rgba(0, 35, 49, 0.96));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(8px);
  }

  .mobile-quick-nav__link {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 4px 6px;
    border-radius: 12px;
    color: var(--text2);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    transition: background var(--ease), color var(--ease), transform var(--ease);
  }

  .mobile-quick-nav__link:hover {
    opacity: 1;
    color: var(--text);
  }

  .mobile-quick-nav__link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .mobile-quick-nav__link.is-active {
    color: var(--text);
    background: rgba(245, 243, 238, 0.13);
    transform: translateY(-1px);
  }
}
.profile-pic { position: relative; height: 120px; width: 120px; display: block; left: 50%; transform: translateX(-50%); z-index: 1001; padding: 10px; }
.profile-pic img { border-radius: 50%; box-shadow: 0 0 10px rgba(0,0,0,.3); cursor: pointer; width: 100px; height: 100px; object-fit: cover; }

/* ── 33. CHART HELPERS ─────────────────────────────────── */
.img-icon { background: transparent !important; }
.line-chart-sec { border-radius: var(--radius); }

/* ── 34. ANIMATION ──────────────────────────────────────── */
.fade-up .tricksword, .fade-up1 .tricksword, .fade-up2 .tricksword { opacity: 1; transform: none; }

/* ── 35. HOLD TRANSITION (body class from AdminLTE) ─────── */
.sidebar-mini .main-sidebar { }

/* ── 36. NAVBAR COLOR (role-based) ──────────────────────── */
.navbar-red { background-color: var(--bg2); color: var(--text); width: 100%; margin: 0; }
.sidenav-gray { background: var(--bg2); color: var(--text); }
.bg-custom { background: transparent; color: var(--text); }

/* Alert messages */
.alert-msg { color: var(--text3) !important; }

/* ── 37. DASHBOARD ICON SPRITES ─────────────────────────── */
/* Filter button icons (from dash.css) */
.today_icon, .yesterday_icon, .monthly_icon, .month_icon,
.all_icon, .old_month_icon, .weekly_icon,
.custom-select span.custom-select-trigger-icon {
  height: 20px; width: 20px;
  display: inline-block;
  vertical-align: middle;
  background-size: cover;
}
.today_icon    { background-image: url('../icon/today.png'); }
.yesterday_icon{ background-image: url('../svg/yesterday.svg'); }
.monthly_icon  { background-image: url('../svg/monthly.svg'); }
.month_icon    { background-image: url('../svg/month.svg'); }
.all_icon      { background-image: url('../svg/all.svg'); }

/* Leads/info box hover */
.leads-box { border-radius: var(--radius); }
.leads-box:hover { background: #333333 !important; box-shadow: 0 -4px 40px rgba(0,0,0,.25) !important; }
.leads-box span:first-child { font-size: 15px; font-weight: 500; color: var(--text2); line-height: 1.4; }
.leads-box span:nth-child(2) { font-size: 2rem; font-weight: 800; color: var(--text) !important; display: block; }
[data-theme="light"] .info-box:hover { background: var(--accent2) !important; }

/* Date range hidden field */
#date_fields { margin-left: auto !important; margin-right: 0; }

/* ── 38. KNOB CHART ─────────────────────────────────────── */
.knob { background: transparent !important; }

/* ── 39. CLIENT DASHBOARD ──────────────────────────────── */
.client-dashboard .card.card-body {
  padding: 24px !important;
}

.client-dashboard .dashboard-title {
  margin-left: 0 !important;
  color: var(--text) !important;
}

.client-dashboard .dashboard-toolbar-desktop,
.client-dashboard .dashboard-toolbar-mobile {
  margin-bottom: 8px;
}

.client-dashboard .dashboard-toolbar-mobile .col-lg-12,
.client-dashboard .dashboard-toolbar-mobile .col-md-12,
.client-dashboard .dashboard-toolbar-mobile .col-sm-12,
.client-dashboard .dashboard-toolbar-mobile .col-xs-12,
.client-dashboard .dashboard-chart-mobile-actions .col-lg-12,
.client-dashboard .dashboard-chart-mobile-actions .col-md-12,
.client-dashboard .dashboard-chart-mobile-actions .col-sm-12,
.client-dashboard .dashboard-chart-mobile-actions .col-xs-12 {
  padding-inline: 0;
}

.client-dashboard .dashboard-toolbar-desktop .button-71,
.client-dashboard .dashboard-chart-desktop-actions .button-60 {
  width: auto;
}

.client-dashboard .dashboard-section-title,
.client-dashboard .dashboard-summary-title {
  color: var(--text) !important;
}

.client-dashboard .dashboard-section-title {
  margin: 8px 0 0;
}

.client-dashboard .dashboard-summary-title {
  font-size: 22px;
  font-weight: 800;
}

.client-dashboard .dashboard-pie-chart {
  min-height: 220px;
  width: min(220px, 100%) !important;
  height: auto !important;
  min-width: 0 !important;
}

.client-dashboard .dashboard-line-chart {
  min-height: 220px !important;
}

@media (max-width: 760px) {
  .client-dashboard .card.card-body {
    padding: 18px !important;
  }

  .client-dashboard .dashboard-toolbar-desktop,
  .client-dashboard .dashboard-chart-desktop-actions {
    display: none !important;
  }

  .client-dashboard .dashboard-toolbar-mobile,
  .client-dashboard .dashboard-chart-mobile-actions {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }

  .client-dashboard .dashboard-toolbar-mobile form,
  .client-dashboard .dashboard-chart-mobile-actions a,
  .client-dashboard .dashboard-chart-filter form,
  .client-dashboard .custom-select-wrapper,
  .client-dashboard .custom-select,
  .client-dashboard .custom-select-trigger {
    width: 100%;
  }

  .client-dashboard .leads-box {
    min-height: 0;
  }

  .client-dashboard .leads-box .row {
    row-gap: 10px;
  }

  .client-dashboard .leads-box .col-md-5,
  .client-dashboard .leads-box .col-sm-5,
  .client-dashboard .leads-box .col-lg-5 {
    display: flex;
    justify-content: flex-start;
  }

  .client-dashboard .dashboard-chart-filter {
    margin-top: 4px;
  }

  .client-dashboard .dashboard-chart-filter .row {
    margin: 0;
  }

  .client-dashboard .dashboard-chart-filter .form-group {
    margin-bottom: 0;
    width: 100%;
  }

  .client-dashboard .dashboard-chart-filter select {
    width: 100%;
  }

  .client-dashboard .dashboard-summary-title {
    font-size: 18px;
  }
}
