/* Design D: Refined Conversational - Calm, compact with subtle personality */
/* Bitvavo Zendesk Theme - Complete Styles */

/* ============================================
   CSS Custom Properties
   ============================================ */

:root {
  /* Typography */
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Brand Colors */
  --bv-primary: #0051FF;
  --bv-primary-hover: #0047E6;
  --bv-primary-light: #EBF2FF;
  --bv-primary-dark: #003FCC;

  /* Neutral Colors */
  --bv-white: #FFFFFF;
  --bv-gray-50: #F9FAFB;
  --bv-gray-100: #F3F4F6;
  --bv-gray-200: #E5E7EB;
  --bv-gray-300: #D1D5DB;
  --bv-gray-400: #9CA3AF;
  --bv-gray-500: #6B7280;
  --bv-gray-600: #4B5563;
  --bv-gray-700: #374151;
  --bv-gray-800: #1F2937;
  --bv-gray-900: #111827;

  /* Z-index layers */
  --bv-z-sticky: 100;
  --bv-z-fixed: 1000;
}

/* ============================================
   Base Styles & Reset
   ============================================ */

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

body {
  font-family: var(--font-body);
  background: var(--bv-white);
  color: var(--bv-gray-900);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-content {
  position: relative;
  z-index: 1;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--bv-z-sticky);
  background: var(--bv-white);
  border-bottom: 1px solid var(--bv-gray-100);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo svg {
  height: 22px;
  width: auto;
}

/* Navigation */
.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-600);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item:hover {
  background: var(--bv-gray-50);
  color: var(--bv-gray-900);
}

.nav-item.active {
  color: var(--bv-primary);
}

.nav-dropdown-icon {
  width: 14px;
  height: 14px;
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 6px;
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-100);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--bv-gray-700);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.dropdown-item:hover {
  background: var(--bv-gray-50);
}

.dropdown-item-icon {
  width: 18px;
  height: 18px;
  color: var(--bv-gray-400);
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dropdown-item-label {
  font-weight: 500;
  color: var(--bv-gray-900);
}

.dropdown-item-desc {
  font-size: 12px;
  color: var(--bv-gray-500);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login {
  display: none;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-700);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.btn-login:hover {
  background: var(--bv-gray-50);
}

.btn-signup {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-white);
  background: var(--bv-primary);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.btn-signup:hover {
  background: var(--bv-primary-hover);
}

.btn-signup svg {
  display: none;
  width: 14px;
  height: 14px;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--bv-gray-700);
}

.mobile-menu-btn:hover {
  background: var(--bv-gray-50);
}

/* ============================================
   Support Sub-header - Concept 2: Compact Search Trigger
   ============================================ */

.support-header {
  background: var(--bv-white);
  border-bottom: 1px solid var(--bv-gray-100);
}

.support-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Left side: Status + Nav Links */
.support-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.support-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--bv-gray-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

.support-status:hover {
  color: var(--bv-gray-900);
}

.support-status .status-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
}

.support-status .status-text {
  font-weight: 400;
}

.support-nav-link {
  font-size: 13px;
  color: var(--bv-gray-500);
  text-decoration: none;
  transition: color 0.15s ease;
}

.support-nav-link:hover {
  color: var(--bv-gray-900);
}

/* Right side: Search Form + Vavo Link */
.support-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Header Search Form */
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bv-gray-50);
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  transition: all 0.2s ease;
  width: 140px;
}

.header-search:focus-within {
  width: 260px;
  background: var(--bv-white);
  border-color: var(--bv-primary);
  box-shadow: 0 0 0 3px rgba(0, 81, 255, 0.1);
}

.header-search-icon {
  width: 16px;
  height: 16px;
  color: var(--bv-gray-400);
  flex-shrink: 0;
}

.header-search:focus-within .header-search-icon {
  color: var(--bv-primary);
}

.header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--bv-gray-900);
  outline: none;
  font-family: inherit;
}

.header-search-input::placeholder {
  color: var(--bv-gray-400);
}

.header-search-kbd {
  font-size: 11px;
  padding: 2px 6px;
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 4px;
  font-family: inherit;
  color: var(--bv-gray-400);
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.header-search:focus-within .header-search-kbd {
  opacity: 0;
  width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.vavo-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--bv-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.vavo-link:hover {
  color: var(--bv-primary-hover);
}

.vavo-link svg {
  width: 16px;
  height: 16px;
}

/* Mobile version */
.support-mobile {
  display: none;
}

.support-status-mobile {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--bv-gray-600);
  text-decoration: none;
}

.status-dot-mobile {
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
}

.status-text-short {
  font-weight: 400;
}

.mobile-actions {
  display: flex;
  gap: 8px;
}

.mobile-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  color: var(--bv-gray-500);
  cursor: pointer;
  transition: all 0.15s ease;
}

.mobile-icon-btn:hover {
  border-color: var(--bv-gray-300);
  color: var(--bv-gray-700);
}

.mobile-icon-btn svg {
  width: 18px;
  height: 18px;
}

.mobile-icon-btn--primary {
  background: var(--bv-gray-50);
  border-color: var(--bv-gray-200);
  color: var(--bv-primary);
}

.mobile-icon-btn--primary:hover {
  background: var(--bv-primary);
  border-color: var(--bv-primary);
  color: var(--bv-white);
}

/* Status dot states */
.status-dot.status-warning,
.status-dot-mobile.status-warning {
  background: #f59e0b;
  animation: pulse-warning 2s infinite;
}

.status-dot.critical,
.status-dot-mobile.critical {
  background: #dc2626;
  animation: pulse-critical 1.5s infinite;
}

@keyframes pulse-warning {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes pulse-critical {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.support-divider {
  width: 1px;
  height: 20px;
  background: var(--bv-gray-200);
}

/* ============================================
   Language Selector
   ============================================ */

.lang-selector {
  position: relative;
  margin-left: 12px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bv-gray-600);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  background: var(--bv-gray-50);
  border-color: var(--bv-gray-300);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  background: white;
  border: 1px solid var(--bv-gray-200);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s ease;
  z-index: 100;
  overflow: hidden;
}

.lang-selector:hover .lang-dropdown,
.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--bv-gray-700);
  text-decoration: none;
  transition: background 0.15s ease;
}

.lang-option:hover {
  background: var(--bv-gray-50);
}

.lang-option.active {
  background: var(--bv-primary-light);
  color: var(--bv-primary);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

/* ============================================
   Incident Banner
   ============================================ */

.incident-banner {
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
  border-bottom: 1px solid #fcd34d;
  padding: 10px 20px;
}

.incident-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.incident-icon {
  width: 18px;
  height: 18px;
  color: #b45309;
  flex-shrink: 0;
}

.incident-text {
  font-size: 13px;
  font-weight: 500;
  color: #92400e;
}

.incident-link {
  font-size: 13px;
  font-weight: 600;
  color: #b45309;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.incident-link svg {
  width: 14px;
  height: 14px;
}

.incident-dismiss {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  color: #b45309;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.incident-dismiss:hover {
  background: rgba(180, 83, 9, 0.1);
}

/* ============================================
   Network Status Card
   ============================================ */

.network-status-card {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 32px;
}

.network-status-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.network-status-icon {
  width: 44px;
  height: 44px;
  background: #fde68a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.network-status-icon svg {
  width: 22px;
  height: 22px;
  color: #b45309;
}

.network-status-content {
  flex: 1;
}

.network-status-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.network-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  background: #dc2626;
  padding: 3px 8px;
  border-radius: 4px;
}

.network-badge.scheduled {
  background: #b45309;
}

.network-status-desc {
  font-size: 14px;
  color: #a16207;
  line-height: 1.6;
}

.affected-networks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.affected-network {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  font-size: 13px;
  color: #92400e;
}

.affected-network-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bv-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.affected-network-name {
  font-weight: 500;
}

.affected-network-status {
  font-size: 11px;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
}

.network-status-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(180, 83, 9, 0.15);
}

.network-status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.network-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #92400e;
}

.network-meta-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.network-status-link {
  font-size: 13px;
  font-weight: 600;
  color: #b45309;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.network-status-link:hover {
  text-decoration: underline;
}

.network-status-link svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   Hero Section with Gradient
   ============================================ */

.hero-wrapper {
  background: linear-gradient(180deg, var(--bv-primary-light) 0%, var(--bv-white) 100%);
}

.hero {
  padding: 56px 20px 48px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--bv-gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--bv-gray-500);
  margin-bottom: 32px;
}

/* ============================================
   Unified Search Input
   ============================================ */

.search-container {
  max-width: 540px;
  margin: 0 auto 20px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bv-white);
  border: 2px solid var(--bv-gray-200);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--bv-primary);
  box-shadow: 0 0 0 4px rgba(0, 81, 255, 0.08);
}

.search-icon {
  width: 20px;
  height: 20px;
  margin-left: 16px;
  color: var(--bv-gray-400);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  padding: 14px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--bv-gray-900);
  background: transparent;
  border: none;
  outline: none;
}

.search-input::placeholder {
  color: var(--bv-gray-400);
}

/* Zendesk {{search}} helper generates form.search with inputs
   Target these to style the actual Zendesk search output */
.search-box form.search {
  display: flex;
  flex: 1;
  align-items: center;
  position: relative;
  min-width: 0;
}

/* Zendesk search autocomplete dropdown */
.search-box form.search [role="listbox"],
.search-box form.search .search-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 100;
  overflow: hidden;
}

.note warning {
  background-color: #ff8383;
}

.search-box form.search [role="listbox"] ul,
.search-box form.search .search-autocomplete ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.search-box form.search [role="listbox"] li,
.search-box form.search .search-autocomplete li {
  margin: 0;
}

.search-box form.search [role="listbox"] li a,
.search-box form.search .search-autocomplete li a {
  display: block;
  padding: 10px 16px;
  color: var(--bv-gray-900);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: background 0.1s ease;
}

.search-box form.search [role="listbox"] li a:hover,
.search-box form.search [role="listbox"] li[aria-selected="true"] a,
.search-box form.search .search-autocomplete li a:hover {
  background: var(--bv-gray-50, #f9fafb);
}

.search-box form.search [role="listbox"] li a span,
.search-box form.search .search-autocomplete li a span {
  display: block;
  font-size: 12px;
  color: var(--bv-gray-400);
  margin-top: 2px;
}

.search-box form.search input[type="search"] {
  flex: 1;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--bv-gray-900);
  background: transparent;
  border: none;
  outline: none;
  min-width: 0;
}

.search-box form.search input[type="search"]::placeholder {
  color: var(--bv-gray-400);
}

.search-box form.search input[type="submit"] {
  width: 48px;
  height: 48px;
  margin: 4px;
  padding: 0;
  background: var(--bv-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E") center/20px no-repeat;
  color: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0;
  text-indent: -9999px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.search-box form.search input[type="submit"]:hover {
  background-color: var(--bv-primary-hover);
}

.search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 4px;
  background: var(--bv-primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.search-submit:hover {
  background: var(--bv-primary-hover);
}

.search-submit svg {
  width: 18px;
  height: 18px;
  color: var(--bv-white);
}

/* ============================================
   Quick Suggestions
   ============================================ */

.quick-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.suggestion-chip {
  padding: 7px 14px;
  font-size: 13px;
  color: var(--bv-gray-600);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.suggestion-chip:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
  background: rgba(0, 81, 255, 0.04);
}

/* ============================================
   Vavo AI Fallback - Subtle inline CTA
   ============================================ */

.vavo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(0, 81, 255, 0.04);
  border-radius: 12px;
  margin-top: 8px;
}

.vavo-fallback-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--bv-primary), #0066FF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vavo-fallback-icon svg {
  width: 14px;
  height: 14px;
  color: white;
}

.vavo-fallback-text {
  font-size: 14px;
  color: #4B5563;
  display: inline;
}

.vavo-fallback-link {
  font-weight: 500;
  color: var(--bv-primary);
  text-decoration: none;
}

.vavo-fallback-link:hover {
  text-decoration: underline;
}

/* ============================================
   Quick Links
   ============================================ */

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.quick-link {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-700);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.quick-link:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
  background: var(--bv-primary-light);
}

/* Hide empty quick links (when translation is missing) */
.quick-link:empty {
  display: none;
}

/* Vavo fallback text - hide if empty */
.vavo-fallback-text:empty,
.vavo-fallback-link:empty {
  display: none;
}

/* Hide entire quick links section if all links are empty */
.quick-links:has(.quick-link:empty:only-child),
.quick-links:not(:has(.quick-link:not(:empty))) {
  display: none;
}

/* ============================================
   Network Status Section
   ============================================ */

.network-status-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 32px;
}

/* Network item - individual affected network */
.network-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bv-white);
  border: 1px solid #fcd34d;
  border-radius: 10px;
}

.network-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.network-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-800);
}

.network-status-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

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

.network-status-badge.error {
  color: #dc2626;
  background: #fee2e2;
}

.network-status-badge.maintenance {
  color: #059669;
  background: #d1fae5;
}

/* Network meta info */
.network-updated,
.network-trading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #92400e;
}

.network-updated svg,
.network-trading svg {
  opacity: 0.7;
}

/* ============================================
   Topics Section
   ============================================ */

.topics-section {
  padding: 48px 20px 64px;
  background: var(--bv-gray-50);
}

.topics-inner {
  max-width: 720px;
  margin: 0 auto;
}

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

.topics-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--bv-gray-900);
}

.expand-all-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--bv-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.expand-all-btn:hover {
  background: rgba(0, 81, 255, 0.06);
}

.topics-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-item {
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.topic-item.open {
  border-color: var(--bv-primary);
  box-shadow: 0 2px 12px rgba(0, 81, 255, 0.08);
}

.topic-header {
  display: flex;
  align-items: center;
  gap: 0;
}

.topic-item.open .topic-header {
  background: transparent;
}

.topic-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bv-gray-100);
  border-radius: 8px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.topic-item.open .topic-icon {
  background: var(--bv-primary);
}

.topic-icon svg {
  width: 18px;
  height: 18px;
  color: var(--bv-gray-600);
  transition: color 0.2s ease;
}

.topic-item.open .topic-icon svg {
  color: var(--bv-white);
}

.topic-info {
  flex: 1;
  min-width: 0;
}

.topic-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-gray-900);
}

.topic-desc {
  font-size: 13px;
  color: var(--bv-gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topic-count {
  font-size: 12px;
  color: var(--bv-gray-400);
  background: var(--bv-gray-100);
  padding: 3px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Topic Link - clickable area that goes to category page */
.topic-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding: 14px 0 14px 16px;
}

.topic-link:hover .topic-name {
  color: var(--bv-primary);
}

/* Topic Toggle Button - only this triggers expand/collapse */
.topic-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 8px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.topic-toggle-btn:hover {
  background: var(--bv-gray-100);
}

.topic-toggle {
  width: 20px;
  height: 20px;
  color: var(--bv-gray-400);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.topic-item.open .topic-toggle {
  transform: rotate(180deg);
}

.topic-content {
  display: none;
  padding: 0 16px 16px;
}

.topic-item.open .topic-content {
  display: block;
}

.topic-articles {
  background: var(--bv-gray-50);
  border-radius: 8px;
  overflow: hidden;
}

.topic-article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--bv-gray-700);
  text-decoration: none;
  transition: all 0.15s ease;
  border-bottom: 1px solid var(--bv-gray-100);
}

.topic-article:last-child {
  border-bottom: none;
}

.topic-article:hover {
  background: var(--bv-white);
  color: var(--bv-primary);
}

.topic-article svg {
  width: 14px;
  height: 14px;
  color: var(--bv-gray-400);
  flex-shrink: 0;
}

.topic-article:hover svg {
  color: var(--bv-primary);
}

.topic-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bv-primary);
  text-decoration: none;
  background: var(--bv-gray-50);
  transition: background 0.15s ease;
}

.topic-view-all:hover {
  background: var(--bv-gray-100);
}

/* ============================================
   Vavo AI CTA Section
   ============================================ */

.vavo-cta-section {
  position: relative;
  padding: 64px 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 50%, #f5f0ff 100%);
  overflow: hidden;
  cursor: default;
}

.vavo-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 81, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.vavo-cta-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vavo-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  background: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--bv-gray-600);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vavo-cta-badge-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.vavo-cta-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--bv-gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.vavo-cta-subtitle {
  font-size: 16px;
  color: var(--bv-gray-500);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.vavo-cta-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 32px;
}

.vavo-preview-bubble {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: fade-up 0.6s ease-out both;
}

.vavo-preview-bubble:nth-child(1) { animation-delay: 0.1s; }
.vavo-preview-bubble:nth-child(2) { animation-delay: 0.3s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.vavo-preview-bubble.user {
  flex-direction: row-reverse;
}

.vavo-bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vavo-bubble-avatar.ai {
  background: linear-gradient(135deg, var(--bv-primary), #3b82f6);
}

.vavo-bubble-avatar.user {
  background: var(--bv-gray-200);
}

.vavo-bubble-avatar svg {
  width: 16px;
  height: 16px;
  color: white;
}

.vavo-bubble-avatar.user svg {
  color: var(--bv-gray-500);
}

.vavo-bubble-content {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 280px;
}

.vavo-preview-bubble.ai .vavo-bubble-content {
  background: white;
  color: var(--bv-gray-700);
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vavo-preview-bubble.user .vavo-bubble-content {
  background: var(--bv-primary);
  color: white;
  border-radius: 16px 16px 4px 16px;
}

.vavo-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vavo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--bv-primary);
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 81, 255, 0.25);
}

.vavo-cta-btn:hover {
  background: var(--bv-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 81, 255, 0.3);
}

.vavo-cta-btn svg {
  width: 18px;
  height: 18px;
}

.vavo-cta-hint {
  font-size: 13px;
  color: var(--bv-gray-400);
}

.vavo-cta-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.vavo-topic-chip {
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--bv-gray-200);
  border-radius: 20px;
  font-size: 13px;
  color: var(--bv-gray-600);
  text-decoration: none;
  transition: all 0.15s ease;
}

.vavo-topic-chip:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
  background: rgba(0, 81, 255, 0.04);
}

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb {
  padding: 20px 20px 0;
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13px;
}

.breadcrumb-item a {
  color: var(--bv-gray-500);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--bv-primary);
}

.breadcrumb-sep {
  color: var(--bv-gray-300);
}

.breadcrumb-item.current {
  color: var(--bv-gray-700);
  font-weight: 500;
}

/* ============================================
   Article Page
   ============================================ */

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.article-header {
  margin-bottom: 32px;
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--bv-primary);
  background: rgba(0, 81, 255, 0.06);
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--bv-gray-900);
  line-height: 1.3;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--bv-gray-500);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item svg {
  width: 14px;
  height: 14px;
}

/* AI Summary */
.ai-summary {
  background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
  border: 1px solid rgba(0, 81, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 32px;
}

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

.ai-summary-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bv-primary);
  background: var(--bv-white);
  border-radius: 12px;
}

.ai-summary-badge svg {
  width: 12px;
  height: 12px;
}

.ai-summary-content {
  font-size: 14px;
  color: var(--bv-gray-700);
  line-height: 1.7;
}

.ai-summary-content strong {
  color: var(--bv-gray-900);
}

/* Article Content */
.article-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--bv-gray-700);
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin: 32px 0 16px;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin: 24px 0 12px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: var(--bv-primary);
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

.info-box {
  background: var(--bv-gray-50);
  border-left: 3px solid var(--bv-primary);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.info-box-title {
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box-title svg {
  width: 16px;
  height: 16px;
  color: var(--bv-primary);
}

/* Article Feedback */
.article-feedback {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bv-gray-200);
  text-align: center;
}

.feedback-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--bv-gray-700);
  margin-bottom: 16px;
}

.feedback-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.feedback-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-700);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.feedback-btn:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

.feedback-btn svg {
  width: 18px;
  height: 18px;
}

/* Need More Help */
.need-help {
  margin-top: 32px;
  padding: 24px;
  background: var(--bv-gray-50);
  border-radius: 12px;
  text-align: center;
}

.need-help-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 8px;
}

.need-help-desc {
  font-size: 14px;
  color: var(--bv-gray-500);
  margin-bottom: 16px;
}

.need-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bv-white);
  background: var(--bv-primary);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.need-help-btn:hover {
  background: var(--bv-primary-hover);
}

.need-help-btn svg {
  width: 18px;
  height: 18px;
}

/* Related Articles */
.related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bv-gray-200);
}

.related-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 16px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bv-gray-50);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.related-item:hover {
  background: var(--bv-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.related-item svg {
  width: 16px;
  height: 16px;
  color: var(--bv-gray-400);
  flex-shrink: 0;
}

.related-item span {
  font-size: 14px;
  color: var(--bv-gray-700);
}

.related-item:hover span {
  color: var(--bv-primary);
}

/* ============================================
   Category Page
   ============================================ */

.category-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px;
}

.category-header-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.category-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bv-primary);
  border-radius: 14px;
  flex-shrink: 0;
}

.category-icon svg {
  width: 28px;
  height: 28px;
  color: var(--bv-white);
}

.category-info {
  flex: 1;
}

.category-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--bv-gray-900);
  margin-bottom: 8px;
}

.category-desc {
  font-size: 15px;
  color: var(--bv-gray-500);
  line-height: 1.6;
}

.category-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.category-stat {
  font-size: 13px;
  color: var(--bv-gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-stat svg {
  width: 14px;
  height: 14px;
}

/* Category Main Content */
.category-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Filters */
.filters-section {
  background: var(--bv-gray-50);
  border-radius: 12px;
  padding: 20px;
}

.filters-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--bv-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bv-gray-600);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

.filter-chip.active {
  background: var(--bv-primary);
  border-color: var(--bv-primary);
  color: var(--bv-white);
}

/* Section Groups */
.section-group {
  margin-bottom: 48px;
}

.section-group-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 8px;
}

.section-group-title a {
  color: var(--bv-gray-900);
  text-decoration: none;
  transition: color 0.15s ease;
}

.section-group-title a:hover {
  color: var(--bv-primary);
}

.section-group-desc {
  font-size: 14px;
  color: var(--bv-gray-500);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Articles List */
.articles-section {
  flex: 1;
}

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

.articles-count {
  font-size: 14px;
  color: var(--bv-gray-500);
}

.articles-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--bv-gray-600);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.articles-sort svg {
  width: 14px;
  height: 14px;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.article-card:hover {
  border-color: var(--bv-primary);
  box-shadow: 0 4px 12px rgba(0, 81, 255, 0.08);
}

.article-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bv-gray-100);
  border-radius: 8px;
  flex-shrink: 0;
}

.article-card-icon svg {
  width: 18px;
  height: 18px;
  color: var(--bv-gray-500);
}

.article-card-content {
  flex: 1;
  min-width: 0;
}

.article-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 4px;
}

.article-card:hover .article-card-title {
  color: var(--bv-primary);
}

.article-card-excerpt {
  font-size: 13px;
  color: var(--bv-gray-500);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--bv-gray-400);
}

/* Sidebar */
.sidebar {
  display: none;
}

.sidebar-section {
  background: var(--bv-gray-50);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 16px;
}

.popular-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popular-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--bv-gray-700);
  background: var(--bv-white);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.popular-item:hover {
  color: var(--bv-primary);
}

.popular-item svg {
  width: 14px;
  height: 14px;
  color: var(--bv-gray-400);
  flex-shrink: 0;
}

/* Need Help CTA */
.need-help-cta {
  background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
  border: 1px solid rgba(0, 81, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.need-help-cta-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 8px;
}

.need-help-cta-desc {
  font-size: 13px;
  color: var(--bv-gray-500);
  margin-bottom: 16px;
}

.need-help-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bv-white);
  background: var(--bv-primary);
  border-radius: 8px;
  text-decoration: none;
}

.need-help-cta-btn svg {
  width: 16px;
  height: 16px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-600);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pagination-btn:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

.pagination-btn.active {
  background: var(--bv-primary);
  border-color: var(--bv-primary);
  color: var(--bv-white);
}

.pagination-btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   Search Results Page
   ============================================ */

.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* Search Header */
.search-header {
  margin-bottom: 32px;
}

.search-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 16px;
}

.search-query-display {
  color: var(--bv-primary);
}

/* Search Input Container */
.search-input-container {
  position: relative;
  margin-bottom: 20px;
}

/* AI Answer Card */
.ai-answer-card {
  background: linear-gradient(135deg, #F0F7FF 0%, #E8F0FE 100%);
  border: 1px solid rgba(0, 81, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}

.ai-answer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ai-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--bv-primary) 0%, #0066FF 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-avatar svg {
  width: 18px;
  height: 18px;
  color: white;
}

.ai-answer-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--bv-primary);
}

.ai-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bv-primary);
  background: rgba(0, 81, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.ai-answer-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bv-gray-700);
  margin-bottom: 16px;
}

.ai-answer-content p {
  margin-bottom: 12px;
}

.ai-answer-content p:last-child {
  margin-bottom: 0;
}

.ai-answer-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 81, 255, 0.1);
}

.ai-source-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--bv-primary);
  background: var(--bv-white);
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.ai-source-link:hover {
  background: var(--bv-primary);
  color: var(--bv-white);
}

.ai-source-link svg {
  width: 14px;
  height: 14px;
}

.ai-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.ai-action-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--bv-gray-500);
  background: none;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.ai-action-btn:hover {
  background: rgba(0, 81, 255, 0.08);
  color: var(--bv-primary);
}

.ai-action-btn svg {
  width: 14px;
  height: 14px;
}

/* Results Section */
.results-section {
  margin-bottom: 40px;
}

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

.results-count {
  font-size: 14px;
  color: var(--bv-gray-500);
}

.results-count strong {
  color: var(--bv-gray-700);
}

/* Search Result Item */
.result-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid var(--bv-gray-100);
  text-decoration: none;
  transition: all 0.15s ease;
}

.result-item:first-child {
  border-top: 1px solid var(--bv-gray-100);
}

.result-item:hover {
  background: var(--bv-gray-50);
  margin: 0 -16px;
  padding: 20px 16px;
  border-radius: 8px;
  border-color: transparent;
}

.result-item:hover + .result-item {
  border-top-color: transparent;
}

.result-category {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bv-primary);
  margin-bottom: 6px;
}

.result-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 8px;
  line-height: 1.4;
}

.result-item:hover .result-title {
  color: var(--bv-primary);
}

.result-excerpt {
  font-size: 14px;
  color: var(--bv-gray-600);
  line-height: 1.6;
}

.result-excerpt mark {
  background: #FEF3C7;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--bv-gray-400);
}

.result-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.result-meta-item svg {
  width: 12px;
  height: 12px;
}

/* No More Results CTA */
.no-results-cta {
  text-align: center;
  padding: 40px 20px;
  background: var(--bv-gray-50);
  border-radius: 16px;
  margin-top: 32px;
}

.no-results-cta h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 8px;
}

.no-results-cta p {
  font-size: 14px;
  color: var(--bv-gray-600);
  margin-bottom: 20px;
}

.ask-vavo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-white);
  background: linear-gradient(135deg, var(--bv-primary) 0%, #0066FF 100%);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ask-vavo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 81, 255, 0.3);
}

.ask-vavo-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   Footer - Bitvavo Exact Match
   ============================================ */

.site-footer {
  background: #0f151b;
  color: var(--bv-gray-300);
  padding: 48px 20px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo svg {
  height: 24px;
  width: auto;
  fill: white;
}

.footer-company-info {
  margin-bottom: 20px;
}

.footer-company-name {
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin-bottom: 4px;
}

.footer-email {
  display: block;
  font-size: 14px;
  color: var(--bv-gray-400);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.15s ease;
}

.footer-email:hover {
  color: white;
}

.footer-address {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bv-gray-400);
}

.footer-lang-selector {
  position: relative;
  margin-bottom: 20px;
}

.footer-lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.footer-lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.footer-lang-chevron {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.footer-lang-selector:hover .footer-lang-chevron {
  transform: rotate(180deg);
}

.footer-lang-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  min-width: 160px;
  padding: 6px;
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.footer-lang-selector:hover .footer-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-lang-option {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--bv-gray-300);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.footer-lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.footer-social {
  display: flex;
  gap: 4px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bv-gray-400);
  border-radius: 8px;
  transition: all 0.15s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--bv-gray-400);
  text-decoration: none;
  transition: all 0.15s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}

.footer-copyright {
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.footer-disclaimer {
  font-size: 13px;
  line-height: 1.7;
  color: var(--bv-gray-500);
}

.footer-disclaimer a {
  color: var(--bv-primary);
  text-decoration: none;
}

.footer-disclaimer a:hover {
  text-decoration: underline;
}

.footer-registration {
  font-size: 13px;
  color: var(--bv-gray-500);
}

/* ============================================
   Chat Widget - Compact
   ============================================ */

.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: var(--bv-z-fixed);
}

.chat-trigger {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bv-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 81, 255, 0.25);
  transition: all 0.2s ease;
}

.chat-trigger:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 81, 255, 0.3);
}

.chat-trigger svg {
  width: 22px;
  height: 22px;
  color: var(--bv-white);
}

.chat-tooltip {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  background: var(--bv-gray-900);
  color: var(--bv-white);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.chat-widget:hover .chat-tooltip {
  opacity: 1;
  visibility: visible;
}

.chat-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--bv-gray-900);
}

/* ============================================
   Zendesk-specific overrides
   ============================================ */

/* Override Zendesk search form styling */
.search-form {
  max-width: 540px;
  margin: 0 auto;
}

/* Override Zendesk vote buttons */
.article-vote {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--bv-gray-200);
}

.article-vote-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--bv-gray-700);
  margin-bottom: 16px;
  text-align: center;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Support Header Mobile - Concept 2 */
@media (max-width: 768px) {
  .support-left,
  .support-right {
    display: none;
  }

  .support-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .support-header-inner {
    padding: 8px 16px;
  }
}

/* Mobile fixes */
@media (max-width: 767px) {
  .header-actions .btn-signup {
    display: none;
  }

  .articles-section {
    min-width: 0;
  }

  .filters-section .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .filters-section .filter-chip {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .header-main {
    padding: 0 24px;
  }

  .support-header-inner {
    padding: 10px 24px;
  }

  .mobile-menu-btn {
    display: none;
  }

  .main-nav {
    display: flex;
  }

  .btn-login {
    display: block;
  }

  .btn-signup svg {
    display: block;
  }

  .hero {
    padding: 72px 24px 56px;
  }

  .hero-title {
    font-size: 36px;
  }

  .topics-section {
    padding: 56px 24px 80px;
  }

  .vavo-cta-section {
    padding: 80px 24px;
  }

  .vavo-cta-title {
    font-size: 34px;
  }

  .article-title {
    font-size: 34px;
  }

  .category-title {
    font-size: 34px;
  }

  .category-main {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }

  .sidebar {
    display: block;
  }

  .filters-section {
    display: none;
  }

  .search-title {
    font-size: 28px;
  }

  .main-content {
    padding: 48px 40px 100px;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }

  .footer-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .search-container {
    max-width: 580px;
  }

  .topics-inner {
    max-width: 800px;
  }

  .article-title {
    font-size: 38px;
  }

  .category-title {
    font-size: 36px;
  }

  .footer-nav {
    gap: 56px;
  }
}

/* ========================================
   Community Templates
   ======================================== */

.community-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.community-content {
  min-width: 0;
}

.community-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-dropdown select {
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card {
  display: block;
  padding: 20px;
  background: white;
  border: 1px solid var(--bv-gray-200);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.post-card:hover {
  border-color: var(--bv-primary);
  box-shadow: 0 4px 12px rgba(0, 81, 255, 0.08);
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin: 0 0 8px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.post-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  text-transform: uppercase;
}

.post-badge.pinned {
  background: var(--bv-primary-light);
  color: var(--bv-primary);
}

.post-badge.featured {
  background: #FEF3C7;
  color: #D97706;
}

.post-badge.official {
  background: #D1FAE5;
  color: #059669;
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--bv-gray-500);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.post-stats {
  display: flex;
  gap: 12px;
}

/* Topics Grid */
.topics-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.topic-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid var(--bv-gray-200);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.topic-card:hover {
  border-color: var(--bv-primary);
  box-shadow: 0 4px 12px rgba(0, 81, 255, 0.08);
}

.topic-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bv-primary-light);
  border-radius: 12px;
  color: var(--bv-primary);
}

.topic-card-icon svg {
  width: 24px;
  height: 24px;
}

.topic-card-content {
  flex: 1;
  min-width: 0;
}

.topic-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin: 0 0 4px 0;
}

.topic-card-desc {
  font-size: 14px;
  color: var(--bv-gray-600);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.topic-card-stats {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--bv-gray-500);
}

/* Comments Section */
.comments-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--bv-gray-200);
}

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

.comments-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin: 0;
}

.comments-sort select {
  padding: 6px 28px 6px 10px;
  font-size: 13px;
  border: 1px solid var(--bv-gray-200);
  border-radius: 6px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  appearance: none;
}

.comments-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-item {
  display: flex;
  gap: 12px;
}

.comment-official {
  background: #F0FDF4;
  padding: 16px;
  border-radius: 12px;
  margin-left: -16px;
  margin-right: -16px;
}

.comment-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bv-gray-700);
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--bv-gray-500);
}

.comment-vote {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vote-btn-sm {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bv-gray-200);
  border-radius: 4px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  color: var(--bv-gray-500);
}

.vote-btn-sm:hover,
.vote-btn-sm.voted {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

/* Add Comment Form */
.add-comment-section {
  margin-top: 32px;
  padding: 24px;
  background: var(--bv-gray-50);
  border-radius: 12px;
}

.add-comment-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin: 0 0 4px 0;
}

.add-comment-callout {
  font-size: 14px;
  color: var(--bv-gray-500);
  margin: 0 0 16px 0;
}

.comment-form-row {
  display: flex;
  gap: 12px;
}

.comment-form-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-form-input {
  flex: 1;
}

.comment-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.comment-form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--bv-gray-600);
}

/* Form Page (New Post) */
.form-page-header {
  text-align: center;
  padding: 48px 24px 32px;
  background: linear-gradient(180deg, var(--bv-primary-light) 0%, white 100%);
}

.form-page-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin: 0 0 8px 0;
}

.form-page-desc {
  font-size: 16px;
  color: var(--bv-gray-600);
  margin: 0;
}

.form-page-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.form-container {
  background: white;
  border: 1px solid var(--bv-gray-200);
  border-radius: 16px;
  padding: 32px;
}

.styled-form .form-field {
  margin-bottom: 24px;
}

.styled-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-700);
  margin-bottom: 8px;
}

.styled-form .form-input,
.styled-form .form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  transition: border-color 0.15s ease;
}

.styled-form .form-input:focus,
.styled-form .form-select:focus {
  outline: none;
  border-color: var(--bv-primary);
}

.form-error {
  margin-top: 8px;
  padding: 8px 12px;
  background: #FEF2F2;
  border-radius: 6px;
  font-size: 13px;
  color: #DC2626;
}

.form-actions {
  margin-top: 32px;
  text-align: right;
}

/* Post Vote Buttons */
.post-vote {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vote-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  color: var(--bv-gray-500);
  transition: all 0.15s ease;
}

.vote-btn:hover,
.vote-btn.voted {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
  background: var(--bv-primary-light);
}

.vote-btn svg {
  width: 18px;
  height: 18px;
}

.vote-count {
  font-size: 16px;
  font-weight: 600;
  color: var(--bv-gray-700);
  min-width: 32px;
  text-align: center;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--bv-gray-200);
  border-bottom: 1px solid var(--bv-gray-200);
  margin: 24px 0;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: var(--bv-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--bv-primary-hover, #0041CC);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-700);
  background: white;
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--bv-gray-400);
}

/* Mobile adjustments for community */
@media (max-width: 768px) {
  .community-main {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .community-main .sidebar {
    display: none;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .form-page-header {
    padding: 32px 16px 24px;
  }

  .form-page-title {
    font-size: 24px;
  }

  .form-container {
    padding: 20px;
  }
}

/* ============================================
   Zendesk Helper Output Styling
   ============================================ */

/* Support Header Search - Zendesk instant search */
.support-search-wrapper form.search {
  display: flex;
  align-items: center;
  width: 100%;
}

.support-search-wrapper form.search input[type="search"] {
  width: 100%;
  padding: 10px 16px 10px 40px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--bv-gray-200);
  border-radius: 10px;
  background: white;
  color: var(--bv-gray-900);
  transition: all 0.2s ease;
}

.support-search-wrapper form.search input[type="search"]:focus {
  outline: none;
  border-color: var(--bv-primary);
  box-shadow: 0 0 0 3px rgba(0, 81, 255, 0.1);
}

.support-search-wrapper form.search input[type="search"]::placeholder {
  color: var(--bv-gray-400);
}

.support-search-wrapper form.search input[type="submit"] {
  display: none;
}

/* Search Results Page - Zendesk instant search */
.search-input-container form.search {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.search-input-container form.search input[type="search"] {
  width: 100%;
  padding: 12px 16px 12px 44px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--bv-gray-200);
  border-radius: 10px;
  background: white;
  color: var(--bv-gray-900);
  transition: all 0.2s ease;
}

.search-input-container form.search input[type="search"]:focus {
  outline: none;
  border-color: var(--bv-primary);
  box-shadow: 0 0 0 3px rgba(0, 81, 255, 0.1);
}

.search-input-container form.search input[type="search"]::placeholder {
  color: var(--bv-gray-400);
}

.search-input-container form.search input[type="submit"] {
  display: none;
}

/* Position search icon over Zendesk search input */
.search-input-container .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

/* ============================================
   Zendesk Breadcrumbs Styling
   ============================================ */

.breadcrumbs,
nav.breadcrumbs,
.breadcrumb ol,
ol.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.breadcrumbs li,
ol.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li::after,
ol.breadcrumbs li::after {
  content: '/';
  color: var(--bv-gray-300);
}

.breadcrumbs li:last-child::after,
ol.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs a,
ol.breadcrumbs a {
  color: var(--bv-gray-500);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumbs a:hover,
ol.breadcrumbs a:hover {
  color: var(--bv-primary);
}

.breadcrumbs li:last-child,
ol.breadcrumbs li:last-child {
  color: var(--bv-gray-700);
  font-weight: 500;
}

.breadcrumbs li:last-child a,
ol.breadcrumbs li:last-child a {
  color: var(--bv-gray-700);
  font-weight: 500;
}

/* Breadcrumb container styling */
.breadcrumb,
nav.breadcrumb {
  padding: 20px 20px 0;
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================
   Zendesk Pagination Styling
   ============================================ */

.pagination,
nav.pagination,
ul.pagination,
ul.pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.pagination li,
ul.pagination li,
ul.pagination-list li {
  list-style: none;
}

.pagination a,
.pagination li > span,
ul.pagination a,
ul.pagination li > span,
ul.pagination-list a,
ul.pagination-list li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-600);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  gap: 4px;
}

.pagination a span,
ul.pagination a span,
ul.pagination-list a span {
  display: inline;
  min-width: auto;
  height: auto;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.pagination a:hover,
ul.pagination a:hover,
ul.pagination-list a:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

.pagination .current,
.pagination .current-page,
.pagination a.current,
ul.pagination .current,
ul.pagination a.current,
ul.pagination-list .current,
ul.pagination-list a.current {
  background: var(--bv-primary);
  border-color: var(--bv-primary);
  color: var(--bv-white);
}

.pagination .disabled,
.pagination a.disabled,
ul.pagination .disabled,
ul.pagination-list .disabled {
  opacity: 0.5;
  pointer-events: none;
}

.pagination-prev,
.pagination-next {
  font-weight: 500;
}

/* ============================================
   Zendesk Article Vote Buttons
   ============================================ */

.article-vote,
.article-votes {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bv-gray-200);
  text-align: center;
}

.article-vote-question,
.article-vote-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--bv-gray-700);
  margin-bottom: 16px;
}

.article-vote-controls,
.article-vote-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.article-vote button,
.article-vote a,
.article-vote .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-700);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.article-vote button:hover,
.article-vote a:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

.article-vote button svg,
.article-vote a svg {
  width: 18px;
  height: 18px;
}

.article-vote-up.article-vote-up--voted,
.article-vote-down.article-vote-down--voted {
  background: var(--bv-primary-light);
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

/* Feedback buttons styling */
.feedback-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.feedback-btn,
.feedback-btn--up,
.feedback-btn--down {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-700);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.feedback-btn:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

.feedback-message,
.feedback-label {
  margin-top: 16px;
  font-size: 14px;
  color: var(--bv-gray-500);
}

/* ============================================
   Footer Language Selector Dropdown
   ============================================ */

.footer-lang-selector {
  position: relative;
}

.footer-lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 13px;
  color: var(--bv-gray-300);
  cursor: pointer;
  transition: all 0.15s ease;
}

.footer-lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-lang-btn svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.footer-lang-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.footer-lang-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 150px;
  background: #1a2129;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}

.footer-lang-selector:hover .footer-lang-dropdown,
.footer-lang-selector.open .footer-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-lang-selector:hover .footer-lang-chevron {
  transform: rotate(180deg);
}

.footer-lang-option {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--bv-gray-300);
  text-decoration: none;
  transition: background 0.15s ease;
}

.footer-lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.footer-lang-option.active {
  background: rgba(0, 81, 255, 0.2);
  color: var(--bv-primary);
}

/* ============================================
   Zendesk Form Styling
   ============================================ */

/* New request form */
.new-request-form,
.request-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.new-request-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--bv-gray-900);
  text-align: center;
  margin-bottom: 32px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-700);
  margin-bottom: 8px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--bv-gray-200);
  border-radius: 8px;
  background: white;
  color: var(--bv-gray-900);
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--bv-primary);
  box-shadow: 0 0 0 3px rgba(0, 81, 255, 0.1);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

/* Request status badge colors */
.request-status {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 12px;
  text-transform: capitalize;
}

.request-status-open,
.request-status-new {
  background: #dbeafe;
  color: #1d4ed8;
}

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

.request-status-solved,
.request-status-closed {
  background: #d1fae5;
  color: #059669;
}

/* ============================================
   Result breadcrumbs (search results)
   ============================================ */

.result-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 6px 0 8px;
  font-size: 12px;
}

.result-breadcrumbs li {
  display: flex;
  align-items: center;
}

.result-breadcrumbs li::after {
  content: '›';
  margin: 0 4px;
  color: var(--bv-gray-300);
}

.result-breadcrumbs li:last-child::after {
  display: none;
}

.result-breadcrumbs a {
  color: var(--bv-gray-500);
  text-decoration: none;
}

.result-breadcrumbs a:hover {
  color: var(--bv-primary);
}

/* ============================================
   Mobile Menu Styles
   ============================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: white;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bv-gray-100);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--bv-gray-600);
}

.mobile-menu-close:hover {
  background: var(--bv-gray-50);
}

.mobile-menu-nav {
  padding: 16px 20px;
}

.mobile-nav-item {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--bv-gray-700);
  text-decoration: none;
  border-bottom: 1px solid var(--bv-gray-100);
}

.mobile-nav-item:hover {
  color: var(--bv-primary);
}

.mobile-nav-item.active {
  color: var(--bv-primary);
}

/* ============================================
   Article content special elements
   ============================================ */

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article-content th,
.article-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--bv-gray-200);
}

.article-content th {
  font-weight: 600;
  color: var(--bv-gray-900);
  background: var(--bv-gray-50);
}

.article-content code {
  padding: 2px 6px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9em;
  background: var(--bv-gray-100);
  border-radius: 4px;
}

.article-content pre {
  padding: 16px;
  background: var(--bv-gray-900);
  color: var(--bv-gray-100);
  border-radius: 8px;
  overflow-x: auto;
  margin: 16px 0;
}

.article-content pre code {
  padding: 0;
  background: none;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--bv-gray-50);
  border-left: 3px solid var(--bv-primary);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--bv-gray-600);
}

/* ============================================
   User profile styles
   ============================================ */

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bv-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--bv-gray-900);
  margin-bottom: 4px;
}

.profile-meta {
  font-size: 14px;
  color: var(--bv-gray-500);
}

/* Activity tabs */
.activity-tabs,
.request-tabs {
  display: flex;
  gap: 4px;
  padding: 0 20px;
  max-width: 900px;
  margin: 0 auto 24px;
  border-bottom: 1px solid var(--bv-gray-200);
}

.tab-item {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-500);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s ease;
}

.tab-item:hover {
  color: var(--bv-gray-700);
}

.tab-item--active,
.tab-item.active {
  color: var(--bv-primary);
  border-bottom-color: var(--bv-primary);
}

/* Request/activity tables */
.requests-table,
.activity-table {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.table-header {
  display: none;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--bv-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--bv-gray-200);
}

.table-row {
  display: block;
  padding: 16px;
  margin-bottom: 12px;
  background: white;
  border: 1px solid var(--bv-gray-200);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.table-row:hover {
  border-color: var(--bv-primary);
  box-shadow: 0 4px 12px rgba(0, 81, 255, 0.08);
}

.table-col {
  margin-bottom: 8px;
}

.table-col::before {
  content: attr(data-label);
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--bv-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.table-col--subject {
  font-weight: 500;
  color: var(--bv-gray-900);
}

@media (min-width: 768px) {
  .table-header {
    display: grid;
    grid-template-columns: 80px 1fr 150px 150px 100px;
    gap: 16px;
  }

  .table-row {
    display: grid;
    grid-template-columns: 80px 1fr 150px 150px 100px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    margin-bottom: 8px;
  }

  .table-col::before {
    display: none;
  }

  .table-col {
    margin-bottom: 0;
  }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 64px 20px;
}

.empty-text {
  font-size: 16px;
  color: var(--bv-gray-500);
  margin-bottom: 20px;
}

/* ============================================
   SEARCH RESULTS PAGE - Design D Refined
   ============================================ */

/* Search Hero Header */
.search-hero {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--bv-gray-100);
  padding: 40px 20px 32px;
}

.search-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.search-hero-header {
  text-align: center;
  margin-bottom: 24px;
}

.search-hero-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--bv-gray-900);
  margin-bottom: 12px;
}

.search-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-query-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-primary);
  background: rgba(0, 81, 255, 0.08);
  border-radius: 20px;
}

.search-query-badge svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.search-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bv-gray-600);
  background: var(--bv-gray-100);
  border-radius: 20px;
}

/* Search Hero Search Box */
.search-hero-search {
  max-width: 600px;
  margin: 0 auto;
}

.search-hero-search .search-box {
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-hero-search .search-box:focus-within {
  border-color: var(--bv-primary);
  box-shadow: 0 0 0 3px rgba(0, 81, 255, 0.1);
}

/* Search Main Content */
.search-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* Filter Section */
.search-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--bv-gray-500);
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bv-gray-600);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

.filter-chip.active {
  background: var(--bv-primary);
  border-color: var(--bv-primary);
  color: var(--bv-white);
}

.filter-chip.active .filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bv-white);
}

.filter-count {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  background: var(--bv-gray-100);
  border-radius: 10px;
  color: var(--bv-gray-500);
}

/* Search Results Grid */
.search-results-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* Result Card Animation */
@keyframes resultFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Result Card */
.result-card {
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-100);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
  animation: resultFadeIn 0.4s ease-out forwards;
  opacity: 0;
}

.result-card:hover {
  border-color: var(--bv-gray-200);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Staggered animation delays via nth-child */
.result-card:nth-child(1) { animation-delay: 0ms; }
.result-card:nth-child(2) { animation-delay: 50ms; }
.result-card:nth-child(3) { animation-delay: 100ms; }
.result-card:nth-child(4) { animation-delay: 150ms; }
.result-card:nth-child(5) { animation-delay: 200ms; }
.result-card:nth-child(6) { animation-delay: 250ms; }
.result-card:nth-child(7) { animation-delay: 300ms; }
.result-card:nth-child(8) { animation-delay: 350ms; }
.result-card:nth-child(9) { animation-delay: 400ms; }
.result-card:nth-child(10) { animation-delay: 450ms; }
.result-card:nth-child(n+11) { animation-delay: 500ms; }

.result-card-link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  text-decoration: none;
}

/* Result Icon */
.result-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
  border-radius: 10px;
  color: var(--bv-primary);
}

.result-card-icon svg {
  width: 20px;
  height: 20px;
}

/* Result Content */
.result-card-content {
  flex: 1;
  min-width: 0;
}

.result-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: var(--bv-gray-400);
  margin-bottom: 6px;
}

.result-path-item {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-path-sep {
  color: var(--bv-gray-300);
}

.result-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--bv-gray-900);
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.result-card:hover .result-card-title {
  color: var(--bv-primary);
}

.result-card-excerpt {
  font-size: 14px;
  color: var(--bv-gray-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-card-excerpt mark {
  background: rgba(0, 81, 255, 0.12);
  color: var(--bv-primary);
  padding: 1px 3px;
  border-radius: 3px;
}

/* Result Arrow */
.result-card-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bv-gray-300);
  transition: all 0.2s ease;
}

.result-card-arrow svg {
  width: 18px;
  height: 18px;
}

.result-card:hover .result-card-arrow {
  color: var(--bv-primary);
  transform: translateX(4px);
}

/* Search Pagination */
.search-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.search-pagination nav,
.search-pagination .pagination,
.search-pagination ul,
.search-pagination .pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-pagination li {
  list-style: none;
}

.search-pagination a,
.search-pagination li > span:not(.gap) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bv-gray-600);
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
  gap: 6px;
}

.search-pagination a span {
  display: inline;
  min-width: auto;
  height: auto;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.search-pagination a:hover {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

.search-pagination .current,
.search-pagination [aria-current="page"],
.search-pagination .pagination-current {
  background: var(--bv-primary);
  border-color: var(--bv-primary);
  color: var(--bv-white);
}

.search-pagination [rel="next"],
.search-pagination [rel="prev"],
.search-pagination .pagination-next a,
.search-pagination .pagination-prev a {
  font-weight: 600;
}

/* Hide gap dots or ellipsis styling */
.search-pagination .gap {
  padding: 0 8px;
  color: var(--bv-gray-400);
}

/* Zendesk pagination link classes */
.search-pagination .pagination-first-link,
.search-pagination .pagination-prev-link,
.search-pagination .pagination-next-link,
.search-pagination .pagination-last-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.search-pagination [class*="pagination-"][class*="-icon"],
.search-pagination [class*="pagination-"][class*="-text"] {
  display: inline;
  min-width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  border-radius: 0;
  font: inherit;
  color: inherit;
}

/* No Results State */
.no-results-state {
  text-align: center;
  padding: 64px 20px;
}

.no-results-illustration {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  color: var(--bv-gray-300);
}

.no-results-illustration svg {
  width: 100%;
  height: 100%;
}

.no-results-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin-bottom: 12px;
}

.no-results-text {
  font-size: 15px;
  color: var(--bv-gray-500);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto 24px;
}

.no-results-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-primary);
  background: rgba(0, 81, 255, 0.08);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.no-results-browse-btn:hover {
  background: rgba(0, 81, 255, 0.15);
}

.no-results-browse-btn svg {
  width: 18px;
  height: 18px;
}

/* Vavo AI CTA Section for Search */
.search-vavo-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
  border: 1px solid rgba(0, 81, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.search-vavo-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.search-vavo-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bv-primary) 0%, #0066FF 100%);
  border-radius: 12px;
  color: var(--bv-white);
}

.search-vavo-icon svg {
  width: 24px;
  height: 24px;
}

.search-vavo-content {
  flex: 1 1 auto;
  min-width: 0;
}

.search-vavo-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--bv-gray-900);
  margin: 0 0 4px 0;
}

.search-vavo-desc {
  font-size: 14px;
  color: var(--bv-gray-500);
  margin: 0;
}

.search-vavo-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-white);
  background: linear-gradient(135deg, var(--bv-primary) 0%, #0066FF 100%);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.search-vavo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 81, 255, 0.3);
}

.search-vavo-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile Responsive - Search Results */
@media (max-width: 640px) {
  .search-hero {
    padding: 32px 16px 24px;
  }

  .search-hero-title {
    font-size: 24px;
  }

  .search-meta {
    flex-direction: column;
    gap: 8px;
  }

  .search-main {
    padding: 24px 16px 48px;
  }

  .search-filters {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-chips {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-chip {
    white-space: nowrap;
  }

  .result-card-link {
    padding: 16px;
    gap: 12px;
  }

  .result-card-icon {
    width: 36px;
    height: 36px;
  }

  .result-card-icon svg {
    width: 18px;
    height: 18px;
  }

  .result-card-title {
    font-size: 15px;
  }

  .result-card-arrow {
    display: none;
  }

  .search-vavo-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .search-vavo-content {
    min-width: auto;
  }

  .search-vavo-btn {
    width: 100%;
    justify-content: center;
  }
}

/* <!--pop up login button--> */
/* Login Prompt Popup - Slanker Ontwerp */
#login-popup-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 270px; /* Versmald voor een compactere look */
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  z-index: 2147483647 !important; /* Blijft voor de chat widget */
  padding: 16px; /* Minder padding voor een strakkere indeling */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  border: 1px solid #e1e4e8;
  display: none;
  box-sizing: border-box; /* Zorgt dat breedte inclusief padding is */
}

/* De Titel 'Inloggen' */
.login-popup-content h4 {
  margin: 0 0 8px 0; /* Minder marge */
  font-size: 16px; /* Iets kleiner */
  font-weight: 700;
  color: #001C3D;
  line-height: 1.2;
}

/* De Uitlegtekst */
.login-popup-content p {
  font-size: 13px; /* Kleiner voor betere leesbaarheid op compacte schaal */
  color: #4c5865;
  line-height: 1.5;
  margin-bottom: 16px; /* Minder marge */
}

/* De Inlogknop */
.login-popup-btn {
  display: block;
  background-color: #0033ff !important;
  color: #ffffff !important;
  text-decoration: none;
  padding: 10px 16px; /* Slankere padding voor de knop */
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px; /* Iets kleinere lettergrootte */
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.2s;
}

/* Het Sluitkruisje */
.login-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  cursor: pointer;
  font-size: 18px; /* Iets kleiner en subtieler */
  color: #adb5bd;
  line-height: 1;
}

.login-popup-close:hover {
  color: #6c757d;
}