/* Documentation layout & components styled specifically for YourApp Core design system */

:root {
  --docs-sidebar-width: 320px;
  --docs-toc-width: 240px;
}

/* Active header nav link indicator */
.menu-header .links .active-doc-link .underline,
.mobile-menu .links .active-doc-link .underline {
  left: 0 !important;
}

/* Fixed header for Docs page */
.menu.fixed .menu-header {
  background-color: var(--color-dark-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu.fixed .sign-in-btn-content img {
  content: url(../your-app-assets/icons/arrow-white.svg) !important;
}

/* Docs App Shell */
.docs-shell {
  width: 100%;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  background-color: var(--color-dark-blue);
  color: var(--color-grey);
  position: relative;
}

/* Mobile Drawer Overlay */
.docs-mobile-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 40;
}

.docs-mobile-overlay.active {
  display: block;
}

/* Left Sidebar Navigation */
.docs-sidebar {
  width: var(--docs-sidebar-width);
  height: calc(100vh - var(--header-height));
  position: sticky;
  top: var(--header-height);
  background-color: var(--color-blue);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 45;
  transition: transform 0.3s ease-in-out;
}

.docs-sidebar-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-sidebar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.docs-sidebar-title {
  font: var(--font-c1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-version-badge {
  font: var(--font-small-text);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(245, 179, 51, 0.15);
  color: var(--color-yelow);
  border: 1px solid rgba(245, 179, 51, 0.3);
  font-family: 'Sora SemiBold', sans-serif;
}

/* Search Box */
.docs-search-wrapper {
  position: relative;
  width: 100%;
}

.docs-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--color-dark-blue);
  color: var(--color-white);
  font: var(--font-small-text);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.docs-search-input:focus {
  border-color: var(--color-yelow);
  box-shadow: 0 0 0 1px var(--color-yelow);
}

.docs-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: 0.5;
  pointer-events: none;
}

.docs-search-kbd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
}

/* Nav Tree */
.docs-nav-tree {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.docs-nav-section-title {
  font: var(--font-c3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-yelow);
  margin-bottom: 8px;
  padding-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-nav-section-title.accent-violet {
  color: var(--color-violet);
}

.docs-nav-section-title.accent-blue {
  color: var(--color-light-glue);
}

.docs-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(242, 242, 242, 0.75);
  text-decoration: none;
  font: var(--font-small-text);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.docs-nav-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.docs-nav-link.active {
  color: var(--color-white);
  background: rgba(233, 66, 89, 0.12);
  border-left-color: var(--color-red);
  font-family: 'Sora SemiBold', sans-serif;
}

.docs-nav-link-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-nav-id-badge {
  font-family: monospace;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(242, 242, 242, 0.5);
  margin-left: 8px;
  flex-shrink: 0;
}

.docs-nav-link.active .docs-nav-id-badge {
  background: rgba(233, 66, 89, 0.25);
  border-color: rgba(233, 66, 89, 0.4);
  color: #ffb4be;
}

.docs-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: var(--font-small-text);
  font-size: 12px;
  color: rgba(242, 242, 242, 0.5);
  background: rgba(12, 36, 69, 0.5);
}

.docs-sidebar-footer a {
  color: var(--color-violet);
  text-decoration: none;
  transition: color 0.2s;
}

.docs-sidebar-footer a:hover {
  color: var(--color-white);
}

/* Center Content */
.docs-main-content {
  flex: 1;
  min-width: 0;
  padding: 40px 60px;
  overflow-y: auto;
}

.docs-content-container {
  max-width: 860px;
  margin: 0 auto;
}

/* Mobile Quick Section Switcher Bar */
.docs-mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-blue);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 24px;
}

.docs-mobile-bar-btn {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-red);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: 6px;
  font: var(--font-small-text);
  font-family: 'Sora SemiBold', sans-serif;
  cursor: pointer;
}

/* Breadcrumbs */
.docs-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font: var(--font-small-text);
  font-size: 13px;
  color: rgba(242, 242, 242, 0.6);
  margin-bottom: 16px;
}

.docs-breadcrumbs a {
  color: rgba(242, 242, 242, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.docs-breadcrumbs a:hover {
  color: var(--color-white);
}

.docs-breadcrumbs .sep {
  opacity: 0.4;
}

.docs-breadcrumbs .current {
  color: var(--color-white);
  font-family: 'Sora SemiBold', sans-serif;
}

/* Article Header */
.docs-article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 36px;
}

.docs-article-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.docs-article-title {
  font: var(--font-h2);
  font-size: 40px;
  color: var(--color-white);
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.docs-article-title .star {
  width: 22px;
  margin-left: 8px;
  vertical-align: top;
}

.docs-article-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.kb-badge {
  font-family: monospace;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(233, 66, 89, 0.15);
  border: 1px solid var(--color-red);
  color: #ff9ca8;
  font-weight: 600;
}

.rest-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(242, 242, 242, 0.6);
  font-family: 'Sora SemiBold', sans-serif;
}

.docs-article-lead {
  font: var(--font-text);
  color: rgba(242, 242, 242, 0.85);
  margin-top: 14px;
  line-height: 160%;
}

/* Architecture / Workflow Card */
.docs-workflow-card {
  background-color: var(--color-blue);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 40px;
}

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

.docs-workflow-card-title {
  font: var(--font-h3);
  font-size: 20px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.docs-workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.docs-workflow-step {
  background: var(--color-dark-blue);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.docs-workflow-step-num {
  font: var(--font-c3);
  color: var(--color-yelow);
  font-family: 'Sora SemiBold', sans-serif;
  margin-bottom: 6px;
  display: block;
}

.docs-workflow-step-desc {
  font: var(--font-small-text);
  font-size: 12px;
  color: rgba(242, 242, 242, 0.7);
  line-height: 140%;
}

/* Feature Highlights Grid */
.docs-section-heading {
  font: var(--font-h3);
  color: var(--color-white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.docs-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.docs-capability-card {
  background: rgba(14, 45, 88, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.docs-capability-card:hover {
  border-color: rgba(233, 66, 89, 0.4);
  transform: translateY(-2px);
}

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

.docs-capability-header img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.docs-capability-title {
  font: var(--font-h4);
  font-size: 16px;
  color: var(--color-white);
}

.docs-capability-desc {
  font: var(--font-small-text);
  color: rgba(242, 242, 242, 0.7);
  line-height: 150%;
  margin-left: 28px;
}

/* Code Playground Block */
.docs-code-container {
  margin-bottom: 40px;
}

.docs-code-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.docs-code-tabs {
  display: flex;
  background: var(--color-blue);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 4px;
}

.docs-code-tab {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  color: rgba(242, 242, 242, 0.6);
  font: var(--font-small-text);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Sora SemiBold', sans-serif;
}

.docs-code-tab.active {
  background: var(--color-red);
  color: var(--color-white);
}

.docs-code-box {
  background: #06152a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.docs-code-topbar {
  background: rgba(14, 45, 88, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.docs-code-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.docs-code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.docs-code-dot.red { background: #ff5f56; }
.docs-code-dot.yellow { background: #ffbd2e; }
.docs-code-dot.green { background: #27c93f; }

.docs-code-filename {
  font-family: monospace;
  font-size: 12px;
  color: rgba(242, 242, 242, 0.5);
  margin-left: 10px;
}

.docs-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-grey);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: 'Sora Regular', sans-serif;
}

.docs-copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.docs-code-pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
}

.docs-code-pre code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 160%;
  color: #d1e2ff;
}

/* CTA Card */
.docs-cta-card {
  background: linear-gradient(135deg, var(--color-blue) 0%, #163e75 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.docs-cta-card h3 {
  font: var(--font-h3);
  color: var(--color-white);
  margin-bottom: 6px;
}

.docs-cta-card p {
  font: var(--font-small-text);
  color: rgba(242, 242, 242, 0.7);
}

/* Prev / Next Bottom Nav */
.docs-prev-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 60px;
}

.docs-pn-btn {
  background: var(--color-blue);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-grey);
  padding: 10px 18px;
  border-radius: 8px;
  font: var(--font-small-text);
  font-family: 'Sora SemiBold', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.docs-pn-btn:hover {
  background: rgba(233, 66, 89, 0.15);
  border-color: var(--color-red);
  color: var(--color-white);
}

/* Right TOC */
.docs-toc {
  width: var(--docs-toc-width);
  height: calc(100vh - var(--header-height));
  position: sticky;
  top: var(--header-height);
  padding: 40px 24px 20px 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.docs-toc-title {
  font: var(--font-c3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(242, 242, 242, 0.5);
  margin-bottom: 12px;
}

.docs-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-toc-link {
  display: block;
  padding: 4px 0 4px 14px;
  font: var(--font-small-text);
  font-size: 13px;
  color: rgba(242, 242, 242, 0.6);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all 0.2s;
}

.docs-toc-link:hover {
  color: var(--color-white);
}

.docs-toc-link.active {
  color: var(--color-yelow);
  border-left-color: var(--color-yelow);
  font-family: 'Sora SemiBold', sans-serif;
}

/* Feedback Widget */
.docs-feedback-card {
  background: var(--color-blue);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.docs-feedback-title {
  font: var(--font-small-text);
  color: var(--color-white);
  font-family: 'Sora SemiBold', sans-serif;
  margin-bottom: 10px;
}

.docs-feedback-buttons {
  display: flex;
  gap: 8px;
}

.docs-fb-btn {
  flex: 1;
  background: var(--color-dark-blue);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-grey);
  border-radius: 6px;
  padding: 6px 0;
  font: var(--font-small-text);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.docs-fb-btn:hover {
  border-color: var(--color-yelow);
  color: var(--color-white);
}

.docs-feedback-msg {
  font: var(--font-small-text);
  font-size: 11px;
  color: #52e396;
  margin-top: 8px;
  display: none;
}

/* REST Sync Card */
.docs-sync-card {
  background: rgba(12, 36, 69, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 14px;
  font: var(--font-small-text);
  font-size: 11px;
  color: rgba(242, 242, 242, 0.6);
  line-height: 140%;
}

.docs-sync-card strong {
  color: var(--color-light-glue);
  display: block;
  margin-bottom: 4px;
}

/* Modal Search Window */
.docs-modal-search {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 100;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.docs-modal-search.active {
  display: flex;
}

.docs-modal-search-box {
  background: var(--color-blue);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.docs-modal-search-top {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.docs-modal-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-white);
  font: var(--font-text);
  font-size: 16px;
}

.docs-modal-search-results {
  max-height: 320px;
  overflow-y: auto;
  padding: 10px;
}

.docs-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.docs-search-item:hover {
  background: var(--color-dark-blue);
}

.docs-search-item-title {
  font: var(--font-c2);
  color: var(--color-white);
}

.docs-search-item-section {
  font: var(--font-small-text);
  font-size: 11px;
  color: rgba(242, 242, 242, 0.5);
  margin-top: 2px;
}

/* Responsive Media Queries */
@media screen and (max-width: 1280px) {
  .docs-toc {
    display: none;
  }
  .docs-main-content {
    padding: 32px 36px;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --docs-sidebar-width: 280px;
  }
  
  .docs-sidebar {
    position: fixed;
    top: var(--header-height);
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .docs-sidebar.drawer-open {
    transform: translateX(0);
  }

  .docs-mobile-bar {
    display: flex;
  }

  .docs-main-content {
    padding: 24px 20px;
  }

  .docs-article-title {
    font-size: 28px;
  }

  .docs-workflow-steps {
    grid-template-columns: 1fr;
  }

  .docs-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .docs-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================= TRANSFERRED KB ARTICLE BODY STYLES ================= */
.docs-article-body {
  color: rgba(242, 242, 242, 0.88);
  font-family: 'Sora Regular', sans-serif;
  line-height: 1.65;
}

.docs-article-body h1 {
  font: var(--font-h3);
  font-size: 26px;
  color: var(--color-white);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 100px;
}

.docs-article-body h2 {
  font: var(--font-h4);
  font-size: 20px;
  color: var(--color-white);
  margin-top: 32px;
  margin-bottom: 12px;
  scroll-margin-top: 100px;
}

.docs-article-body h3 {
  font: var(--font-c1);
  font-size: 17px;
  color: var(--color-yelow);
  margin-top: 24px;
  margin-bottom: 8px;
  scroll-margin-top: 100px;
}

.docs-article-body p {
  font: var(--font-text);
  font-size: 15px;
  color: rgba(242, 242, 242, 0.85);
  line-height: 165%;
  margin-bottom: 16px;
}

.docs-article-body ul,
.docs-article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: rgba(242, 242, 242, 0.85);
  font-size: 15px;
  line-height: 165%;
}

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

.docs-article-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: #ffb4be;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-article-body pre {
  background: #06152a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  margin: 18px 0 26px !important;
  overflow-x: auto !important;
  color: #d1e2ff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.docs-article-body pre code {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #d1e2ff !important;
  font-size: 13px;
  line-height: 160%;
}

.docs-article-body table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 24px 0 32px !important;
  background: var(--color-blue) !important;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 14px;
}

.docs-article-body thead tr,
.docs-article-body tr {
  background-color: transparent !important;
}

.docs-article-body th {
  background: rgba(12, 36, 69, 0.95) !important;
  color: var(--color-white) !important;
  padding: 12px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-family: 'Sora SemiBold', sans-serif;
  text-align: left;
}

.docs-article-body td {
  padding: 10px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(242, 242, 242, 0.9) !important;
  background-color: transparent;
}

.docs-article-body tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

.docs-article-body tr:hover td {
  background-color: rgba(233, 66, 89, 0.05) !important;
}

/* Callout and Prompt boxes */
.docs-callout {
  background: rgba(14, 45, 88, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 4px solid var(--color-light-glue) !important;
  border-radius: 8px !important;
  padding: 16px 20px !important;
  margin: 20px 0 !important;
  color: var(--color-white) !important;
  font-family: 'Sora Regular', sans-serif !important;
  font-size: 14px !important;
  line-height: 160% !important;
}

.docs-callout strong {
  color: var(--color-yelow) !important;
}

.docs-callout code {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffb4be !important;
}

.docs-image-figure,
.docs-article-body figure {
  margin: 28px auto 36px !important;
  display: block !important;
  text-align: center !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  box-shadow: none !important;
  outline: none !important;
}

.docs-article-body .se-component,
.docs-article-body .se-image-container {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  display: block !important;
  text-align: center !important;
}

.docs-content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  display: inline-block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.docs-content-image:hover {
  border-color: rgba(233, 66, 89, 0.5);
}

.docs-image-caption {
  font: var(--font-small-text);
  font-size: 12px;
  color: rgba(242, 242, 242, 0.5);
  margin-top: 10px;
  text-align: center;
}

/* ================= DOCUMENTATION ARTICLE LINKS ================= */
.docs-article-body a {
  color: var(--color-yelow);
  text-decoration: underline;
  text-decoration-color: rgba(245, 179, 51, 0.45);
  text-underline-offset: 3px;
  font-family: 'Sora SemiBold', sans-serif;
  cursor: pointer;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.docs-article-body a:hover {
  color: var(--color-white);
  text-decoration-color: var(--color-yelow);
}

.docs-article-body a:active {
  color: #db940b;
}

/* In-article documentation cross-references */
.docs-article-link {
  color: var(--color-yelow);
  text-decoration: underline;
  text-decoration-color: rgba(245, 179, 51, 0.5);
  text-underline-offset: 3px;
  font-family: 'Sora SemiBold', sans-serif;
  cursor: pointer;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.docs-article-link:hover {
  color: var(--color-white);
  text-decoration-color: var(--color-white);
}

/* External resource links with subtle arrow indicator */
.docs-external-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-yelow);
  text-decoration: underline;
  text-decoration-color: rgba(245, 179, 51, 0.45);
  text-underline-offset: 3px;
  font-family: 'Sora SemiBold', sans-serif;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.docs-external-link::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b333' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.8;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.docs-external-link:hover {
  color: var(--color-white);
  text-decoration-color: var(--color-white);
}

.docs-external-link:hover::after {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* File download links & attachment action badges */
.docs-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  margin: 3px 2px;
  background: rgba(245, 179, 51, 0.1);
  border: 1px solid rgba(245, 179, 51, 0.35);
  border-radius: 8px;
  color: var(--color-yelow) !important;
  font-family: 'Sora SemiBold', sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none !important;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.docs-download-link strong {
  color: inherit !important;
  font-weight: inherit;
}

.docs-download-link::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b333' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.docs-download-link:hover {
  background: rgba(245, 179, 51, 0.22);
  border-color: var(--color-yelow);
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 179, 51, 0.25);
}

.docs-download-link:hover::before {
  transform: translateY(1px);
}

.docs-download-link:active {
  transform: translateY(0);
  background: rgba(245, 179, 51, 0.3);
}

/* Links inside callouts and tables */
.docs-callout a {
  color: var(--color-yelow);
  text-decoration-color: rgba(245, 179, 51, 0.5);
}

.docs-article-body td a {
  color: var(--color-yelow);
}


