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

/* ══════════════════════════════════════════════════════
   PXQLY — GLOBAL LIGHT THEME
   Off-white premium design system
══════════════════════════════════════════════════════ */

:root {
  /* ── Backgrounds ── */
  --bg:          #f5f3ef;
  --bg-2:        #eeebe5;
  --bg-3:        #e8e4dc;
  --surface:     #ffffff;
  --surface-2:   #faf9f7;

  /* ── Accent — deep indigo ── */
  --accent:      #4f46e5;
  --accent-2:    #7c3aed;
  --accent-soft: rgba(79,70,229,0.08);
  --accent-glow: rgba(79,70,229,0.15);

  /* ── Text ── */
  --text:        #1a1714;
  --text-2:      #3d3830;
  --muted:       #7a7268;
  --dim:         #a09890;

  /* ── Borders ── */
  --border:      rgba(26,23,20,0.1);
  --border-2:    rgba(26,23,20,0.06);

  /* ── Status ── */
  --success:     #059669;
  --danger:      #dc2626;
  --warning:     #d97706;
  --info:        #2563eb;

  /* ── Shadows ── */
  --shadow-sm:   0 1px 3px rgba(26,23,20,0.07), 0 1px 2px rgba(26,23,20,0.04);
  --shadow-md:   0 4px 12px rgba(26,23,20,0.08), 0 2px 6px rgba(26,23,20,0.04);
  --shadow-lg:   0 12px 32px rgba(26,23,20,0.1), 0 4px 12px rgba(26,23,20,0.06);
  --shadow-xl:   0 24px 64px rgba(26,23,20,0.12), 0 8px 24px rgba(26,23,20,0.06);

  --radius:      14px;
  --font:        'Plus Jakarta Sans', sans-serif;
}

/* ── Reset ── */

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

html { font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

#root { min-height: 100vh; }

/* ── Scrollbar ── */

::-webkit-scrollbar { width: 5px; height: 5px; }

::-webkit-scrollbar-track { background: transparent; }

::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

::-webkit-scrollbar-thumb:hover { background: var(--dim); }

/* ── Animations ── */

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Utility ── */

.fade-in { animation: fadeIn 0.3s ease; }
/* ═══════════════════════════════════════════════════════════════
   PXQLY — Premium Landing Page
   Psychology: Authority · Trust · Scarcity · Social Proof
═══════════════════════════════════════════════════════════════ */

:root {
  --black:   #080808;
  --dark:    #0f0e0c;
  --dark2:   #161412;
  --surface: #1a1814;
  --border:  rgba(255,255,255,0.08);
  --text:    #f5f3ef;
  --muted:   rgba(255,255,255,0.45);
  --dim:     rgba(255,255,255,0.2);
  --accent:  #6366f1;
  --accent2: #8b5cf6;
  --gold:    #f59e0b;
  --green:   #10b981;
  --font:    'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

._page_dq4st_47 {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
._nav_dq4st_65 {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 68px;
  background: rgba(8,8,8,0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.4);
}
._brand_dq4st_85 { display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; }
._brandIcon_dq4st_87 {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px;
  box-shadow: 0 4px 14px rgba(99,102,241,0.5);
}
._brandName_dq4st_101 {
  font-size: 19px; font-weight: 800; color: #fff;
  letter-spacing: -0.4px;
}
._navLinks_dq4st_109 { display: flex; gap: 6px; }
._navLinks_dq4st_109 a {
  color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 600;
  text-decoration: none; padding: 6px 14px; border-radius: 8px;
  transition: all 0.2s; letter-spacing: 0.1px;
}
._navLinks_dq4st_109 a:hover { color: #fff; background: rgba(255,255,255,0.07); }
._navActions_dq4st_123 { display: flex; gap: 10px; align-items: center; }
._btnGhost_dq4st_125 {
  padding: 9px 18px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px; background: transparent;
  color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: var(--font);
  letter-spacing: 0.1px;
}
._btnGhost_dq4st_125:hover { border-color: rgba(255,255,255,0.22); color: #fff; background: rgba(255,255,255,0.05); }
._btnPrimary_dq4st_141 {
  padding: 9px 20px; border: none; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; font-family: var(--font);
  box-shadow: 0 4px 14px rgba(99,102,241,0.4);
  letter-spacing: 0.1px;
}
._btnPrimary_dq4st_141:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(99,102,241,0.55); }

/* ── HERO ── */
._hero_dq4st_163 {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 140px 64px 80px;
  text-align: center;
  overflow: hidden;
}
._heroBg_dq4st_181 {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(99,102,241,0.18), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139,92,246,0.1), transparent),
    linear-gradient(180deg, #080808 0%, #0f0e0c 100%);
  z-index: 0;
}
._heroBg_dq4st_181::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
._heroInner_dq4st_213 { position: relative; z-index: 1; max-width: 800px; }

._heroBadge_dq4st_217 {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.25);
  color: #a5b4fc; font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
}
._badgeDot_dq4st_231 {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: _pulse_dq4st_1 2s infinite;
}
@keyframes _pulse_dq4st_1 { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.2)} }

._heroTitle_dq4st_247 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 22px;
}
._accent_dq4st_263 {
  background: linear-gradient(135deg, var(--accent), var(--accent2), #e879a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

._heroSub_dq4st_277 {
  font-size: 18px; color: var(--muted); line-height: 1.7;
  max-width: 580px; margin: 0 auto 36px;
}

._heroCta_dq4st_287 { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
._btnHero_dq4st_289 {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 32px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: var(--font);
  box-shadow: 0 8px 28px rgba(99,102,241,0.45);
  transition: all 0.2s;
}
._btnHero_dq4st_289:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(99,102,241,0.55); }
._btnLearn_dq4st_309 {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border: 1px solid var(--border);
  border-radius: 12px; color: var(--muted);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.2s;
}
._btnLearn_dq4st_309:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }

._trustBar_dq4st_327 {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--border);
}
._trustItem_dq4st_335 {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--dim); font-weight: 500;
}
._trustItem_dq4st_335 i { color: var(--green); font-size: 12px; }

._heroStats_dq4st_347 {
  position: relative; z-index: 1;
  display: flex; gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 60px; width: 100%; max-width: 700px;
}
._heroStat_dq4st_347 {
  flex: 1; padding: 24px 20px; text-align: center;
  border-right: 1px solid var(--border);
}
._heroStat_dq4st_347:last-child { border-right: none; }
._heroStatNum_dq4st_375 { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -1px; }
._heroStatLabel_dq4st_377 { font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 500; }

/* ── SECTION COMMON ── */
._section_dq4st_383 {
  padding: 100px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
._sectionLabel_dq4st_393 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent);
  margin-bottom: 12px;
}
._sectionTitle_dq4st_403 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; letter-spacing: -1px;
  color: #fff; margin-bottom: 14px;
}
._sectionSub_dq4st_413 {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  max-width: 540px; margin-bottom: 56px;
}

/* ── SERVICES ── */
._servicesGrid_dq4st_425 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
._serviceCard_dq4st_435 {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 28px;
  transition: all 0.25s;
}
._serviceCard_dq4st_435:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
._serviceIcon_dq4st_459 {
  width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
._serviceTitle_dq4st_469 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; }
._serviceDesc_dq4st_471 { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
._serviceTags_dq4st_473 { display: flex; gap: 6px; flex-wrap: wrap; }
._tag_dq4st_475 {
  padding: 3px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  font-size: 11px; color: var(--dim); font-weight: 600;
}

/* ── PROCESS ── */
._processSec_dq4st_489 {
  background: var(--dark2);
  padding: 100px 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
._processSteps_dq4st_503 {
  display: flex; gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
._processStep_dq4st_503 {
  flex: 1; min-width: 180px; max-width: 220px;
  display: flex; flex-direction: column; align-items: center;
  position: relative; padding: 0 16px;
}
._processNum_dq4st_529 {
  font-size: 11px; font-weight: 800; color: var(--accent);
  letter-spacing: 1px; margin-bottom: 14px;
}
._processIcon_dq4st_537 {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--accent); margin-bottom: 14px;
}
._processTitle_dq4st_549 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 8px; }
._processDesc_dq4st_551 { font-size: 13px; color: var(--muted); line-height: 1.6; }
._processLine_dq4st_553 {
  position: absolute; top: 68px; right: -50%;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 0;
}

/* ── WHY US ── */
._whyGrid_dq4st_569 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
._whyCard_dq4st_575 {
  padding: 28px; border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
._whyCard_dq4st_575:hover { background: rgba(255,255,255,0.04); transform: translateY(-2px); }
._whyIcon_dq4st_589 { font-size: 24px; margin-bottom: 14px; }
._whyTitle_dq4st_591 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
._whyDesc_dq4st_593 { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── PROOF ── */
._proofSec_dq4st_599 {
  background: linear-gradient(135deg, #0f0e1a 0%, #0a0908 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 64px;
}
._proofInner_dq4st_611 { max-width: 1100px; margin: 0 auto; text-align: center; }
._proofGrid_dq4st_613 {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  margin-top: 48px;
}
._proofCard_dq4st_627 {
  background: rgba(255,255,255,0.02);
  padding: 36px 20px; text-align: center;
  transition: background 0.2s;
}
._proofCard_dq4st_627:hover { background: rgba(99,102,241,0.08); }
._proofNum_dq4st_639 {
  font-size: 32px; font-weight: 900; color: #fff;
  letter-spacing: -1px; margin-bottom: 6px;
}
._proofSub_dq4st_647 { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ── TESTIMONIALS ── */
._testimGrid_dq4st_653 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
._testimCard_dq4st_659 {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  transition: all 0.2s;
}
._testimCard_dq4st_659:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
._testimStars_dq4st_673 { display: flex; gap: 3px; margin-bottom: 14px; }
._testimText_dq4st_675 {
  font-size: 14px; color: rgba(255,255,255,0.7);
  line-height: 1.7; margin-bottom: 18px;
  font-style: italic;
}
._testimAuthor_dq4st_685 { display: flex; align-items: center; gap: 12px; }
._testimAvatar_dq4st_687 {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff; flex-shrink: 0;
}
._testimName_dq4st_699 { font-size: 14px; font-weight: 700; color: #fff; }
._testimRole_dq4st_701 { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── FAQ ── */
._faqGrid_dq4st_707 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
._faqCard_dq4st_713 {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
  transition: all 0.2s;
}
._faqCard_dq4st_713:hover { border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.04); }
._faqQ_dq4st_727 {
  font-size: 15px; font-weight: 700; color: #fff;
  margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
._faqQ_dq4st_727 i { color: var(--accent); font-size: 14px; flex-shrink: 0; }
._faqA_dq4st_737 { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── CTA ── */
._ctaSec_dq4st_743 {
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.08) 100%);
  border-top: 1px solid rgba(99,102,241,0.2);
  padding: 100px 64px; text-align: center;
}
._ctaInner_dq4st_753 { max-width: 620px; margin: 0 auto; }
._ctaBadge_dq4st_755 {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 50px;
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25);
  color: #fbbf24; font-size: 12px; font-weight: 700;
  margin-bottom: 20px; letter-spacing: 0.3px;
}
._ctaBadge_dq4st_755::before { content: '🔥'; }
._ctaTitle_dq4st_771 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900; color: #fff; letter-spacing: -1px;
  margin-bottom: 14px;
}
._ctaSub_dq4st_781 { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; }
._ctaBtns_dq4st_783 { display: flex; flex-direction: column; align-items: center; gap: 14px; }
._ctaNote_dq4st_785 { font-size: 13px; color: var(--dim); display: flex; align-items: center; gap: 6px; }
._ctaNote_dq4st_785 i { font-size: 11px; }

/* ── FOOTER ── */
._footer_dq4st_793 {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 60px 64px 32px;
}
._footerTop_dq4st_803 {
  display: flex; gap: 64px; margin-bottom: 48px; flex-wrap: wrap;
}
._footerBrand_dq4st_809 { max-width: 260px; }
._footerTagline_dq4st_811 { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 12px; }
._footerLinks_dq4st_813 { display: flex; gap: 48px; flex: 1; flex-wrap: wrap; }
._footerHead_dq4st_815 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--dim); margin-bottom: 14px; }
._footerLink_dq4st_813 { font-size: 14px; color: var(--muted); margin-bottom: 9px; cursor: pointer; transition: color 0.2s; }
._footerLink_dq4st_813:hover { color: var(--text); }
._footerBottom_dq4st_821 {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  ._nav_dq4st_65 { padding: 0 32px; }
  ._hero_dq4st_163 { padding: 100px 32px 60px; }
  ._section_dq4st_383 { padding: 72px 32px; }
  ._processSec_dq4st_489 { padding: 72px 32px; }
  ._proofSec_dq4st_599 { padding: 72px 32px; }
  ._ctaSec_dq4st_743 { padding: 72px 32px; }
  ._footer_dq4st_793 { padding: 48px 32px 28px; }
  ._servicesGrid_dq4st_425 { grid-template-columns: repeat(2, 1fr); }
  ._whyGrid_dq4st_569 { grid-template-columns: repeat(2, 1fr); }
  ._proofGrid_dq4st_613 { grid-template-columns: repeat(3, 1fr); }
  ._testimGrid_dq4st_653 { grid-template-columns: repeat(2, 1fr); }
  ._footerTop_dq4st_803 { gap: 40px; }
}

@media (max-width: 768px) {
  ._nav_dq4st_65 { padding: 0 20px; height: 60px; }
  ._navLinks_dq4st_109 { display: none; }
  ._hero_dq4st_163 { padding: 80px 20px 48px; }
  ._heroTitle_dq4st_247 { font-size: 36px; letter-spacing: -1px; }
  ._heroSub_dq4st_277 { font-size: 15px; }
  ._heroStats_dq4st_347 { flex-direction: column; }
  ._heroStat_dq4st_347 { border-right: none; border-bottom: 1px solid var(--border); padding: 16px; }
  ._heroStat_dq4st_347:last-child { border-bottom: none; }
  ._section_dq4st_383 { padding: 56px 20px; }
  ._processSec_dq4st_489 { padding: 56px 20px; }
  ._proofSec_dq4st_599 { padding: 56px 20px; }
  ._ctaSec_dq4st_743 { padding: 56px 20px; }
  ._footer_dq4st_793 { padding: 40px 20px 24px; }
  ._servicesGrid_dq4st_425 { grid-template-columns: 1fr; }
  ._whyGrid_dq4st_569 { grid-template-columns: 1fr; }
  ._proofGrid_dq4st_613 { grid-template-columns: repeat(2, 1fr); }
  ._testimGrid_dq4st_653 { grid-template-columns: 1fr; }
  ._faqGrid_dq4st_707 { grid-template-columns: 1fr; }
  ._processSteps_dq4st_503 { flex-direction: column; align-items: center; }
  ._processLine_dq4st_553 { display: none; }
  ._trustBar_dq4st_327 { gap: 16px; }
  ._footerLinks_dq4st_813 { flex-direction: column; gap: 28px; }
  ._footerTop_dq4st_803 { flex-direction: column; }
  ._footerBottom_dq4st_821 { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   ANIMATIONS — Premium level
══════════════════════════════════════════════════════════ */

/* Ripple */
@keyframes _ripple_dq4st_931 { to { transform: scale(3.5); opacity: 0; } }
._rippleSpan_dq4st_931 {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transform: scale(0); animation: _ripple_dq4st_931 0.55s linear;
  pointer-events: none;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal]._visible_dq4st_959 {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar scrolled */
._navScrolled_dq4st_971 {
  background: rgba(4,4,4,0.95) !important;
  box-shadow: 0 2px 28px rgba(0,0,0,0.6) !important;
}

/* Hero badge pulse */
@keyframes _pulse_dq4st_1 { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.25)} }

/* Service card hover */
._serviceCard_dq4st_435 {
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}
._serviceCard_dq4st_435:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.35) !important;
}

/* Why card hover */
._whyCard_dq4st_575 { transition: all 0.28s cubic-bezier(0.34,1.56,0.64,1); }
._whyCard_dq4st_575:hover { transform: translateY(-5px) scale(1.01); }

/* Testimonial card hover */
._testimCard_dq4st_659 { transition: all 0.28s cubic-bezier(0.34,1.56,0.64,1); }
._testimCard_dq4st_659:hover { transform: translateY(-4px); }

/* FAQ hover */
._faqCard_dq4st_713 { transition: all 0.22s ease; }
._faqCard_dq4st_713:hover { transform: translateX(4px); }

/* Hero stat hover */
._heroStat_dq4st_347 { transition: background 0.2s; }
._heroStat_dq4st_347:hover { background: rgba(99,102,241,0.08); }

/* Proof card hover */
._proofCard_dq4st_627 { transition: all 0.2s; }
._proofCard_dq4st_627:hover {
  background: rgba(99,102,241,0.1) !important;
  transform: translateY(-3px);
}

/* Process step icon hover */
._processStep_dq4st_503:hover ._processIcon_dq4st_537 {
  background: rgba(99,102,241,0.2);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(99,102,241,0.3);
}
._processIcon_dq4st_537 { transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1); }

/* Button animations */
._btnHero_dq4st_289 {
  position: relative; overflow: hidden;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1) !important;
}
._btnHero_dq4st_289:hover { transform: translateY(-3px) scale(1.02) !important; }
._btnHero_dq4st_289:active { transform: scale(0.97) !important; }

._btnPrimary_dq4st_141 {
  position: relative; overflow: hidden;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1) !important;
}
._btnPrimary_dq4st_141:active { transform: scale(0.96) !important; }

._btnGhost_dq4st_125 {
  transition: all 0.2s ease !important;
}
._btnGhost_dq4st_125:active { transform: scale(0.97); }

/* Nav link underline animation */
._navLinks_dq4st_109 a { position: relative; }
._navLinks_dq4st_109 a::after {
  content: '';
  position: absolute; bottom: -2px; left: 50%; right: 50%;
  height: 2px; background: var(--accent);
  border-radius: 2px;
  transition: left 0.25s ease, right 0.25s ease;
}
._navLinks_dq4st_109 a:hover::after { left: 0; right: 0; }

/* CTA badge shimmer */
._ctaBadge_dq4st_755::before { content: '🔥'; }
._ctaSec_dq4st_743 { transition: none; }
[data-reveal]._ctaSec_dq4st_743 { transition: opacity 0.65s, transform 0.65s; }

/* Brand icon hover */
._brandIcon_dq4st_87 {
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
._brand_dq4st_85:hover ._brandIcon_dq4st_87 { transform: rotate(-8deg) scale(1.1); }

/* Hero inner fade up with stagger for children */
._heroInner_dq4st_213._visible_dq4st_959 > * {
  animation: _fadeUpChild_dq4st_1 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
._heroInner_dq4st_213._visible_dq4st_959 > *:nth-child(1) { animation-delay: 0.05s; }
._heroInner_dq4st_213._visible_dq4st_959 > *:nth-child(2) { animation-delay: 0.12s; }
._heroInner_dq4st_213._visible_dq4st_959 > *:nth-child(3) { animation-delay: 0.19s; }
._heroInner_dq4st_213._visible_dq4st_959 > *:nth-child(4) { animation-delay: 0.26s; }
._heroInner_dq4st_213._visible_dq4st_959 > *:nth-child(5) { animation-delay: 0.33s; }

@keyframes _fadeUpChild_dq4st_1 {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }
/* ══════════════════════════════════════════════════════
   AUTH — Light Right, Dark Left, Psychology-Driven
══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.uw-page {
  min-height: 100vh;
  background: #f5f3ef;
  font-family: var(--font);
  color: #1a1814;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
.uw-nav {
  height: 64px;
  border-bottom: 1px solid #e8e4dc;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(245,243,239,0.95);
  backdrop-filter: blur(20px);
  position: sticky; top: 0; z-index: 100;
}
.uw-brand { display:flex; align-items:center; gap:10px; cursor:pointer; }
.uw-brand-icon {
  width:34px; height:34px;
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  border-radius:9px; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:14px;
  box-shadow:0 4px 12px rgba(99,102,241,0.3);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.uw-brand:hover .uw-brand-icon { transform: rotate(-8deg) scale(1.1); }
.uw-brand-name { font-size:18px; font-weight:800; color:#1a1814; letter-spacing:-0.3px; }
.uw-nav-right { display:flex; align-items:center; gap:12px; }
.uw-nav-text { font-size:13px; color:#8a8278; }
.uw-nav-btn {
  padding:8px 18px; border:1.5px solid #6366f1;
  border-radius:50px; background:transparent;
  color:#6366f1; font-size:13px; font-weight:700;
  cursor:pointer; transition:all 0.2s; font-family:var(--font);
}
.uw-nav-btn:hover { background:#6366f1; color:#fff; }
.uw-nav-ghost {
  display:flex; align-items:center; gap:7px;
  padding:7px 14px; border:1px solid #e8e4dc;
  border-radius:50px; background:transparent;
  color:#8a8278; font-size:13px; font-weight:600;
  cursor:pointer; transition:all 0.2s; font-family:var(--font);
}
.uw-nav-ghost:hover { border-color:#b8b0a4; color:#1a1814; }

/* ── BODY ── */
.uw-body { flex:1; display:flex; min-height:calc(100vh - 64px); }

/* ── LEFT — Dark panel with psychology ── */
.uw-left {
  width: 46%;
  background: linear-gradient(145deg, #1a1814 0%, #0f0e0c 100%);
  border-right: 1px solid #e8e4dc;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 60px;
  position: relative; overflow: hidden;
}
.uw-left::before {
  content:''; position:absolute; top:-100px; left:-100px;
  width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  pointer-events:none;
}
.uw-left::after {
  content:''; position:absolute; bottom:-80px; right:-80px;
  width:300px; height:300px; border-radius:50%;
  background:radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  pointer-events:none;
}
.uw-left-inner { max-width: 360px; position: relative; z-index: 1; }

.uw-headline {
  font-size: 50px; font-weight: 900;
  line-height: 1.06; letter-spacing: -2px;
  color: #fff; margin-bottom: 14px;
}
.uw-headline-accent {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #e879a0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.uw-sub {
  font-size: 14px; color: rgba(255,255,255,0.4);
  line-height: 1.7; margin-bottom: 28px; max-width: 300px;
}
.uw-social-proof {
  display: flex; gap: 20px; margin-bottom: 28px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
}
.uw-proof-item { text-align: center; }
.uw-proof-num { font-size: 20px; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.uw-proof-label { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 3px; }
.uw-trust { display:flex; flex-direction:column; gap:8px; }
.uw-trust-item {
  display:flex; align-items:center; gap:10px;
  font-size:13px; color:rgba(255,255,255,0.45); font-weight:500;
  padding:8px 12px; border-radius:9px; transition:background 0.2s;
}
.uw-trust-item:hover { background:rgba(255,255,255,0.04); color:rgba(255,255,255,0.7); }
.uw-trust-item i { color:#10b981; font-size:12px; width:14px; flex-shrink:0; }
.uw-activity {
  margin-top:20px; padding:11px 14px;
  background:rgba(16,185,129,0.08); border:1px solid rgba(16,185,129,0.2);
  border-radius:11px; display:flex; align-items:center; gap:9px;
  animation: activityPulse 3s ease infinite;
}
@keyframes activityPulse { 0%,100%{border-color:rgba(16,185,129,0.2)} 50%{border-color:rgba(16,185,129,0.4)} }
.uw-activity-dot {
  width:7px; height:7px; border-radius:50%;
  background:#10b981; box-shadow:0 0 7px #10b981;
  animation:dotPulse 2s ease infinite; flex-shrink:0;
}
@keyframes dotPulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.uw-activity-text { font-size:12px; color:rgba(255,255,255,0.4); }
.uw-activity-text strong { color:#10b981; }

/* Staff badge + role picker */
.uw-staff-portal-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(99,102,241,0.1); border:1px solid rgba(99,102,241,0.25);
  color:#a5b4fc; padding:6px 14px; border-radius:50px;
  font-size:12px; font-weight:700; margin-bottom:18px;
}
.uw-role-preview { display:flex; flex-direction:column; gap:6px; margin-top:4px; }
.uw-role-prev {
  display:flex; align-items:center; gap:11px;
  padding:10px 13px; border:1px solid rgba(255,255,255,0.07);
  border-radius:10px; background:rgba(255,255,255,0.03);
  cursor:pointer; transition:all 0.2s;
  font-size:13px; font-weight:600; color:rgba(255,255,255,0.4);
}
.uw-role-prev:hover { background:rgba(255,255,255,0.06); color:rgba(255,255,255,0.8); transform:translateX(3px); }
.uw-role-prev.active { transform:translateX(4px); }
.uw-role-prev-icon {
  width:30px; height:30px; border-radius:8px;
  display:flex; align-items:center; justify-content:center; font-size:12px; flex-shrink:0;
}

/* ── RIGHT — Light form ── */
.uw-right {
  flex:1; display:flex; align-items:center; justify-content:center;
  padding:60px 48px; overflow-y:auto; background:#f5f3ef;
}
.uw-form-box { width:100%; max-width:400px; }
.uw-role-tag {
  display:inline-flex; align-items:center; gap:8px;
  padding:5px 12px; border:1px solid; border-radius:50px;
  font-size:11px; font-weight:700; margin-bottom:12px;
}
.uw-form-title {
  font-size:26px; font-weight:900; letter-spacing:-0.5px;
  color:#1a1814; margin-bottom:6px; line-height:1.2;
}
.uw-form-subtitle { font-size:14px; color:#8a8278; margin-bottom:26px; line-height:1.5; }

/* ── SOCIAL BUTTONS ── */
.uw-socials { display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.uw-soc {
  display:flex; align-items:center; gap:13px;
  padding:13px 18px; border:1.5px solid #e8e4dc;
  border-radius:12px; background:#fff;
  color:#1a1814; font-size:14px; font-weight:600;
  cursor:pointer; transition:all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  font-family:var(--font); width:100%;
  box-shadow:0 1px 4px rgba(0,0,0,0.05), 0 0 0 0 rgba(99,102,241,0);
  position:relative; overflow:hidden;
  letter-spacing:-0.1px;
}
/* shimmer sweep on hover */
.uw-soc::before {
  content:'';
  position:absolute; top:0; left:-100%;
  width:60%; height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.6),transparent);
  transform:skewX(-20deg);
  transition:left 0s;
}
.uw-soc:hover:not(:disabled)::before {
  left:150%;
  transition:left 0.5s ease;
}
.uw-soc:hover:not(:disabled) {
  border-color:#c8c4bc;
  transform:translateY(-2px) scale(1.005);
  box-shadow:0 6px 20px rgba(0,0,0,0.1), 0 0 0 3px rgba(99,102,241,0.06);
}
.uw-soc:active:not(:disabled) {
  transform:scale(0.97) translateY(0px);
  box-shadow:0 1px 4px rgba(0,0,0,0.05);
  transition:all 0.1s ease;
}
.uw-soc:disabled { opacity:0.45; cursor:not-allowed; }
.uw-soc.apple i { font-size:19px; color:#1a1814; }
.uw-soc.facebook i { font-size:17px; color:#1877f2; }

/* ── DIVIDER ── */
.uw-divider {
  display:flex; align-items:center; gap:13px;
  color:#b8b0a4; font-size:12px; margin:18px 0;
}
.uw-divider::before,.uw-divider::after { content:''; flex:1; height:1px; background:#e8e4dc; }

/* ── FORM FIELDS ── */
.uw-form { display:flex; flex-direction:column; gap:15px; }
.uw-field { display:flex; flex-direction:column; gap:6px; }
.uw-field label { font-size:13px; font-weight:700; color:#4a4540; }
.uw-field-top { display:flex; justify-content:space-between; align-items:center; }
.uw-forgot { font-size:13px; color:#6366f1; cursor:pointer; font-weight:600; transition:color 0.2s; }
.uw-forgot:hover { color:#4338ca; }
.uw-field input, .uw-pw-wrap input {
  width:100%; padding:12px 15px;
  border:1.5px solid #e8e4dc; border-radius:10px;
  background:#fff; color:#1a1814;
  font-size:14px; outline:none;
  transition:border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  font-family:var(--font);
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
}
.uw-field input:focus, .uw-pw-wrap input:focus {
  border-color:#6366f1;
  box-shadow:0 0 0 3px rgba(99,102,241,0.12);
  transform:translateY(-1px);
}
.uw-field input:hover:not(:focus), .uw-pw-wrap input:hover:not(:focus) {
  border-color:#c8c4bc;
}
.uw-field input::placeholder, .uw-pw-wrap input::placeholder { color:#c8c4bc; }
.uw-pw-wrap { position:relative; }
.uw-pw-wrap input { padding-right:44px; }
.uw-eye {
  position:absolute; right:13px; top:50%; transform:translateY(-50%);
  color:#b8b0a4; cursor:pointer; font-size:14px; transition:color 0.2s;
}
.uw-eye:hover { color:#8a8278; }

/* ── ERROR ── */
.uw-err {
  display:flex; align-items:center; gap:9px;
  background:#fef2f2; border:1px solid #fecaca;
  color:#ef4444; padding:10px 13px; border-radius:10px; font-size:13px;
  animation:errShake 0.4s ease;
}
@keyframes errShake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-6px)} 60%{transform:translateX(4px)} }

/* ── SUBMIT ── */
.uw-submit {
  width:100%; padding:13px; border:none; border-radius:10px;
  background:linear-gradient(135deg,#6366f1,#8b5cf6);
  color:#fff; font-size:15px; font-weight:800; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:8px;
  transition:all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow:0 4px 16px rgba(99,102,241,0.35);
  font-family:var(--font); margin-top:4px;
  position:relative; overflow:hidden;
}
.uw-submit:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 8px 26px rgba(99,102,241,0.45); }
.uw-submit:active:not(:disabled) { transform:scale(0.98); }
.uw-submit:disabled { opacity:0.5; cursor:not-allowed; }
.uw-submit::after {
  content:''; position:absolute; top:-50%; left:-60%;
  width:40%; height:200%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.15),transparent);
  transform:skewX(-20deg); animation:shimmer 3s ease infinite;
}
@keyframes shimmer { 0%{left:-60%} 100%{left:140%} }

/* ── TERMS ── */
.uw-terms { font-size:12px; color:#8a8278; margin-top:13px; line-height:1.6; }
.uw-terms span { color:#6366f1; cursor:pointer; font-weight:600; }
.uw-terms span:hover { color:#4338ca; }

/* ── RESPONSIVE ── */
@media (max-width:900px) {
  .uw-left { display:none; }
  .uw-right { padding:40px 24px; }
  .uw-nav { padding:0 24px; }
}
@media (max-width:480px) {
  .uw-form-box { max-width:100%; }
  .uw-form-title { font-size:22px; }
  .uw-nav-text { display:none; }
}
/* ══════════════════════════════════════════════════════
   TEAM LOGIN — Premium, invite-only portal
══════════════════════════════════════════════════════ */
.sl-page {
  min-height: 100vh;
  background: #f5f3ef;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1a1714;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.sl-bg-pattern {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(79,70,229,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124,58,237,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.sl-back {
  position: fixed; top: 24px; left: 28px; z-index: 100;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(26,23,20,0.1);
  color: #7a7268; font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 50px; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
  box-shadow: 0 2px 8px rgba(26,23,20,0.06);
}
.sl-back:hover { color: #1a1714; border-color: rgba(26,23,20,0.2); }

.sl-container { display: flex; width: 100%; min-height: 100vh; }

/* ── LEFT ── */
.sl-left {
  width: 46%;
  background: #fff;
  border-right: 1px solid rgba(26,23,20,0.08);
  display: flex; flex-direction: column;
  padding: 48px 56px;
  position: relative; z-index: 1;
}

.sl-brand { display: flex; align-items: center; gap: 11px; cursor: pointer; margin-bottom: 64px; }
.sl-brand-icon {
  width: 40px; height: 40px;
  background: #4f46e5; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px;
  box-shadow: 0 4px 12px rgba(79,70,229,0.25);
}
.sl-brand-name { font-size: 20px; font-weight: 800; color: #1a1714; }

.sl-left-body { flex: 1; }
.sl-portal-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,70,229,0.08); border: 1px solid rgba(79,70,229,0.2);
  color: #4f46e5; padding: 6px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 700; margin-bottom: 22px;
}
.sl-headline {
  font-size: 56px; font-weight: 900; line-height: 1.05;
  letter-spacing: -2px; color: #1a1714; margin-bottom: 14px;
}
.sl-sub { color: #7a7268; font-size: 15px; line-height: 1.7; margin-bottom: 36px; max-width: 340px; }

/* Role list */
.sl-roles { display: flex; flex-direction: column; gap: 8px; }
.sl-role {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border: 1.5px solid rgba(26,23,20,0.08);
  border-radius: 14px; background: #faf9f7;
  cursor: pointer; transition: all 0.2s;
}
.sl-role:hover { border-color: rgba(26,23,20,0.15); transform: translateX(3px); }
.sl-role.active { transform: translateX(5px); }
.sl-role-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.sl-role-info { flex: 1; }
.sl-role-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; color: #1a1714; }
.sl-role-desc { font-size: 12px; color: #7a7268; }
.sl-role-check { font-size: 17px; flex-shrink: 0; }

.sl-left-footer {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #a09890; margin-top: 32px;
}

/* ── RIGHT ── */
.sl-right {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 60px 48px; background: #f5f3ef;
}
.sl-card { width: 100%; max-width: 420px; }

.sl-role-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid; border-radius: 50px;
  font-size: 12px; font-weight: 700; margin-bottom: 20px;
}
.sl-title { font-size: 28px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 6px; }
.sl-subtitle { color: #7a7268; font-size: 14px; margin-bottom: 28px; }

/* Form */
.sl-form { display: flex; flex-direction: column; gap: 16px; }
.sl-field { display: flex; flex-direction: column; gap: 7px; }
.sl-field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #3d3830; }
.sl-field-top { display: flex; justify-content: space-between; align-items: center; }
.sl-forgot-link { font-size: 12px; color: #4f46e5; cursor: pointer; font-weight: 600; }
.sl-forgot-link:hover { text-decoration: underline; }

.sl-input {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1.5px solid rgba(26,23,20,0.1);
  border-radius: 10px; padding: 0 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(26,23,20,0.05);
}
.sl-input:focus-within { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.sl-input > i:first-child { color: #a09890; font-size: 14px; flex-shrink: 0; }
.sl-input input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #1a1714; font-size: 14px; padding: 13px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.sl-input input::placeholder { color: #c4bdb5; }
.sl-eye { color: #a09890 !important; cursor: pointer; font-size: 13px !important; flex-shrink: 0; transition: color 0.2s; }
.sl-eye:hover { color: #1a1714 !important; }

.sl-err {
  display: flex; align-items: center; gap: 8px;
  background: #fef2f2; border: 1px solid #fecaca;
  color: #dc2626; padding: 10px 13px; border-radius: 9px; font-size: 13px;
}

.sl-submit {
  width: 100%; padding: 14px; border: none; border-radius: 10px;
  color: #fff; font-size: 15px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: all 0.22s; margin-top: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.sl-submit:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.sl-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.sl-note {
  display: flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 12px 14px;
  background: rgba(26,23,20,0.04); border-radius: 9px;
  font-size: 12px; color: #7a7268;
}

/* Forgot */
.sl-back-btn {
  display: flex; align-items: center; gap: 8px;
  background: transparent; border: none; color: #7a7268;
  font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 0; margin-bottom: 24px; font-family: inherit;
}
.sl-back-btn:hover { color: #1a1714; }
.sl-forgot-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(79,70,229,0.1); color: #4f46e5;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
}

/* Sent */
.sl-sent { text-align: center; padding: 20px 0; }
.sl-sent-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(5,150,105,0.1); color: #059669;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; margin: 0 auto 20px;
}
.sl-sent h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.sl-sent p { color: #7a7268; font-size: 14px; line-height: 1.6; }
.sl-sent-note { margin-top: 16px; font-size: 13px; }
.sl-sent-note span { color: #4f46e5; cursor: pointer; font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .sl-left { display: none; }
  .sl-right { padding: 40px 24px; }
  .sl-back { top: 16px; left: 16px; }
}

.sl-admin-link {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; padding: 12px 16px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 12px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: #dc2626;
  transition: all 0.2s;
}
.sl-admin-link:hover { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.35); }
/* ══════════════════════════════════════════════════════
   ADMIN LOGIN — High Security Portal
══════════════════════════════════════════════════════ */
.al-page {
  min-height: 100vh;
  background: #080a10;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #f1f5f9;
  position: relative; overflow: hidden;
  padding: 40px 20px;
}

/* Grid background */
.al-bg-grid {
  position: fixed; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(239,68,68,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,68,68,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.al-bg-grid::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(239,68,68,0.08) 0%, transparent 60%);
}

/* Back button */
.al-back {
  position: fixed; top: 24px; left: 24px; z-index: 10;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: #8b9bb0; font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 50px; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.al-back:hover { color: #fff; border-color: rgba(255,255,255,0.2); }

/* Center container */
.al-center {
  width: 100%; max-width: 420px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  position: relative; z-index: 1;
}

/* Security badge */
.al-security-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5; padding: 7px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 700;
}
.al-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ef4444; animation: alPulse 1.5s infinite;
}
@keyframes alPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

/* Card */
.al-card {
  width: 100%;
  background: #0d0f18;
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(239,68,68,0.08), 0 24px 64px rgba(0,0,0,0.6);
}

.al-card-header {
  padding: 32px 32px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, rgba(239,68,68,0.06) 0%, transparent 100%);
}

.al-crown-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(239,68,68,0.4);
}

.al-title { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 6px; }
.al-subtitle { color: #8b9bb0; font-size: 13px; }

/* Form */
.al-form { padding: 24px 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.al-field { display: flex; flex-direction: column; gap: 7px; }
.al-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #8b9bb0; }

.al-input {
  display: flex; align-items: center; gap: 11px;
  background: #060810; border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 11px; padding: 0 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.al-input:focus-within { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }
.al-input > i:first-child { color: #6c7a91; font-size: 14px; flex-shrink: 0; }
.al-input input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #f1f5f9; font-size: 14px; padding: 13px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.al-input input::placeholder { color: #2d3748; }
.al-eye { color: #6c7a91 !important; cursor: pointer; font-size: 13px !important; flex-shrink: 0; transition: color 0.2s; }
.al-eye:hover { color: #fff !important; }

.al-caps-warn {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #f59e0b; margin-top: 4px;
}

/* Attempts bar */
.al-attempts-bar {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #8b9bb0;
}
.al-attempt-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.1); transition: background 0.3s;
}
.al-attempt-dot.used { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.5); }

/* Error */
.al-err {
  display: flex; align-items: center; gap: 8px;
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5; padding: 10px 13px; border-radius: 9px; font-size: 13px;
}

/* Submit */
.al-submit {
  width: 100%; padding: 14px; border: none; border-radius: 11px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff; font-size: 15px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: all 0.22s; box-shadow: 0 6px 20px rgba(239,68,68,0.35);
  font-family: 'Plus Jakarta Sans', sans-serif; margin-top: 4px;
}
.al-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(239,68,68,0.45); }
.al-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Hint */
.al-hint {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: #4a5568; text-align: center; justify-content: center;
}
.al-hint code { background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 4px; color: #8b9bb0; font-size: 11px; }

/* ── OTP ── */
.al-otp-section { padding: 24px 32px 28px; display: flex; flex-direction: column; gap: 16px; align-items: center; }

.al-otp-info {
  display: flex; align-items: center; gap: 12px;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px; padding: 12px 16px; width: 100%;
}
.al-otp-info i { font-size: 22px; color: #6366f1; }

.al-otp-boxes { display: flex; gap: 10px; }
.al-otp-box {
  width: 48px; height: 56px; text-align: center;
  background: #060810; border: 2px solid rgba(255,255,255,0.08);
  border-radius: 12px; color: #f1f5f9; font-size: 22px; font-weight: 800;
  outline: none; transition: all 0.2s; font-family: 'JetBrains Mono', monospace;
}
.al-otp-box:focus { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.al-otp-box.filled { border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.06); }

.al-otp-timer { font-size: 13px; color: #8b9bb0; display: flex; align-items: center; gap: 7px; }
.al-otp-timer strong { color: #f1f5f9; }
.al-otp-expired { font-size: 13px; color: #f59e0b; display: flex; align-items: center; gap: 7px; }
.al-otp-expired span { color: #6366f1; cursor: pointer; font-weight: 700; }
.al-otp-expired span:hover { text-decoration: underline; }

.al-back-step {
  background: transparent; border: none; color: #6c7a91;
  font-size: 13px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 7px; font-family: inherit;
}
.al-back-step:hover { color: #fff; }

/* ── LOCKED ── */
.al-locked { padding: 32px; text-align: center; }
.al-locked-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(239,68,68,0.1); color: #ef4444;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 16px;
  animation: alShake 0.5s ease;
}
@keyframes alShake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }
.al-locked h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.al-locked p { color: #8b9bb0; font-size: 14px; margin-bottom: 20px; }
.al-lock-timer {
  display: flex; justify-content: center; margin: 16px 0;
}
.al-lock-ring {
  width: 80px; height: 80px; border-radius: 50%;
  background: conic-gradient(#ef4444 var(--pct, 100%), rgba(255,255,255,0.06) 0);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.al-lock-ring::before {
  content: ''; position: absolute; inset: 8px;
  background: #0d0f18; border-radius: 50%;
}
.al-lock-ring span {
  position: relative; z-index: 1;
  font-size: 18px; font-weight: 900; color: #ef4444;
}
.al-locked-note { font-size: 12px; color: #4a5568; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* Footer */
.al-footer {
  font-size: 11px; color: #2d3748;
  display: flex; align-items: center; gap: 7px;
}
.dm-page { display:flex; height:calc(100vh - 260px); min-height:0; background:var(--bg-deep); border-radius:20px; overflow:hidden; border:1px solid var(--border-light); }

/* SIDEBAR */
.dm-sidebar { width:320px; background:var(--sidebar-bg); border-right:1px solid var(--border-light); display:flex; flex-direction:column; flex-shrink:0; }
.dm-sidebar-header { display:flex; align-items:center; justify-content:space-between; padding:20px 20px 12px; }
.dm-sidebar-header h2 { font-size:20px; font-weight:800; }
.dm-search { display:flex; align-items:center; gap:10px; background:var(--card-bg); border:1px solid var(--border-light); border-radius:12px; padding:0 14px; margin:0 16px 12px; }
.dm-search i { color:var(--text-muted); font-size:13px; }
.dm-search input { flex:1; background:transparent; border:none; outline:none; color:var(--text-main); font-size:13px; padding:10px 0; font-family:var(--font-main); }
.dm-search input::placeholder { color:var(--text-dim); }
.dm-contacts { flex:1; overflow-y:auto; }
.dm-contact { display:flex; align-items:center; gap:12px; padding:12px 16px; cursor:pointer; transition:background 0.15s; border-bottom:1px solid var(--border-light); }
.dm-contact:hover { background:rgba(99,102,241,0.05); }
.dm-contact.active { background:rgba(99,102,241,0.1); border-left:3px solid var(--accent-primary); }
.dm-avatar-wrap { position:relative; flex-shrink:0; }
.dm-avatar { width:44px; height:44px; border-radius:50%; object-fit:cover; }
.dm-avatar-group { width:44px; height:44px; border-radius:50%; background:rgba(99,102,241,0.15); display:flex; align-items:center; justify-content:center; color:var(--accent-primary); font-size:18px; }
.dm-status-dot { position:absolute; bottom:1px; right:1px; width:11px; height:11px; border-radius:50%; border:2px solid var(--sidebar-bg); }
.dm-contact-info { flex:1; min-width:0; }
.dm-contact-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:3px; }
.dm-contact-name { font-weight:700; font-size:14px; }
.dm-contact-time { font-size:11px; color:var(--text-muted); }
.dm-contact-bottom { display:flex; align-items:center; gap:6px; }
.dm-contact-role { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; flex-shrink:0; }
.dm-contact-last { font-size:12px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; }
.dm-unread { background:var(--accent-primary); color:#fff; font-size:10px; font-weight:700; padding:2px 6px; border-radius:20px; flex-shrink:0; }

/* CHAT */
.dm-chat { flex:1; display:flex; flex-direction:column; min-width:0; }
.dm-chat-header { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; background:var(--sidebar-bg); border-bottom:1px solid var(--border-light); }
.dm-messages { flex:1; overflow-y:auto; padding:20px; display:flex; flex-direction:column; gap:6px; background:var(--bg-deep); }
.dm-msg-wrap { display:flex; align-items:flex-end; gap:8px; }
.dm-msg-out { flex-direction:row-reverse; }
.dm-msg-system { justify-content:center; }
.dm-msg-system-text { background:rgba(99,102,241,0.1); color:var(--text-muted); padding:5px 14px; border-radius:20px; font-size:12px; }
.dm-bubble { max-width:65%; padding:10px 14px; border-radius:18px; font-size:14px; line-height:1.5; position:relative; }
.dm-bubble-in { background:var(--card-bg); border-bottom-left-radius:4px; color:var(--text-main); }
.dm-bubble-out { background:var(--accent-primary); color:#fff; border-bottom-right-radius:4px; }
.dm-msg-time { font-size:10px; opacity:0.6; margin-top:4px; text-align:right; display:flex; align-items:center; justify-content:flex-end; gap:3px; }

/* Typing indicator */
.dm-typing { display:flex; gap:4px; align-items:center; padding:12px 16px !important; }
.dm-typing span { width:7px; height:7px; border-radius:50%; background:var(--text-muted); animation:dmBounce 1.2s infinite; }
.dm-typing span:nth-child(2) { animation-delay:0.2s; }
.dm-typing span:nth-child(3) { animation-delay:0.4s; }
@keyframes dmBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

/* Input */
.dm-input-area { padding:12px 16px; background:var(--sidebar-bg); border-top:1px solid var(--border-light); position:relative; }
.dm-input-row { display:flex; align-items:center; gap:8px; background:var(--card-bg); border:1px solid var(--border-light); border-radius:50px; padding:6px 6px 6px 14px; }
.dm-text-input { flex:1; background:transparent; border:none; outline:none; color:var(--text-main); font-size:14px; padding:6px 0; font-family:var(--font-main); }
.dm-text-input::placeholder { color:var(--text-dim); }
.dm-send-btn { width:42px; height:42px; border-radius:50%; background:var(--accent-primary); border:none; color:#fff; font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.2s; flex-shrink:0; box-shadow:0 2px 12px rgba(99,102,241,0.4); }
.dm-send-btn:hover:not(:disabled) { background:var(--accent-secondary); transform:scale(1.08); box-shadow:0 4px 18px rgba(99,102,241,0.5); }
.dm-send-btn:disabled { opacity:0.35; cursor:not-allowed; box-shadow:none; }

/* Emoji picker */
.dm-emoji-picker { position:absolute; bottom:calc(100% + 8px); left:16px; background:var(--sidebar-bg); border:1px solid var(--border-light); border-radius:16px; padding:12px; display:flex; flex-wrap:wrap; gap:6px; width:280px; box-shadow:0 20px 40px rgba(0,0,0,0.4); z-index:100; }
.dm-emoji-btn { background:transparent; border:none; font-size:22px; cursor:pointer; padding:4px; border-radius:8px; transition:background 0.15s; }
.dm-emoji-btn:hover { background:rgba(99,102,241,0.1); }

/* Attach menu */
.dm-attach-menu { position:absolute; bottom:calc(100% + 8px); left:16px; background:var(--sidebar-bg); border:1px solid var(--border-light); border-radius:14px; padding:8px; display:flex; flex-direction:column; gap:2px; box-shadow:0 20px 40px rgba(0,0,0,0.4); z-index:100; }
.dm-attach-menu button { display:flex; align-items:center; gap:10px; padding:10px 16px; background:transparent; border:none; color:var(--text-main); font-size:14px; font-weight:600; cursor:pointer; border-radius:10px; transition:background 0.15s; font-family:var(--font-main); }
.dm-attach-menu button:hover { background:rgba(99,102,241,0.08); }

/* Icon button */
.dm-icon-btn { width:36px; height:36px; border-radius:50%; background:transparent; border:1px solid var(--border-light); color:var(--text-muted); font-size:15px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.2s; }
.dm-icon-btn:hover { background:rgba(99,102,241,0.1); color:var(--accent-primary); border-color:var(--accent-primary); }

/* Empty state */
.dm-empty { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--text-muted); gap:12px; }
.dm-empty i { font-size:64px; opacity:0.3; }
.dm-empty h3 { font-size:20px; font-weight:700; }
.dm-empty p { font-size:14px; }

/* ── MONITOR PANEL ── */
.dm-monitor {
  width: 280px; background: var(--sidebar-bg);
  border-left: 1px solid var(--border-light);
  display: flex; flex-direction: column;
  flex-shrink: 0;
}
.dm-monitor-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(239,68,68,0.04);
}
.dm-monitor-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer; transition: background 0.15s;
  border-bottom: 1px solid var(--border-light);
}
.dm-monitor-item:hover { background: rgba(255,255,255,0.03); }
.dm-monitor-item.active { background: rgba(239,68,68,0.06); border-left: 3px solid #ef4444; }
.dm-monitor-preview {
  border-top: 1px solid var(--border-light);
  max-height: 280px; display: flex; flex-direction: column;
  background: rgba(0,0,0,0.2);
}

/* ── SECTION LABEL ── */
.dm-section-label {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--text-muted);
  padding: 10px 16px 4px;
}

/* ── EMPTY CHAT ── */
.dm-empty-chat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-muted); gap: 10px; padding: 40px;
}
.dm-empty-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--card-bg); border: 2px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-bottom: 8px;
}
.dm-empty-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dm-empty-avatar i { font-size: 28px; color: var(--text-muted); }

/* ── CLIENT NOTICE ── */
.dm-client-notice {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 12px 4px;
  padding: 10px 14px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 12px;
  font-size: 12px; color: #10b981; font-weight: 600;
}
.dm-client-notice i { font-size: 16px; }

/* ── NEW BADGE ── */
.dm-new-badge {
  font-size: 9px; font-weight: 800;
  background: #10b981; color: #fff;
  padding: 2px 6px; border-radius: 20px;
  margin-left: 6px; text-transform: uppercase; letter-spacing: 0.5px;
  animation: dmPulse 2s infinite;
}
@keyframes dmPulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

/* ── TOTAL UNREAD BADGE ── */
.dm-total-unread {
  background: var(--accent-primary); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 2px 7px; border-radius: 20px;
}

/* ── TOAST ── */
.dm-toast {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  background: var(--sidebar-bg); border: 1px solid var(--border-light);
  color: var(--text-main); padding: 10px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 600; z-index: 100;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: dmSlideDown 0.3s ease;
}
@keyframes dmSlideDown { from{opacity:0;transform:translateX(-50%) translateY(-10px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }
.dm-toast i { color: #10b981; }

/* ── CLIENT DASHBOARD LIGHT THEME OVERRIDE ──────────────────────────────────
   When DM is embedded inside the light ClientDashboard, override dark vars  */
.client-dashboard-chat .dm-page {
  background: #f0ece4;
  border-color: #e8e4dc;
}

.client-dashboard-chat .dm-sidebar {
  background: #f5f2ed;
  border-right-color: #e8e4dc;
}

.client-dashboard-chat .dm-sidebar-header h2 { color: #1a1814; }

.client-dashboard-chat .dm-search {
  background: #fff;
  border-color: #e8e4dc;
}
.client-dashboard-chat .dm-search input { color: #1a1814; }
.client-dashboard-chat .dm-search input::placeholder { color: #b8b0a4; }
.client-dashboard-chat .dm-search i { color: #b8b0a4; }

.client-dashboard-chat .dm-contact {
  border-bottom-color: #ede9e0;
}
.client-dashboard-chat .dm-contact:hover { background: rgba(99,102,241,0.06); }
.client-dashboard-chat .dm-contact.active {
  background: rgba(99,102,241,0.08);
  border-left-color: #6366f1;
}
.client-dashboard-chat .dm-contact-name { color: #1a1814; }
.client-dashboard-chat .dm-contact-last { color: #8a8278; }
.client-dashboard-chat .dm-status-dot { border-color: #f5f2ed; }

.client-dashboard-chat .dm-chat-header {
  background: #f5f2ed;
  border-bottom-color: #e8e4dc;
}

.client-dashboard-chat .dm-messages {
  background: #ede9e0;
}

/* Incoming bubble — slightly darker off-white */
.client-dashboard-chat .dm-bubble-in {
  background: #fff;
  color: #1a1814;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Outgoing bubble — professional dark gradient */
.client-dashboard-chat .dm-bubble-out {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(49,46,129,0.35);
}

.client-dashboard-chat .dm-msg-time { color: rgba(26,24,20,0.45); }
.client-dashboard-chat .dm-bubble-out .dm-msg-time { color: rgba(255,255,255,0.55); }

.client-dashboard-chat .dm-input-area {
  background: #f5f2ed;
  border-top-color: #e8e4dc;
}
.client-dashboard-chat .dm-input-row {
  background: #fff;
  border-color: #e8e4dc;
}
.client-dashboard-chat .dm-text-input { color: #1a1814; }
.client-dashboard-chat .dm-text-input::placeholder { color: #b8b0a4; }

.client-dashboard-chat .dm-icon-btn {
  border-color: #e8e4dc;
  color: #8a8278;
}
.client-dashboard-chat .dm-icon-btn:hover {
  background: rgba(99,102,241,0.08);
  color: #6366f1;
  border-color: rgba(99,102,241,0.3);
}

.client-dashboard-chat .dm-emoji-picker,
.client-dashboard-chat .dm-attach-menu {
  background: #fff;
  border-color: #e8e4dc;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.client-dashboard-chat .dm-attach-menu button { color: #1a1814; }
.client-dashboard-chat .dm-attach-menu button:hover { background: rgba(99,102,241,0.06); }

.client-dashboard-chat .dm-empty { color: #b8b0a4; }
.client-dashboard-chat .dm-empty-chat { color: #b8b0a4; }
.client-dashboard-chat .dm-empty-avatar {
  background: #f0ece4;
  border-color: #e8e4dc;
}

.client-dashboard-chat .dm-send-btn {
  background: #6366f1;
  box-shadow: 0 2px 12px rgba(99,102,241,0.35);
}
.client-dashboard-chat .dm-send-btn:hover:not(:disabled) {
  background: #4f46e5;
  box-shadow: 0 4px 18px rgba(99,102,241,0.5);
}

.client-dashboard-chat .dm-section-label { color: #b8b0a4; }
.client-dashboard-chat .dm-client-notice { background: rgba(16,185,129,0.06); }

/* Fill container when embedded in dashboard */
.client-dashboard-chat { flex: 1; display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; }
.client-dashboard-chat .dm-page { flex: 1; height: 100%; min-height: 0; border-radius: 0; border: none; }
.client-dashboard-chat .dm-sidebar { height: 100%; min-height: 0; }
.client-dashboard-chat .dm-chat { height: 100%; min-height: 0; }
.client-dashboard-chat .dm-messages { flex: 1; min-height: 0; overflow-y: auto; }

/* ── Back button — hidden on desktop ────────────────────────────────────────── */
.dm-back-btn {
  display: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.dm-back-btn:hover { background: rgba(99,102,241,0.1); color: var(--accent-primary); }

/* ── WhatsApp style — tablet & mobile (≤1023px) ─────────────────────────────── */
@media screen and (max-width: 1023px) {
  .dm-page {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 0;
    flex: 1;
  }

  /* Sidebar = full width by default */
  .dm-sidebar {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    transform: translateX(0);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  /* Chat = full width, hidden off-screen right */
  .dm-chat {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  /* When chat is open: slide sidebar left, chat into view */
  .dm-page.dm-chat-open .dm-sidebar {
    transform: translateX(-100%);
  }
  .dm-page.dm-chat-open .dm-chat {
    transform: translateX(0);
    z-index: 3;
  }

  /* Show back button */
  .dm-back-btn {
    display: flex;
  }

  /* Bigger touch targets for contacts */
  .dm-contact {
    padding: 14px 16px;
  }
  .dm-avatar { width: 48px; height: 48px; }
  .dm-contact-name { font-size: 15px; }
  .dm-contact-last { font-size: 13px; }

  /* Messages fill remaining height */
  .dm-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }
}

/* ── Small phone (≤599px) ────────────────────────────────────────────────────── */
@media screen and (max-width: 599px) {
  .dm-contact { padding: 12px 14px; }
  .dm-avatar { width: 44px; height: 44px; }
  .dm-sidebar-header { padding: 16px 16px 10px; }
  .dm-sidebar-header h2 { font-size: 18px; }
  .dm-search { margin: 0 12px 10px; }
  .dm-messages { padding: 12px; }
  .dm-input-area { padding: 8px 12px; }
  .dm-bubble { max-width: 80%; font-size: 14px; }
}

.client-dashboard-chat .dm-typing span { background: #b8b0a4; }

/* ── Skeleton preloader animation ───────────────────────────────────────────── */
@keyframes dmSkeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── RM DASHBOARD LIGHT THEME — same as client ──────────────────────────────
   Wrap DM inside .rm-dashboard-chat to get the warm light theme             */
.rm-dashboard-chat { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; }
.rm-dashboard-chat .dm-page { flex:1; height:100%; min-height:0; border-radius:0; border:none; background:#f0ece4; }

.rm-dashboard-chat .dm-sidebar { background:#f5f2ed; border-right-color:#e8e4dc; height:100%; min-height:0; }
.rm-dashboard-chat .dm-sidebar-header h2 { color:#1a1814; }

.rm-dashboard-chat .dm-search { background:#fff; border-color:#e8e4dc; }
.rm-dashboard-chat .dm-search input { color:#1a1814; }
.rm-dashboard-chat .dm-search input::placeholder { color:#b8b0a4; }
.rm-dashboard-chat .dm-search i { color:#b8b0a4; }

.rm-dashboard-chat .dm-contact { border-bottom-color:#ede9e0; }
.rm-dashboard-chat .dm-contact:hover { background:rgba(245,158,11,0.06); }
.rm-dashboard-chat .dm-contact.active { background:rgba(245,158,11,0.1); border-left-color:#f59e0b; }
.rm-dashboard-chat .dm-contact-name { color:#1a1814; }
.rm-dashboard-chat .dm-contact-last { color:#8a8278; }
.rm-dashboard-chat .dm-status-dot { border-color:#f5f2ed; }
.rm-dashboard-chat .dm-section-label { color:#b8b0a4; }
.rm-dashboard-chat .dm-client-notice { background:rgba(245,158,11,0.07); border-color:rgba(245,158,11,0.25); color:#b45309; }
.rm-dashboard-chat .dm-client-notice i { color:#f59e0b; }

.rm-dashboard-chat .dm-chat-header { background:#f5f2ed; border-bottom-color:#e8e4dc; }
.rm-dashboard-chat .dm-messages { background:#ede9e0; flex:1; min-height:0; overflow-y:auto; }
.rm-dashboard-chat .dm-chat { height:100%; min-height:0; }

.rm-dashboard-chat .dm-bubble-in {
  background:#fff;
  color:#1a1814;
  box-shadow:0 1px 4px rgba(0,0,0,0.06);
}
.rm-dashboard-chat .dm-bubble-out {
  background:linear-gradient(135deg,#d97706 0%,#b45309 100%);
  color:#fff;
  box-shadow:0 2px 12px rgba(217,119,6,0.35);
}
.rm-dashboard-chat .dm-msg-time { color:rgba(26,24,20,0.45); }
.rm-dashboard-chat .dm-bubble-out .dm-msg-time { color:rgba(255,255,255,0.6); }

.rm-dashboard-chat .dm-input-area { background:#f5f2ed; border-top-color:#e8e4dc; }
.rm-dashboard-chat .dm-input-row { background:#fff; border-color:#e8e4dc; }
.rm-dashboard-chat .dm-text-input { color:#1a1814; }
.rm-dashboard-chat .dm-text-input::placeholder { color:#b8b0a4; }

.rm-dashboard-chat .dm-icon-btn { border-color:#e8e4dc; color:#8a8278; }
.rm-dashboard-chat .dm-icon-btn:hover { background:rgba(245,158,11,0.1); color:#f59e0b; border-color:rgba(245,158,11,0.3); }

.rm-dashboard-chat .dm-send-btn { background:linear-gradient(135deg,#f59e0b,#d97706); box-shadow:0 2px 12px rgba(245,158,11,0.4); }
.rm-dashboard-chat .dm-send-btn:hover:not(:disabled) { background:linear-gradient(135deg,#d97706,#b45309); box-shadow:0 4px 18px rgba(245,158,11,0.5); }

.rm-dashboard-chat .dm-emoji-picker,
.rm-dashboard-chat .dm-attach-menu { background:#fff; border-color:#e8e4dc; box-shadow:0 8px 32px rgba(0,0,0,0.12); }
.rm-dashboard-chat .dm-attach-menu button { color:#1a1814; }
.rm-dashboard-chat .dm-attach-menu button:hover { background:rgba(245,158,11,0.07); }

.rm-dashboard-chat .dm-empty { color:#b8b0a4; }
.rm-dashboard-chat .dm-empty-chat { color:#b8b0a4; }
.rm-dashboard-chat .dm-empty-avatar { background:#f0ece4; border-color:#e8e4dc; }
.rm-dashboard-chat .dm-typing span { background:#b8b0a4; }
.rm-dashboard-chat .dm-total-unread { background:#f59e0b; }
.rm-dashboard-chat .dm-unread { background:#f59e0b; }
/* ============================================
   PXQLY DRIVE - MAIN STYLES
   Version: 8.0 | Drive-scoped Dark Theme
   ============================================ */

/* Drive-specific dark theme � scoped to .drive-wrapper only */
/* Does NOT affect the rest of the app */
.drive-wrapper {
    --bg-deep: #0a0c15;
    --sidebar-bg: #0f111a;
    --header-bg: rgba(15, 17, 26, 0.85);
    --card-bg: #14161f;
    --card-hover: #1c1e2a;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-glow: rgba(99, 102, 241, 0.25);
    --text-main: #f1f5f9;
    --text-muted: #8b9bb0;
    --text-dim: #6c7a91;
    --folder-color: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.2);
    --border-light: rgba(255, 255, 255, 0.06);
    --glass-panel: rgba(255, 255, 255, 0.02);
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    --gradient-start: #6366f1;
    --gradient-end: #8b5cf6;
    --radius-main: 18px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    background-color: var(--bg-deep);
    color: var(--text-main);
    height: 100%;
    display: flex;
    overflow: hidden;
}

/* Reset only inside drive � but preserve font-family for icons */
.drive-wrapper *:not(i):not([class*="fa-"]):not([class*="fas"]):not([class*="far"]):not([class*="fab"]) {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

/* user-select none ???? drive layout ? */
.sidebar, .wrapper, .content-area, .explorer-grid {
    user-select: none;
}

/* Overview 2-col — single column below 1440px */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}
@media screen and (max-width: 1199px) {
  .overview-grid {
    grid-template-columns: 1fr !important;
  }
  .overview-right-col {
    display: none !important;
  }
  .overview-hero-icon { display: none !important; }
  .overview-btn-label { display: none !important; }
}

/* Mobile: show hero icon + btn labels */
@media screen and (max-width: 767px) {
  .overview-hero-icon { display: none !important; }
  .overview-btn-label { display: inline !important; }
}@media screen and (min-width: 1200px) {
  .overview-mobile-storage {
    display: none !important;
  }
  .overview-stat-icon {
    font-size: 32px !important;
  }
  .overview-hero-icon { display: flex !important; }
  .overview-btn-label { display: inline !important; }
}

/* ── Mobile overview font scaling — handled in JSX via mob variable ── */
::-webkit-scrollbar { width: 0px; height: 0px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; }

/* Hide scrollbar on mobile */
@media screen and (max-width: 767px) {
  ::-webkit-scrollbar { display: none; }
  * { scrollbar-width: none; }
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.sidebar {
    width: 300px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    padding: 35px 25px;
    position: relative;
    z-index: 1000;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    padding-left: 10px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px var(--accent-glow);
    font-size: 20px;
    color: #fff;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, var(--text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-section { margin-bottom: 35px; }
.nav-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-left: 15px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 14px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-bottom: 4px;
    position: relative;
}

.nav-item:hover {
    background: var(--glass-panel);
    color: #fff;
    transform: translateX(6px);
}

.nav-item.active {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-primary);
    box-shadow: inset 4px 0 0 var(--accent-primary);
}

.nav-item i { font-size: 18px; width: 22px; }

.trash-count-badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 0 10px var(--danger-glow);
}

.storage-card {
    margin-top: 350px;
    background: #11141d;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.storage-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.storage-header { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 12px; }
.storage-bar { height: 6px; background: #1e2430; border-radius: 10px; overflow: hidden; margin-bottom: 15px; }
.storage-fill { height: 100%; width: 72%; background: linear-gradient(90deg, var(--accent-primary), #818cf8); box-shadow: 0 0 10px var(--accent-glow); }

/* ============================================
   TOPBAR
   ============================================ */
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.topbar {
    height: 90px;
    background: var(--header-bg);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 45px;
    z-index: 900;
}

.search-engine {
    width: 450px;
    height: 48px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
    transition: border 0.3s;
}

.search-engine:focus-within { border-color: var(--accent-primary); }
.search-engine input { background: transparent; border: none; color: #fff; width: 100%; outline: none; font-size: 14px; }

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass-panel);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: 0.3s;
}

.profile-trigger:hover { border-color: var(--accent-primary); transform: scale(1.02); }
.profile-img { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--accent-primary); }

/* Theme Toggle Button */
.theme-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    margin-left: 15px;
}

.theme-toggle:hover {
    transform: scale(1.05);
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.theme-toggle:hover i {
    color: white;
}

.theme-toggle i {
    font-size: 18px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

/* ============================================
   CONTENT AREA
   ============================================ */
.content-area {
    flex: 1;
    padding: 45px;
    overflow-y: auto;
    background: radial-gradient(circle at 50% -30%, rgba(99, 102, 241, 0.1), transparent 70%);
    overscroll-behavior-x: none;
}

/* Content max-width for ultra-wide / full screen */
@media screen and (min-width: 3840px) {
  .content-area > * {
    max-width: 3200px;
    margin-left: auto;
    margin-right: auto;
  }
}

.view-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.breadcrumb-link {
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(2px);
}

.breadcrumb-link.active {
    color: var(--text-main);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0 2px;
}

.breadcrumb-home {
    color: var(--accent-primary);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.breadcrumb-home:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
}

/* Action Buttons */
.action-btns { display: flex; gap: 15px; }
.btn-main {
    background: var(--accent-primary);
    color: #fff;
    padding: 12px 26px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
    transition: 0.3s;
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(99, 102, 241, 0.35); }

/* Explorer Grid */
.explorer-grid {
    position: relative;
    gap: 16px;
}

.explorer-grid.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* Card */
.card {
    background: linear-gradient(145deg, #15172a, #111320);
    border-radius: 18px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}
.card:hover {
    border-color: rgba(99,102,241,0.45);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
    transform: translateY(-4px);
}
.card.selected {
    border: 1.5px solid var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15), 0 8px 24px rgba(99,102,241,0.2);
}

/* Top-right actions � always visible, premium glass */
.card-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
}

.card-star,
.card-menu {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    position: static;
    transition: color 0.15s, transform 0.15s;
}

.card-star:hover,
.card-menu:hover {
    background: transparent;
    border-color: transparent;
    color: #fff;
    transform: scale(1.15);
    box-shadow: none;
}

/* Heart active — red */
.card-star.active {
    color: #ef4444;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.folder-icon {
    font-size: 72px;
    color: var(--folder-color);
    filter: drop-shadow(0 4px 12px rgba(245,158,11,0.3));
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 12px;
    flex: 1;
    min-height: 0;
    line-height: 1;
}

.file-preview {
    flex: 1;
    min-height: 0;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Grid view file type icon size */
.explorer-grid.grid-view .card .file-preview i {
    font-size: 50px;
}

.file-thumb { width: 100%; height: 100%; background-size: cover; background-position: center; transition: 0.5s; }
.card:hover .file-thumb { transform: scale(1.1); }

.item-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-main); }
.item-info { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Bottom info bar � no black overlay */
.card-bottom {
    padding: 8px 10px;
    flex-shrink: 0;
}

.card-checkbox {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 22px;
    height: 22px;
    border: 2px solid var(--accent-primary);
    border-radius: 6px;
    z-index: 10;
    background: var(--accent-primary);
    display: none;
    box-shadow: 0 0 15px var(--accent-glow);
}
.card.selected .card-checkbox { display: block; }
.card-checkbox::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Navigation Circle Buttons */
.nav-circle-btn {
    width: 36px;
    height: 36px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dim);
}
.nav-circle-btn:hover:not([style*="cursor: not-allowed"]) {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.05);
    border-color: var(--accent-primary);
}
.nav-circle-btn i { font-size: 14px; }

/* ============================================
   CONTEXT MENU
   ============================================ */
#custom-ctx {
    position: fixed;
    background: #181b25;
    border: 1px solid #333;
    border-radius: 16px;
    width: 280px;
    display: none;
    z-index: 21000;
    padding: 10px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
}

.ctx-option {
    padding: 12px 15px;
    font-size: 13px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
    color: var(--text-dim);
    font-weight: 600;
}
.ctx-option i { width: 20px; font-size: 14px; }
.ctx-option:hover { background: var(--accent-primary); color: #fff; }
.ctx-option.danger:hover { background: var(--danger); }
.ctx-divider { height: 1px; background: #222; margin: 8px 0; }

/* Move To Submenu */
.move-to-submenu {
    position: fixed;
    background: #181b25;
    border: 1px solid #333;
    border-radius: 16px;
    width: 250px;
    padding: 10px;
    z-index: 21001;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
    animation: menuFade 0.15s ease;
}

.move-to-header {
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid #333;
    margin-bottom: 8px;
}

/* Sort Menu */
.sort-menu {
    position: fixed;
    background: #181b25;
    border: 1px solid #333;
    border-radius: 16px;
    width: 220px;
    padding: 10px;
    z-index: 10001;
    animation: sortMenuPop 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: top right;
}

@keyframes sortMenuPop {
    from { opacity: 0; transform: scale(0.88) translateY(-8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.sort-header {
    padding: 8px 15px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sort-option {
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
    color: var(--text-dim);
}
.sort-option:hover { background: var(--accent-primary); color: #fff; }
.sort-option i { width: 16px; font-size: 12px; }
.sort-option.active { color: var(--accent-primary); background: rgba(99, 102, 241, 0.1); }

@media screen and (max-width: 767px) {
  .sort-menu {
    width: 170px;
    padding: 6px;
    border-radius: 12px;
  }
  .sort-header { padding: 6px 10px; font-size: 10px; }
  .sort-option { padding: 8px 10px; font-size: 12px; gap: 8px; }
}

@keyframes menuFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes heartBurst {
    0%   { transform: scale(0);   opacity: 1; }
    30%  { transform: scale(1.3); opacity: 1; }
    60%  { transform: scale(1.0); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   FOLDER POPUP
   ============================================ */
.folder-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--sidebar-bg);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    width: 400px;
    padding: 30px;
    z-index: 20000;
    display: none;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    animation: popupFade 0.2s ease-out;
}

@keyframes popupFade {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.popup-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.popup-icon {
    width: 48px; height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-icon i { font-size: 24px; color: var(--accent-primary); }
.popup-title { font-size: 20px; font-weight: 700; }
.popup-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.popup-input {
    width: 100%;
    padding: 16px;
    background: #000;
    border: 1px solid #333;
    border-radius: 14px;
    color: #fff;
    font-size: 15px;
    outline: none;
    margin-bottom: 20px;
    transition: all 0.2s;
}
.popup-input:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); }

.popup-actions { display: flex; gap: 12px; justify-content: flex-end; }
.popup-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 14px;
}
.popup-btn.cancel { background: #1a1d26; color: var(--text-dim); border: 1px solid #333; }
.popup-btn.cancel:hover { background: #222631; }
.popup-btn.create { background: var(--accent-primary); color: #fff; }
.popup-btn.create:hover { background: var(--accent-secondary); transform: translateY(-2px); box-shadow: 0 10px 20px var(--accent-glow); }

/* ============================================
   UPLOAD OVERLAY (LIGHT BLUR)
   ============================================ */
#upload-canvas {
    position: fixed;
    inset: 0;
    background: rgba(99, 102, 241, 0.08);
    border: 3px dashed var(--accent-primary);
    z-index: 15000;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    animation: uploadPulse 1.5s ease infinite;
}

@keyframes uploadPulse {
    0% { border-color: var(--accent-primary); background: rgba(99, 102, 241, 0.08); backdrop-filter: blur(4px); }
    50% { border-color: var(--accent-secondary); background: rgba(168, 85, 247, 0.12); backdrop-filter: blur(6px); }
    100% { border-color: var(--accent-primary); background: rgba(99, 102, 241, 0.08); backdrop-filter: blur(4px); }
}

#upload-canvas .upload-content { text-align: center; animation: uploadContentPop 0.3s ease; }
@keyframes uploadContentPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#upload-canvas i { font-size: 80px; color: var(--accent-primary); margin-bottom: 20px; filter: drop-shadow(0 0 15px var(--accent-glow)); }
#upload-canvas h1 { font-size: 28px; font-weight: 800; margin-top: 20px; background: linear-gradient(135deg, #fff, var(--accent-primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
#upload-canvas p { color: var(--text-muted); margin-top: 10px; font-size: 14px; }
#upload-canvas .file-types { margin-top: 20px; display: flex; gap: 15px; justify-content: center; }
#upload-canvas .file-types span { background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 20px; font-size: 12px; backdrop-filter: blur(2px); }

/* Folder Drag Ghost - NO BLUR */
.folder-drag-ghost {
    position: fixed;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    z-index: 99999;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    font-family: 'Plus Jakarta Sans', sans-serif;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    animation: ghostPop 0.2s ease;
}

@keyframes ghostPop {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Card Drag Highlight */
.card.drag-over {
    border: 2px solid var(--accent-primary) !important;
    background: rgba(99, 102, 241, 0.15) !important;
    transform: scale(1.02) !important;
    transition: all 0.2s ease !important;
}

/* ============================================
   UPLOAD PROGRESS
   ============================================ */
.upload-progress {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: linear-gradient(135deg,#1a1d2e,#151820);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 18px;
    padding: 18px 20px;
    display: none;
    z-index: 15000;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.1);
    animation: none;
}

.upload-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.upload-header i { color: #6366f1; font-size: 18px; animation: uploadSpin 2s linear infinite; }
@keyframes uploadSpin { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }
.upload-title { font-weight: 700; font-size: 14px; color: #fff; }

.upload-file {
    font-size: 12px; color: rgba(255,255,255,0.6);
    margin-bottom: 10px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    font-weight: 500;
}

.upload-bar {
    height: 8px; background: rgba(255,255,255,0.08);
    border-radius: 8px; overflow: hidden; margin-bottom: 10px;
}
.upload-progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #10b981);
    background-size: 200% 100%;
    border-radius: 8px;
    transition: width 0.3s ease;
    position: relative;
    animation: gradientShift 2s ease infinite;
}
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.upload-progress-fill::after {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25));
    animation: shimmer 1.2s ease infinite;
}
@keyframes shimmer { 0%{opacity:0} 50%{opacity:1} 100%{opacity:0} }

.upload-stats {
    display: flex; justify-content: space-between;
    font-size: 11px; color: rgba(255,255,255,0.4);
    font-weight: 600;
}

/* ============================================
   MODALS
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(20px);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-card {
    background: var(--sidebar-bg);
    width: 500px;
    max-width: 90%;
    padding: 40px;
    border-radius: 35px;
    border: 1px solid var(--border-light);
    position: relative;
    animation: modalPop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalPop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.modal-header h2 { font-size: 24px; }
.modal-close { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
.modal-close:hover { background: rgba(255,255,255,0.1); }
.modal-input {
    width: 100%;
    padding: 16px;
    background: #000;
    border: 1px solid #333;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    outline: none;
    margin-bottom: 20px;
}
.modal-input:focus { border-color: var(--accent-primary); }
.modal-actions { display: flex; gap: 15px; justify-content: flex-end; }

/* Preview Modal */
.preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(30px);
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.preview-container {
    width: 1200px;
    max-width: 95vw;
    height: 90vh;
    background: #0d0f16;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.preview-header {
    padding: 20px 30px;
    background: #090b11;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.preview-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px; overflow: auto; }
.preview-image { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.preview-video { max-width: 100%; max-height: 100%; outline: none; }
.preview-pdf { width: 100%; height: 100%; border: none; background: white; border-radius: 12px; }

/* Selection Toolbar */
.selection-toolbar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #181b25;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 12px 24px;
    display: none;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 5000;
    animation: slideUp 0.3s;
}
@keyframes slideUp { from { bottom: 0; opacity: 0; } to { bottom: 30px; opacity: 1; } }
.selection-toolbar span { color: var(--text-dim); }
.selection-toolbar i {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #222631;
    cursor: pointer;
    transition: 0.2s;
}
.selection-toolbar i:hover { background: var(--accent-primary); }

/* Toast */
#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #181b25;
    border-left: 4px solid var(--accent-primary);
    padding: 16px 32px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 30000;
    transition: transform 0.3s, opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
}
#toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Empty State */
.empty-folder {
    cursor: default;
    min-height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.empty-folder * { pointer-events: none; }
.empty-folder:hover { border-color: var(--accent-primary); }
.empty-state-hint {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 30px;
    padding: 12px 24px;
    color: var(--text-dim);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    animation: hintPulse 2s infinite;
}
@keyframes hintPulse { 0% { opacity: 0.7; } 50% { opacity: 1; } 100% { opacity: 0.7; } }

/* Loader */
.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.loader i { font-size: 40px; color: var(--accent-primary); animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Desktop: hide mobile-only preview elements */
.preview-counter-mobile { display: none; }
.preview-size-mobile { display: none; }
/* Desktop: hide mobile breadcrumb */
.mobile-breadcrumb { display: none; }

/* Mobile controls row — hidden on desktop */
.mobile-controls-row { display: none; }
.fav-glow-mobile { display: none; }

/* ============================================
   LIST VIEW STYLES
   ============================================ */
.explorer-grid.list-view {
    display: flex !important;
    flex-direction: column;
    gap: 0;
}

.explorer-grid.list-view .card {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 15px;
    flex-direction: row;
    aspect-ratio: unset;
    height: auto;
    margin-bottom: 5px;
}

/* card-actions (star+3dot) — right side in list view */
.explorer-grid.list-view .card > .card-actions {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin-left: auto;
    order: 2;
    flex-shrink: 0;
}

.explorer-grid.list-view .card .card-star,
.explorer-grid.list-view .card .card-menu {
    position: static;
    margin: 0 5px;
    width: 28px;
    height: 28px;
    font-size: 14px;
}

/* Icon */
.explorer-grid.list-view .card .file-preview,
.explorer-grid.list-view .card .folder-icon {
    width: 40px;
    height: 40px;
    font-size: 28px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    flex-shrink: 0;
}

.explorer-grid.list-view .card .file-preview {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    flex: none !important;
    aspect-ratio: 1 / 1;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Thumbnail image — square crop */
.explorer-grid.list-view .card .file-preview img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* File type icon in list view */
.explorer-grid.list-view .card .file-preview i {
    font-size: 20px !important;
}

/* card-bottom: name + info in a row */
.explorer-grid.list-view .card .card-bottom {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0;
}

.explorer-grid.list-view .card .item-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.explorer-grid.list-view .card .item-info {
    width: 100px;
    text-align: right;
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.explorer-grid.list-view .card .card-checkbox {
    position: static;
    margin-right: 10px;
    flex-shrink: 0;
}

/* ============================================
   DETAILS PANEL
   ============================================ */
.details-panel {
    position: fixed;
    right: -380px;
    top: 0;
    width: 360px;
    height: 100vh;
    background: var(--sidebar-bg);
    border-left: 1px solid var(--border-light);
    z-index: 10000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

.details-panel.open {
    right: 0;
}

.details-panel .close-details {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 20px;
    transition: all 0.2s;
}
.details-panel .close-details:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

.details-panel .detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.details-panel .detail-header i {
    font-size: 48px;
    color: var(--folder-color);
}

.details-panel .detail-header h2 {
    font-size: 18px;
    word-break: break-word;
}

.details-panel .detail-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.details-panel .detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.details-panel .detail-value {
    font-size: 14px;
    font-weight: 500;
    word-break: break-word;
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-panel .detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.details-panel .detail-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

/* ============================================
   LIGHT THEME - PROFESSIONAL & CLEAN
   ============================================ */
body.light-theme {
    --bg-deep: #f8fafc;
    --sidebar-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --card-hover: #faf9fe;
    --accent-primary: #4f46e5;
    --accent-secondary: #7c3aed;
    --accent-glow: rgba(79, 70, 229, 0.12);
    --text-main: #1e293b;
    --text-muted: #5b6e8c;
    --text-dim: #8b9bb0;
    --folder-color: #eab308;
    --success: #059669;
    --danger: #dc2626;
    --border-light: #eef2f6;
    --glass-panel: rgba(0, 0, 0, 0.02);
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.02);
}

body.light-theme .sidebar {
    background: var(--sidebar-bg);
    border-right-color: var(--border-light);
}

body.light-theme .card {
    background: var(--card-bg);
    border-color: var(--border-light);
    box-shadow: var(--card-shadow);
}

body.light-theme .card:hover {
    background: var(--card-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--accent-primary);
}

body.light-theme .topbar {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border-light);
}

body.light-theme .search-engine {
    background: #ffffff;
    border-color: var(--border-light);
}

body.light-theme .search-engine input {
    color: var(--text-main);
}

body.light-theme .profile-trigger {
    background: #ffffff;
    border-color: var(--border-light);
}

body.light-theme .profile-trigger:hover {
    border-color: var(--accent-primary);
}

body.light-theme .nav-item {
    color: #5b6e8c;
}

body.light-theme .nav-item:hover {
    background: #f1f5f9;
    color: var(--accent-primary);
}

body.light-theme .nav-item.active {
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent-primary);
    box-shadow: inset 4px 0 0 var(--accent-primary);
}

body.light-theme .storage-card {
    background: #f9fafb;
    border-color: var(--border-light);
}

body.light-theme .storage-card:hover {
    border-color: var(--accent-primary);
    background: #ffffff;
}

body.light-theme .breadcrumb {
    background: #f9fafb;
    border: 1px solid var(--border-light);
}

body.light-theme .breadcrumb-link {
    color: #5b6e8c;
}

body.light-theme .breadcrumb-link:hover {
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent-primary);
}

body.light-theme .breadcrumb-link.active {
    color: var(--text-main);
    background: #ffffff;
}

body.light-theme .btn-main {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
}

body.light-theme .btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

body.light-theme .btn-main[style*="background:#1a1d26"] {
    background: #f1f5f9 !important;
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

body.light-theme .btn-main[style*="background:#1a1d26"]:hover {
    background: #e9ecef !important;
}

body.light-theme .ctx-option {
    color: #5b6e8c;
}

body.light-theme .ctx-option:hover {
    background: var(--accent-primary);
    color: white;
}

body.light-theme .modal-card {
    background: var(--sidebar-bg);
    border-color: var(--border-light);
}

body.light-theme .modal-input {
    background: #ffffff;
    border-color: var(--border-light);
    color: var(--text-main);
}

body.light-theme .popup-input {
    background: #ffffff;
    border-color: var(--border-light);
    color: var(--text-main);
}

body.light-theme .popup-btn.cancel {
    background: #f1f5f9;
    border-color: var(--border-light);
    color: #5b6e8c;
}

body.light-theme .upload-progress {
    background: var(--sidebar-bg);
    border-color: var(--border-light);
}

body.light-theme .selection-toolbar {
    background: var(--sidebar-bg);
    border-color: var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body.light-theme .selection-toolbar i {
    background: #f1f5f9;
}

body.light-theme .selection-toolbar i:hover {
    background: var(--accent-primary);
}

body.light-theme #toast {
    background: var(--sidebar-bg);
    border-left-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    color: var(--text-main);
}

body.light-theme .details-panel {
    background: var(--sidebar-bg);
    border-left-color: var(--border-light);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.05);
}

body.light-theme .detail-item {
    border-bottom-color: var(--border-light);
}

body.light-theme .detail-actions button[style*="background: var(--card-hover)"] {
    background: #f1f5f9 !important;
    color: var(--text-main) !important;
}

body.light-theme .sort-menu {
    background: var(--sidebar-bg);
    border-color: var(--border-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.light-theme .sort-option {
    color: #5b6e8c;
}

body.light-theme .sort-option:hover {
    background: var(--accent-primary);
    color: white;
}

body.light-theme .sort-option.active {
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent-primary);
}

body.light-theme .move-to-submenu {
    background: var(--sidebar-bg);
    border-color: var(--border-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.light-theme .move-to-header {
    border-bottom-color: var(--border-light);
    color: #5b6e8c;
}

body.light-theme .trash-card {
    background: var(--card-bg);
    border-color: var(--border-light);
}

body.light-theme .trash-card:hover {
    border-color: var(--danger);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

body.light-theme .empty-folder {
    background: var(--card-bg);
    border-color: var(--border-light);
}

body.light-theme .empty-folder i {
    color: #cbd5e1;
}

body.light-theme .empty-state-hint {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--border-light);
    color: #5b6e8c;
}

body.light-theme .theme-toggle {
    background: #ffffff;
    border-color: var(--border-light);
}

body.light-theme .theme-toggle:hover {
    background: var(--accent-primary);
}

body.light-theme .theme-toggle i {
    color: #5b6e8c;
}

body.light-theme .theme-toggle:hover i {
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
/* ============================================
   RESPONSIVE — 4K → Tablet
   ============================================ */

/* 2K / QHD (2560px–3839px) */
@media screen and (min-width: 2560px) and (max-width: 3839px) {
    .sidebar { width: 320px; padding: 44px 26px; }
    .topbar { height: 80px; padding: 0 56px; }
    .search-engine { width: 560px; height: 54px; font-size: 16px; }
    .content-area { padding: 56px; }
    .explorer-grid.grid-view { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
    .card { border-radius: 20px; }
    .folder-icon { font-size: 80px; }
    .item-name { font-size: 15px; }
    .item-info { font-size: 12px; }
    .card-bottom { padding: 10px 12px; }
    .nav-item { font-size: 15px; padding: 15px 19px; }
    .brand-name { font-size: 23px; }
    #custom-ctx { width: 300px !important; }
    #custom-ctx .ctx-option { font-size: 15px !important; padding: 13px 18px !important; }
}

/* 4K / Ultra-wide (3840px+) */
@media screen and (min-width: 3840px) {
    .sidebar { width: 380px; padding: 56px 32px; }
    .topbar { height: 96px; padding: 0 72px; }
    .search-engine { width: 680px; height: 60px; font-size: 18px; }
    .content-area { padding: 72px; }
    .explorer-grid.grid-view { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
    .card { border-radius: 24px; }
    .folder-icon { font-size: 108px; }
    .item-name { font-size: 18px; }
    .item-info { font-size: 14px; }
    .card-bottom { padding: 16px 18px; }
    .nav-item { font-size: 17px; padding: 18px 22px; }
    .brand-name { font-size: 26px; }
    #custom-ctx { width: 360px !important; }
    #custom-ctx .ctx-option { font-size: 17px !important; padding: 15px 22px !important; }
}

/* Full HD+ (1920px–2559px) — same feel as 1440–1919px */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .sidebar { width: 300px; padding: 40px 24px; }
    .topbar { height: 76px; padding: 0 52px; }
    .search-engine { width: 520px; height: 52px; }
    .content-area { padding: 45px; }
    .explorer-grid.grid-view { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
    .card { border-radius: 18px; }
    .folder-icon { font-size: 72px; }
    .item-name { font-size: 14px; }
    .item-info { font-size: 12px; }
    .card-bottom { padding: 8px 10px; }
    .nav-item { font-size: 14px; padding: 14px 18px; }
    .brand-name { font-size: 22px; }
}

/* Full HD (1440px–1919px) — default, no override needed */

/* Laptop (1200px–1439px) */
@media screen and (max-width: 1439px) and (min-width: 1200px) {
    .sidebar { width: 250px; padding: 28px 18px; }
    .topbar { height: 64px; padding: 0 28px; }
    .search-engine { width: 360px; }
    .content-area { padding: 32px; }
    .explorer-grid.grid-view { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 5px; }
    .folder-icon { font-size: 64px; }
}

/* Small laptop / large tablet landscape (1024px–1199px) */
@media screen and (max-width: 1199px) and (min-width: 1024px) {
    .sidebar { width: 220px; padding: 24px 14px; }
    .brand-name { font-size: 16px; }
    .nav-item { padding: 11px 13px; font-size: 13px; }
    .topbar { height: 60px; padding: 0 20px; }
    .search-engine { width: 280px; height: 40px; }
    .content-area { padding: 24px; }
    .explorer-grid.grid-view { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 5px; }
    .folder-icon { font-size: 58px; }
    .action-btns .btn-main { padding: 9px 16px; font-size: 13px; }
}

/* Tablet landscape (768px–1023px) */
@media screen and (max-width: 1023px) and (min-width: 768px) {
    .sidebar { width: 200px; padding: 20px 12px; }
    .brand-name { font-size: 15px; }
    .nav-item { padding: 10px 12px; font-size: 12px; }
    .nav-item i { font-size: 14px; }
    .storage-card { display: none; }
    .topbar { height: 56px; padding: 0 16px; }
    .search-engine { width: 220px; height: 38px; font-size: 13px; }
    .content-area { padding: 20px; }
    .view-controls { gap: 12px; }
    .explorer-grid.grid-view { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 5px; }
    .folder-icon { font-size: 48px; }
    .item-name { font-size: 12px; }
    .item-info { font-size: 10px; }
    .card-bottom { padding: 8px 10px; }
    .action-btns .btn-main { padding: 8px 14px; font-size: 12px; }
    .action-btns .btn-main span { display: none; }
}

/* Tablet portrait (600px–767px) */
@media screen and (max-width: 767px) and (min-width: 600px) {
    .sidebar { width: 180px; padding: 16px 10px; }
    .brand-name { display: none; }
    .nav-item span { display: none; }
    .nav-item { padding: 12px; justify-content: center; }
    .storage-card { display: none; }
    .topbar { height: 52px; padding: 0 12px; }
    .search-engine { width: 180px; height: 36px; }
    .content-area { padding: 16px; }
    .explorer-grid.grid-view { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 5px; }
    .folder-icon { font-size: 48px; }
    .item-name { font-size: 11px; }
    .view-controls { flex-wrap: wrap; gap: 10px; }
    .action-btns { flex-wrap: wrap; gap: 6px; }
    .action-btns .btn-main { padding: 7px 12px; font-size: 12px; }
}

/* Small tablet / large phone (480px–599px) */
@media screen and (max-width: 599px) {
    body { flex-direction: column; }
    .sidebar { width: 100%; height: 56px; padding: 0 12px; flex-direction: row; align-items: center; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border-light); }
    .sidebar .brand { margin-bottom: 0; margin-right: 12px; }
    .brand-name { display: none; }
    .nav-section-label { display: none; }
    .nav-section { display: flex; flex-direction: row; gap: 4px; margin-bottom: 0; }
    .nav-item { padding: 8px 10px; border-radius: 10px; }
    .nav-item span { display: none; }
    .storage-card { display: none; }
    .topbar { height: 50px; padding: 0 12px; }
    .search-engine { width: 160px; height: 34px; font-size: 12px; }
    .content-area { padding: 12px; }
    .view-controls { flex-direction: column; align-items: flex-start; gap: 10px; }
    .explorer-grid.grid-view { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 5px; }
    .folder-icon { font-size: 44px; }
    .item-name { font-size: 11px; }
    .item-info { font-size: 9px; }
    .action-btns { flex-wrap: wrap; gap: 6px; }
    .action-btns .btn-main { padding: 6px 10px; font-size: 11px; }
    .breadcrumb { font-size: 12px; }
}


/* ============================================
   LOGOUT BUTTON
   ============================================ */
.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    color: var(--danger);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    border: 1px solid transparent;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    transform: translateX(4px);
}

.logout-btn i {
    font-size: 16px;
    width: 20px;
}


/* -- PREVIEW FULLSCREEN -- */
.preview-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
}
.preview-fullscreen .preview-body {
    height: calc(100vh - 70px) !important;
}

/* -- LOGOUT BUTTON -- */
.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    color: var(--danger);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    border: 1px solid transparent;
}
.logout-btn:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    transform: translateX(4px);
}
.logout-btn i { font-size: 16px; width: 20px; }

/* -- TRASH CARD FIX -- */
.trash-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  padding: 4px 0;
}
.trash-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  position: relative;
  transition: all 0.2s;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1.2;
}
.trash-card:hover { transform: translateY(-3px); border-color: rgba(239,68,68,0.4); box-shadow: 0 8px 24px rgba(239,68,68,0.12); }
.trash-card .tc-icon { flex: 1; display: flex; align-items: center; justify-content: center; }
.trash-card .tc-bottom { padding: 10px 12px; border-top: 1px solid var(--border-light); }
.trash-card .tc-name { font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px; color: var(--text-main); }
.trash-card .tc-meta { font-size: 10px; color: var(--text-muted); margin-bottom: 8px; }
.trash-card .tc-actions { display: flex; gap: 6px; }
.trash-card .tc-restore { flex: 1; padding: 6px 0; border: none; border-radius: 8px; cursor: pointer; font-size: 11px; font-weight: 700; font-family: inherit; background: rgba(99,102,241,0.15); color: var(--accent-primary); transition: all 0.15s; }
.trash-card .tc-restore:hover { background: var(--accent-primary); color: #fff; }
.trash-card .tc-delete  { width: 30px; padding: 6px 0; border: none; border-radius: 8px; cursor: pointer; font-size: 11px; font-family: inherit; background: rgba(239,68,68,0.1); color: var(--danger); transition: all 0.15s; }
.trash-card .tc-delete:hover  { background: var(--danger); color: #fff; }
.expiry-badge { position: absolute; top: 8px; right: 8px; background: rgba(239,68,68,0.15); color: var(--danger); padding: 3px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; display: flex; align-items: center; gap: 4px; backdrop-filter: blur(4px); }

/* -- Thumbnail skeleton shimmer ----------------------------------------------- */
@keyframes cs-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes slideUp {
  from { opacity:0; transform:translateY(20px) scale(0.97); }
  to   { opacity:1; transform:translateY(0)    scale(1); }
}
}

.file-preview {
  position: relative;
  overflow: hidden;
}

.file-thumb {
  transition: opacity 0.3s ease;
  animation: cs-fadein 0.3s ease;
}

@keyframes cs-fadein {
  from { opacity: 0; transform: scale(1.02); }
  to   { opacity: 1; transform: scale(1); }
}





/* ══════════════════════════════════════════════════════
   MOBILE RESPONSIVE — Psychology-driven design
   Thumb-friendly, bottom nav, full-width content
   ══════════════════════════════════════════════════════ */

/* ── Tablet landscape (768–1023px) ─────────────────── */
@media screen and (max-width: 1023px) {
  .sidebar {
    width: 64px;
    padding: 16px 8px;
    overflow: hidden;
  }
  .brand { justify-content: center; margin-bottom: 28px; padding-left: 0; }
  .brand-name { display: none; }
  .nav-title { display: none; }
  .nav-item {
    padding: 12px;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 4px;
  }
  .nav-item span { display: none; }
  .nav-item i { font-size: 18px; width: auto; }
  .nav-item.active { box-shadow: none; background: rgba(99,102,241,0.15); }
  .storage-card { display: none; }
  .logout-btn { padding: 12px; justify-content: center; }
  .logout-btn span { display: none; }

  .topbar { height: 56px; padding: 0 16px; }
  .search-engine { width: 200px; height: 40px; }
  .content-area { padding: 16px; }
  .explorer-grid.grid-view { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 5px; }
  .view-controls { gap: 10px; }
  .action-btns .btn-main { padding: 8px 12px; font-size: 12px; }
}

/* ── Mobile (≤767px) — Bottom nav bar style ─────────── */
@media screen and (max-width: 767px) {
  .starred-approval-label { display: none; }
  .fav-glow-desktop { display: none !important; }
  .fav-glow-mobile  { display: block !important; }
  .mobile-hide-nav  { display: none !important; }

  /* Drive wrapper becomes column */
  .drive-wrapper {
    flex-direction: column;
  }

  /* Sidebar → fixed bottom nav bar */
  .sidebar {
    width: 100%;
    height: 70px;
    min-height: 70px;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    border-right: none;
    border-top: 1px solid var(--border-light);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    order: 2;
  }

  /* Hide brand + section titles + storage in bottom nav */
  .brand { display: none; }
  .nav-section { display: contents; }
  .nav-title { display: none; }
  .storage-card { display: none; }
  .logout-btn { display: none; }

  /* Nav items as icon tabs */
  .nav-item {
    flex-direction: column;
    gap: 3px;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transform: none !important;
  }
  .nav-item:hover { transform: none !important; background: rgba(99,102,241,0.08); }
  .nav-item.active {
    color: var(--accent-primary);
    background: rgba(99,102,241,0.1);
    box-shadow: none;
  }
  .nav-item i { font-size: 18px; width: auto; }
  .nav-item span { display: block; font-size: 9px; }

  /* Main content area — add bottom padding for nav bar */
  .wrapper {
    order: 1;
    padding-bottom: 78px;
  }

  /* Topbar — hide completely on mobile */
  .topbar { display: none !important; }

  /* Hide desktop breadcrumb wrapper on mobile */
  .view-controls > div:first-child { display: none !important; }
  /* Mobile search bar — direct child of view-controls */
  .mobile-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 0 10px;
    height: 36px;
    flex: 1;
    min-width: 0;
    order: -1;
  }
  .mobile-search-bar i { color: var(--text-muted); font-size: 12px; flex-shrink: 0; }
  .mobile-search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 13px;
    font-family: var(--font-main);
    min-width: 0;
  }
  .mobile-search-bar input::placeholder { color: var(--text-dim); }

  /* Sticky search bar at top of content area */
  .content-area::before { display: none; }
  .mobile-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0 14px;
    height: 40px;
    margin-bottom: 10px;
  }
  .mobile-search-bar i { color: var(--text-muted); font-size: 13px; }
  .mobile-search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 13px;
    font-family: var(--font-main);
  }
  .mobile-search-bar input::placeholder { color: var(--text-dim); }

  /* Content area */
  .content-area {
    padding: 12px 12px 90px;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y !important;
  }

  /* Mobile premium typography */
  .item-name { font-size: 11px !important; font-weight: 700 !important; letter-spacing: -0.2px; }
  .item-info { font-size: 10px !important; }
  .card { border-radius: 14px !important; }
  .card .card-bottom { padding: 8px 10px !important; }

  /* Topbar mobile */
  .topbar { height: 52px !important; padding: 0 14px !important; }

  /* Breadcrumb mobile */
  .mobile-breadcrumb { font-size: 12px !important; font-weight: 700; }

  /* Section headings inside content */
  .content-area h2, .content-area .section-title {
    font-size: 16px !important;
    font-weight: 800;
    letter-spacing: -0.3px;
  }

  /* Grid margin on mobile */
  .explorer-grid {
    margin: 8px 4px;
  }

  /* View controls — compact */
  .view-controls {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }
  .view-controls > div:first-child { flex: 1; min-width: 0; }
  .action-btns {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .action-btns .btn-main {
    padding: 7px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
  }

  /* Grid — 4 columns on mobile */
  .explorer-grid.grid-view,
  .explorer-grid:not(.list-view) {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .empty-state-hint { display: none !important; }
  .empty-folder p { display: none !important; }
  .empty-folder { min-height: calc(100vh - 200px); border-radius: 16px !important; padding: 40px !important; }

  /* Hide desktop action buttons on mobile */
  .desktop-action-btns { display: none !important; }
  .nav-btns-desktop { display: none !important; }
  .nav-item[data-page="direct-messages"] { display: none !important; }
  .nav-item { position: relative; }
  .trash-count-badge {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    margin-left: 0 !important;
    min-width: 16px !important;
    height: 16px !important;
    width: 16px !important;
    font-size: 9px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }
  .view-controls {
    display: block !important;
    margin-bottom: 10px;
  }
  .view-controls > div:first-child { display: none !important; }
  .breadcrumb { display: none !important; }

  /* Mobile breadcrumb — shown below controls row */
  .mobile-breadcrumb {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 18px 0 15px;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    overflow: hidden;
    white-space: nowrap;
  }
  .mobile-breadcrumb i { font-size: 12px; }
  .mobile-breadcrumb i { font-size: 11px; }
  .mobile-breadcrumb span { overflow: hidden; text-overflow: ellipsis; }

  /* Mobile controls row — search left, buttons right */
  .mobile-controls-row {
    display: flex !important;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 0;
  }
  .mobile-search-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 0 8px 0 12px;
    height: 36px;
    flex: 1;
    min-width: 0;
    margin: 0;
  }
  .mobile-search-bar i { color: var(--text-muted); font-size: 12px; flex-shrink: 0; }
  .mobile-search-bar input {
    flex: 1; background: transparent; border: none; outline: none;
    color: var(--text-main); font-size: 13px; font-family: var(--font-main); min-width: 0;
  }
  .mobile-search-bar input::placeholder { color: var(--text-dim); }
  .action-btns { flex-shrink: 0; display: flex; gap: 5px; }
  .action-btns .btn-label { display: none; }
  .action-btns .btn-main { padding: 0 10px; height: 36px; min-width: 36px; justify-content: center; font-size: 13px; border-radius: 10px; }
  #toast {
    bottom: 78px;
    padding: 10px 18px;
    font-size: 12px;
    gap: 8px;
    border-radius: 30px;
    max-width: calc(100vw - 32px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .explorer-grid.list-view .card {
    padding: 7px 12px;
    gap: 10px;
  }
  .explorer-grid.list-view .card .file-preview,
  .explorer-grid.list-view .card .folder-icon {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }
  .explorer-grid.list-view .card .file-preview { height: 40px; }
  .explorer-grid.list-view .card .item-name {
    font-size: 11px;
    margin-left: 0;
    margin-bottom: 0;
  }
  .explorer-grid.list-view .card .item-info {
    width: 100px;
    font-size: 10px;
    margin-left: 0;
    margin-bottom: 0;
  }

  /* Cards — premium touch-friendly */
  .card {
    border-radius: 6px 16px 16px 16px !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    touch-action: manipulation;
    border: 1px solid rgba(255,255,255,0.07);
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
  .card:active { transform: scale(0.96); opacity: 0.9; }
  .card.selected {
    border-color: rgba(99,102,241,0.6);
    box-shadow: 0 0 0 2px rgba(99,102,241,0.2);
  }

  /* Card bottom — premium */
  .card-bottom {
    padding: 5px 7px 6px;
    background: transparent;
  }
  .item-name {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: rgba(255,255,255,0.95);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    line-height: 1.3;
    margin-left: 3px;
    margin-bottom: 7px;
  }
  .item-info {
    font-size: 8px;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
    margin-top: 1px;
    margin-left: 3px;
    margin-bottom: 2px;
    display: block;
    line-height: 1.2;
  }

  /* Folder icon */
  .folder-icon {
    font-size: 42px;
    filter: drop-shadow(0 3px 8px rgba(245,158,11,0.3));
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
    padding-bottom: 12px;
    flex: 1;
    min-height: 0;
    line-height: 1;
    margin-bottom: 0;
  }

  /* File preview */
  .file-preview {
    background: rgba(255,255,255,0.03);
  }

  /* Actions */
  .card-actions { top: 5px; right: 5px; gap: 0; }
  .card-menu { font-size: 12px; width: 22px; height: 22px; }
  .card-star {
    font-size: 10px;
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.2);
    order: -1;
  }
  .card-star.active { color: #ef4444; }

  /* Selection toolbar — full width, above bottom nav */
  .selection-toolbar {
    bottom: 146px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: fit-content;
    max-width: calc(100vw - 24px);
    border-radius: 50px;
    padding: 7px 14px;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
    animation: toolbarPopUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  @keyframes toolbarPopUp {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(30px) scale(0.85);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0) scale(1);
    }
  }
  .selection-toolbar span {
    font-size: 12px;
    font-weight: 700;
  }
  .selection-toolbar i {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 50%;
  }

  /* Upload progress — above bottom nav */
  .upload-progress { bottom: 78px; right: 12px; left: 12px; width: auto; max-width: 100%; }

  /* Modals — full screen on mobile */
  .modal-card {
    width: calc(100% - 32px) !important;
    max-width: 480px !important;
    border-radius: 20px !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: auto !important;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal {
    align-items: flex-end !important;
  }

  /* Preview modal — full screen on mobile */
  .preview-modal { padding: 0; }
  .preview-desktop-only { display: none !important; }
  .preview-nav-btn { display: none !important; }
  /* Hide iOS home indicator line */
  .preview-container { padding-bottom: env(safe-area-inset-bottom, 0); }
  .preview-counter-desktop { display: none !important; }
  .preview-counter-mobile { display: block; }
  .preview-size-mobile { display: inline; }
  .preview-container {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    animation: previewSlideUp 0.32s cubic-bezier(0.32,0,0.67,0);
  }
@keyframes previewSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
  .preview-header {
    padding: 18px;
    min-height: 52px;
  }
  .preview-header span[style*="max-width"] { max-width: 140px !important; font-size: 12px !important; }
  .preview-body { padding: 12px; }
  /* Thumbnail strip */
  .preview-container > div:last-child { padding: 8px 12px; }
  /* Nav arrows — bigger touch targets */
  .preview-body button { width: 40px !important; height: 40px !important; }

  /* Grid blur when context menu open */
  .grid-blurred {
    filter: blur(2px);
    transition: filter 0.2s ease;
  }
  #custom-ctx {
    position: fixed !important;
    top: 55% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 220px !important;
    border-radius: 18px !important;
    padding: 4px !important;
    background: rgba(20,22,32,0.75) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
    animation: ctxSlideUp 0.2s ease !important;
  }
  @keyframes ctxSlideUp {
    from { opacity:0; transform: translateY(12px); }
    to   { opacity:1; transform: translateY(0); }
  }
  #custom-ctx .ctx-option {
    padding: 11px 14px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
    gap: 0 !important;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500 !important;
    justify-content: center !important;
    text-align: center !important;
  }
  #custom-ctx .ctx-option i {
    display: none !important;
  }
  /* Keep the chevron for Move to */
  #custom-ctx .ctx-option .fa-chevron-right {
    display: flex !important;
    position: absolute !important;
    right: 16px !important;
    color: rgba(255,255,255,0.3) !important;
    font-size: 11px !important;
  }
  #custom-ctx .ctx-option { position: relative !important; }
  #custom-ctx .ctx-option i {
    width: 18px !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.45) !important;
    flex-shrink: 0 !important;
  }
  #custom-ctx .ctx-option:active { background: rgba(255,255,255,0.07) !important; }
  #custom-ctx .ctx-option.danger { color: #f87171 !important; }
  #custom-ctx .ctx-option.danger i { color: #f87171 !important; }
  #custom-ctx .ctx-divider { background: rgba(255,255,255,0.07) !important; margin: 3px 12px !important; }

  /* Details panel */
  .details-panel {
    position: fixed;
    bottom: 78px;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    height: 70vh;
    border-radius: 20px 20px 0 0;
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
}

  /* Small phone (≤480px) */
@media screen and (max-width: 480px) {
  .explorer-grid.grid-view {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
  .topbar { height: 48px; padding: 0 10px; }
  .search-engine { height: 34px; font-size: 12px; }
  .content-area { padding: 10px 10px 90px; }
  .action-btns .btn-main { padding: 6px 8px; font-size: 11px; }
  .nav-item { min-width: 44px; padding: 5px 8px; }
  .nav-item i { font-size: 16px; }
  .nav-item span { font-size: 8px; }
}

/* List view extra columns — hidden always */
.list-col-size, .list-col-date, .list-col-actions { display: none; }
.list-view-header { display: none; }
.explorer-grid.list-view .list-col-size,
.explorer-grid.list-view .list-col-date,
.explorer-grid.list-view .list-col-actions { display: none; }

/* ── Spinning gradient border — approval button ── */
@keyframes spinBorder {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.approval-spin-btn {
  position: relative;
  isolation: isolate;
}
.approval-spin-btn::before {
  content: '';
  position: absolute;
  inset: -0.6px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 60deg,
    #f5f0e8 90deg,
    transparent 120deg,
    transparent 240deg,
    #f5f0e8 270deg,
    transparent 300deg,
    transparent 360deg
  );
  animation: spinBorder 1.2s linear infinite;
  z-index: -1;
}
.approval-spin-btn::after {
  content: '';
  position: absolute;
  inset: 0.9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  z-index: -1;
}

/* ── Spinning border — rounded rect (deadline btn) ── */
.deadline-spin-btn {
  position: relative;
  overflow: hidden;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 60deg,
    #f5f0e8 90deg,
    transparent 120deg,
    transparent 240deg,
    #f5f0e8 270deg,
    transparent 300deg,
    transparent 360deg
  );
  animation: spinBorder 1.2s linear infinite;
}
.deadline-spin-btn::before { display:none; }
.deadline-spin-btn::after { display:none; }
.deadline-spin-btn > * { position: relative; z-index: 1; }
._shell_2cl7q_1 { display:flex; height:100vh; background:var(--bg); overflow:hidden; color:var(--text); }

/* ── SIDEBAR ── */
._sidebar_2cl7q_7 {
  width:256px; background:var(--surface);
  border-right:1px solid var(--border);
  display:flex; flex-direction:column;
  padding:24px 14px; transition:width 0.3s;
  position:relative; flex-shrink:0;
  box-shadow:var(--shadow-sm);
}
._collapsed_2cl7q_23 { width:68px; }

._sidebarTop_2cl7q_27 { margin-bottom:28px; }
._brand_2cl7q_29 { display:flex; align-items:center; gap:11px; margin-bottom:14px; padding:0 4px; }
._brandIcon_2cl7q_31 {
  width:36px; height:36px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:16px; flex-shrink:0;
}
._brandName_2cl7q_41 { font-size:17px; font-weight:800; color:var(--text); white-space:nowrap; overflow:hidden; }
._roleBadge_2cl7q_43 {
  display:inline-flex; align-items:center; gap:7px;
  padding:5px 11px; border-radius:7px;
  font-size:11px; font-weight:700; text-transform:capitalize;
}

._nav_2cl7q_55 { flex:1; display:flex; flex-direction:column; gap:2px; overflow-y:auto; }
._navItem_2cl7q_57 {
  display:flex; align-items:center; gap:11px;
  padding:11px 13px; border-radius:10px;
  color:var(--muted); font-size:13px; font-weight:600;
  cursor:pointer; transition:all 0.18s; white-space:nowrap; position:relative;
}
._navItem_2cl7q_57:hover { background:var(--bg-2); color:var(--text); }
._navActive_2cl7q_71 { color:var(--text) !important; }
._navItem_2cl7q_57 i { font-size:15px; width:17px; flex-shrink:0; }
._badge_2cl7q_75 {
  margin-left:auto; padding:2px 7px; border-radius:20px;
  font-size:10px; font-weight:700; color:#fff;
}

._sidebarBottom_2cl7q_85 { margin-top:auto; display:flex; flex-direction:column; gap:7px; }
._planCard_2cl7q_87 {
  background:var(--bg-2); border:1px solid var(--border);
  border-radius:11px; padding:13px;
}

._collapseBtn_2cl7q_97 {
  position:absolute; right:-11px; top:50%; transform:translateY(-50%);
  width:22px; height:22px; background:var(--surface);
  border:1px solid var(--border); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:9px; color:var(--muted);
  transition:all 0.2s; z-index:10; box-shadow:var(--shadow-sm);
}
._collapseBtn_2cl7q_97:hover { background:var(--accent); color:#fff; border-color:var(--accent); }

/* ── MAIN ── */
._main_2cl7q_119 { flex:1; display:flex; flex-direction:column; overflow:hidden; }

._topbar_2cl7q_123 {
  height:68px;
  background:rgba(245,243,239,0.9);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 32px; flex-shrink:0;
}
._searchBox_2cl7q_139 {
  display:flex; align-items:center; gap:11px;
  background:var(--surface); border:1.5px solid var(--border);
  border-radius:10px; padding:0 15px; width:300px;
  transition:border-color 0.2s; box-shadow:var(--shadow-sm);
}
._searchBox_2cl7q_139:focus-within { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
._searchBox_2cl7q_139 i { color:var(--dim); font-size:13px; }
._searchBox_2cl7q_139 input {
  background:transparent; border:none; outline:none;
  color:var(--text); font-size:13px; padding:11px 0; width:100%;
  font-family:var(--font);
}
._searchBox_2cl7q_139 input::placeholder { color:var(--dim); }

._topbarRight_2cl7q_169 { display:flex; align-items:center; gap:14px; }
._notifBtn_2cl7q_171 {
  position:relative; width:36px; height:36px;
  background:var(--surface); border:1px solid var(--border);
  border-radius:9px; display:flex; align-items:center; justify-content:center;
  cursor:pointer; color:var(--muted); box-shadow:var(--shadow-sm);
  transition:all 0.2s;
}
._notifBtn_2cl7q_171:hover { border-color:var(--accent); color:var(--accent); }
._notifDot_2cl7q_187 {
  position:absolute; top:7px; right:7px;
  width:7px; height:7px; background:var(--danger);
  border-radius:50%; border:2px solid var(--surface);
}
._profile_2cl7q_197 {
  display:flex; align-items:center; gap:10px;
  background:var(--surface); border:1px solid var(--border);
  padding:7px 15px; border-radius:50px; cursor:pointer;
  box-shadow:var(--shadow-sm); transition:all 0.2s;
}
._profile_2cl7q_197:hover { border-color:var(--accent); }
._profile_2cl7q_197 img { width:30px; height:30px; border-radius:50%; }

._content_2cl7q_215 { flex:1; overflow-y:auto; padding:32px; background:var(--bg); }

/* ── REUSABLE ── */
._pageHeader_2cl7q_221 { margin-bottom:28px; }
._pageHeader_2cl7q_221 h1 { font-size:26px; font-weight:800; letter-spacing:-0.5px; margin-bottom:5px; color:var(--text); }
._pageHeader_2cl7q_221 p { color:var(--muted); font-size:14px; }

._statsRow_2cl7q_229 { display:grid; gap:16px; margin-bottom:24px; }
._statCard_2cl7q_231 {
  background:var(--surface); border:1px solid var(--border);
  border-radius:16px; padding:22px;
  display:flex; align-items:center; gap:16px;
  transition:all 0.25s; box-shadow:var(--shadow-sm);
}
._statCard_2cl7q_231:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
._statIcon_2cl7q_245 { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
._statInfo_2cl7q_247 { flex:1; }
._statValue_2cl7q_249 { font-size:26px; font-weight:800; line-height:1; margin-bottom:3px; }
._statLabel_2cl7q_251 { color:var(--muted); font-size:13px; }
._statChange_2cl7q_253 { font-size:11px; font-weight:600; display:flex; align-items:center; gap:4px; margin-top:3px; }

._card_2cl7q_257 {
  background:var(--surface); border:1px solid var(--border);
  border-radius:16px; padding:22px; box-shadow:var(--shadow-sm);
}
._cardHeader_2cl7q_265 { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
._cardTitle_2cl7q_267 { font-size:15px; font-weight:700; color:var(--text); }
._cardAction_2cl7q_269 { color:var(--accent); font-size:13px; font-weight:600; cursor:pointer; }
._cardAction_2cl7q_269:hover { text-decoration:underline; }

._table_2cl7q_275 { width:100%; border-collapse:collapse; }
._table_2cl7q_275 th {
  text-align:left; padding:9px 13px;
  font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.8px;
  color:var(--dim); border-bottom:1px solid var(--border);
}
._table_2cl7q_275 td { padding:13px; border-bottom:1px solid var(--border-2); font-size:13px; color:var(--text-2); }
._table_2cl7q_275 tr:last-child td { border-bottom:none; }
._table_2cl7q_275 tr:hover td { background:var(--bg-2); }

._tag_2cl7q_295 { display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:20px; font-size:11px; font-weight:700; }
._tagGreen_2cl7q_297  { background:rgba(5,150,105,0.1);  color:#059669; }
._tagBlue_2cl7q_299   { background:rgba(79,70,229,0.1);  color:#4f46e5; }
._tagYellow_2cl7q_301 { background:rgba(217,119,6,0.1);  color:#d97706; }
._tagRed_2cl7q_303    { background:rgba(220,38,38,0.1);  color:#dc2626; }
._tagPurple_2cl7q_305 { background:rgba(124,58,237,0.1); color:#7c3aed; }

._avatar_2cl7q_309   { width:36px; height:36px; border-radius:50%; }
._avatarSm_2cl7q_311 { width:28px; height:28px; border-radius:50%; }

._progressBar_2cl7q_315 { height:5px; background:var(--bg-3); border-radius:10px; overflow:hidden; margin-top:7px; }
._progressFill_2cl7q_317 { height:100%; border-radius:10px; transition:width 0.5s; }

._btn_2cl7q_321 { padding:8px 16px; border-radius:9px; border:none; font-weight:600; font-size:13px; cursor:pointer; display:inline-flex; align-items:center; gap:6px; transition:all 0.2s; font-family:var(--font); }
._btnPrimary_2cl7q_323 { background:var(--accent); color:#fff; box-shadow:0 3px 10px var(--accent-glow); }
._btnPrimary_2cl7q_323:hover { background:#4338ca; transform:translateY(-1px); }
._btnGhost_2cl7q_327 { background:transparent; color:var(--muted); border:1px solid var(--border); }
._btnGhost_2cl7q_327:hover { color:var(--text); border-color:var(--text-2); background:var(--bg-2); }
._btnDanger_2cl7q_331 { background:rgba(220,38,38,0.08); color:var(--danger); border:1px solid rgba(220,38,38,0.15); }

._grid2_2cl7q_335 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
._grid3_2cl7q_337 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
._grid4_2cl7q_339 { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }

._emptyState_2cl7q_343 { text-align:center; padding:56px; color:var(--muted); }
._emptyState_2cl7q_343 i { font-size:44px; margin-bottom:14px; display:block; opacity:0.4; }

._fileIcon_2cl7q_349 { width:38px; height:38px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }

/* ── NOTIFICATION DROPDOWN ── */
._notifDropdown_2cl7q_355 {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 320px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-xl); z-index: 999; overflow: hidden;
}
._notifHeader_2cl7q_367 {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: 14px;
}
._notifClear_2cl7q_377 { font-size: 12px; color: var(--accent); cursor: pointer; font-weight: 600; }
._notifItem_2cl7q_379 {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border-2);
  cursor: pointer; transition: background 0.15s;
}
._notifItem_2cl7q_379:hover { background: var(--bg-2); }
._notifItem_2cl7q_379:last-child { border-bottom: none; }
._notifIcon_2cl7q_393 {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
._notifText_2cl7q_403 { flex: 1; font-size: 13px; line-height: 1.5; }
._notifTime_2cl7q_405 { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── PROFILE DROPDOWN ── */
._profileDropdown_2cl7q_411 {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 240px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-xl); z-index: 999; overflow: hidden;
  padding: 8px;
}
._profileHeader_2cl7q_425 {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 8px 14px;
}
._profileHeader_2cl7q_425 img { width: 44px; height: 44px; border-radius: 50%; }
._profileRole_2cl7q_435 { font-size: 11px; font-weight: 700; text-transform: capitalize; margin-top: 2px; }
._profileDivider_2cl7q_437 { height: 1px; background: var(--border); margin: 4px 0; }
._profileItem_2cl7q_439 {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 9px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all 0.15s;
}
._profileItem_2cl7q_439:hover { background: var(--bg-2); color: var(--text); }
._profileItem_2cl7q_439 i { width: 16px; font-size: 14px; }

/* ── TOPBAR position fix for dropdowns ── */
._topbarRight_2cl7q_169 { position: relative; }
._notifBtn_2cl7q_171 { position: relative; }
._profile_2cl7q_197 { position: relative; }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  ._shell_2cl7q_1 { flex-direction: column; height: 100dvh; }

  ._sidebar_2cl7q_7 {
    display: none !important;
  }

  ._main_2cl7q_119 { width: 100%; }

  ._topbar_2cl7q_123 {
    height: auto;
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 8px;
  }

  ._searchBox_2cl7q_139 { width: 100%; }

  ._content_2cl7q_215 { padding: 12px; }

  ._statsRow_2cl7q_229 { grid-template-columns: 1fr 1fr !important; gap: 10px; }

  ._grid2_2cl7q_335, ._grid3_2cl7q_337, ._grid4_2cl7q_339 { grid-template-columns: 1fr !important; }

  ._card_2cl7q_257 { padding: 14px; }

  ._table_2cl7q_275 { display: block; overflow-x: auto; }

  ._pageHeader_2cl7q_221 h1 { font-size: 20px; }
}

@media (max-width: 480px) {
  ._statsRow_2cl7q_229 { grid-template-columns: 1fr !important; }
  ._topbar_2cl7q_123 { padding: 8px 12px; }
  ._content_2cl7q_215 { padding: 8px; }
}
