/* ==========================================================================
   SMSKash Developer Documentation — Clean Unified API Reference
   ========================================================================== */

.ws-docs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Unified Top Header Bar */
.ws-docs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 16px 20px;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: 16px;
}

.ws-docs-intro h2 {
  margin: 0 0 3px;
  font-size: 17px;
  font-weight: 750;
  color: var(--ws-text);
  letter-spacing: -0.01em;
}

.ws-docs-intro p {
  margin: 0;
  font-size: 13px;
  color: var(--ws-muted);
  line-height: 1.5;
}

.ws-docs-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ws-docs-ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 121, 0, 0.38);
  background: rgba(255, 121, 0, 0.1);
  color: #ff9c47;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

html[data-bs-theme="light"] .ws-docs-ai-btn {
  background: #fff7ed;
  border-color: #fdba74;
  color: #b94d00;
}

.ws-docs-ai-btn:hover {
  background: var(--ws-accent);
  border-color: var(--ws-accent);
  color: #ffffff;
}

.ws-docs-ai-btn.copied {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  color: #10b981 !important;
}

html[data-bs-theme="light"] .ws-docs-ai-btn.copied {
  color: #047857 !important;
}

.ws-docs-ai-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ws-docs-tabs {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  padding: 4px !important;
  border-radius: 11px;
  background: var(--ws-raised);
  border: 1px solid var(--ws-border);
  margin: 0 !important;
  list-style: none !important;
}

.ws-docs-tabs .nav-item {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
}

.ws-docs-tabs .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px;
  padding: 5px 14px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  border: 0 !important;
  background: transparent;
  color: var(--ws-muted);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25 !important;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.ws-docs-tabs .nav-link:hover {
  color: var(--ws-text);
}

.ws-docs-tabs .nav-link.active {
  background: var(--ws-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(255, 121, 0, 0.28);
}

/* API Docs Grid: Sticky Side Navigation Left + Main Sections Right */
.ws-docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-width: 0;
}

.ws-docs-sections {
  display: flex;
  flex-direction: column;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}

.ws-docs-intro p a {
  color: var(--ws-accent);
  font-weight: 650;
  text-decoration: none;
}

.ws-docs-intro p a:hover {
  text-decoration: underline;
}

.ws-docs-sidebar {
  padding: 14px 12px;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: 16px;
}

@media (min-width: 1180px) and (min-height: 600px) {
  .ws-docs-sidebar {
    position: sticky;
    top: 100px;
  }
}

.ws-docs-sidebar-title {
  margin: 0 0 6px;
  padding: 0 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ws-muted);
}

.ws-docs-sidebar-title.is-spaced {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ws-line);
}

.ws-docs-jump-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.workspace .ws-docs-jump-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 9px;
  background: transparent;
  border: 0;
  color: var(--ws-muted) !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.workspace .ws-docs-jump-link:hover {
  background: var(--ws-raised);
  color: var(--ws-text) !important;
}

.workspace .ws-docs-jump-link.is-active {
  background: var(--ws-accent);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 121, 0, 0.24);
}

.ws-docs-jump-link .ws-http-method {
  min-width: 44px;
  font-size: 10px;
  padding: 2px 6px;
}

.workspace .ws-docs-jump-link.is-active .ws-http-method {
  background: rgba(0, 0, 0, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}

html[data-bs-theme="light"] .workspace .ws-docs-jump-link {
  color: #475569 !important;
}

html[data-bs-theme="light"] .workspace .ws-docs-jump-link:hover {
  color: var(--ws-text) !important;
}

html[data-bs-theme="light"] .workspace .ws-docs-jump-link.is-active {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .workspace .ws-docs-jump-link.is-active .ws-http-method {
  background: rgba(0, 0, 0, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}

/* 2-Column Split Rows */
.ws-doc-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--ws-line);
  scroll-margin-top: 84px;
  min-width: 0;
}

.ws-doc-split:last-child {
  border-bottom: 0;
}

.ws-doc-prose {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

/* Clean Inline Code in Prose (Overrides .workspace code orange color) */
.workspace .ws-doc-prose code,
.workspace .ws-doc-table code,
.workspace .ws-doc-callout code,
html[data-bs-theme="light"] .workspace .ws-doc-prose code,
html[data-bs-theme="light"] .workspace .ws-doc-table code,
html[data-bs-theme="light"] .workspace .ws-doc-callout code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--ws-raised) !important;
  border: 1px solid var(--ws-border);
  color: var(--ws-text) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
}

.ws-doc-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-doc-title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 750;
  color: var(--ws-text);
  letter-spacing: -0.015em;
}

.ws-doc-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ws-muted);
}

.ws-doc-section-label {
  margin: 2px 0 6px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ws-muted);
}

/* HTTP Method Badges & Endpoint URL Bar */
.ws-endpoint-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ws-raised);
  border: 1px solid var(--ws-border);
  min-width: 0;
}

.ws-endpoint-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.ws-http-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ws-http-method.is-post {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.ws-http-method.is-get {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.ws-http-method.is-webhook {
  background: rgba(255, 121, 0, 0.14);
  border: 1px solid rgba(255, 121, 0, 0.35);
  color: #ff9c47;
}

.ws-http-method.is-html {
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

html[data-bs-theme="light"] .ws-http-method.is-post {
  color: #047857;
}

html[data-bs-theme="light"] .ws-http-method.is-get {
  color: #0369a1;
}

html[data-bs-theme="light"] .ws-http-method.is-webhook {
  color: #b94d00;
}

html[data-bs-theme="light"] .ws-http-method.is-html {
  color: #7e22ce;
}

.ws-endpoint-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ws-text);
  overflow-x: auto;
  white-space: nowrap;
  min-width: 0;
}

/* Hairline Schema / Parameters Table */
.ws-doc-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ws-border);
  border-radius: 10px;
  background: var(--ws-raised);
}

.ws-doc-table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.ws-doc-table th {
  padding: 8px 12px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ws-muted);
  border-bottom: 1px solid var(--ws-border);
}

.ws-doc-table td {
  padding: 8px 12px;
  color: var(--ws-text);
  border-bottom: 1px solid var(--ws-line);
  vertical-align: middle;
}

.ws-doc-table tbody tr:last-child td {
  border-bottom: 0;
}

.ws-doc-table td:first-child code {
  white-space: nowrap;
}

.ws-doc-type {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--ws-muted);
}

/* Right Column: Always-Dark High-Contrast Code Terminals (Light & Dark Mode) */
.ws-doc-terminal-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.ws-doc-code {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #262f3f;
  background: #0d1117 !important;
  min-width: 0;
}

.ws-doc-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: #161b22 !important;
  border-bottom: 1px solid #262f3f;
  min-width: 0;
}

.ws-doc-code-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.ws-doc-code-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ws-doc-code-label.is-success {
  color: #34d399;
}

.ws-doc-code-tabs {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 3px;
  padding: 3px !important;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 !important;
  list-style: none !important;
  max-width: 100%;
}

.ws-doc-code-tabs .nav-item {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-shrink: 0;
}

.ws-doc-code-tabs .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  border: 0 !important;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .ws-doc-code-head {
    padding: 8px 10px;
    gap: 8px;
  }
  .ws-doc-code-label {
    font-size: 10px;
    line-height: 1.25;
  }
  .ws-doc-code-tabs {
    padding: 2px !important;
    gap: 2px;
  }
  .ws-doc-code-tabs .nav-link {
    padding: 4px 8px !important;
    font-size: 10.5px;
  }
}
  font-weight: 700;
  line-height: 1.25 !important;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.ws-doc-code-tabs .nav-link:hover {
  color: #f8fafc;
}

.ws-doc-code-tabs .nav-link.active {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

.ws-doc-code-tabs .nav-link.is-ok.active {
  background: rgba(16, 185, 129, 0.22) !important;
  color: #34d399 !important;
}

.ws-doc-code-tabs .nav-link.is-err.active {
  background: rgba(239, 68, 68, 0.22) !important;
  color: #f87171 !important;
}

.ws-doc-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 2px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.ws-doc-copy-btn:hover {
  border-color: var(--ws-accent);
  color: #ffffff;
}

.ws-doc-copy-btn.copied {
  background: rgba(16, 185, 129, 0.22) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  color: #34d399 !important;
}

.ws-endpoint-bar .ws-doc-copy-btn {
  border-color: var(--ws-border);
  background: var(--ws-surface);
  color: var(--ws-text);
}

.ws-endpoint-bar .ws-doc-copy-btn:hover {
  border-color: var(--ws-accent);
  color: var(--ws-accent);
}

.ws-doc-code-body {
  position: relative;
  min-width: 0;
}

.ws-doc-code-body .ws-doc-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(13, 17, 23, 0.84);
  backdrop-filter: blur(6px);
}

.ws-doc-code pre,
.workspace .ws-doc-code pre,
html[data-bs-theme="light"] .ws-doc-code pre,
html[data-bs-theme="light"] .workspace .ws-doc-code pre,
html[data-bs-theme="light"] .workspace .ws-doc-code pre.dark-pre {
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #0d1117 !important;
  color: #e6edf3 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow-x: auto;
  max-height: 440px;
  font-size: 12.5px;
  line-height: 1.6;
}

.ws-doc-code pre::-webkit-scrollbar,
html[data-bs-theme="light"] .ws-doc-code pre::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.ws-doc-code pre::-webkit-scrollbar-thumb,
html[data-bs-theme="light"] .ws-doc-code pre::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.28);
  border-radius: 999px;
}

.ws-doc-code pre::-webkit-scrollbar-thumb:hover,
html[data-bs-theme="light"] .ws-doc-code pre::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 121, 0, 0.72);
}

.ws-doc-code code,
.workspace .ws-doc-code code,
html[data-bs-theme="light"] .ws-doc-code code,
html[data-bs-theme="light"] .workspace .ws-doc-code code {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: #e6edf3 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Force High-Contrast Dark-Terminal Syntax Tokens in Both Dark & Light Modes */
.workspace .ws-doc-code .hljs,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs {
  background: transparent !important;
  color: #e6edf3 !important;
}

.workspace .ws-doc-code .hljs-attr,
.workspace .ws-doc-code .hljs-attribute,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-attr,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-attribute {
  color: #79c0ff !important;
}

.workspace .ws-doc-code .hljs-string,
.workspace .ws-doc-code .hljs-regexp,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-string,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-regexp {
  color: #a5d6ff !important;
}

.workspace .ws-doc-code .hljs-number,
.workspace .ws-doc-code .hljs-literal,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-number,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-literal {
  color: #ffa657 !important;
}

.workspace .ws-doc-code .hljs-keyword,
.workspace .ws-doc-code .hljs-selector-tag,
.workspace .ws-doc-code .hljs-name,
.workspace .ws-doc-code .hljs-tag,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-keyword,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-selector-tag,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-name,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-tag {
  color: #ff7b72 !important;
}

.workspace .ws-doc-code .hljs-comment,
.workspace .ws-doc-code .hljs-quote,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-comment,
html[data-bs-theme="light"] .workspace .ws-doc-code .hljs-quote {
  color: #8b949e !important;
}

/* Callout Alert */
.ws-doc-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(255, 121, 0, 0.08);
  border: 1px solid rgba(255, 121, 0, 0.28);
  color: var(--ws-text);
  font-size: 12.5px;
  line-height: 1.55;
}

.ws-doc-callout svg {
  width: 17px;
  height: 17px;
  color: var(--ws-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Vertical Numbered Steps */
.ws-doc-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ws-doc-step-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ws-raised);
  border: 1px solid var(--ws-border);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ws-text);
}

.ws-doc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 121, 0, 0.14);
  color: #ff9c47;
  font-size: 11.5px;
  font-weight: 800;
  flex-shrink: 0;
}

html[data-bs-theme="light"] .ws-doc-step-num {
  color: #b94d00;
}

/* Responsive Breakpoints */
@media (max-width: 1179px) {
  .ws-docs-layout {
    grid-template-columns: 1fr;
  }

  .ws-docs-sidebar {
    display: none;
  }
}

@media (max-width: 1080px) {
  .ws-doc-split {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .ws-docs-header {
    padding: 14px;
  }

  .ws-docs-header-actions {
    width: 100%;
  }

  .ws-docs-ai-btn {
    width: 100%;
    min-height: 36px;
  }

  .ws-docs-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .ws-docs-tabs .nav-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .ws-docs-tabs .nav-link {
    width: 100%;
    text-align: center;
    padding: 6px 6px;
    font-size: 11.5px;
  }

  .ws-docs-jumpbar {
    padding: 10px 14px;
  }

  .ws-doc-split {
    padding: 16px 14px;
  }
}

/* Public Guest Documentation Navbar */
.ws-docs-public-body {
  margin-inline-start: 0;
}

.ws-docs-public-main {
  max-width: none;
}

.ws-docs-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 36px 0;
}

.ws-docs-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 8px 16px;
  border-radius: 16px;
  background: rgba(15, 20, 31, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ws-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="light"] .ws-docs-nav {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.ws-docs-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ws-docs-nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ws-muted);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.ws-docs-nav-links a:hover {
  color: var(--ws-text);
  background: var(--ws-raised);
}

.ws-docs-nav-links a.is-active {
  color: var(--ws-accent);
  background: rgba(255, 121, 0, 0.1);
}

.ws-docs-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ws-docs-nav-actions .ws-button {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 13px;
}

.ws-docs-nav-actions .ws-theme-toggle {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 50%;
  background: var(--ws-raised);
  border: 1px solid var(--ws-border);
  color: var(--ws-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.ws-docs-nav-actions .ws-theme-toggle:hover {
  border-color: var(--ws-muted);
  transform: rotate(15deg);
}

.ws-docs-burger {
  display: none;
}

.ws-docs-mobile-panel {
  display: none;
  margin-top: 8px;
  padding: 14px;
  border-radius: 14px;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.ws-docs-mobile-panel.is-open {
  display: block;
}

.ws-docs-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.ws-docs-mobile-links a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ws-muted);
  text-decoration: none;
}

.ws-docs-mobile-links a.is-active {
  color: var(--ws-accent);
  background: rgba(255, 121, 0, 0.1);
}

.ws-docs-mobile-ctas {
  display: flex;
  gap: 8px;
}

.ws-docs-mobile-ctas .ws-button {
  flex: 1;
  justify-content: center;
  min-height: 40px;
}

@media (max-width: 991px) {
  .ws-docs-nav-wrap {
    padding: 12px 16px 0;
  }

  .ws-docs-nav-links,
  .ws-docs-nav-cta {
    display: none !important;
  }

  .ws-docs-burger {
    display: inline-flex;
  }
}
