/* ==========================================================================
   docs.natvps.cc: GitBook Layout in natvps.cc Frost-Glass & Cobalt UI/UX
   ========================================================================== */
:root {
  color-scheme: light;
  --brand: #0351FB;
  --brand-hover: #0046DE;
  --brand-soft: #EEF4FF;
  --ink: #0B1220;
  --ink-700: #2E3B52;
  --ink-600: #566072;
  --ink-400: #8D97A8;
  --line: #E6EBF3;
  --surface: #F6F8FC;
  --header-h: 66px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
  overflow-x: clip;
}

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

code, pre, kbd {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Sticky Top Header */
.doc-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.doc-header-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.doc-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.doc-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  place-items: center;
  cursor: pointer;
}

.doc-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

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

.doc-brand-divider {
  width: 1px;
  height: 20px;
  background: #D6DFEC;
}

.doc-brand-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(3, 81, 251, 0.16);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Search Bar Trigger */
.doc-search-trigger {
  flex: 0 1 380px;
  min-width: 0;
  height: 40px;
  padding: 0 12px 0 14px;
  border-radius: 999px;
  border: 1px solid #DDE4F0;
  background: #F6F8FC;
  color: var(--ink-600);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.doc-search-trigger svg {
  flex-shrink: 0;
}

.doc-search-trigger:hover {
  background: #FFFFFF;
  border-color: #B4C9FF;
  box-shadow: 0 4px 14px rgba(3, 81, 251, 0.07);
}

.doc-search-trigger span {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-search-trigger kbd {
  padding: 2px 7px;
  border-radius: 7px;
  background: #FFFFFF;
  border: 1px solid #E1E7F2;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-600);
}

.doc-header-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.doc-top-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-600);
  transition: color 0.16s ease;
}

.doc-top-link:hover {
  color: var(--brand);
}

.doc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background-color: var(--brand);
  background-image: linear-gradient(170deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 65%);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(157, 198, 255, 0.36), 0 4px 14px rgba(3, 81, 251, 0.2);
  transition: background-color 0.18s ease, transform 0.18s var(--ease-out), box-shadow 0.18s ease;
}

.doc-btn-primary:hover {
  background-color: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(157, 198, 255, 0.44), 0 8px 20px rgba(3, 81, 251, 0.28);
}

.doc-btn-full {
  width: 100%;
  height: 40px;
}

/* 3-Column GitBook Shell */
.doc-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr) 232px;
  gap: 44px;
  align-items: start;
}

/* Left Sidebar */
.doc-sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 28px 14px 44px 0;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
}

.doc-sidebar-mobile-links {
  display: none;
}

.doc-nav-group + .doc-nav-group {
  margin-top: 26px;
}

.doc-nav-group-title {
  padding: 0 12px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.doc-nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doc-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-600);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.doc-nav-link:hover {
  background: #F4F7FC;
  color: var(--ink);
}

.doc-nav-link.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}

.doc-nav-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 3px;
  background: var(--brand);
}

/* Center Main Content */
.doc-main {
  min-width: 0;
  max-width: 100%;
  padding: 36px 0 72px;
}

.doc-article {
  min-width: 0;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.doc-prose {
  min-width: 0;
  max-width: 100%;
}

.doc-article-head {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.doc-breadcrumb {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.doc-article-head h1 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.doc-lede {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.56;
  font-weight: 500;
  color: var(--ink-600);
}

/* Prose Typography */
.doc-prose section {
  padding-top: 32px;
}

.doc-prose h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.doc-prose h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.doc-prose p {
  margin: 0 0 15px;
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 500;
  color: #3B485E;
}

.doc-prose ul,
.doc-prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.doc-prose li > ul,
.doc-prose li > ol {
  margin: 8px 0 4px;
  padding-left: 20px;
  gap: 6px;
}

.doc-prose li {
  font-size: 15.2px;
  line-height: 1.65;
  font-weight: 500;
  color: #3B485E;
}

.doc-prose a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(3, 81, 251, 0.35);
  overflow-wrap: anywhere;
}

.doc-prose a:hover {
  text-decoration-color: var(--brand);
}

.doc-prose :not(pre) > code {
  padding: 2px 6px;
  border-radius: 7px;
  background: #F1F5FB;
  border: 1px solid #E2E9F4;
  font-size: 13.2px;
  font-weight: 500;
  color: #162542;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Mini Feature Grid on Overview */
.doc-feature-grid {
  margin: 18px 0 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.doc-mini-card {
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #F8FAFF 0%, #F3F7FD 100%);
  border: 1px solid rgba(110, 129, 165, 0.16);
}

.doc-mini-card > strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.doc-mini-card p {
  margin: 6px 0 0;
  font-size: 13.8px;
  line-height: 1.52;
  color: var(--ink-600);
}

/* GitBook Callouts */
.doc-callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid transparent;
}

.doc-callout--info {
  background: #F2F7FF;
  border-color: rgba(3, 81, 251, 0.18);
}

.doc-callout--info .doc-callout-ico {
  color: var(--brand);
}

.doc-callout--tip {
  background: #F1FBF5;
  border-color: rgba(21, 128, 61, 0.2);
}

.doc-callout--tip .doc-callout-ico {
  color: #15803D;
}

.doc-callout--warn {
  background: #FFFBEB;
  border-color: rgba(217, 119, 6, 0.24);
}

.doc-callout--warn .doc-callout-ico {
  color: #D97706;
}

.doc-callout-ico {
  flex-shrink: 0;
  margin-top: 2px;
  display: grid;
  place-items: center;
}

.doc-callout-body > strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.doc-callout-body p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.56 !important;
  color: #3A475C !important;
}

.doc-callout-body p strong {
  font-weight: 700;
  color: var(--ink);
}

/* Terminal & Code Blocks */
.doc-code {
  margin: 16px 0 20px;
  border-radius: 18px;
  overflow: hidden;
  background: #0D1526;
  border: 1px solid #1E2C47;
  box-shadow: 0 10px 26px rgba(11, 18, 32, 0.1);
}

.doc-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 16px;
  background: #131E35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.doc-code-lang {
  font-size: 12px;
  font-weight: 600;
  color: #93A4C3;
}

.doc-copy-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #C7D4EC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.doc-copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.doc-copy-btn .ico-check {
  display: none;
  color: #4ADE80;
}

.doc-copy-btn.is-copied .ico-copy {
  display: none;
}

.doc-copy-btn.is-copied .ico-check {
  display: block;
}

.doc-code pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 13.2px;
  line-height: 1.62;
  color: #E8F0FF;
}

/* Tables */
.doc-table-wrap {
  margin: 18px 0 22px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(11, 18, 32, 0.03);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
  line-height: 1.5;
  color: #334155;
}

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

.doc-table th,
.doc-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #EDF1F7;
  vertical-align: top;
}

.doc-table thead th {
  background: #F6F8FC;
  border-bottom: 1px solid #E2E8F3;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.doc-table tbody tr:hover td {
  background: #FAFBFD;
}

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

.doc-table td strong {
  color: var(--ink);
  font-weight: 700;
}

.doc-table td small {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink-600);
}

/* GitBook Previous / Next Pager */
.doc-pager {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.doc-pager-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 20px;
  background: #F7F9FC;
  border: 1px solid var(--line);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.doc-pager-card--next {
  text-align: right;
  align-items: flex-end;
}

.doc-pager-card:hover {
  background: #FFFFFF;
  border-color: #B4C9FF;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 36, 84, 0.06);
}

.doc-pager-dir {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-600);
}

.doc-pager-card strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}

.doc-article-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-600);
}

.doc-article-footer a {
  color: var(--brand);
  font-weight: 600;
}

/* Right Sticky TOC */
.doc-toc {
  position: sticky;
  top: var(--header-h);
  padding: 36px 0 36px;
}

.doc-toc-inner {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.doc-toc-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.doc-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.doc-toc ul a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-600);
  transition: color 0.16s ease;
}

.doc-toc ul a:hover,
.doc-toc ul a.is-active {
  color: var(--brand);
  font-weight: 700;
}

.doc-toc-cta {
  margin-top: 26px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #F3F7FF 0%, #E9F1FF 100%);
  border: 1px solid rgba(3, 81, 251, 0.16);
}

.doc-toc-cta > strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.doc-toc-cta p {
  margin: 6px 0 14px;
  font-size: 12.8px;
  line-height: 1.48;
  font-weight: 500;
  color: #465468;
}

/* Search Modal */
.doc-search-modal {
  width: min(600px, calc(100% - 32px));
  margin: 9vh auto auto;
  padding: 0;
  border: 1px solid rgba(110, 129, 165, 0.24);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 28px 70px rgba(11, 18, 32, 0.22);
  overflow: hidden;
}

.doc-search-modal::backdrop {
  background: rgba(11, 18, 32, 0.36);
  backdrop-filter: blur(4px);
}

.doc-search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--brand);
}

.doc-search-input-row input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
}

.doc-search-esc {
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #F6F8FC;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-600);
  cursor: pointer;
}

.doc-search-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-search-hit {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  border-radius: 14px;
  transition: background-color 0.14s ease;
}

.doc-search-hit:hover,
.doc-search-hit.is-selected {
  background: var(--brand-soft);
}

.doc-search-hit-group {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
}

.doc-search-hit strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.doc-search-hit span {
  font-size: 13px;
  color: var(--ink-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-search-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-600);
}

/* Responsive Breakpoints */
@media (max-width: 1180px) {
  .doc-shell {
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 32px;
  }

  .doc-toc {
    display: none;
  }
}

@media (max-width: 860px) {
  .doc-header-inner {
    padding: 0 16px;
    gap: 10px;
  }

  .doc-header-left {
    gap: 10px;
    min-width: 0;
  }

  .doc-mobile-toggle {
    display: grid;
    flex-shrink: 0;
  }

  .doc-top-link {
    display: none;
  }

  .doc-search-trigger {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 240px;
  }

  .doc-search-trigger kbd {
    display: none;
  }

  .doc-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 18px;
  }

  .doc-backdrop {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 95;
    background: rgba(11, 18, 32, 0.36);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .doc-sidebar {
    position: fixed;
    top: var(--header-h);
    left: 0;
    bottom: 0;
    z-index: 100;
    width: min(304px, calc(100vw - 44px));
    height: auto;
    padding: 18px 16px 36px;
    background: #FFFFFF;
    border-right: 1px solid var(--line);
    box-shadow: 16px 0 40px rgba(11, 18, 32, 0.16);
    transform: translateX(-104%);
    transition: transform 0.24s var(--ease-out);
    overscroll-behavior: contain;
  }

  .doc-sidebar.is-open {
    transform: translateX(0);
  }

  .doc-sidebar-mobile-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }

  .doc-sidebar-mobile-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
  }

  .doc-sidebar-mobile-links a:last-child {
    background: var(--brand);
    border-color: var(--brand);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(3, 81, 251, 0.2);
  }

  .doc-feature-grid,
  .doc-pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc-pager > div:empty {
    display: none;
  }

  .doc-pager-card--next {
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 62px;
  }

  .doc-header-inner {
    padding: 0 14px;
    gap: 8px;
  }

  .doc-brand {
    gap: 8px;
  }

  .doc-brand img {
    height: 29px;
  }

  .doc-brand-divider {
    display: none;
  }

  .doc-brand-badge {
    padding: 3px 8px;
    font-size: 12px;
  }

  /* Move Client Panel CTA cleanly into the mobile drawer so header never overflows */
  .doc-header-links {
    display: none;
  }

  .doc-search-trigger {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    height: 38px;
    padding: 0 12px;
    gap: 6px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
  }

  .doc-search-placeholder-ext {
    display: none;
  }

  .doc-shell {
    padding: 0 16px;
  }

  .doc-main {
    padding: 24px 0 52px;
  }

  .doc-article-head {
    padding-bottom: 20px;
  }

  .doc-article-head h1 {
    font-size: 26px;
    line-height: 1.18;
  }

  .doc-lede {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 10px;
  }

  .doc-prose section {
    padding-top: 26px;
    scroll-margin-top: calc(var(--header-h) + 18px);
  }

  .doc-prose h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .doc-prose p,
  .doc-prose li {
    font-size: 14.8px;
    line-height: 1.64;
  }

  .doc-prose ul,
  .doc-prose ol {
    padding-left: 19px;
  }

  .doc-callout {
    padding: 14px 15px;
    gap: 11px;
    border-radius: 16px;
  }

  .doc-code {
    border-radius: 15px;
  }

  .doc-code pre {
    padding: 14px 15px;
    font-size: 12.5px;
  }

  /* Multi-column tables scroll horizontally inside rounded wrapper instead of crushing cells */
  .doc-table th,
  .doc-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .doc-table:has(thead th:nth-child(3)) {
    min-width: 520px;
  }

  .doc-table:has(thead th:nth-child(5)) {
    min-width: 680px;
  }

  .doc-table:has(thead th:nth-child(5)) td {
    white-space: nowrap;
  }

  .doc-search-modal {
    width: calc(100% - 20px);
    margin: 14px auto auto;
    border-radius: 20px;
  }

  .doc-search-input-row {
    padding: 12px 14px;
    gap: 10px;
  }

  .doc-search-input-row input {
    font-size: 16px;
  }

  .doc-search-results {
    max-height: min(62dvh, 380px);
  }
}

@media (max-width: 375px) {
  .doc-search-trigger {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .doc-search-trigger span {
    display: none;
  }
}
