/* VAPI-Style API Documentation */

/* CSS Variables */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-sidebar: #f9fafb;
  --bg-code: #1e1e1e;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  
  /* Method Colors */
  --method-get: #10b981;
  --method-post: #3b82f6;
  --method-put: #f59e0b;
  --method-delete: #ef4444;
  
  /* Accents */
  --accent-green: #10b981;
  --accent-blue: #3b82f6;
  --link-color: #3b82f6;
  --link-hover: #2563eb;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-sidebar: #1f2937;
  --bg-code: #0d1117;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --border-color: #374151;
  --border-light: #4b5563;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-left {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.header-center {
  flex: 1;
  max-width: 400px;
}

/* Mobile Search Container (below header) */
.mobile-search-container {
  display: none;
  /* position: sticky; */
  top: 48px; /* Below header on mobile */
  z-index: 999;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.mobile-search-container .search-container {
  max-width: 100%;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--link-color);
  background-color: var(--bg-primary);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid var(--border-light);
}

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

.search-result-item:hover {
  background-color: var(--bg-secondary);
}

.search-result-item.no-results {
  color: var(--text-muted);
  cursor: default;
}

.search-result-item.no-results:hover {
  background-color: transparent;
}

.search-method-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 20px;
  padding: 0 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  flex-shrink: 0;
}

.search-method-badge.get {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--method-get);
}

.search-method-badge.post {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--method-post);
}

.search-method-badge.put {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--method-put);
}

.search-method-badge.delete {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--method-delete);
}

.search-result-text {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.search-result-text mark {
  background-color: rgba(59, 130, 246, 0.2);
  color: var(--link-color);
  font-weight: 500;
  padding: 0;
}

.search-dropdown::-webkit-scrollbar {
  width: 8px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-btn:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.header-btn.primary {
  background-color: var(--accent-green);
  color: white;
}

.header-btn.primary:hover {
  background-color: #059669;
}

.theme-toggle {
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* App Container */
.app-container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 60px);
}

/* Sidebar */
.sidebar {
  width: 20%;
  flex-shrink: 0;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  padding: 1.5rem 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sidebar-nav {
  padding: 0;
}

.nav-category {
  margin-bottom: 1.5rem;
}

.nav-category-header {
  padding: 0.5rem 1.5rem;
}

.nav-category-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.nav-category-items {
  margin-top: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.nav-item.active {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border-left-color: var(--accent-green);
  font-weight: 500;
}

.method-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 20px;
  padding: 0 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.method-badge.get {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--method-get);
}

.method-badge.post {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--method-post);
}

.method-badge.put {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--method-put);
}

.method-badge.delete {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--method-delete);
}

.nav-item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main Content */
.main-content {
  width: 40%;
  flex-shrink: 0;
  padding: 2rem 3rem;
}

.content-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.copy-page-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-page-btn:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.endpoint-content {
  position: relative;
}

.endpoint-section {
  display: none;
}

.endpoint-section.active {
  display: block;
}

.endpoint-title-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.endpoint-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.endpoint-method-url {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.method-badge-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 28px;
  padding: 0 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.method-badge-large.get {
  background-color: var(--method-get);
  color: white;
}

.method-badge-large.post {
  background-color: var(--method-post);
  color: white;
}

.method-badge-large.put {
  background-color: var(--method-put);
  color: white;
}

.method-badge-large.delete {
  background-color: var(--method-delete);
  color: white;
}

.endpoint-url {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.content-section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-text {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.section-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.link {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.field-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.field-list li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.field-list code {
  background-color: var(--bg-secondary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
}

.params-table {
  margin-top: 1rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

table thead {
  background-color: var(--bg-secondary);
}

table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
}

table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

table tbody tr:hover {
  background-color: var(--bg-secondary);
}

table code {
  background-color: var(--bg-secondary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
}

.request-body-info {
  margin-top: 1rem;
}

/* Code Panel */
.code-panel {
  width: 40%;
  flex-shrink: 0;
  padding: 8rem 1.5rem;
  /* background-color: var(--bg-secondary); */
  /* border-left: 1px solid var(--border-color); */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Inline Code Blocks (for mobile) */
.inline-code-blocks {
  display: none;
  margin-bottom: 2rem;
}

.code-example-block {
  background-color: var(--bg-code);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #333;
}

.code-example-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0.875rem;
  background-color: #252526;
  border-bottom: 1px solid #333;
}

.code-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4ec9b0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.code-badge.success {
  color: #4ec9b0;
}

.code-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-selector {
  padding: 0.25rem 0.5rem;
  border: 1px solid #3c3c3c;
  border-radius: 4px;
  background-color: #1e1e1e;
  color: #cccccc;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-selector:hover {
  border-color: #4a4a4a;
  background-color: #2a2a2a;
}

.copy-code-btn {
  background: transparent;
  border: none;
  color: #cccccc;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.copy-code-btn:hover {
  background: #3c3c3c;
  color: #ffffff;
}

.code-example-content {
  padding: 0.875rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #d4d4d4;
  background-color: #1e1e1e;
  overflow: visible;
}

.code-example-content pre {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  overflow: visible;
}

.code-example-content code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #d4d4d4;
  white-space: pre-wrap;
  word-break: break-word;
  display: block;
}

/* VS Code Syntax Highlighting */
.code-example-content .syntax-key {
  color: #9cdcfe;
}

.code-example-content .syntax-string {
  color: #ce9178;
}

.code-example-content .syntax-number {
  color: #b5cea8;
}

.code-example-content .syntax-boolean {
  color: #569cd6;
}

.code-example-content .syntax-null {
  color: #569cd6;
}

.code-example-content .syntax-punctuation {
  color: #d4d4d4;
}

.code-example-content .syntax-keyword {
  color: #569cd6;
}

.code-example-content .syntax-url {
  color: #4ec9b0;
}

.code-example-content .syntax-header {
  color: #d7ba7d;
}

.code-example-footer {
  padding: 0.625rem 0.875rem;
  background-color: #252526;
  border-top: 1px solid #333;
  display: flex;
  justify-content: flex-end;
}

.try-it-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  background-color: var(--accent-green);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.try-it-btn:hover {
  background-color: #059669;
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar,
.code-panel::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: var(--bg-sidebar);
}

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

.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.code-panel::-webkit-scrollbar-track {
  background: var(--bg-code);
}

.code-panel::-webkit-scrollbar-thumb {
  background: #424242;
  border-radius: 4px;
}

.code-panel::-webkit-scrollbar-thumb:hover {
  background: #4e4e4e;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  margin-right: 0.75rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn:hover {
  background-color: var(--bg-secondary);
}

.mobile-menu-btn svg {
  display: block;
}

/* Responsive Design */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .code-panel {
    display: none;
  }
  
  .inline-code-blocks {
    display: block;
  }
  
  .main-content {
    width: 80%;
  }

  .header-container {
    padding: 0 1.5rem;
  }

  .header-center {
    max-width: 300px;
  }

  .main-content {
    padding: 2rem 2rem;
  }

  .sidebar {
    width: 20%;
  }

  .endpoint-title {
    font-size: 1.75rem;
  }

  .endpoint-method-url {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

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

  table {
    min-width: 600px;
  }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
  /* Header */
  .main-header {
    padding: 0.5rem 0;
  }

  .header-container {
    padding: 0 1rem;
    gap: 1rem;
  }

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

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

  .logo-img {
    height: 28px;
  }

  .header-center {
    display: none; /* Hide search in header on mobile */
  }
  
  /* Show mobile search container below header */
  .mobile-search-container {
    display: block;
  }

  .search-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .header-right {
    gap: 0.5rem;
  }

  .theme-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  /* App Container */
  .app-container {
    flex-direction: column;
  }

  /* Mobile Overlay */
  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Sidebar */
  .sidebar {
    width: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .sidebar.open {
    left: 0;
  }

  .nav-item {
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    touch-action: manipulation;
  }

  .method-badge {
    min-width: 44px;
    height: 22px;
    font-size: 0.7rem;
  }

  /* Main Content */
  .main-content {
    padding: 1.5rem 1rem;
    width: 100%;
  }

  .content-header {
    margin-bottom: 1.5rem;
  }

  .copy-page-btn {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    min-height: 44px;
    touch-action: manipulation;
  }

  .endpoint-title-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .endpoint-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .endpoint-method-url {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .method-badge-large {
    min-width: 50px;
    height: 26px;
    font-size: 0.8125rem;
  }

  .endpoint-url {
    font-size: 0.8125rem;
    padding: 0.5rem;
    word-break: break-all;
    width: 100%;
    display: block;
  }

  .content-section {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }

  .section-text {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  /* Tables */
  .params-table {
    margin: 1rem -1rem;
    padding: 0 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    font-size: 0.8125rem;
    min-width: 500px;
    width: 100%;
  }

  table th,
  table td {
    padding: 0.625rem 0.75rem;
  }

  table th {
    font-size: 0.75rem;
  }

  table code {
    font-size: 0.75rem;
    padding: 0.15rem 0.3rem;
  }

  /* Search Dropdown */
  .search-dropdown {
    max-height: 300px;
    top: calc(100% + 0.25rem);
  }

  .search-result-item {
    padding: 0.875rem 1rem;
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Code Panel - Hidden on mobile */
  .code-panel {
    display: none;
  }
  
  /* Inline Code Blocks - Show on mobile */
  .inline-code-blocks {
    display: block;
    margin-bottom: 1.5rem;
  }
  
  .inline-code-blocks .code-example-block {
    margin-bottom: 1rem;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .header-container {
    padding: 0 0.75rem;
  }

  .logo-img {
    height: 24px;
  }

  .main-content {
    padding: 1.25rem 0.75rem;
  }

  .endpoint-title {
    font-size: 1.375rem;
  }

  .section-title {
    font-size: 1rem;
  }

  .section-text {
    font-size: 0.875rem;
  }

  .nav-item {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    min-height: 44px;
  }

  .method-badge {
    min-width: 40px;
    height: 20px;
    font-size: 0.65rem;
    padding: 0 0.4rem;
  }

  table {
    font-size: 0.75rem;
    min-width: 450px;
  }

  table th,
  table td {
    padding: 0.5rem 0.625rem;
  }

  .endpoint-url {
    font-size: 0.75rem;
  }

  .copy-page-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-height: 44px;
  }

  .search-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .sidebar {
    height: calc(100vh - 56px);
  }

  .search-dropdown {
    max-height: 250px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-item:hover {
    background-color: transparent;
  }

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

  .header-btn:active,
  .theme-toggle:active,
  .copy-code-btn:active,
  .copy-page-btn:active {
    background-color: var(--bg-secondary);
    transform: scale(0.98);
  }

  .search-result-item:active {
    background-color: var(--bg-secondary);
  }
}
