/* ==========================================================================
   POSBANHANG USER GUIDE - MODERN DOCUMENTATION STYLESHEET
   Offline-first, Zero External Dependencies, Responsive & High-legibility
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --secondary: #475569;
  --accent: #0284c7;
  --success: #16a34a;
  --success-light: #f0fdf4;
  --success-border: #bbf7d0;
  --warning: #d97706;
  --warning-light: #fffbeb;
  --warning-border: #fde68a;
  --danger: #dc2626;
  --danger-light: #fef2f2;
  --danger-border: #fecaca;
  --info: #0284c7;
  --info-light: #f0f9ff;
  --info-border: #bae6fd;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-header: #ffffff;
  --bg-muted: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;
  
  --sidebar-width: 280px;
  --header-height: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-main);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================================================
   TOP HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--primary-border);
}

.brand-logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.header-search {
  position: relative;
  width: 360px;
  max-width: 100%;
}

.search-input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 38px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

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

.nav-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-tag:hover {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   LAYOUT CONTAINER
   ========================================================================== */
.app-container {
  display: flex;
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
}

/* ==========================================================================
   SIDEBAR NAVIGATION
   ========================================================================== */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  overflow-y: auto;
  padding: 20px 14px 40px 14px;
  z-index: 40;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.nav-group {
  margin-bottom: 24px;
}

.nav-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 6px 12px;
  margin-bottom: 4px;
}

.nav-list {
  list-style: none;
}

.nav-item {
  margin-bottom: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: var(--bg-muted);
  color: var(--text-main);
  text-decoration: none;
}

.nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.nav-link .badge {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-muted);
}

.nav-link.active .badge {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   MAIN CONTENT WRAPPER
   ========================================================================== */
.main-wrapper {
  margin-left: var(--sidebar-width);
  flex-grow: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: 32px 36px 60px 36px;
}

.content-area {
  width: 100%;
  max-width: 960px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}

/* Content Typography */
.page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.page-lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: 80px;
}

.subsection-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 28px;
  margin-bottom: 10px;
  scroll-margin-top: 80px;
}

p {
  margin-bottom: 16px;
}

ul, ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

/* ==========================================================================
   LOCAL TABLE OF CONTENTS (TOC)
   ========================================================================== */
.page-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px 16px;
}

.toc-item a {
  font-size: 13.5px;
  color: var(--secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toc-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   CALLOUT BLOCKS
   ========================================================================== */
.callout {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  font-size: 14.5px;
}

.callout-title {
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout-note {
  border-left-color: var(--info);
  background: var(--info-light);
  color: #0c4a6e;
}
.callout-note .callout-title {
  color: #0369a1;
}

.callout-tip {
  border-left-color: var(--success);
  background: var(--success-light);
  color: #14532d;
}
.callout-tip .callout-title {
  color: #15803d;
}

.callout-warning {
  border-left-color: var(--warning);
  background: var(--warning-light);
  color: #78350f;
}
.callout-warning .callout-title {
  color: #b45309;
}

.callout-important {
  border-left-color: var(--danger);
  background: var(--danger-light);
  color: #7f1d1d;
}
.callout-important .callout-title {
  color: #b91c1c;
}

/* ==========================================================================
   STEP-BY-STEP PROCESS
   ========================================================================== */
.step-list {
  list-style: none;
  padding-left: 0;
  margin: 24px 0;
}

.step-item {
  position: relative;
  padding-left: 42px;
  margin-bottom: 20px;
}

.step-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

.step-content strong {
  color: var(--text-main);
  display: block;
  font-size: 15.5px;
  margin-bottom: 4px;
}

/* ==========================================================================
   SCREENSHOTS & ANNOTATIONS
   ========================================================================== */
.screenshot-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.screenshot-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  cursor: zoom-in;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshot-img:hover {
  box-shadow: var(--shadow-md);
}

.screenshot-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

.annotation-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  margin-right: 4px;
  vertical-align: middle;
}

/* Annotation List below image */
.annotation-box {
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 12px;
  text-align: left;
}

.annotation-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13.5px;
}

.annotation-item:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.doc-table th {
  background: var(--bg-muted);
  color: var(--text-main);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.doc-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: top;
}

.doc-table tr:last-child td {
  border-bottom: none;
}

.doc-table tr:hover td {
  background: #f8fafc;
}

/* Status Badges */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--success-light);
  color: var(--success);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--success-border);
}

.badge-verify-needed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--warning-light);
  color: var(--warning);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--warning-border);
}

/* ==========================================================================
   GRID CARDS (DASHBOARD / QUICK START)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}

.card-link-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   PREVIOUS / NEXT NAVIGATION
   ========================================================================== */
.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  gap: 16px;
}

.page-nav-link {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  text-decoration: none;
  max-width: 48%;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.page-nav-link:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}

.page-nav-prev {
  text-align: left;
}

.page-nav-next {
  text-align: right;
  margin-left: auto;
}

.page-nav-sub {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.page-nav-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   SEARCH MODAL & DROPDOWN
   ========================================================================== */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.search-result-item {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  transition: background 0.15s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--primary-light);
  text-decoration: none;
}

.search-result-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.search-result-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 94vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  background: #ffffff;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }
  
  .sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }
  
  .main-wrapper {
    margin-left: 0;
    padding: 24px 20px 48px 20px;
  }
  
  .menu-toggle-btn {
    display: inline-block;
  }
  
  .header-search {
    width: 220px;
  }
}

@media (max-width: 640px) {
  .header-search {
    display: none;
  }
  
  .page-title {
    font-size: 26px;
  }
  
  .page-nav {
    flex-direction: column;
  }
  
  .page-nav-link {
    max-width: 100%;
    width: 100%;
  }
}

/* ==========================================================================
   APP LAYOUT & HEADER REFINEMENTS (Modern Docs Theme)
   ========================================================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-body);
}

.main-container {
  flex-grow: 1;
  margin-left: var(--sidebar-width);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-body);
}

.top-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sidebar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 6px;
}
.sidebar-toggle span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 13px;
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.search-box {
  position: relative;
  width: 380px;
}

.search-box input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 40px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.search-box input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.6;
}

.main-content {
  flex-grow: 1;
  display: flex;
  padding: 32px 40px 64px 40px;
  gap: 40px;
}

.content-wrapper {
  flex-grow: 1;
  min-width: 0;
  max-width: 980px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb-nav a:hover {
  color: var(--primary);
}
.breadcrumb-nav .active {
  color: var(--text-main);
  font-weight: 600;
}

/* Brand Logo in Sidebar */
.brand-logo-link {
  display: block;
  text-decoration: none;
  width: 100%;
  text-align: center;
}

.sidebar-logo-img {
  max-width: 180px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.brand-logo-link:hover .sidebar-logo-img {
  transform: scale(1.02);
}

.sidebar-header {
  padding: 10px 12px 14px 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sidebar Contact Card (Mr Sơn) */
.sidebar-contact-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin: 0 4px 16px 4px;
}

.scc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.scc-avatar {
  font-size: 20px;
  line-height: 1;
}

.scc-meta {
  display: flex;
  flex-direction: column;
}

.scc-role {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.scc-name {
  font-size: 13.5px;
  color: var(--text-main);
  font-weight: 700;
}

.scc-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.scc-phone {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.scc-phone:hover {
  background: #dcfce7;
  border-color: #86efac;
  text-decoration: none;
}

.scc-zalo {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.scc-zalo:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  text-decoration: none;
}

.zalo-tag {
  background: #0068ff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* Header Hotline & Zalo Contact Group */
.header-hotline-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
}

.header-hotline-btn,
.header-zalo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-hotline-btn {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.header-hotline-btn:hover {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
  text-decoration: none;
  transform: translateY(-1px);
}

.header-zalo-btn {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.header-zalo-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
  text-decoration: none;
  transform: translateY(-1px);
}

.hl-icon {
  font-size: 13px;
}

.hl-label {
  color: #4b5563;
  font-weight: 500;
}

.hl-number {
  color: #15803d;
}

.zalo-badge {
  background: #0068ff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.demo-source-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.demo-source-text strong {
  display: block;
  font-size: 11.5px;
  color: #1e40af;
  line-height: 1.2;
}

.demo-source-text small {
  font-size: 10.5px;
  color: #3b82f6;
  font-family: monospace;
}

.demo-menu-list .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-num {
  font-size: 11px;
  font-family: monospace;
  font-weight: 700;
  color: var(--text-muted);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
}

.nav-link.active .nav-num {
  color: var(--primary);
}

.nav-text {
  flex-grow: 1;
}

/* Verification Badge Callout */
.verification-badge {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #0284c7;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 20px 0 28px 0;
}

.vb-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #0369a1;
  margin-bottom: 10px;
}

.vb-dot {
  width: 7px;
  height: 7px;
  background: #0284c7;
  border-radius: 50%;
}

.vb-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 16px;
  font-size: 13px;
}

.vb-item span {
  color: var(--text-muted);
  margin-right: 4px;
}

/* Screenshots styling */
.screenshot-box {
  margin: 24px 0 32px 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.doc-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border-color);
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.doc-screenshot:hover {
  opacity: 0.96;
}

.screenshot-box figcaption {
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* UI Action Buttons (exact replication of Demo buttons) */
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-success {
  background: #16a34a;
  color: #ffffff;
}

.btn-info {
  background: #0284c7;
  color: #ffffff;
}

.btn-warning {
  background: #d97706;
  color: #ffffff;
}

.btn-danger {
  background: #dc2626;
  color: #ffffff;
}

.btn-default {
  background: #f1f5f9;
  color: var(--text-main);
  border-color: var(--border-color);
}

/* Status Tags */
.status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.status-success {
  background: #dcfce7;
  color: #15803d;
}

.status-warning {
  background: #fef3c7;
  color: #b45309;
}

.status-danger {
  background: #fee2e2;
  color: #b91c1c;
}

/* Hero Section in index.html */
.hero-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-bottom: 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 16px;
  color: #334155;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 24px;
}

.credentials-callout {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.06);
}

.cc-header {
  font-size: 13.5px;
  color: #1e40af;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 16px;
  font-size: 13px;
}

.cc-item span {
  color: var(--text-muted);
  margin-right: 4px;
}

/* Priority Source of Truth Cards */
.priority-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0 36px 0;
}

.priority-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.priority-card.p1 {
  border-top: 4px solid #2563eb;
}
.priority-card.p2 {
  border-top: 4px solid #16a34a;
}
.priority-card.p3 {
  border-top: 4px solid #64748b;
}

.p-num {
  width: 36px;
  height: 36px;
  background: var(--bg-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  flex-shrink: 0;
}

.p-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.p-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* 18 Modules Grid in index.html */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0 36px 0;
}

.module-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

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

.mc-num {
  font-size: 11px;
  font-weight: 700;
  font-family: monospace;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 6px;
  border-radius: 4px;
}

.mc-icon {
  font-size: 20px;
}

.mc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.mc-url {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.mc-desc {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.mc-action {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
}

/* Shortcut Grid */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 16px 0 32px 0;
}

.shortcut-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.shortcut-item:hover {
  background: var(--bg-muted);
  border-color: var(--primary-border);
  text-decoration: none;
}

.sc-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.sc-content strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-main);
}

.sc-content small {
  font-size: 12px;
  color: var(--text-muted);
}

/* Step list */
.step-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.step-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
  padding-top: 4px;
  font-size: 14px;
  line-height: 1.6;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.feature-card {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.fc-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* TOC Sidebar */
.toc-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-height) + 32px);
  height: fit-content;
  max-height: calc(100vh - var(--header-height) - 64px);
  overflow-y: auto;
  padding-left: 20px;
  border-left: 1px solid var(--border-color);
}

.toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.toc-list {
  list-style: none;
  padding-left: 0;
}

.toc-link {
  display: block;
  font-size: 13px;
  color: var(--secondary);
  padding: 4px 0;
  text-decoration: none;
  line-height: 1.4;
}

.toc-link:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Footer Layout */
.doc-footer {
  padding: 40px 40px 100px 40px;
  border-top: 1px solid var(--border-color);
  background: #ffffff;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-brand-col {
  flex: 1;
  min-width: 260px;
}

.footer-logo-img {
  max-width: 140px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
}

.footer-content p {
  margin-bottom: 6px;
  line-height: 1.5;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 12.5px;
}

.footer-contact-col {
  flex-shrink: 0;
}

.footer-contact-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  min-width: 280px;
}

.fcb-head {
  margin-bottom: 10px;
}

.fcb-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.fcb-person {
  font-size: 13.5px;
  color: var(--text-main);
  margin-top: 2px;
}

.fcb-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fcb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.fcb-item:hover {
  color: var(--primary);
  text-decoration: none;
  transform: translateX(2px);
}

.fcb-item .zalo-pill {
  background: #0068ff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
}

/* Responsive tweaks */
@media (max-width: 1200px) {
  .toc-sidebar {
    display: none;
  }
}

@media (max-width: 992px) {
  .main-container {
    margin-left: 0;
  }
  .sidebar-toggle {
    display: flex;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }
  .main-content {
    padding: 24px 20px 48px 20px;
  }
}

@media (max-width: 640px) {
  .top-header {
    padding: 0 16px;
  }
  .search-box {
    display: none;
  }
  .hero-banner {
    padding: 24px 20px;
  }
  .hero-title {
    font-size: 24px;
  }
}

/* ==========================================================================
   CUSTOMER-CENTRIC HELP CENTER STYLES
   ========================================================================== */

.help-center-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
}

.help-center-title .hc-icon {
  font-size: 18px;
}

/* Customer callouts */
.note, .important, .tip {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
}

.note {
  background: #f0f9ff;
  border-left: 4px solid #0284c7;
  color: #0c4a6e;
}

.note strong {
  color: #0284c7;
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
}

.important {
  background: #fffbeb;
  border-left: 4px solid #d97706;
  color: #78350f;
}

.important strong {
  color: #d97706;
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
}

.tip {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  color: #14532d;
}

.tip strong {
  color: #16a34a;
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
}

/* Quick Overview Cards on Homepage */
.quick-overview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.qo-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}

.qo-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
  text-decoration: none;
}

.qo-icon {
  font-size: 26px;
}

.qo-card strong {
  font-size: 13.5px;
  color: var(--text-main);
}

.qo-card small {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Workflow cards */
.workflow-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 16px 0 28px 0;
}

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.workflow-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.workflow-card p {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 12px;
}

.wf-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.wf-link:hover {
  text-decoration: underline;
}

/* Trouble cards */
.trouble-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.trouble-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #b91c1c;
  margin-bottom: 10px;
}

.trouble-card ul, .trouble-card ol {
  margin-bottom: 0;
}

/* FAQ items */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 13.5px;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Support Banner Card on Homepage */
.support-banner-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 24px;
  margin-bottom: 36px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.sbc-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.support-avatar-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
  flex-shrink: 0;
}

.sbc-content {
  flex-grow: 1;
}

.sbc-badge {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.sbc-heading {
  font-size: 18px;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 6px;
}

.sbc-desc {
  font-size: 14px;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.5;
}

.sbc-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sbc-person {
  font-size: 13px;
  color: #1e293b;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
}

.sbc-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.sbc-contact-pill.sbc-phone {
  background: #16a34a;
  color: #ffffff;
}

.sbc-contact-pill.sbc-phone:hover {
  background: #15803d;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
  text-decoration: none;
  transform: translateY(-1px);
}

.sbc-contact-pill.sbc-zalo {
  background: #0068ff;
  color: #ffffff;
}

.sbc-contact-pill.sbc-zalo:hover {
  background: #0056d6;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.3);
  text-decoration: none;
  transform: translateY(-1px);
}

.sbc-contact-pill .zalo-tag {
  background: #ffffff;
  color: #0068ff;
}

/* Floating Fast Support Widget */
.floating-support {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.fs-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-item:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #ffffff;
}

.fs-zalo {
  background: linear-gradient(135deg, #0068ff 0%, #0051c9 100%);
}

.fs-phone {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.fs-icon {
  font-size: 15px;
}

/* Highlight Support in Troubleshooting & FAQ */
.highlight-support,
.highlight-faq {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
}

.urgent-actions {
  display: flex;
  gap: 12px;
  margin: 14px 0 10px 0;
  flex-wrap: wrap;
}

.urgent-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.urgent-btn.phone-btn {
  background: #16a34a;
  color: #ffffff;
}

.urgent-btn.phone-btn:hover {
  background: #15803d;
  color: #ffffff;
  text-decoration: none;
}

.urgent-btn.zalo-btn {
  background: #0068ff;
  color: #ffffff;
}

.urgent-btn.zalo-btn:hover {
  background: #0051c9;
  color: #ffffff;
  text-decoration: none;
}

.urgent-note {
  font-size: 12.5px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0;
}

/* ==========================================================================
   HIDE NAV-NUM EVERYWHERE IN SIDEBAR & NAVIGATION
   ========================================================================== */
.nav-num {
  display: none !important;
}

/* ==========================================================================
   MOBILE SIDEBAR DRAWER & BACKDROP STYLES
   ========================================================================== */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 16px 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.sidebar-close-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sidebar-close-btn:hover {
  color: #dc2626;
  background: #fef2f2;
  border-color: #fecaca;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

body.sidebar-open-locked {
  overflow: hidden !important;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MOBILE STYLES
   ========================================================================== */

/* Tablet & Mobile Screens (<= 992px) */
@media (max-width: 992px) {
  .sidebar-backdrop {
    display: block;
  }
  
  .sidebar-close-btn {
    display: flex;
  }

  .sidebar-toggle {
    display: flex !important;
  }

  .main-container {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 300px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    z-index: 999 !important;
    background: #ffffff !important;
    box-shadow: none;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease !important;
    padding: 16px 14px 40px 14px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar.open {
    transform: translateX(0) !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.35) !important;
  }

  .toc-sidebar {
    display: none !important;
  }

  .main-content {
    padding: 24px 20px 60px 20px !important;
    gap: 0 !important;
  }

  .content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }

  .header-hotline-wrap {
    gap: 6px;
    margin-right: 8px;
  }

  .hl-label {
    display: none;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .top-header {
    height: auto !important;
    min-height: 56px !important;
    padding: 10px 14px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .header-left {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 10px;
  }

  .help-center-title {
    font-size: 14px !important;
    line-height: 1.3;
  }

  .header-right {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .header-hotline-wrap {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
    margin-right: 0 !important;
  }

  .header-hotline-btn, 
  .header-zalo-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 6px 10px !important;
    font-size: 12.5px !important;
  }

  .search-box {
    width: 100% !important;
    display: block !important;
  }

  .search-box input {
    height: 38px !important;
    font-size: 13.5px !important;
  }

  .main-content {
    padding: 16px 12px 48px 12px !important;
  }

  .breadcrumb-nav {
    margin-bottom: 16px !important;
    font-size: 12px !important;
  }

  .page-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .page-summary {
    font-size: 13.5px !important;
    margin-bottom: 20px !important;
  }

  .section-title, h2 {
    font-size: 18px !important;
    margin-top: 28px !important;
    margin-bottom: 12px !important;
  }

  .subsection-title, h3 {
    font-size: 15.5px !important;
  }

  /* Tables horizontal scroll */
  .table-responsive,
  .doc-table-container {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0 !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
  }

  .doc-table {
    min-width: 580px !important;
    font-size: 13px !important;
  }

  .doc-table th, 
  .doc-table td {
    padding: 8px 10px !important;
    white-space: normal !important;
  }

  /* Pre & Code blocks */
  pre, pre.ascii-tree, code {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    font-size: 12px !important;
  }

  pre.ascii-tree {
    padding: 12px !important;
    font-size: 11.5px !important;
  }

  /* Image & Screenshot scaling */
  .doc-screenshot, 
  .screenshot-img, 
  .header-screenshot-img, 
  .screenshot-box img,
  article img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .screenshot-box {
    margin: 16px 0 24px 0 !important;
  }

  /* Grids */
  .modules-grid,
  .shortcut-grid,
  .workflow-cards,
  .feature-grid,
  .priority-cards,
  .quick-overview-cards {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .hero-banner {
    padding: 20px 16px !important;
  }

  .hero-title {
    font-size: 22px !important;
  }

  .hero-lead {
    font-size: 14px !important;
  }

  .support-banner-card {
    padding: 18px 16px !important;
  }

  .sbc-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .sbc-contact-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .sbc-contact-pill {
    justify-content: center;
  }

  /* Footer */
  .doc-footer {
    padding: 24px 14px 80px 14px !important;
  }

  .footer-content {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .footer-contact-box {
    min-width: 100% !important;
  }

  /* Floating Fast Support Widget */
  .floating-support {
    bottom: 16px !important;
    right: 12px !important;
    gap: 6px !important;
  }

  .fs-item {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }
}

/* Compact Mobile (<= 480px) */
@media (max-width: 480px) {
  .help-center-title span:last-child {
    display: none;
  }

  .header-hotline-wrap {
    flex-direction: column;
    gap: 6px;
  }

  .floating-support {
    bottom: 12px !important;
    right: 10px !important;
  }

  .fs-text {
    display: none !important;
  }

  .fs-item {
    padding: 0 !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    justify-content: center !important;
  }

  .fs-icon {
    font-size: 18px !important;
  }
}

