/* ==========================================================================
   MÁI CHE NASA NHA TRANG — HIGH-CONVERTING LANDING PAGE & ERP/CMS STYLESHEET
   Font: Montserrat | Mobile-First CRO Landing Page + Flat Admin (Right Menu)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --nasa-navy: #0a1936;
  --nasa-navy-2: #0f2557;
  --nasa-blue: #1d4ed8;
  --nasa-blue-dark: #132a6b;
  --nasa-blue-light: #eff6ff;
  --nasa-cta: #ea580c;
  --nasa-cta-hover: #c2410c;
  --nasa-accent: #d97706;
  --nasa-accent-light: #fef3c7;
  --nasa-green: #059669;
  --nasa-green-light: #d1fae5;
  --nasa-red: #dc2626;
  --nasa-red-light: #fee2e2;
  --nasa-bg: #f8fafc;
  --nasa-bg-alt: #f1f5f9;
  --nasa-card: #ffffff;
  --nasa-border: #e2e8f0;
  --nasa-text: #0f172a;
  --nasa-muted: #475569;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px -8px rgba(10, 25, 54, 0.16);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html, body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--nasa-text);
  background: var(--nasa-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Landing page uses larger, comfortable reading typography (15px base) */
body.nasa-landing {
  font-size: 15px;
  line-height: 1.65;
  background: #ffffff;
  color: #0f172a;
  padding-bottom: 68px;
}
@media (min-width: 992px) {
  body.nasa-landing {
    padding-bottom: 0;
  }
}

a {
  color: var(--nasa-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

img {
  max-width: 100%;
  display: block;
}

.svg-ic {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* ==========================================================================
   1. TOP TRUST BAR & STICKY CONVERSION HEADER (LANDING PAGE)
   ========================================================================== */
.top-bar {
  background: var(--nasa-navy);
  color: #e2e8f0;
  font-size: 12.5px;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 500;
}
.top-bar-item strong {
  color: #ffffff;
  font-weight: 700;
}
.top-bar a {
  color: #fde68a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.portal-pills {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.portal-pill {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0 !important;
  transition: all 0.15s;
}
.portal-pill:hover, .portal-pill.active {
  background: var(--nasa-cta);
  color: #ffffff !important;
}

/* Sticky Main Header */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nasa-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--nasa-navy-2);
  flex-shrink: 0;
  min-width: 0;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--nasa-border);
  background: #fff;
  padding: 3px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-title {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--nasa-navy-2);
  letter-spacing: -0.3px;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-sub {
  font-size: 11px;
  color: var(--nasa-muted);
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.nav-link {
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  white-space: nowrap;
}
.nav-link:hover {
  background: var(--nasa-blue-light);
  color: var(--nasa-blue);
}
.nav-link.active {
  background: var(--nasa-blue-light);
  color: var(--nasa-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #15803d !important;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
.header-call-btn:hover {
  background: #dcfce7;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2);
}

.cart-btn {
  background: var(--nasa-cta);
  color: #fff !important;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.cart-btn:hover {
  background: var(--nasa-cta-hover);
  transform: translateY(-1px);
}
.cart-badge-pill {
  background: #ffffff;
  color: var(--nasa-cta);
  font-weight: 900;
  font-size: 11.5px;
  padding: 1px 7px;
  border-radius: 999px;
}

/* ==========================================================================
   2. FULL-BLEED ARCHITECTURAL HERO & 30-SECOND QUOTE WIZARD
   ========================================================================== */
.lp-hero {
  position: relative;
  background-color: var(--nasa-navy);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 52px 20px 60px;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(8, 20, 46, 0.95) 0%, rgba(15, 37, 87, 0.88) 52%, rgba(15, 37, 87, 0.72) 100%);
  z-index: 1;
}
.lp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.18fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.45);
  backdrop-filter: blur(6px);
  color: #fde68a;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.lp-hero-title {
  font-size: clamp(26px, 3.2vw, 41px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #ffffff;
}
.lp-hero-title .hl-gold {
  color: #fbbf24;
  text-decoration: underline;
  text-decoration-color: rgba(251, 191, 36, 0.4);
  text-underline-offset: 6px;
}

.lp-hero-sub {
  font-size: 15px;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 22px;
  max-width: 650px;
}

.hero-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 26px;
}
.hero-check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #f8fafc;
}
.hero-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid #34d399;
  color: #6ee7b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-cta-xl {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -4px rgba(234, 88, 12, 0.55);
  transition: all 0.2s ease;
}
.btn-cta-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(234, 88, 12, 0.7);
}

.btn-glass-xl {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.btn-glass-xl:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-metric {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
}
.hero-metric strong {
  display: block;
  font-size: 19px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1.2;
}
.hero-metric span {
  font-size: 11.5px;
  color: #cbd5e1;
  font-weight: 500;
}

/* Right Hero Calculator Card */
.hero-calc-card {
  background: #ffffff;
  color: var(--nasa-text);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.9);
  min-width: 0;
}
.calc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nasa-border);
}
.calc-card-title {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--nasa-navy-2);
  line-height: 1.25;
}
.calc-card-sub {
  font-size: 12px;
  color: var(--nasa-muted);
  margin-top: 2px;
}

.calc-estimate-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 12px;
  padding: 13px 15px;
  margin: 12px 0;
}
.calc-estimate-price {
  font-size: 19px;
  font-weight: 900;
  color: #b91c1c;
  margin: 4px 0;
}

/* ==========================================================================
   3. TRUST & GUARANTEE STRIP BELOW HERO
   ========================================================================== */
.trust-strip {
  background: #f8fafc;
  border-bottom: 1px solid var(--nasa-border);
  padding: 24px 20px;
}
.trust-strip-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--nasa-border);
  box-shadow: var(--shadow-sm);
}
.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--nasa-blue-light);
  color: var(--nasa-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.trust-item h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--nasa-navy-2);
  margin-bottom: 3px;
}
.trust-item p {
  font-size: 12.5px;
  color: var(--nasa-muted);
  line-height: 1.45;
}

/* ==========================================================================
   4. LANDING PAGE SECTIONS & CONTAINERS
   ========================================================================== */
.lp-section {
  padding: 64px 20px;
}
.lp-section.bg-alt {
  background: #f4f7fb;
  border-top: 1px solid var(--nasa-border);
  border-bottom: 1px solid var(--nasa-border);
}
.lp-container {
  max-width: 1320px;
  margin: 0 auto;
}
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.lp-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.lp-sec-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.lp-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nasa-cta);
  background: #ffedd5;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.lp-sec-title {
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 900;
  color: var(--nasa-navy-2);
  letter-spacing: -0.02em;
  line-height: 1.24;
}
.lp-sec-sub {
  font-size: 14.5px;
  color: var(--nasa-muted);
  margin-top: 6px;
  max-width: 720px;
}

/* Filter Pills Bar */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-pill {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.filter-pill:hover {
  border-color: var(--nasa-blue);
  color: var(--nasa-blue);
}
.filter-pill.active {
  background: var(--nasa-navy-2);
  color: #ffffff;
  border-color: var(--nasa-navy-2);
  box-shadow: 0 4px 12px rgba(15, 37, 87, 0.2);
}

/* ==========================================================================
   5. HIGH-CONVERSION PRODUCT & SOLUTION CARDS
   ========================================================================== */
.card {
  background: var(--nasa-card);
  border: 1px solid var(--nasa-border);
  border-radius: var(--radius);
  padding: 18px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.prod-card {
  background: #ffffff;
  border: 1px solid var(--nasa-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  min-width: 0;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}
.prod-img-wrap {
  position: relative;
  width: 100%;
  height: 215px;
  overflow: hidden;
  background: #f1f5f9;
  border-bottom: 1px solid var(--nasa-border);
}
.prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.prod-card:hover .prod-img {
  transform: scale(1.05);
}
.prod-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 25, 54, 0.86);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.prod-warranty-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #059669;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
}

.prod-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.prod-cat {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--nasa-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prod-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--nasa-navy-2);
  line-height: 1.35;
}
.prod-price {
  font-size: 16.5px;
  font-weight: 900;
  color: #dc2626;
}
.prod-meta {
  font-size: 12.5px;
  color: var(--nasa-muted);
  line-height: 1.5;
}
.spec-list {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.spec-list li {
  font-size: 12.5px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.spec-list li::before {
  content: "✓";
  color: var(--nasa-green);
  font-weight: 900;
}

/* ==========================================================================
   6. 3-SCENARIO STORE SWITCHER & SYMPTOM CARDS
   ========================================================================== */
.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.scenario-tab {
  background: #ffffff;
  border: 2px solid var(--nasa-border);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  position: relative;
}
.scenario-tab:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
}
.scenario-tab.active {
  border-color: var(--nasa-cta);
  background: #fffaf5;
  box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.15);
}
.scenario-tab-num {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--nasa-bg-alt);
  color: var(--nasa-navy-2);
  margin-bottom: 8px;
}
.scenario-tab.active .scenario-tab-num {
  background: var(--nasa-cta);
  color: #ffffff;
}
.scenario-tab h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--nasa-navy-2);
  margin-bottom: 6px;
}
.scenario-tab p {
  font-size: 13px;
  color: var(--nasa-muted);
  line-height: 1.5;
}

/* Symptom Selector Cards for Home Repair */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.symptom-card {
  border: 1.5px solid var(--nasa-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.symptom-card:hover, .symptom-card.selected {
  border-color: var(--nasa-cta);
  background: #fff7ed;
}
.symptom-card strong {
  font-size: 13.5px;
  color: var(--nasa-navy-2);
}
.symptom-card span {
  font-size: 12px;
  color: #c2410c;
  font-weight: 700;
}

/* ==========================================================================
   7. COMPARISON TABLE & FAQ ACCORDION
   ========================================================================== */
.comp-table-wrap {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--nasa-border);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--nasa-border);
  text-align: left;
  font-size: 14px;
}
.comp-table th {
  background: var(--nasa-navy-2);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
}
.comp-table th.col-nasa {
  background: var(--nasa-cta);
  color: #ffffff;
}
.comp-table td.col-nasa {
  background: #fffaf5;
  font-weight: 700;
  color: #0f172a;
}
.comp-table td.col-other {
  color: #64748b;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--nasa-border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--nasa-navy-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-answer {
  padding: 0 20px 16px;
  font-size: 13.5px;
  color: var(--nasa-muted);
  line-height: 1.65;
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   8. SLIDE-OVER SHOPPING CART DRAWER & MODALS
   ========================================================================== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 54, 0.55);
  backdrop-filter: blur(3px);
  z-index: 250;
  display: none;
}
.cart-backdrop.open {
  display: block;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 460px;
  max-width: 100vw;
  background: #ffffff;
  z-index: 260;
  box-shadow: -15px 0 45px rgba(10, 25, 54, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}
.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
}
.cart-drawer-head {
  padding: 18px 20px;
  background: var(--nasa-navy-2);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
}

/* Modal Dialog */
.nasa-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 54, 0.65);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.nasa-modal-backdrop.open {
  display: flex;
}
.nasa-modal {
  background: #ffffff;
  border-radius: 18px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
}

/* ==========================================================================
   9. BUTTONS, BADGES, FORMS & TABLES (SHARED WITH ADMIN/INTERNAL)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: all 0.15s;
}
.btn-primary { background: var(--nasa-blue); color: #fff !important; }
.btn-primary:hover { background: var(--nasa-blue-dark); }
.btn-accent { background: var(--nasa-cta); color: #fff !important; }
.btn-accent:hover { background: var(--nasa-cta-hover); }
.btn-success { background: var(--nasa-green); color: #fff !important; }
.btn-outline { background: #fff; border-color: #cbd5e1; color: var(--nasa-text); }
.btn-outline:hover { background: var(--nasa-blue-light); border-color: var(--nasa-blue); color: var(--nasa-blue); }
.btn-lg { padding: 11px 18px; font-size: 13.5px; border-radius: 10px; }

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.badge-blue { background: var(--nasa-blue-light); color: var(--nasa-blue); }
.badge-amber { background: var(--nasa-accent-light); color: #b45309; }
.badge-green { background: var(--nasa-green-light); color: #047857; }
.badge-red { background: var(--nasa-red-light); color: #b91c1c; }

.form-group { margin-bottom: 12px; }
.form-label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 5px; color: var(--nasa-text); }
.form-control {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--nasa-text);
  background: #fff;
  transition: border-color 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--nasa-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.table-wrap { width: 100%; overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.data-table th {
  background: #f1f5f9;
  color: var(--nasa-blue-dark);
  font-weight: 700;
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid var(--nasa-border);
  white-space: nowrap;
}
.data-table td {
  padding: 10px;
  border-bottom: 1px solid var(--nasa-border);
  vertical-align: top;
}
.data-table tr:hover td { background: #f8fafc; }

/* ==========================================================================
   10. PORTAL LAYOUT FOR /quan-tri & /noi-bo (DEFAULT RIGHT SIDEBAR)
   ========================================================================== */
.portal-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.portal-shell.menu-right { flex-direction: row; }
.portal-shell.menu-left { flex-direction: row-reverse; }
.portal-main { flex: 1; min-width: 0; }
.portal-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--nasa-border);
  border-radius: 10px;
  padding: 14px;
  position: sticky;
  top: 70px;
}
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--nasa-border);
}
.sidebar-title { font-size: 14px; font-weight: 700; color: var(--nasa-blue-dark); }
.sidebar-toggle-btn {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--nasa-border);
  border-radius: 6px;
  background: #f8fafc;
  cursor: pointer;
}
.sidebar-menu { display: flex; flex-direction: column; gap: 4px; }
.sidebar-item {
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--nasa-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-item:hover { background: var(--nasa-blue-light); color: var(--nasa-blue); }
.sidebar-item.active { background: var(--nasa-blue); color: #ffffff; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.kpi-card {
  background: #ffffff;
  border: 1px solid var(--nasa-border);
  border-radius: 10px;
  padding: 14px;
}
.kpi-label { font-size: 11.5px; color: var(--nasa-muted); font-weight: 600; }
.kpi-value { font-size: 18px; font-weight: 700; color: var(--nasa-blue-dark); margin-top: 4px; }
.kpi-sub { font-size: 11px; color: var(--nasa-green); margin-top: 3px; font-weight: 600; }

/* ==========================================================================
   11. FLOATING AI CONSULTANT, ZALO & MOBILE STICKY BOTTOM BAR
   ========================================================================== */
.floating-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
}
.chat-fab {
  background: linear-gradient(135deg, #0f2557, #1d4ed8);
  color: #fff;
  border: 2px solid #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 37, 87, 0.38);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-window {
  display: none;
  width: 360px;
  max-width: calc(100vw - 28px);
  background: #fff;
  border: 1px solid var(--nasa-border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  margin-bottom: 12px;
}
.chat-head {
  background: var(--nasa-navy-2);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-messages {
  height: 280px;
  overflow-y: auto;
  padding: 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-bubble {
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13px;
  max-width: 88%;
  line-height: 1.5;
}
.chat-bubble.bot { background: #ffffff; border: 1px solid var(--nasa-border); align-self: flex-start; }
.chat-bubble.user { background: var(--nasa-blue); color: #ffffff; align-self: flex-end; }
.chat-input-bar {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--nasa-border);
  background: #fff;
}

/* Mobile Sticky Bottom Conversion Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--nasa-border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
  z-index: 190;
  padding: 8px 10px;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mob-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 4px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: #071126;
  color: #cbd5e1;
  padding: 56px 20px 40px;
  border-top: 4px solid var(--nasa-cta);
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
}
.footer-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}
.footer-links a {
  color: #cbd5e1;
}
.footer-links a:hover {
  color: #fbbf24;
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-top: 6px;
    border-top: 1px solid var(--nasa-border);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .scenario-tabs { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .portal-shell { flex-direction: column !important; }
  .portal-sidebar { width: 100%; position: static; }
}
@media (max-width: 720px) {
  html, body.nasa-landing { overflow-x: clip; }
  body.nasa-landing { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .top-bar { padding: 6px 12px; font-size: 11px; }
  .top-bar-inner { gap: 6px; }
  .top-bar-item.hide-mob { display: none; }
  .header-inner { padding: 8px 12px; gap: 6px; }
  .brand-box { flex: 1; min-width: 0; gap: 8px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-title { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-sub { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 185px; }
  .header-call-btn { display: none; }
  .cart-btn { padding: 8px 11px; font-size: 11.5px; min-height: 40px; }
  .main-nav {
    gap: 6px;
    padding: 8px 0 4px;
  }
  .main-nav .nav-link {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .lp-hero { padding: 20px 12px 28px; }
  .lp-hero-title { font-size: 24px; line-height: 1.28; }
  .lp-hero-sub { font-size: 14px; line-height: 1.55; }
  .hero-cta-group { flex-direction: column; gap: 10px; }
  .hero-cta-group a { width: 100%; justify-content: center; text-align: center; min-height: 46px; }
  .hero-calc-card { padding: 18px 14px; border-radius: 16px; }
  .lp-section { padding: 36px 12px; }
  .lp-sec-title { font-size: 21px; line-height: 1.3; }
  .filter-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 8px;
  }
  .filter-pills::-webkit-scrollbar { display: none; }
  .filter-pill { white-space: nowrap; min-height: 40px; padding: 8px 14px; flex-shrink: 0; }
  .faq-question { min-height: 48px; padding: 13px 14px; font-size: 14px; line-height: 1.4; text-align: left; gap: 10px; }
  .faq-item.open .faq-chevron { transform: rotate(180deg); }
  .faq-chevron { transition: transform 0.18s ease; flex-shrink: 0; }
  .article-detail-card { padding: 16px 14px !important; border-radius: 14px; }
  .article-h1 { font-size: 20px !important; line-height: 1.35 !important; }
  .article-prose { font-size: 15px !important; line-height: 1.75 !important; }
  .hero-checklist, .grid-2, .grid-3, .grid-4, .scenario-tabs, .symptom-grid, .trust-strip-inner, .footer-inner, .kpi-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics-bar { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mobile-sticky-bar {
    display: grid;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .mob-bar-btn { min-height: 44px; font-size: 11.5px; border-radius: 10px; }
  .floating-chat { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); right: 12px; }
  .chat-fab { padding: 9px 13px; font-size: 11.5px; min-height: 40px; }
  .form-control { font-size: 16px; min-height: 44px; }
  #part-search-input, #news-search-inp { width: 100% !important; max-width: 100% !important; }
  .site-footer { padding: 40px 14px 32px; }
}

/* ==========================================================================
   12. MODERN SAAS WORKSPACE SHELL FOR /quan-tri & /noi-bo (MOBILE-FIRST + DESKTOP)
   ========================================================================== */
body.saas-body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  background: #f1f5f9;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  padding-bottom: 70px;
}
@media (min-width: 992px) {
  body.saas-body {
    padding-bottom: 0;
  }
}

/* Top Command Bar */
.saas-topbar {
  background: #0a1936;
  color: #f8fafc;
  height: 56px;
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.saas-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.saas-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
.saas-brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #fff;
  padding: 2px;
  object-fit: contain;
}
.saas-ws-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 8px;
}
.saas-ws-pill {
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1 !important;
  white-space: nowrap;
  transition: all 0.15s;
}
.saas-ws-pill:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}
.saas-ws-pill.active {
  background: #1d4ed8;
  color: #ffffff !important;
  font-weight: 700;
}

.saas-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.saas-search-wrap {
  position: relative;
  width: 240px;
}
.saas-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 8px;
  padding: 6px 11px 6px 30px;
  font-family: inherit;
  font-size: 12px;
}
.saas-search-input::placeholder {
  color: #94a3b8;
}
.saas-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.16);
  border-color: #60a5fa;
}
.saas-search-ic {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: #94a3b8;
  fill: none;
  stroke-width: 2;
}

.saas-top-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  padding: 6px 11px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.saas-top-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.saas-mob-menu-btn {
  display: none;
}

/* Main Workspace + Sidebar Layout */
.saas-shell {
  max-width: 1520px;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.saas-shell.menu-right {
  flex-direction: row;
}
.saas-shell.menu-left {
  flex-direction: row-reverse;
}
.saas-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Sticky SaaS Navigation Sidebar */
.saas-sidebar {
  width: 268px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 12px;
  position: sticky;
  top: 74px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}
.saas-nav-group-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  padding: 10px 10px 4px;
}
.saas-nav-group-label:first-child {
  padding-top: 2px;
}
.saas-nav-btn {
  width: 100%;
  text-align: left;
  padding: 9px 11px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.14s ease;
}
.saas-nav-btn-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.saas-nav-btn:hover {
  background: #eff6ff;
  color: #1d4ed8;
}
.saas-nav-btn.active {
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 700;
}
.saas-nav-cnt {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}
.saas-nav-btn.active .saas-nav-cnt {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* SaaS Page Header & Filter Bar */
.saas-page-head {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.saas-page-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f2557;
  line-height: 1.25;
}
.saas-page-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.saas-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* SaaS KPI Strip */
.saas-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.saas-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.saas-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.saas-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.saas-kpi-num {
  font-size: 18px;
  font-weight: 700;
  color: #0f2557;
  line-height: 1.2;
}
.saas-kpi-foot {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

/* SaaS Toolbar & Status Tabs */
.saas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.saas-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.saas-pills::-webkit-scrollbar { display: none; }
.saas-pill {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all 0.14s;
}
.saas-pill:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}
.saas-pill.active {
  background: #0f2557;
  border-color: #0f2557;
  color: #ffffff;
  font-weight: 700;
}

/* SaaS Slide-Over Inspector Drawer */
.saas-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 54, 0.5);
  backdrop-filter: blur(2px);
  z-index: 310;
  display: none;
}
.saas-drawer-backdrop.open {
  display: block;
}
.saas-inspector {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 520px;
  max-width: 100vw;
  background: #ffffff;
  z-index: 320;
  border-left: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s;
}
.saas-inspector.open {
  transform: translateX(0);
  visibility: visible;
}
.saas-inspector-head {
  padding: 16px 20px;
  background: #0f2557;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.saas-inspector-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
}

/* Mobile Bottom SaaS Navigation Bar */
.saas-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  z-index: 200;
  grid-template-columns: repeat(5, 1fr);
  padding: 4px 6px;
}
.saas-bnav-btn {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 8px;
  cursor: pointer;
}
.saas-bnav-btn.active {
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 700;
}

/* Toast Notification */
.saas-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f2557;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  z-index: 400;
  display: none;
  align-items: center;
  gap: 8px;
  border-left: 4px solid #10b981;
}
.saas-toast.show {
  display: inline-flex;
}

/* Responsive Mobile SaaS Rules */
@media (max-width: 991px) {
  .saas-topbar {
    padding: 0 12px;
    gap: 8px;
  }
  .saas-mob-menu-btn {
    display: inline-flex;
    padding: 6px 10px;
  }
  .saas-brand span {
    font-size: 12.5px;
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #sidebar-pos-btn {
    display: none;
  }
  .saas-ws-switcher, .saas-search-wrap {
    display: none;
  }
  .saas-shell {
    padding: 12px;
  }
  .saas-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 290px;
    max-width: 86vw;
    max-height: 100vh;
    z-index: 330;
    border-radius: 0;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.24s ease, visibility 0.24s;
  }
  .saas-sidebar.mob-open {
    transform: translateX(0);
    visibility: visible;
  }
  .saas-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .saas-bottom-nav {
    display: grid;
  }
  .saas-toast {
    bottom: 74px;
    left: 12px;
    right: 12px;
  }
}
@media (max-width: 600px) {
  .saas-page-head {
    padding: 14px;
  }
  .saas-kpi-num {
    font-size: 16px;
  }
}
