:root {
  --sidebar-bg: #1c7eb6;
  --sidebar-text: #ffffff;
  --accent: #003366;
  --muted: #f5f7fa;
  --item-bg: #f0f3f8;
  --item-hover: #e9eef6;
  --border: #dbe3ef;
}
.faqs-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}
.faq-sidebar {
  background: linear-gradient(160deg, var(--sidebar-bg), #352c5e);
  color: var(--sidebar-text);
  border-radius: 16px;
  padding: 18px 16px;
  position: sticky;
  top: 70px;
  height: max-content;
}
.faq-side-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.faq-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}
.faq-cats li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}
.faq-cats li:hover {
  background: rgba(255,255,255,0.16);
}
.faq-cat-name {
  color: #fff;
  font-weight: 600;
}
.faq-cat-count {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 16px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-weight: 700;
}
.faq-cats {
  scrollbar-width: thin;
  scrollbar-color: #bde2ff rgba(255,255,255,0.08);
  scrollbar-gutter: stable;
}
.faq-cats::-webkit-scrollbar {
  width: 10px;
}
.faq-cats::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
}
.faq-cats::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d0ecff, #7bc4ff);
  border-radius: 10px;
}
.faq-content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 18px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.faq-content {
  scrollbar-width: auto;
  scrollbar-color: #9b8cff #e8eaf6;
  scrollbar-gutter: stable;
}
.faq-content::-webkit-scrollbar {
  width: 14px;
}
.faq-content::-webkit-scrollbar-track {
  background: #e8eaf6;
  border-radius: 12px;
}
.faq-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c1b6ff, #9b8cff);
  border-radius: 12px;
  border: 3px solid #e8eaf6;
}
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.faq-title {
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 800;
}
.faq-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-search input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
}
.faq-meta {
  font-size: 0.9rem;
  color: #666;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--item-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.faq-q {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
}
.faq-q:hover {
  background: var(--item-hover);
}
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 800;
}
.faq-a {
  padding: 0 14px 14px 14px;
  display: none;
}
.faq-a.open {
  display: block;
}
.faq-a p {
  margin: 10px 0 8px 0;
  line-height: 1.6;
}
.faq-steps {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.faq-step {
  padding-left: 0;
}
.faq-section-title {
  font-size: 1.1rem;
  color: #555;
  margin: 6px 0 10px 0;
  font-weight: 700;
}
@media (max-width: 991px) {
  .faqs-page {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    position: static;
  }
  .faq-content {
    max-height: none;
    overflow: visible;
  }
}
