:root {
  --color-bg: #F6F7F9;
  --color-panel: #FFFFFF;
  --color-ink: #0B1729;
  --color-ink-soft: #55677A;
  --color-line: rgba(11, 23, 41, 0.10);
  --color-accent: #C89B3C;
  --color-accent-light: #E6C878;
  --color-steel: #0F6E7A;
  --color-navy-deep: #071019;
  --color-navy-mid: #0C2138;

  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  /* Only pause continuous, purely-decorative ambient motion (the kind that
     can trigger discomfort) — entrance fades, hover effects and scroll
     reveals stay intact so the site doesn't look "broken" for people who
     simply have this OS setting on. */
  html { scroll-behavior: auto; }
  .molecule-dot {
    animation: none !important;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-steel);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--color-accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--color-ink);
  letter-spacing: -0.015em;
  font-weight: 700;
}
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; }
p { color: var(--color-ink-soft); }

.section { padding: 108px 0; }
.section--tight { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 17.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  background: transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn span.arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover span.arrow { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #B0812A);
  color: #24170A;
  box-shadow: 0 8px 20px -8px rgba(200, 155, 60, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(200, 155, 60, 0.75); }

.btn-outline-light {
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

.btn-ghost {
  border-color: var(--color-line);
  color: var(--color-ink);
}
.btn-ghost:hover { border-color: var(--color-ink); background: var(--color-ink); color: #fff; transform: translateY(-2px); }

.btn-dark {
  background: var(--color-ink);
  color: #fff;
}
.btn-dark:hover { background: var(--color-navy-mid); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease);
  /* Intentionally no background/backdrop-filter/transform here — any of those
     would create a new containing block, which breaks position:fixed on the
     mobile nav dropdown nested inside this element once the page is scrolled.
     The scrolled-state background lives on ::before instead, see below. */
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 16, 25, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding: 14px 0;
}
.site-header.is-scrolled::before {
  background: rgba(7, 16, 25, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 19px; text-decoration: none; color: #FFFFFF !important; transition: color 0.4s var(--ease); }
.site-header.is-scrolled .logo { color: #FFFFFF !important; }
.logo-text { display: flex; flex-direction: column; }
.logo-brand { font-weight: 700; letter-spacing: -0.01em; }
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: url('/images/logo.svg?v=4') center/contain no-repeat;
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.logo:hover .logo-mark {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(216, 23, 30, 0.45);
}
.logo-mark::after {
  content: none !important;
  display: none !important;
}
.logo small { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--color-accent-light) !important; font-weight: 500; }
.site-header.is-scrolled .logo small { color: var(--color-accent-light) !important; }

.header-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav { display: flex; align-items: center; gap: 36px; flex-wrap: nowrap; }
.nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 600;
  color: #FFFFFF !important;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}
.site-header.is-scrolled .nav a { color: #FFFFFF !important; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--color-accent); transition: right 0.3s var(--ease);
}
.nav a:hover { color: var(--color-accent-light) !important; }
.site-header.is-scrolled .nav a:hover { color: var(--color-accent-light) !important; }
.nav a:hover::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: none !important;
}
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 120;
  transition: all 0.3s var(--ease);
}
.site-header.is-scrolled .nav-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #FFFFFF !important;
  border-radius: 2px;
  position: relative;
  transition: background 0.25s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #FFFFFF !important;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), top 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

/* Hamburger Open/Close Animation State ('X' icon) */
.nav-toggle.is-active {
  background: rgba(200, 155, 60, 0.2) !important;
  border-color: var(--color-accent) !important;
}
.nav-toggle.is-active span {
  background: transparent !important;
}
.nav-toggle.is-active span::before {
  top: 0 !important;
  transform: rotate(45deg) !important;
  background: #FFFFFF !important;
}
.nav-toggle.is-active span::after {
  top: 0 !important;
  transform: rotate(-45deg) !important;
  background: #FFFFFF !important;
}

.mobile-menu-cta { display: none !important; }
@media (max-width: 1080px) {
  .mobile-menu-cta { display: inline-flex !important; margin-top: 12px; font-size: 16px !important; }
}

.header-phone { display: none !important; }

/* RESPONSIVE MOBILE HEADER - 100% VISIBILITY & ZERO CUT-OFF */
@media (max-width: 1080px) {
  .site-header {
    padding: 12px 0;
  }
  .site-header .wrap {
    padding: 0 16px;
    gap: 10px;
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .header-cta {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }
  .header-cta .btn-primary {
    display: inline-flex !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }
  .nav {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: #071019;
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 32px; gap: 24px;
    z-index: 100;
    opacity: 0; transition: opacity 0.3s var(--ease);
  }
  .nav.is-open { display: flex; opacity: 1; }
  .nav a { color: #FFFFFF !important; font-size: 22px; font-weight: 600; }
  .nav-toggle {
    display: inline-flex !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    z-index: 105;
  }
}

@media (max-width: 540px) {
  .site-header .wrap {
    padding: 0 12px;
    gap: 8px;
  }
  .logo {
    font-size: 14.5px !important;
    gap: 8px !important;
  }
  .logo-mark {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
  }
  .logo-brand {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    line-height: 1.15;
    white-space: nowrap;
  }
  .logo small {
    display: block !important;
    font-size: 8px !important;
    letter-spacing: 0.12em !important;
    line-height: 1.1;
    color: var(--color-accent-light) !important;
    font-family: var(--font-mono);
    white-space: nowrap;
  }
  .header-cta {
    gap: 8px !important;
  }
  .header-cta .btn-primary {
    padding: 7px 11px !important;
    font-size: 12px !important;
  }
  .nav-toggle {
    width: 38px !important;
    height: 38px !important;
  }
}

@media (max-width: 375px) {
  .logo-mark {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
  }
  .logo-brand {
    font-size: 12px !important;
  }
  .logo small {
    font-size: 7px !important;
    letter-spacing: 0.08em !important;
  }
  .header-cta .btn-primary {
    padding: 6px 9px !important;
    font-size: 11px !important;
  }
  .nav-toggle {
    width: 36px !important;
    height: 36px !important;
  }
}
@media (min-width: 1081px) {
  .nav { display: flex !important; position: static !important; transform: none !important; opacity: 1 !important; }
  .nav-toggle { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  background: var(--color-navy-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(160deg, #071019 0%, #0b1f33 55%, #0c2a38 100%);
  overflow: hidden;
}
.hero-globe {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: heroDrift 24s infinite alternate ease-in-out;
  transition: all 0.3s ease;
}
.hero-globe.glob-1 {
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(15, 110, 122, 0.42), transparent 70%);
  left: -200px; top: -150px;
}
.hero-globe.glob-2 {
  width: 800px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(200, 155, 60, 0.22), transparent 70%);
  right: -200px; bottom: -200px;
  animation-delay: -5s;
}
@keyframes heroDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 60px) scale(1.1); }
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
}
.molecule-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent-light);
  opacity: 0.55;
  animation: floatDot 9s ease-in-out infinite;
  z-index: -1;
}
@keyframes floatDot {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -18px); }
}

.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; position: relative; }

.hero-copy .eyebrow { color: var(--color-accent-light); }
.hero-copy .eyebrow::before { background: var(--color-accent-light); }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.06;
  margin-top: 18px;
  color: #fff;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) forwards;
  animation-delay: 0.15s;
}
.hero h1 .accent-text {
  background: linear-gradient(100deg, var(--color-accent-light), var(--color-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede {
  font-size: 18px; max-width: 48ch; margin-top: 20px; color: rgba(255,255,255,0.68);
  opacity: 0; animation: heroFadeUp 0.9s var(--ease) forwards; animation-delay: 0.32s;
}
.hero-actions {
  display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap;
  opacity: 0; animation: heroFadeUp 0.9s var(--ease) forwards; animation-delay: 0.48s;
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap;
  opacity: 0; animation: heroFadeUp 0.9s var(--ease) forwards; animation-delay: 0.62s;
}
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.hero-stat strong { display: block; font-family: var(--font-display); font-size: 30px; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

/* ---------- Signature: certificate card ---------- */
.hero-visual {
  opacity: 0; animation: heroFadeUp 1s var(--ease) forwards; animation-delay: 0.4s;
}
.cert-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 30px 30px 22px;
  backdrop-filter: blur(18px);
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.cert-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-steel));
  border-radius: 16px 16px 0 0;
}
.cert-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.cert-top span.cert-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.cert-status {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(15,110,122,0.25); color: #7FD8CF; border: 1px solid rgba(127,216,207,0.35);
  padding: 4px 10px; border-radius: 999px;
}
.cert-card h4 {
  font-family: var(--font-display); font-size: 24px; color: #fff; margin: 4px 0 18px; min-height: 32px;
  transition: opacity 0.3s ease;
}
.cert-row {
  display: flex; justify-content: space-between; font-size: 13px; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.55);
  font-family: var(--font-mono); transition: opacity 0.3s ease;
}
.cert-row b { color: #fff; font-weight: 500; }
.cert-foot { display: flex; justify-content: center; gap: 7px; margin-top: 22px; }
.cert-foot span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: background 0.25s ease, transform 0.25s ease; }
.cert-foot span.is-active { background: var(--color-accent); transform: scale(1.25); }
.cert-card.is-fading h4, .cert-card.is-fading .cert-row { opacity: 0; }



/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: start; }
.about-copy p { font-size: 16.5px; margin-bottom: 18px; }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-fact {
  background: var(--color-panel); border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 24px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.about-fact:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(11,23,41,0.25); border-color: rgba(200,155,60,0.4); }
.about-fact span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-steel); }
.about-fact strong { display: block; font-family: var(--font-display); font-size: 24px; margin-top: 8px; }

/* ---------- Products (Image-Centric Modern Grid) ---------- */
.products-section-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.products-header-left h2 {
  margin-top: 14px;
}

.custom-sourcing-cta-box {
  background: linear-gradient(135deg, #091726 0%, #0d233a 100%);
  border: 1.5px solid rgba(200, 155, 60, 0.45);
  border-radius: 14px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 14px 30px -12px rgba(7, 16, 25, 0.35);
  position: relative;
  overflow: hidden;
}
.custom-sourcing-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent-light), var(--color-accent));
}
.custom-sourcing-cta-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.custom-sourcing-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-light);
  background: rgba(200, 155, 60, 0.15);
  border: 1px solid rgba(200, 155, 60, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}
.custom-sourcing-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.custom-sourcing-text strong {
  color: #FFFFFF;
  font-size: 15.5px;
  font-family: var(--font-display);
}
.btn-request-custom {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 13px 22px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 860px) {
  .custom-sourcing-cta-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .btn-request-custom {
    width: 100%;
    justify-content: center;
  }
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--color-panel); border: 1px solid var(--color-line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.product-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 12px; padding: 1px;
  background: linear-gradient(135deg, var(--color-accent), transparent 50%);
  opacity: 0; transition: opacity 0.35s var(--ease);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 38px -18px rgba(11,23,41,0.28); border-color: rgba(200,155,60,0.4); }
.product-card:hover::before { opacity: 1; }
.product-img-wrap {
  width: 100%; aspect-ratio: 1 / 1; background: #08111e; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 16px;
  text-align: center;
  color: var(--color-accent-light);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(200, 155, 60, 0.12) 0%, rgba(7, 16, 25, 0.95) 80%);
}
.product-img-placeholder span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 90%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.product-img-placeholder svg {
  opacity: 0.85;
  stroke: var(--color-accent);
  filter: drop-shadow(0 2px 8px rgba(200, 155, 60, 0.35));
  transition: transform 0.35s var(--ease);
}
.product-card:hover .product-img-placeholder svg {
  transform: scale(1.1);
}
.product-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.product-card-body h3 {
  font-size: 15.5px; margin: 0; color: var(--color-ink); font-family: var(--font-display);
  font-weight: 600; line-height: 1.3;
}
.product-card-cta {
  margin-top: auto; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--color-ink);
  display: flex; justify-content: space-between; align-items: center; padding: 8px 12px;
  background: rgba(200,155,60,0.08); border: 1px solid rgba(200,155,60,0.22); border-radius: 6px;
  transition: all 0.25s ease;
}
.product-card-cta svg { transition: transform 0.25s var(--ease); }
.product-card-cta:hover { background: var(--color-accent); color: #071019; border-color: var(--color-accent); }
.product-card-cta:hover svg { transform: translateX(3px); }

/* Custom Chemical Sourcing Card */
.product-card--custom {
  background: linear-gradient(180deg, #0d1e30 0%, #08111e 100%);
  border: 1.5px dashed rgba(200, 155, 60, 0.45);
}
.product-card--custom:hover {
  border-color: var(--color-accent);
  border-style: solid;
}
.product-card--custom .product-card-body h3 {
  color: #FFFFFF;
}
.product-img-wrap--custom {
  background: radial-gradient(circle at center, rgba(200, 155, 60, 0.15) 0%, rgba(7, 16, 25, 0.95) 75%);
}
.custom-chemical-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-accent-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.custom-chemical-placeholder svg {
  color: var(--color-accent);
  filter: drop-shadow(0 0 10px rgba(200, 155, 60, 0.4));
  transition: transform 0.35s var(--ease);
}
.product-card--custom:hover .custom-chemical-placeholder svg {
  transform: scale(1.15) rotate(90deg);
}
.product-card-cta--custom {
  background: rgba(200, 155, 60, 0.18);
  border-color: var(--color-accent);
  color: #FFFFFF;
}

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.industry-cell {
  padding: 30px 16px; text-align: center; background: var(--color-panel); border: 1px solid var(--color-line);
  border-radius: var(--radius); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.industry-cell:hover { transform: translateY(-5px); border-color: rgba(15,110,122,0.4); box-shadow: 0 18px 32px -20px rgba(11,23,41,0.3); }
.industry-cell .ico {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(200,155,60,0.16), rgba(15,110,122,0.16));
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.industry-cell span.label { font-size: 13.5px; font-weight: 600; color: var(--color-ink); }

/* ---------- Why us ---------- */
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reason-card {
  padding: 28px 24px; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-panel);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.reason-card:hover { transform: translateY(-5px); box-shadow: 0 20px 36px -20px rgba(11,23,41,0.3); }
.reason-card .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), #B0812A);
  margin-bottom: 18px; font-size: 19px; color: #24170A;
}
.reason-card h3 { font-size: 17px; }
.reason-card p { font-size: 14px; margin-top: 8px; }

/* ---------- Request form ---------- */
.request-section { background: var(--color-navy-deep); color: #fff; position: relative; overflow: hidden; }
.request-section .hero-bg { animation-duration: 30s; }
.request-section .eyebrow { color: var(--color-accent-light); }
.request-section .eyebrow::before { background: var(--color-accent-light); }
.request-section .section-head h2 { color: #fff; }
.request-section .section-head p { color: rgba(255,255,255,0.65); }

.request-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; position: relative; }
.request-notes { color: rgba(255,255,255,0.7); }
.request-notes h3 { color: #fff; }
.request-steps { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 16px; }
.request-steps li { display: flex; gap: 14px; font-size: 14.5px; align-items: flex-start; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(200,155,60,0.18); border: 1px solid rgba(200,155,60,0.4);
  color: var(--color-accent-light); font-family: var(--font-mono); font-size: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Custom Sourcing Highlight Box */
.custom-sourcing-box {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(200, 155, 60, 0.08);
  border: 1px solid rgba(200, 155, 60, 0.28);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
.custom-sourcing-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.custom-sourcing-head strong {
  color: #FFFFFF;
  font-family: var(--font-display);
}
.custom-sourcing-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.form-card {
  background: rgba(255,255,255,0.04); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 34px 34px 26px; color: #fff;
}
.form-card-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 18px; margin-bottom: 22px; }
.form-card-head span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* Field Label Group & Badges */
.field-label-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}
.field-label-group label {
  margin-bottom: 0;
}
.field-badge-unlisted {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0B1729;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(200, 155, 60, 0.35);
}
.field-help-text {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  line-height: 1.4;
}

.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 14.5px; padding: 13px 14px;
  border: 1.5px solid rgba(255,255,255,0.14); border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); color: #fff; transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent); background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px rgba(200,155,60,0.15);
}
.field select option { background: var(--color-navy-mid); color: #fff; }
.field textarea { resize: vertical; min-height: 84px; }
.qty-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.form-foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: rgba(255,255,255,0.45); max-width: 34ch; }
.form-status { font-family: var(--font-mono); font-size: 13px; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(45,175,110,0.15); color: #6FE0A6; border: 1px solid rgba(111,224,166,0.3); }
.form-status.err { background: rgba(224,90,80,0.15); color: #FF9B90; border: 1px solid rgba(255,155,144,0.3); }

/* ---------- Contact ---------- */
.contact-layout {
  display: block;
  margin-top: 48px;
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-panel);
  transition: all 0.3s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -15px rgba(11,23,41,0.22);
  border-color: rgba(176, 129, 42, 0.3);
}
.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(176, 129, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  border: 1px solid rgba(176, 129, 42, 0.15);
  transition: all 0.3s ease;
}
.contact-card:hover .contact-card-icon {
  background: var(--color-accent);
  color: #24170A;
  transform: scale(1.05);
}
.contact-card-content span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-steel);
}
.contact-card-content p {
  margin: 4px 0 0;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 600;
}
.contact-card-content a {
  text-decoration: none;
  color: var(--color-ink);
  transition: color 0.25s ease;
}
.contact-card-content a:hover {
  color: var(--color-accent);
}
.contact-map {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  overflow: hidden;
  height: 320px;
  filter: grayscale(0.85) invert(0.9) contrast(1.15) brightness(0.9);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.contact-map:hover {
  filter: grayscale(0) invert(0) contrast(1) brightness(1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border-color: rgba(176, 129, 42, 0.25);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--color-navy-deep);
  border-top: 1px solid var(--color-line);
  padding: 80px 0 0;
  color: var(--color-ink-soft);
  overflow: hidden;
}
.footer-bg-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  right: -150px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(176, 129, 42, 0.04) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}
@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(-20px, -20px); opacity: 1; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-light);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-top: 16px;
  max-width: 320px;
}
.footer-trust-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}
.footer-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 6px;
  width: fit-content;
  transition: all 0.25s ease;
}
.footer-trust-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}
.footer-trust-item:hover {
  background: rgba(200, 155, 60, 0.08);
  border-color: rgba(200, 155, 60, 0.3);
  transform: translateX(2px);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul li a {
  text-decoration: none;
  color: var(--color-ink-soft);
  font-size: 13.5px;
  transition: all 0.25s ease;
  display: inline-flex;
  position: relative;
}
.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--color-accent-light);
  transition: width 0.25s ease;
}
.footer-col ul li a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}
.footer-col ul li a:hover::after {
  width: 100%;
}
.staff-link {
  color: var(--color-accent-light) !important;
  font-family: var(--font-mono) !important;
  font-size: 12.5px !important;
  font-weight: 600;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-ink-soft);
  line-height: 1.5;
}
.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-ink-soft);
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-contact-list a:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-ink-soft);
}
.footer-bottom {
  border-top: 1px solid var(--color-line);
  padding: 24px 0;
  font-family: var(--font-mono);
  font-size: 12px;
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-tagline {
  color: var(--color-accent-light);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact responsiveness override */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-map {
    height: 280px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.stagger.is-visible > * { animation: staggerIn 0.6s var(--ease) both; }
.stagger.is-visible > *:nth-child(1) { animation-delay: 0.03s; }
.stagger.is-visible > *:nth-child(2) { animation-delay: 0.09s; }
.stagger.is-visible > *:nth-child(3) { animation-delay: 0.15s; }
.stagger.is-visible > *:nth-child(4) { animation-delay: 0.21s; }
.stagger.is-visible > *:nth-child(5) { animation-delay: 0.27s; }
.stagger.is-visible > *:nth-child(6) { animation-delay: 0.33s; }
.stagger.is-visible > *:nth-child(7) { animation-delay: 0.39s; }
.stagger.is-visible > *:nth-child(8) { animation-delay: 0.45s; }
.stagger.is-visible > *:nth-child(9) { animation-delay: 0.51s; }
@keyframes staggerIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.stagger > * { opacity: 0; }
.stagger.is-visible > * { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { min-height: unset; padding: 130px 0 70px; }
  .about-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .request-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    border-radius: 10px;
  }
  .product-card-body {
    padding: 12px 10px 14px;
    gap: 10px;
  }
  .product-card-body h3 {
    font-size: 13.5px;
    line-height: 1.25;
  }
  .product-card-cta {
    font-size: 12px;
    padding: 6px 10px;
  }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Compact 2-column Reasons Grid on Mobile */
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .reason-card {
    padding: 16px 12px;
    border-radius: 8px;
  }
  .reason-card .ico {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    font-size: 15px;
    border-radius: 8px;
  }
  .reason-card h3 {
    font-size: 14px;
    line-height: 1.25;
    margin-top: 0;
  }
  .reason-card p {
    font-size: 11.5px;
    line-height: 1.4;
    margin-top: 6px;
  }
  
  .form-grid { grid-template-columns: 1fr; }
  .qty-row { grid-template-columns: 1fr; }
  /* Compact 2x2 Grid for About Facts on Mobile */
  .about-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .about-fact {
    padding: 16px 14px;
    border-radius: 8px;
  }
  .about-fact span {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .about-fact strong {
    font-size: 17px;
    margin-top: 4px;
  }
  .hero-stats { gap: 28px; }
}

/* =============================================================
   EXECUTIVE ADMIN DASHBOARD STYLES (DARK & LIGHT MODE ENHANCED)
   ============================================================= */

/* DEFAULT THEME VARIABLES: DARK MODE */
.admin-body,
.admin-body.theme-dark {
  --adm-bg: #0A0F1D;
  --adm-topbar-bg: #111827;
  --adm-topbar-border: rgba(255, 255, 255, 0.06);
  --adm-card-bg: #111827;
  --adm-card-border: rgba(255, 255, 255, 0.06);
  --adm-table-head: #0B0F19;
  --adm-text-main: #F9FAFB;
  --adm-text-sub: #E5E7EB;
  --adm-text-muted: #9CA3AF;
  --adm-input-bg: #0A0F1D;
  --adm-input-border: rgba(255, 255, 255, 0.1);
  --adm-hover-bg: rgba(255, 255, 255, 0.02);
  --adm-accent: #C89B3C;
  --adm-accent-hover: #DFAC46;
}

/* LIGHT MODE THEME VARIABLES */
.admin-body.theme-light {
  --adm-bg: #F8FAFC;
  --adm-topbar-bg: #FFFFFF;
  --adm-topbar-border: #E2E8F0;
  --adm-card-bg: #FFFFFF;
  --adm-card-border: #E2E8F0;
  --adm-table-head: #F1F5F9;
  --adm-text-main: #0F172A;
  --adm-text-sub: #374151;
  --adm-text-muted: #6B7280;
  --adm-input-bg: #FFFFFF;
  --adm-input-border: #E2E8F0;
  --adm-hover-bg: #F8FAFC;
  --adm-accent: #C89B3C;
  --adm-accent-hover: #B0812A;
}

.admin-body {
  background: var(--adm-bg);
  color: var(--adm-text-main);
  font-family: var(--font-body);
  margin: 0;
  min-height: 100vh;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden;
}

/* AESTHETIC UNIQUE LOGIN SCREEN WITH GLASSMORPHISM & ANIMATED GLOBES */
.login-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 24px;
  background: #0A0F1D;
  transition: background 0.3s ease;
}

.login-bg-globe {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.05 !important;
  animation: floatGlobe 24s infinite alternate ease-in-out;
  transition: all 0.3s ease;
}

.glob-1 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  left: 15%;
  top: 15%;
}

.glob-2 {
  width: 400px;
  height: 400px;
  background: #0284C7;
  right: 10%;
  bottom: 10%;
  animation-delay: -4s;
}

.glob-3 {
  width: 250px;
  height: 250px;
  background: #8b5cf6;
  left: 45%;
  top: 60%;
  animation-delay: -8s;
}

@keyframes floatGlobe {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.1); }
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.login-card:hover {
  border-color: rgba(176, 129, 42, 0.3);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
}

.login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.login-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.login-brand-logo .logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.login-brand-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.login-company-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--adm-text-main);
  line-height: 1.15;
}

.login-company-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 3px;
}
  text-transform: uppercase;
}

.login-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--adm-text-muted);
  margin: 4px 0 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.login-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--adm-text-sub);
  margin-bottom: 8px;
}

.login-form .form-group {
  margin-bottom: 18px;
}

.login-form input {
  width: 100%;
  padding: 12px 14px;
  background: var(--adm-input-bg);
  border: 1.5px solid var(--adm-input-border);
  border-radius: 8px;
  color: var(--adm-text-main);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.25s ease;
}

.login-form input:focus {
  border-color: #0284C7;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.2);
  outline: none;
}

/* Password eye toggle container */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-container input {
  width: 100%;
  padding-right: 44px;
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--adm-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-error {
  margin-top: 12px;
  padding: 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-mono);
  display: none;
}

.btn-executive-login {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--color-accent), #B0812A) !important;
  border: none;
  color: #24170A !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 13px 20px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(200, 155, 60, 0.3);
}

.btn-executive-login .arrow-icon {
  transition: transform 0.25s ease;
}

.btn-executive-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 155, 60, 0.45);
  opacity: 0.95;
}

.btn-executive-login:hover .arrow-icon {
  transform: translateX(4px);
}

.login-security-badge {
  margin-top: 22px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid var(--adm-card-border);
  border-radius: 8px;
  text-align: center;
}

.sec-badge-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--adm-text-main);
}

.sec-badge-desc {
  font-size: 11px;
  color: var(--adm-text-muted);
  margin: 4px 0 0;
}

/* =============================================================
   LIGHT MODE LOGIN SCREEN OVERRIDES
   ============================================================= */
.admin-body.theme-light .login-wrapper {
  background: #F8FAFC;
}

.admin-body.theme-light .login-bg-globe {
  opacity: 0.03 !important;
}

.admin-body.theme-light .glob-1 {
  background: rgba(176, 129, 42, 0.3);
}

.admin-body.theme-light .glob-2 {
  background: rgba(2, 132, 199, 0.3);
}

.admin-body.theme-light .glob-3 {
  background: rgba(139, 92, 246, 0.3);
}

.admin-body.theme-light .login-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: #E2E8F0;
  box-shadow: 0 25px 50px -12px rgba(100, 116, 139, 0.12);
}

.admin-body.theme-light .login-card:hover {
  border-color: rgba(176, 129, 42, 0.3);
  box-shadow: 0 30px 60px -10px rgba(100, 116, 139, 0.2);
}

.admin-body.theme-light .login-company-title {
  color: #0F172A;
}

.admin-body.theme-light .login-subtitle {
  color: #64748B;
}

.admin-body.theme-light .login-form label {
  color: #475569;
}

.admin-body.theme-light .login-form input {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #0F172A;
}

.admin-body.theme-light .login-form input:focus {
  border-color: #0284C7;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.15);
}

.admin-body.theme-light .toggle-password-btn {
  color: #64748B;
}

.admin-body.theme-light .login-security-badge {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

/* ADMIN COLLAPSIBLE SIDEBAR LAYOUT */
.admin-layout,
.admin-app {
  display: flex;
  min-height: 100vh;
  height: auto !important;
  width: 100%;
}

.admin-sidebar {
  width: 260px;
  background: var(--adm-topbar-bg);
  border-right: 1px solid var(--adm-topbar-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 200;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.02);
}

.sidebar-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--adm-topbar-border);
  position: relative;
  flex-shrink: 0;
}

.sidebar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-brand-icon .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--adm-text-main);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--adm-accent);
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-close-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--adm-text-sub);
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 16px; top: 16px;
}

/* SECTION LABELS */
.sidebar-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--adm-text-muted);
  padding: 16px 14px 6px;
  opacity: 0.8;
}

/* SIDEBAR TABS & ROUNDED PILLS */
.admin-sidebar .admin-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  flex: 1;
}

.admin-sidebar .tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--adm-text-sub);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  text-align: left;
  position: relative;
}

.tab-icon-wrap {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.admin-sidebar .tab-btn:hover {
  color: var(--adm-text-main);
  background: var(--adm-input-bg);
  transform: translateX(3px);
}

.admin-sidebar .tab-btn:hover .tab-icon-wrap {
  transform: scale(1.15);
  color: var(--adm-accent);
}

/* ANIMATED ACTIVE PILL WITH GLOWING LEFT INDICATOR */
.admin-sidebar .tab-btn.active {
  color: var(--adm-text-main);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(2, 132, 199, 0.04));
  border: 1px solid rgba(2, 132, 199, 0.2);
  font-weight: 700;
}

.admin-sidebar .tab-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: #0284C7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.8);
}

.admin-sidebar .tab-btn.active .tab-icon-wrap {
  color: #0284C7;
}

/* SIDEBAR CHEVRONS FOR COLLAPSIBLE MENU GROUP */
.sidebar-menu-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tab-btn .chevron-icon {
  margin-left: auto;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.tab-btn.menu-open .chevron-icon {
  transform: rotate(90deg);
}

/* SUB-MENUS WITH SLEEK CONNECTOR TREE */
.sidebar-sub-menu {
  margin-left: 26px;
  border-left: 2px solid var(--adm-card-border);
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
  margin-bottom: 8px;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.sub-tab-btn {
  background: transparent;
  border: none;
  color: var(--adm-text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.sub-tab-btn .bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--adm-text-muted);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.sub-tab-btn:hover {
  color: var(--adm-text-main);
  background: var(--adm-input-bg);
  transform: translateX(2px);
}

.sub-tab-btn:hover .bullet {
  background: var(--adm-accent);
  transform: scale(1.3);
}

.sub-tab-btn.active {
  color: #0284C7;
  font-weight: 700;
  background: rgba(2, 132, 199, 0.08);
}

.sub-tab-btn.active .bullet {
  background: #0284C7;
  box-shadow: 0 0 8px #0284C7;
  transform: scale(1.4);
}

.sub-create-btn {
  color: var(--adm-accent) !important;
  font-weight: 700 !important;
}

.sub-create-btn .bullet {
  background: var(--adm-accent) !important;
  box-shadow: 0 0 6px var(--adm-accent) !important;
}

/* SIDEBAR QUICK ACTION BUTTONS */
.sidebar-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 9px;
  background: var(--adm-input-bg);
  border: 1px solid var(--adm-input-border);
  color: var(--adm-text-main);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.sidebar-action-btn:hover {
  background: var(--adm-card-border);
  color: var(--adm-text-main);
  transform: translateX(3px);
  border-color: var(--adm-card-border);
}
.sidebar-action-btn .tab-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  color: var(--adm-text-muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.sidebar-action-btn:hover .tab-icon-wrap {
  transform: scale(1.1);
  color: var(--adm-accent);
}

.sidebar-action-btn.btn-action-gold {
  background: rgba(200, 155, 60, 0.08);
  border: 1px solid rgba(200, 155, 60, 0.3);
  color: #B0812A;
  font-weight: 700;
}
.theme-dark .sidebar-action-btn.btn-action-gold {
  background: rgba(200, 155, 60, 0.12);
  border-color: rgba(200, 155, 60, 0.35);
  color: #DFAC46;
}
.sidebar-action-btn.btn-action-gold:hover {
  background: linear-gradient(135deg, #DFAC46 0%, #C89B3C 50%, #B0812A 100%);
  color: #1A120B !important;
  border-color: #C89B3C;
  box-shadow: 0 4px 12px rgba(200, 155, 60, 0.25);
}
.sidebar-action-btn.btn-action-gold .tab-icon-wrap {
  background: rgba(200, 155, 60, 0.15);
  color: #B0812A;
}
.theme-dark .sidebar-action-btn.btn-action-gold .tab-icon-wrap {
  color: #DFAC46;
}
.sidebar-action-btn.btn-action-gold:hover .tab-icon-wrap {
  background: transparent;
  color: #1A120B !important;
}

/* COLLAPSED SIDEBAR STATES (DESKTOP) */
.admin-sidebar.collapsed {
  width: 74px;
}

.admin-sidebar.collapsed .brand-info,
.admin-sidebar.collapsed .tab-text,
.admin-sidebar.collapsed .btn-text,
.admin-sidebar.collapsed .sidebar-section-label,
.admin-sidebar.collapsed .sidebar-sub-menu,
.admin-sidebar.collapsed .chevron-icon {
  display: none !important;
}

.admin-sidebar.collapsed .sidebar-header {
  padding: 18px 10px;
  justify-content: center;
}

.admin-sidebar.collapsed .tab-btn {
  justify-content: center;
  padding: 10px;
}

.admin-sidebar.collapsed .sidebar-footer {
  padding: 12px 8px;
}
.admin-sidebar.collapsed .sidebar-footer-actions {
  flex-direction: column;
}

.admin-sidebar.collapsed .sidebar-footer .btn {
  padding: 11px;
  justify-content: center;
  gap: 0;
}

.admin-sidebar.collapsed .sidebar-footer .btn svg,
.admin-sidebar.collapsed .sidebar-footer .btn .theme-icon {
  margin-right: 0 !important;
}

/* SIDEBAR TOGGLE BUTTON (COMPLETELY HIDDEN ON DESKTOP) */
.sidebar-toggle-btn {
  display: none !important;
}

/* SIDEBAR BACKDROP (HIDDEN ON DESKTOP) */
.sidebar-backdrop {
  display: none;
}

/* CONTENT CONTAINER WRAPPER - SMOOTH PAGE SCROLLING */
.admin-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto !important;
  overflow-y: visible !important;
  min-width: 0;
  background: var(--adm-bg);
}

/* ENTERPRISE TOP NAVIGATION BAR */
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px;
  background: var(--adm-topbar-bg);
  border-bottom: 1px solid var(--adm-topbar-border);
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--adm-input-bg);
  border: 1.5px solid var(--adm-input-border);
  border-radius: 8px;
  padding: 6px 12px;
  width: 320px;
  transition: all 0.2s ease;
}
.topbar-search-wrap:focus-within {
  border-color: var(--adm-accent);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15);
}
.topbar-search-wrap .search-icon {
  position: static !important;
  transform: none !important;
  display: block;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: var(--adm-text-muted);
}
.topbar-search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--adm-text-main);
  width: 100%;
  padding: 0;
}
.topbar-search-wrap input::placeholder {
  color: var(--adm-text-muted);
}
.search-shortcut-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--adm-card-border);
  color: var(--adm-text-muted);
  flex-shrink: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* TOPBAR QUICK ACTIONS GROUP */
.topbar-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-quick-action {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-quick-action:hover {
  transform: translateY(-1.5px);
}

.mobile-quick-action-wrap {
  display: none;
}

.btn-mobile-actions-trigger {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.quick-actions-dropdown {
  width: 220px !important;
}

.quick-action-menu-list {
  display: flex;
  flex-direction: column;
  padding: 6px;
}

.quick-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--adm-text-main);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.quick-menu-item:hover {
  background: var(--adm-input-bg);
  color: var(--adm-accent);
}
.quick-menu-item svg {
  color: var(--adm-accent);
  flex-shrink: 0;
}

.topbar-divider {
  width: 1px;
  height: 20px;
  background: var(--adm-card-border);
  margin: 0 2px;
}

.topbar-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--adm-input-bg);
  border: 1px solid var(--adm-input-border);
  color: var(--adm-text-main);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.topbar-icon-btn:hover {
  background: var(--adm-card-border);
  color: var(--adm-accent);
  border-color: var(--adm-accent);
}
.topbar-dot-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  border: 1.5px solid var(--adm-topbar-bg);
}

.topbar-popover-container {
  position: relative;
}

.notifications-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: 330px;
  background: var(--adm-card-bg);
  border: 1px solid var(--adm-card-border);
  border-radius: 12px;
  box-shadow: var(--adm-card-shadow);
  z-index: 1000;
  overflow: hidden;
  animation: popoverSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popoverSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--adm-card-border);
}
.notif-header h4 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--adm-text-main);
}
.notif-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-radius: 4px;
  font-weight: 700;
}
.notif-list {
  max-height: 280px;
  overflow-y: auto;
}
.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--adm-card-border);
  cursor: pointer;
  transition: background 0.15s ease;
}
.notif-item:hover {
  background: var(--adm-input-bg);
}
.notif-item.unread {
  background: rgba(2, 132, 199, 0.04);
}
.notif-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7;
}
.notif-item-icon.wa {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
}
.notif-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.notif-item-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--adm-text-main);
}
.notif-item-desc {
  font-size: 11.5px;
  color: var(--adm-text-muted);
}
.notif-item-time {
  font-size: 10px;
  color: var(--adm-text-muted);
  margin-top: 2px;
}

.topbar-profile-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 5px;
  border-radius: 24px;
  background: var(--adm-input-bg);
  border: 1px solid var(--adm-input-border);
}
.profile-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.status-indicator-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  border: 1.5px solid var(--adm-topbar-bg);
}
.profile-info {
  display: flex;
  flex-direction: column;
}
.profile-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--adm-text-main);
  line-height: 1.2;
}
.profile-role {
  font-size: 10px;
  color: var(--adm-accent);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* MAIN PANE AREA */
.admin-main {
  flex: 1;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 32px 80px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

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

.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.pane-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pane-header h2 {
  font-size: 24px;
  color: var(--adm-text-main);
  font-weight: 700;
}

.pane-subtitle {
  color: var(--adm-text-sub);
  font-size: 13.5px;
  margin: 4px 0 0;
}

/* HIGH-IMPACT GLASSMORPHIC KPI METRIC CARDS */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.kpi-card {
  background: var(--adm-card-bg);
  border: 1px solid var(--adm-card-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--adm-card-shadow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--adm-accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: var(--adm-accent);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.1);
}

.kpi-card:hover::before {
  opacity: 1;
}

.kpi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kpi-icon.blue { background: rgba(2, 132, 199, 0.1); color: #0284C7; }
.kpi-icon.yellow { background: rgba(245, 158, 11, 0.1); color: #D97706; }
.kpi-icon.teal { background: rgba(13, 148, 136, 0.1); color: #0D9488; }
.kpi-icon.green { background: rgba(16, 185, 129, 0.1); color: #10B981; }

.kpi-trend {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}
.kpi-trend.positive { background: rgba(16, 185, 129, 0.1); color: #059669; }
.kpi-trend.warning { background: rgba(245, 158, 11, 0.1); color: #D97706; }
.kpi-trend.info { background: rgba(2, 132, 199, 0.1); color: #0284C7; }

.kpi-content {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--adm-text-muted);
  font-weight: 700;
}

.kpi-value {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--adm-text-main);
  margin: 4px 0 2px;
}

.kpi-value.small {
  font-size: 16px;
  line-height: 1.3;
}

.kpi-meta {
  font-size: 11.5px;
  color: var(--adm-text-muted);
}

/* CHEMICAL BUSINESS DASHBOARD WIDGETS GRID */
.dashboard-widgets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 1024px) {
  .dashboard-widgets-grid {
    grid-template-columns: 1fr;
  }
}

.widget-card {
  background: var(--adm-card-bg);
  border: 1px solid var(--adm-card-border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--adm-card-shadow);
  transition: all 0.25s ease;
}
.widget-card:hover {
  border-color: rgba(200, 155, 60, 0.4);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.06);
}
.widget-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.widget-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--adm-text-main);
}
.widget-title-wrap h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--adm-text-main);
}
.widget-badge-metric {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(2, 132, 199, 0.08);
  color: #0284C7;
  border-radius: 6px;
  border: 1px solid rgba(2, 132, 199, 0.2);
}
.stock-live-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #10B981;
}
.widget-time-filter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--adm-text-muted);
}

.chart-summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--adm-card-border);
}
.chart-metric-item {
  display: flex;
  flex-direction: column;
}
.metric-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--adm-text-main);
}
.metric-num.text-success { color: #10B981; }
.metric-num.text-gold { color: #C89B3C; }
.metric-lbl {
  font-size: 10.5px;
  color: var(--adm-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  margin-top: 2px;
}

.svg-chart-container {
  width: 100%;
  position: relative;
}
.inquiry-trend-svg {
  width: 100%;
  height: 140px;
  display: block;
}
.chart-x-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--adm-text-muted);
  margin-top: 6px;
}

/* Inventory List */
.inventory-stock-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stock-item {
  display: grid;
  grid-template-columns: 1.5fr 1fr 90px;
  align-items: center;
  gap: 12px;
}
.stock-info {
  display: flex;
  flex-direction: column;
}
.stock-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--adm-text-main);
}
.stock-qty {
  font-size: 11.5px;
  color: var(--adm-text-muted);
}
.stock-progress-wrap {
  width: 100%;
  height: 6px;
  background: var(--adm-input-bg);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--adm-input-border);
}
.stock-progress-bar {
  height: 100%;
  border-radius: 4px;
}
.stock-progress-bar.bg-success { background: #10B981; }
.stock-progress-bar.bg-info { background: #0284C7; }
.stock-progress-bar.bg-warning { background: #F59E0B; }
.stock-progress-bar.bg-danger { background: #EF4444; }

.stock-status-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
}
.badge-opt { background: rgba(16, 185, 129, 0.1); color: #059669; border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-adeq { background: rgba(2, 132, 199, 0.1); color: #0284C7; border: 1px solid rgba(2, 132, 199, 0.25); }
.badge-low { background: rgba(245, 158, 11, 0.1); color: #D97706; border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-reorder { background: rgba(239, 68, 68, 0.1); color: #DC2626; border: 1px solid rgba(239, 68, 68, 0.25); }

/* Demand Meter */
.demand-rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.demand-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rank-idx {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--adm-input-bg);
  border: 1px solid var(--adm-input-border);
  color: var(--adm-text-main);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.demand-info {
  flex: 1;
}
.demand-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--adm-text-main);
  margin-bottom: 4px;
}
.demand-progress-wrap {
  width: 100%;
  height: 6px;
  background: var(--adm-input-bg);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--adm-input-border);
}
.demand-progress-bar {
  height: 100%;
  border-radius: 4px;
}

/* Channel Proportions */
.channel-distribution-box {
  padding-top: 14px;
  border-top: 1px solid var(--adm-card-border);
}
.box-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--adm-text-muted);
  display: block;
  margin-bottom: 8px;
}
.channel-multi-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--adm-input-bg);
}
.bar-wa { background: #25D366; }
.bar-form { background: #0284C7; }
.bar-email { background: #38BDF8; }
.channel-legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--adm-text-muted);
  font-family: var(--font-mono);
  flex-wrap: wrap;
}
.leg-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.bg-wa { background: #25D366; }
.bg-form { background: #0284C7; }
.bg-email { background: #38BDF8; }

/* Timeline Activity */
.timeline-activity-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 10px;
}
.timeline-activity-list::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 14px;
  width: 2px;
  background: var(--adm-card-border);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.tl-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
  border: 2px solid var(--adm-card-bg);
}
.bullet-blue { background: #0284C7; box-shadow: 0 0 6px rgba(2, 132, 199, 0.4); }
.bullet-green { background: #10B981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.4); }
.bullet-purple { background: #8B5CF6; box-shadow: 0 0 6px rgba(139, 92, 246, 0.4); }
.bullet-amber { background: #F59E0B; box-shadow: 0 0 6px rgba(245, 158, 11, 0.4); }

.tl-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tl-action {
  font-size: 12.5px;
  color: var(--adm-text-main);
}
.tl-meta {
  font-size: 11px;
  color: var(--adm-text-muted);
}
.pulse-live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseLive 2s infinite;
}
@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* DATA TABLES & CARDS */
.table-card {
  background: var(--adm-card-bg);
  border: 1px solid var(--adm-card-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  min-width: 900px;
}

.data-table th {
  background: var(--adm-table-head);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--adm-text-sub);
  font-weight: 700;
  padding: 16px;
  border-bottom: 1px solid var(--adm-card-border);
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--adm-card-border);
  vertical-align: middle; /* Center vertically */
  color: var(--adm-text-main);
}

.data-table tr:hover td {
  background: var(--adm-hover-bg);
}

/* CELL CONTENT VISIBILITY */
.client-name {
  font-size: 14px;
  color: var(--adm-text-main);
  font-weight: 700;
}

.client-company {
  color: var(--adm-text-sub);
  font-size: 12.5px;
}

.contact-links {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-link {
  font-size: 12px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 500;
}

.contact-link.call { color: #0284C7; }
.contact-link.email { color: var(--adm-text-muted); }
.contact-link:hover { text-decoration: underline; }

.chem-title {
  color: var(--adm-text-main);
  font-size: 14px;
  font-weight: 700;
}

.chem-qty {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #D97706;
  font-weight: 600;
  margin-top: 3px;
}

.customer-msg {
  font-size: 13px;
  color: var(--adm-text-sub);
  max-width: 240px;
  word-break: break-word;
}

.admin-notes-badge {
  margin-top: 6px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px dashed rgba(2, 132, 199, 0.3);
  color: #0284C7;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
}

/* BRIGHT ANIMATED ACTION ICON BUTTONS (BOX STYLES) */
.btn-action-edit,
.btn-action-delete,
.btn-action-notes,
.btn-action-details,
.btn-action-reply {
  width: 32px;
  height: 32px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  color: #64748B !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.theme-dark .btn-action-edit,
.theme-dark .btn-action-delete,
.theme-dark .btn-action-notes,
.theme-dark .btn-action-details,
.theme-dark .btn-action-reply {
  background: #1F2937 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #9CA3AF !important;
}

/* Edit / Reply Actions (Teal/Blue) */
.btn-action-edit,
.btn-action-reply {
  background: rgba(13, 148, 136, 0.08) !important;
  border-color: rgba(13, 148, 136, 0.2) !important;
  color: #0D9488 !important;
}
.btn-action-edit:hover,
.btn-action-reply:hover {
  background: #0D9488 !important;
  color: #FFFFFF !important;
  transform: translateY(-1.5px);
  border-color: #0D9488 !important;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.15);
}

/* Delete Actions (Muted Crimson/Red) */
.btn-action-delete {
  background: rgba(220, 38, 38, 0.08) !important;
  border-color: rgba(220, 38, 38, 0.2) !important;
  color: #DC2626 !important;
}
.btn-action-delete:hover {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  transform: translateY(-1.5px);
  border-color: #DC2626 !important;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.15);
}

/* Notes Actions (Muted Amber/Orange) */
.btn-action-notes {
  background: rgba(217, 119, 6, 0.08) !important;
  border-color: rgba(217, 119, 6, 0.2) !important;
  color: #D97706 !important;
}
.btn-action-notes:hover {
  background: #D97706 !important;
  color: #FFFFFF !important;
  transform: translateY(-1.5px);
  border-color: #D97706 !important;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.15);
}

/* Details Actions (Muted Indigo/Blue) */
.btn-action-details {
  background: rgba(79, 70, 229, 0.08) !important;
  border-color: rgba(79, 70, 229, 0.2) !important;
  color: #4F46E5 !important;
}
.btn-action-details:hover,
.btn-action-details.active {
  background: #6366F1 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
  border-color: #6366F1 !important;
}

/* CUSTOM AESTHETIC TOOLTIP USING CSS pseudo-elements (ON HOVER) */
.btn-action-edit,
.btn-action-delete,
.btn-action-notes,
.btn-action-details,
.btn-action-reply {
  position: relative;
}

.btn-action-edit::after,
.btn-action-delete::after,
.btn-action-notes::after,
.btn-action-details::after,
.btn-action-reply::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  background: rgba(15, 23, 42, 0.95);
  color: #FFFFFF;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
}

.btn-action-edit:hover::after,
.btn-action-delete:hover::after,
.btn-action-notes:hover::after,
.btn-action-details:hover::after,
.btn-action-reply:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* SOURCE BADGES */
.source-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.source-badge.source-form {
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.source-badge.source-email {
  background: rgba(59, 130, 246, 0.12);
  color: #3B82F6;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.source-badge.source-whatsapp {
  background: rgba(22, 163, 74, 0.12);
  color: #16A34A;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

/* STATUS BADGES & SELECT & OPTIONS DARK MODE FIX */
select.status-select {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1.5px solid var(--adm-input-border);
  background: var(--adm-input-bg);
  color: var(--adm-text-main);
  cursor: pointer;
}

.admin-body select option,
.admin-body select.status-select option {
  background-color: var(--adm-card-bg) !important;
  color: var(--adm-text-main) !important;
}
.admin-body.theme-light select option {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}
.admin-body.theme-dark select option {
  background-color: #111827 !important;
  color: #F9FAFB !important;
}

/* PUBLIC WEBSITE FORM SELECT & OPTIONS FIX */
.field select {
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 13px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: var(--radius-sm);
  background-color: #0A0F1D !important;
  color: #FFFFFF !important;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.field select:focus {
  outline: none;
  border-color: var(--color-accent) !important;
  background-color: #111827 !important;
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.15);
}
.field select option {
  background-color: #111827 !important;
  color: #FFFFFF !important;
  padding: 10px;
}
.field select option:checked {
  background-color: #1F2937 !important;
  color: #FFFFFF !important;
}

select.status-select.badge-new { border-color: #F59E0B; color: #D97706; background: rgba(245, 158, 11, 0.1); }
select.status-select.badge-contacted { border-color: #3B82F6; color: #2563EB; background: rgba(59, 130, 246, 0.1); }
select.status-select.badge-quoted { border-color: #8B5CF6; color: #7C3AED; background: rgba(139, 92, 246, 0.1); }
select.status-select.badge-closed { border-color: #64748B; color: #475569; background: rgba(100, 116, 139, 0.1); }

/* SUB-TAB BAR STYLE */
.inquiry-sub-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--adm-topbar-border);
  padding-bottom: 1px;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.inquiry-sub-tab {
  background: transparent;
  border: none;
  color: var(--adm-text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.inquiry-sub-tab:hover {
  color: var(--adm-text-main);
}

.inquiry-sub-tab.active {
  color: #0284C7;
  border-bottom-color: #0284C7;
}

/* SEARCH & FILTERS BAR */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--adm-text-muted);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: var(--adm-input-bg);
  border: 1px solid var(--adm-input-border);
  border-radius: 8px;
  color: var(--adm-text-main);
  font-size: 14px;
}

.search-input-wrap input::placeholder {
  color: var(--adm-text-muted);
  opacity: 0.8;
}

.status-filters {
  display: flex;
  background: var(--adm-card-bg);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--adm-card-border);
  gap: 2px;
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--adm-text-sub);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-tab.active {
  background: #0284C7;
  color: #FFFFFF;
}

.filter-tab:hover:not(.active) {
  background: var(--adm-hover-bg);
  color: var(--adm-text-main);
}

/* SETTINGS CARD */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.settings-card {
  background: var(--adm-card-bg);
  border: 1px solid var(--adm-card-border);
  border-radius: 12px;
  padding: 28px;
}

.settings-card h3 {
  font-size: 18px;
  color: var(--adm-text-main);
  margin-bottom: 10px;
  font-weight: 700;
}

.env-code-block {
  background: var(--adm-table-head);
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--adm-card-border);
  color: #0284C7;
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-x: auto;
  line-height: 1.6;
}

.notify-result {
  margin-top: 16px;
  padding: 14px;
  border-radius: 6px;
  font-size: 13.5px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.notify-result.pending { background: rgba(2, 132, 199, 0.15); color: #0284C7; }
.notify-result.success { background: rgba(22, 163, 74, 0.15); color: #16A34A; }
.notify-result.error { background: rgba(239, 68, 68, 0.15); color: #DC2626; }

/* MODALS & LAYOUTS */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-card {
  background: var(--adm-card-bg);
  border: 1px solid var(--adm-card-border);
  border-radius: 12px;
  width: 90%;
  max-width: 560px;
  padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-card.small { max-width: 440px; }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 { font-size: 19px; color: var(--adm-text-main); font-weight: 700; margin: 0; }
.modal-close { background: transparent; border: none; color: var(--adm-text-sub); font-size: 24px; cursor: pointer; }

/* FORM LAYOUT ROWS */
.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.flex-1 { flex: 1; min-width: 0; }
.flex-2 { flex: 2; min-width: 0; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--adm-text-sub);
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--adm-input-bg);
  border: 1px solid var(--adm-input-border);
  border-radius: 6px;
  color: var(--adm-text-main) !important;
  font-family: var(--font-body);
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
  color: var(--adm-text-muted) !important;
  opacity: 0.6;
}

/* ADMIN PORTAL BUTTONS & MODALS */
.admin-body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
}

.admin-body .btn-primary {
  background: linear-gradient(135deg, #C89B3C 0%, #B0812A 100%) !important;
  color: #1A120B !important;
  font-weight: 700 !important;
  border: 1px solid #C89B3C !important;
  box-shadow: 0 2px 10px rgba(200, 155, 60, 0.28) !important;
}
.admin-body .btn-primary:hover {
  background: linear-gradient(135deg, #DFAC46 0%, #C89B3C 100%) !important;
  border-color: #DFAC46 !important;
  color: #1A120B !important;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(200, 155, 60, 0.42) !important;
}

.admin-body .btn-secondary {
  background: var(--adm-card-bg) !important;
  color: var(--adm-text-sub) !important;
  border: 1px solid var(--adm-card-border) !important;
}
.admin-body .btn-secondary:hover {
  background: var(--adm-hover-bg) !important;
  color: var(--adm-text-main) !important;
  border-color: var(--adm-text-muted) !important;
  transform: translateY(-1.5px);
}

.admin-body .btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
  border-radius: 6px;
}

.admin-body .btn-xs {
  padding: 5px 10px;
  font-size: 11.5px;
  border-radius: 6px;
}

.admin-body .btn-email {
  background: #EA4335 !important;
  border: 1px solid #D93025 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(234, 67, 53, 0.3) !important;
}
.admin-body .btn-email,
.admin-body .btn-email span,
.admin-body .btn-email svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}
.admin-body .btn-email:hover {
  background: #D93025 !important;
  border-color: #B31412 !important;
  color: #FFFFFF !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(234, 67, 53, 0.45) !important;
}

.admin-body .btn-whatsapp {
  background: #0D9488 !important;
  border: 1px solid #0F766E !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.3) !important;
}
.admin-body .btn-whatsapp,
.admin-body .btn-whatsapp span,
.admin-body .btn-whatsapp svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}
.admin-body .btn-whatsapp:hover {
  background: #0F766E !important;
  border-color: #115E59 !important;
  color: #FFFFFF !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.45) !important;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--adm-card-border);
}

/* Contact Links Styling */
.contact-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}
.contact-link.call {
  color: #0D9488;
}
.contact-link.call:hover {
  color: #0F766E;
  text-decoration: underline;
}
.contact-link.email {
  color: #2563EB;
}
.contact-link.email:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

/* COMPREHENSIVE DARK MODE TEXT CONTRAST & VISIBILITY OVERHAUL */
.admin-body.theme-dark,
.theme-dark {
  color: #F9FAFB !important;
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6 {
  color: #F9FAFB !important;
}

.theme-dark p,
.theme-dark .pane-subtitle,
.theme-dark .login-subtitle {
  color: #9CA3AF !important;
}

.theme-dark .brand-title {
  color: #F9FAFB !important;
}

.theme-dark .tab-btn {
  color: #9CA3AF !important;
}
.theme-dark .tab-btn:hover {
  color: #F9FAFB !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
.theme-dark .tab-btn.active {
  color: #2DD4BF !important;
  background: rgba(20, 184, 166, 0.12) !important;
}

.theme-dark .sub-tab-btn {
  color: #9CA3AF !important;
}
.theme-dark .sub-tab-btn:hover {
  color: #F9FAFB !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
.theme-dark .sub-tab-btn.active {
  color: #2DD4BF !important;
}
.theme-dark .sub-tab-btn.active .bullet {
  background: #2DD4BF !important;
  box-shadow: 0 0 8px #2DD4BF !important;
}

.theme-dark .kpi-card {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .kpi-label {
  color: #9CA3AF !important;
}
.theme-dark .kpi-value {
  color: #F9FAFB !important;
}
.theme-dark .kpi-meta {
  color: #6B7280 !important;
}

.theme-dark .settings-card {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .settings-card h3 {
  color: #F9FAFB !important;
}
.theme-dark .settings-card p,
.theme-dark .settings-card li {
  color: #D1D5DB !important;
}
.theme-dark .settings-card code {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #2DD4BF !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.theme-dark .modal-card {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.theme-dark .modal-header h3 {
  color: #F9FAFB !important;
}
.theme-dark .modal-close {
  color: #9CA3AF !important;
}
.theme-dark .modal-close:hover {
  color: #FFFFFF !important;
}

.theme-dark .form-group label {
  color: #9CA3AF !important;
}
.theme-dark .form-group input,
.theme-dark .form-group select,
.theme-dark .form-group textarea,
.theme-dark .search-input-wrap input {
  background: #0A0F1D !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #F9FAFB !important;
}
.theme-dark .form-group input::placeholder,
.theme-dark .form-group textarea::placeholder,
.theme-dark .search-input-wrap input::placeholder {
  color: #6B7280 !important;
}
.theme-dark .search-icon {
  color: #6B7280 !important;
}

.theme-dark .status-filters .filter-tab {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #9CA3AF !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .status-filters .filter-tab:hover {
  color: #F9FAFB !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .status-filters .filter-tab.active {
  background: #14B8A6 !important;
  color: #FFFFFF !important;
  border-color: #14B8A6 !important;
}

.theme-dark .inquiry-row-card {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .inquiry-client-name {
  color: #F9FAFB !important;
}
.theme-dark .inquiry-client-company {
  color: #9CA3AF !important;
}
.theme-dark .inquiry-meta-line {
  color: #9CA3AF !important;
}
.theme-dark .chem-title {
  color: #F9FAFB !important;
}
.theme-dark .chem-qty-label {
  color: #9CA3AF !important;
}

.theme-dark .contact-link.call {
  color: #2DD4BF !important;
}
.theme-dark .contact-link.call:hover {
  color: #5EEAD4 !important;
}
.theme-dark .contact-link.email {
  color: #60A5FA !important;
}
.theme-dark .contact-link.email:hover {
  color: #93C5FD !important;
}

.theme-dark .table-card {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .data-table th {
  background: #0B0F19 !important;
  color: #9CA3AF !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .data-table td {
  color: #F9FAFB !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

.theme-dark .mobile-data-card {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .mobile-card-row .lbl {
  color: #9CA3AF !important;
}
.theme-dark .mobile-card-row .val {
  color: #F9FAFB !important;
}

.theme-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #E2E8F0 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.theme-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.theme-dark .btn-sidebar-toggle {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #E2E8F0 !important;
}
.theme-dark .btn-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}

.theme-dark .btn-theme-toggle {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #E2E8F0 !important;
}
.theme-dark .btn-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}

.theme-dark .btn-ghost {
  background: transparent !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #F87171 !important;
}
.theme-dark .btn-ghost:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #EF4444 !important;
}

/* Sub-tab styling visibility overrides */
.theme-dark .inquiry-sub-tab {
  color: #94A3B8 !important;
}
.theme-dark .inquiry-sub-tab:hover {
  color: #FFFFFF !important;
}
.theme-dark .inquiry-sub-tab.active {
  color: #38BDF8 !important;
  border-bottom-color: #38BDF8 !important;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--adm-text-sub);
  font-family: var(--font-mono);
  font-size: 14px;
}

.td-actions {
  display: flex;
  gap: 6px;
}

/* PUBLIC WEBSITE SUBMIT BUTTONS FLEX CONTAINER */
.submit-buttons-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px; /* Fix: Spaced away from the textarea input */
}

.submit-buttons-container .btn-submit-action {
  flex: 1;
  min-width: 130px;
  justify-content: center;
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 8px;
}

/* VISIBILITY HELPER CLASSES FOR RESPONSIVE SHIFT */
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

/* =============================================================
   ADMIN PORTAL COMPREHENSIVE RESPONSIVENESS (TABLET & MOBILE)
   ============================================================= */

/* 1. WIDE TABLET & LAPTOPS (max-width: 1200px) */
@media (max-width: 1200px) {
  .topbar-quick-actions {
    display: none !important;
  }
  .mobile-quick-action-wrap {
    display: block !important;
  }
  .topbar-search-wrap {
    width: 220px;
  }
}

/* 2. TABLET BREAKPOINT (max-width: 980px) */
@media (max-width: 980px) {
  .admin-topbar {
    padding: 12px 18px;
  }
  .topbar-search-wrap {
    width: 170px;
  }
  .topbar-search-wrap .search-shortcut-badge {
    display: none;
  }
  .topbar-profile-badge .profile-info {
    display: none;
  }
  .topbar-profile-badge {
    padding: 3px;
    background: transparent;
    border: none;
  }
  .admin-main {
    padding: 24px 18px 60px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .dashboard-widgets-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .chart-summary-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* 3. MOBILE PHONES BREAKPOINT (max-width: 768px) */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: block !important;
  }
  
  .btn-text-desktop {
    display: none !important;
  }
  
  /* MOBILE SIDEBAR BACKDROP OVERLAY */
  .sidebar-backdrop {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 99998 !important;
  }
  
  .sidebar-backdrop.is-active {
    display: block !important;
  }
  
  /* DRAWER SIDEBAR NAVIGATION */
  .admin-sidebar {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    width: 280px !important;
    max-width: 85vw !important;
    z-index: 99999 !important;
    transform: translateX(-100%) !important;
    box-shadow: 4px 0 35px rgba(0, 0, 0, 0.4) !important;
    background: #FFFFFF !important;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
    overflow-y: auto !important;
  }
  
  .theme-dark .admin-sidebar {
    background: #0B132B !important;
    box-shadow: 4px 0 35px rgba(0, 0, 0, 0.8) !important;
  }
  
  .admin-sidebar.is-open {
    transform: translateX(0) !important;
  }
  
  .sidebar-close-btn {
    display: block !important;
  }
  
  .sidebar-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: var(--adm-card-bg) !important;
    border: 1px solid var(--adm-card-border) !important;
    color: var(--adm-text-main) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }
  
  .sidebar-toggle-btn:hover {
    background: var(--adm-topbar-border) !important;
  }
  
  .sidebar-toggle-btn svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
  }
  
  /* RESPONSIVE TOPBAR */
  .admin-topbar {
    padding: 8px 12px !important;
    gap: 8px !important;
    height: 52px !important;
  }
  
  .topbar-left {
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }
  
  /* MOBILE SEARCH ICON BUTTON */
  .topbar-search-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: var(--adm-card-bg) !important;
    border: 1px solid var(--adm-card-border) !important;
    color: var(--adm-text-main) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    position: relative !important;
  }
  
  .topbar-search-wrap:hover {
    background: var(--adm-topbar-border) !important;
  }
  
  .topbar-search-wrap .search-icon {
    display: block !important;
    position: static !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    transform: none !important;
    color: var(--adm-text-main) !important;
    pointer-events: none !important;
  }
  
  .topbar-search-wrap input {
    display: none !important;
  }
  
  .topbar-search-wrap .search-shortcut-badge {
    display: none !important;
  }
  
  .topbar-right {
    gap: 5px !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  
  .topbar-icon-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    border: 1px solid var(--adm-card-border) !important;
  }
  
  .topbar-csv-btn {
    height: 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }
  
  .topbar-profile-badge {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
  }
  
  .topbar-profile-badge .profile-avatar {
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
  }
  
  .topbar-profile-badge .profile-info,
  .topbar-profile-badge > svg {
    display: none !important;
  }
  
  /* PANE HEADERS & ACTIONS */
  .admin-main {
    padding: 14px 12px 60px !important;
  }
  
  .pane-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }
  
  .pane-header h2 {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }
  
  .pane-subtitle {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    margin-top: 1px !important;
  }
  
  .pane-actions {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 4px !important;
  }
  
  .pane-actions .btn {
    flex: 1 !important;
    height: 34px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    justify-content: center !important;
  }
  
  /* COMPACT 2x2 KPI GRID */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  
  .kpi-card {
    padding: 10px 12px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-height: auto !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
  }
  
  .kpi-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2px !important;
  }
  
  .kpi-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .kpi-icon svg {
    width: 15px !important;
    height: 15px !important;
  }
  
  .kpi-trend {
    font-size: 9px !important;
    padding: 2px 5px !important;
    border-radius: 5px !important;
  }
  
  .kpi-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
  }
  
  .kpi-label {
    font-size: 9px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: var(--adm-text-muted) !important;
    font-family: var(--font-mono) !important;
  }
  
  .kpi-value {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: var(--adm-text-main) !important;
    line-height: 1.2 !important;
    margin: 1px 0 !important;
  }
  
  .kpi-value.small {
    font-size: 13px !important;
  }
  
  .kpi-meta {
    font-size: 9.5px !important;
    color: var(--adm-text-muted) !important;
    line-height: 1.2 !important;
  }
  
  /* WIDGETS & TIMELINE */
  .dashboard-widgets-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .widget-card {
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }
  
  .widget-card-header h3 {
    font-size: 13.5px !important;
  }
  
  .chart-summary-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
  
  .chart-metric-item .metric-num {
    font-size: 15px !important;
  }
  
  .chart-metric-item .metric-lbl {
    font-size: 9.5px !important;
  }
  
  .svg-chart-container svg {
    height: 110px !important;
  }
  
  .stock-item {
    grid-template-columns: 1fr auto !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
  }
  
  .stock-item .stock-name {
    font-size: 12px !important;
  }
  
  .stock-item .stock-qty {
    font-size: 11px !important;
  }
  
  /* FILTER BAR ON MOBILE */
  .filter-bar {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  
  .filter-bar .search-input-wrap {
    width: 100% !important;
  }
  
  .status-filters {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
    gap: 4px !important;
  }
  
  .filter-tab {
    padding: 5px 10px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  
  /* MOBILE INQUIRY CARDS */
  .inquiry-row-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 12px 14px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }
  
  .inquiry-row-left {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }
  
  .inquiry-index-badge {
    width: 30px !important;
    height: 30px !important;
    font-size: 11.5px !important;
    border-radius: 8px !important;
  }
  
  .inquiry-client-name {
    font-size: 13.5px !important;
  }
  
  .inquiry-meta-line {
    font-size: 10.5px !important;
    flex-wrap: wrap !important;
    gap: 4px 6px !important;
  }
  
  .inquiry-row-right {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px solid var(--adm-card-border) !important;
    padding-top: 8px !important;
    margin-top: 4px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  
  .status-select {
    font-size: 10.5px !important;
    padding: 4px 8px !important;
    height: 28px !important;
  }
  
  .inquiry-actions-wrap {
    display: flex !important;
    gap: 4px !important;
  }
  
  .inquiry-actions-wrap .btn {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
  }
  
  .chem-title {
    font-size: 12.5px !important;
    font-weight: 700 !important;
  }
  
  .chem-qty-label {
    font-size: 11px !important;
  }
  
  /* MOBILE PRODUCT CARDS LIST */
  .mobile-cards-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 6px 0 24px !important;
    width: 100% !important;
  }
  
  .mobile-data-card {
    background: var(--adm-card-bg) !important;
    border: 1px solid var(--adm-card-border) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .mobile-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-bottom: 1px solid var(--adm-topbar-border) !important;
    padding-bottom: 6px !important;
  }
  
  .mobile-card-header strong {
    font-size: 13.5px !important;
  }
  
  .mobile-card-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 11.5px !important;
  }
  
  .mobile-card-footer {
    display: flex !important;
    gap: 6px !important;
    border-top: 1px solid var(--adm-topbar-border) !important;
    padding-top: 8px !important;
    margin-top: 4px !important;
  }
  
  .mobile-card-footer .btn {
    height: 30px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  /* MODALS ON MOBILE */
  .modal-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  
  .modal-card {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 16px 14px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  
  .form-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .modal-footer {
    flex-direction: column-reverse !important;
    gap: 8px !important;
  }
  
  .modal-footer .btn {
    width: 100% !important;
    justify-content: center !important;
    height: 38px !important;
  }
}

/* 4. EXTRA SMALL PHONES (max-width: 480px) */
@media (max-width: 480px) {
  .topbar-search-wrap {
    max-width: 110px;
  }
  .cert-card {
    padding: 16px 12px;
  }
}

/* RE-ALIGN TRUST MARQUEE FOR SEAMLESS 2-TRACK SCROLL */
.marquee-band {
  background: #F8FAFC; /* Clean distinct background shade to prevent visual merging on light mode */
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 20px 0;
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  white-space: nowrap;
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 64px;
  width: max-content;
  flex-shrink: 0;
  padding-right: 64px;
  -webkit-animation: marquee 24s linear infinite;
  animation: marquee 24s linear infinite;
}
@-webkit-keyframes marquee {
  from { -webkit-transform: translateX(0); transform: translateX(0); }
  to { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
}
@keyframes marquee {
  from { -webkit-transform: translateX(0); transform: translateX(0); }
  to { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
}
.marquee-item {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.marquee-item b {
  color: var(--color-ink);
  font-weight: 600;
}
.marquee-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* BRANDED PREMIUM SUBMIT ACTION BUTTONS (PUBLIC FORM) */
.btn-submit-action {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  box-sizing: border-box;
}

.btn-submit-action.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12) !important;
  color: #25D366 !important;
  border: 1.5px solid rgba(37, 211, 102, 0.35) !important;
}
.btn-submit-action.btn-whatsapp svg {
  color: #25D366;
}
.btn-submit-action.btn-whatsapp:hover {
  background: #25D366 !important;
  color: #0A0F1D !important;
  border-color: #25D366 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3) !important;
}
.btn-submit-action.btn-whatsapp:hover svg {
  color: #0A0F1D;
}

.btn-submit-action.btn-email {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38BDF8 !important;
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
}
.btn-submit-action.btn-email svg {
  color: #38BDF8;
}
.btn-submit-action.btn-email:hover {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border-color: #0284C7 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3) !important;
}
.btn-submit-action.btn-email:hover svg {
  color: #FFFFFF;
}

/* PREMIUM DASHBOARD REDESIGN OVERRIDES */

/* Column widths and layout constraints */
.data-table th.td-date, .data-table td.td-date { width: 125px; white-space: nowrap; }
.data-table th.td-source, .data-table td.td-source { width: 110px; }
.data-table th.td-contact, .data-table td.td-contact {
  width: 250px !important;
  min-width: 250px !important;
}
.data-table th.td-chemical, .data-table td.td-chemical { width: 180px; }
.data-table th.td-industry, .data-table td.td-industry { width: 130px; }
.data-table th.td-notes, .data-table td.td-notes { width: auto; min-width: 150px; }
.data-table th.td-status, .data-table td.td-status { width: 140px; }
.data-table th.td-actions, .data-table td.td-actions { width: 110px; }

/* Client Avatar Initial Badge styles */
.client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.client-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
  background-color: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #E2E8F0 !important;
}
.theme-dark .client-avatar {
  background-color: #1E293B !important;
  color: #94A3B8 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.client-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.client-name {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-links a {
  white-space: nowrap !important;
}

/* Desaturated quantity layout label */
.chem-qty {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--adm-text-sub) !important;
  font-weight: 500;
  margin-top: 3px;
}

/* Desaturated clean source badges */
.source-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #E2E8F0 !important;
}
.theme-dark .source-badge {
  background: #1E293B !important;
  color: #94A3B8 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.source-badge.source-whatsapp,
.source-badge.source-email,
.source-badge.source-form {
  background: #F1F5F9 !important;
  color: #475569 !important;
  border-color: #E2E8F0 !important;
}
.theme-dark .source-badge.source-whatsapp,
.theme-dark .source-badge.source-email,
.theme-dark .source-badge.source-form {
  background: #1E293B !important;
  color: #94A3B8 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Improved Custom Status Select Badge Dropdown */
select.status-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 30px !important;
  padding: 6px 26px 6px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 10px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Chevron background vector for select */
select.status-select.badge-new {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
select.status-select.badge-contacted {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E40AF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
select.status-select.badge-quoted {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B21B6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
select.status-select.badge-closed {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}

/* Dark mode chevron colors */
.theme-dark select.status-select.badge-new {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DD4BF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
.theme-dark select.status-select.badge-contacted {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
.theme-dark select.status-select.badge-quoted {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A78BFA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
.theme-dark select.status-select.badge-closed {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}

/* Specific Pill Color Overrides (Light Mode) */
select.status-select.badge-new { background-color: #E6F4F1 !important; border-color: #B2DFD6 !important; color: #0F766E !important; }
select.status-select.badge-contacted { background-color: #EFF6FF !important; border-color: #DBEAFE !important; color: #1E40AF !important; }
select.status-select.badge-quoted { background-color: #F5F3FF !important; border-color: #EDE9FE !important; color: #5B21B6 !important; }
select.status-select.badge-closed { background-color: #F8FAFC !important; border-color: #E2E8F0 !important; color: #475569 !important; }

/* Specific Pill Color Overrides (Dark Mode) */
.theme-dark select.status-select.badge-new { background-color: rgba(20, 184, 166, 0.08) !important; border-color: rgba(20, 184, 166, 0.2) !important; color: #2DD4BF !important; }
.theme-dark select.status-select.badge-contacted { background-color: rgba(59, 130, 246, 0.08) !important; border-color: rgba(59, 130, 246, 0.2) !important; color: #60A5FA !important; }
.theme-dark select.status-select.badge-quoted { background-color: rgba(139, 92, 246, 0.08) !important; border-color: rgba(139, 92, 246, 0.2) !important; color: #A78BFA !important; }
.theme-dark select.status-select.badge-closed { background-color: rgba(148, 163, 184, 0.08) !important; border-color: rgba(148, 163, 184, 0.2) !important; color: #94A3B8 !important; }

/* Premium metric cards design tweaks */
.kpi-card {
  position: relative;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--adm-card-bg);
  border: 1px solid var(--adm-card-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card:hover {
  transform: translateY(-2.5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 15px 30px rgba(0, 0, 0, 0.04);
}
.kpi-card-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.kpi-trend {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}
.kpi-trend.positive { background-color: #D1FAE5; color: #065F46; }
.kpi-trend.warning { background-color: #FEF3C7; color: #92400E; }
.kpi-trend.info { background-color: #E0F2FE; color: #075985; }

.theme-dark .kpi-trend.positive { background-color: rgba(52, 211, 153, 0.15); color: #34D399; }
.theme-dark .kpi-trend.warning { background-color: rgba(245, 158, 11, 0.15); color: #FBBF24; }
.theme-dark .kpi-trend.info { background-color: rgba(56, 189, 248, 0.15); color: #38BDF8; }

/* MODERN HORIZONTAL INQUIRY CARD LIST STYLES */
.inquiry-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.inquiry-row-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--adm-card-bg);
  border: 1px solid var(--adm-card-border);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(0, 0, 0, 0.01);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  gap: 24px;
  text-align: left;
}
.inquiry-row-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 16px 32px rgba(0, 0, 0, 0.03);
}
.inquiry-row-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
  min-width: 0;
}
.inquiry-index-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.06);
  color: #0D9488;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.theme-dark .inquiry-index-badge {
  background: rgba(20, 184, 166, 0.1);
  color: #2DD4BF;
}
.inquiry-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex-grow: 1;
}
.inquiry-header-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.inquiry-client-name {
  color: var(--adm-text-main);
  font-weight: 700;
}
.inquiry-client-company {
  color: var(--adm-text-muted);
  font-size: 13px;
}
.inquiry-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--adm-text-sub);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.meta-item svg {
  color: var(--adm-text-muted);
  flex-shrink: 0;
}
.meta-separator {
  color: var(--adm-text-muted);
  opacity: 0.5;
}
.inquiry-message-bubble,
.inquiry-notes-bubble {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 6px;
  line-height: 1.4;
}
.inquiry-message-bubble {
  background: var(--adm-hover-bg);
  border-left: 3px solid #E2E8F0;
  color: var(--adm-text-sub);
}
.theme-dark .inquiry-message-bubble {
  border-left-color: rgba(255,255,255,0.1);
}
.inquiry-notes-bubble {
  background: rgba(217, 119, 6, 0.05);
  border: 1px dashed rgba(217, 119, 6, 0.2);
  color: #D97706;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
.theme-dark .inquiry-notes-bubble {
  background: rgba(217, 119, 6, 0.03);
  color: #FBBF24;
}

.inquiry-row-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.inquiry-source-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.inquiry-status-wrap {
  display: flex;
  align-items: center;
}
.inquiry-actions-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.inquiry-chemical-wrap {
  text-align: right;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.inquiry-chemical-wrap .chem-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--adm-text-main);
}
.inquiry-chemical-wrap .chem-qty-label {
  font-size: 11px;
  color: var(--adm-text-muted);
  font-family: var(--font-mono);
}

@media (max-width: 768px) {
  .inquiry-row-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }
  .inquiry-row-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--adm-topbar-border);
  }
  .inquiry-chemical-wrap {
    text-align: left;
    order: -1;
    width: 100%;
    min-width: auto;
  }
  .inquiry-meta-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .meta-separator {
    display: none;
  }
}
