/* Avanquest developer-portal look (developers.avanquest.com/products/pdf-sdk/documentation) for npm-docs. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --light-color-background: #ffffff;
  --light-color-background-secondary: #ffffff;
  --light-color-background-active: #daedfb;
  --light-color-accent: #dee4f0;
  --light-color-active-menu-item: transparent;
  --light-color-contrast-text: #0068df;
  --light-color-text: #3c3c43;
  --light-color-text-aside: #6b6e78;
  --light-color-link: #0068df;
  --light-color-document: #202a45;
  --light-color-focus-outline: #0068df;

  --dim-toolbar-contents-height: 70px;

  --pwv-docs-font: Poppins, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --pwv-docs-heading: #202a45;
  --pwv-docs-body: #52555f;
  --pwv-docs-menu-bar: #e6f0ff;
  --pwv-docs-hover: #daedfb;
  --pwv-docs-stripe: #f9fbfc;
  --pwv-docs-code-bg: #fbfcfd;
  --pwv-docs-code-border: #c4cfe5;
  --pwv-docs-row-alt: #f8f9fc;
  --pwv-docs-search-border: #94a3b8;
  --pwv-docs-inline-code-bg: #eaeef5;
}

body {
  font-family: var(--pwv-docs-font);
}

/* Hero banner (injected by typedoc-hero-plugin.mjs) */
.pwv-docs-hero {
  color: #fff;
  padding: 80px 24px;
  background-image: url('pwv-hero.png'), linear-gradient(to right, #004167, #00070a);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.pwv-docs-hero-title {
  margin: 0 0 34px;
  font-size: 55px;
  line-height: 56px;
  font-weight: 700;
}
.pwv-docs-hero-text {
  margin: 0;
  font-size: 25px;
  line-height: 40px;
  font-weight: 400;
}
@media (max-width: 768px) {
  .pwv-docs-hero {
    padding: 48px 24px;
  }
  .pwv-docs-hero-title {
    font-size: 40px;
    line-height: 44px;
    margin-bottom: 24px;
  }
  .pwv-docs-hero-text {
    font-size: 20px;
    line-height: 32px;
  }
}
@media (max-width: 480px) {
  .pwv-docs-hero {
    padding: 32px 16px;
  }
  .pwv-docs-hero-title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 16px;
  }
  .pwv-docs-hero-text {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Menu bar */
.tsd-page-toolbar {
  background: var(--pwv-docs-menu-bar);
  border-bottom: none;
}
.tsd-page-toolbar .title,
.tsd-page-toolbar #tsd-toolbar-links a {
  color: var(--pwv-docs-heading);
  font-size: 16px;
  font-weight: 700;
  padding: 0 12px;
  line-height: 44px;
  border-radius: 4px;
  text-decoration: none;
}
.tsd-page-toolbar .title:hover,
.tsd-page-toolbar #tsd-toolbar-links a:hover {
  background: var(--pwv-docs-hover);
  text-decoration: none;
}
.tsd-page-toolbar #tsd-toolbar-links {
  position: static;
  display: flex;
  flex: 1;
  justify-content: flex-start;
  margin-left: 12px;
}
#tsd-search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 200px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--pwv-docs-search-border);
  border-radius: 8px;
  background: var(--color-background);
  color: var(--pwv-docs-search-border);
}
#tsd-search-trigger::after {
  content: 'Search';
  font-size: 16px;
}
#tsd-search-trigger:hover {
  border-color: #64748b;
}

/* Layout: light stripe between sidebar and content (two-column widths only) */
@media (min-width: 770px) {
  .col-content {
    border-left: 7px solid var(--pwv-docs-stripe);
    padding-left: 2rem;
  }
}

@media (max-width: 769px) {
  .tsd-page-toolbar .title {
    white-space: nowrap;
    padding: 0 8px;
  }
  .tsd-page-toolbar #tsd-toolbar-links {
    display: none;
  }
  #tsd-search-trigger {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  #tsd-search-trigger::after {
    content: none;
  }
}

/* Sidebar navigation (after developers.avanquest.com/documentation side_navigation) */
.tsd-navigation .tsd-kind-icon,
.site-menu .tsd-kind-icon {
  display: none;
}
.site-menu {
  padding-right: 1rem;
}
.tsd-navigation li {
  margin-bottom: 4px;
}
.tsd-navigation a,
.tsd-navigation summary > span {
  position: relative;
  color: var(--pwv-docs-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 8px 0 8px 8px;
  border-radius: 0;
}
.tsd-navigation a span,
.tsd-page-navigation a span {
  color: inherit;
}
.tsd-navigation .tsd-accordion-summary > svg {
  flex: none;
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.tsd-navigation a:hover,
.tsd-navigation .tsd-accordion-summary:hover > a {
  background: none;
  color: var(--color-link);
  text-decoration: none;
}
.tsd-navigation .tsd-accordion-summary:hover > svg {
  opacity: 1;
  color: var(--color-link);
}
.tsd-navigation a.current {
  background: none;
  color: var(--color-link);
  font-weight: 700;
}
.tsd-navigation li > a.current::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M14.475%2012%207.125%204.65a1.3%201.3%200%200%201%20.025-1.775%201.3%201.3%200%200%201%201.775%200l7.675%207.7a2%202%200%200%201%200%202.85L8.9%2021.125a1.25%201.25%200%200%201-1.75-.025%201.3%201.3%200%200%201%200-1.775z%22%20fill%3D%22%230068DF%22/%3E%3C/svg%3E')
    center / contain no-repeat;
}
.tsd-page-navigation a:hover {
  background: none;
  color: var(--color-link);
  text-decoration: none;
}
.tsd-page-navigation a.current {
  background: none;
  color: var(--color-link);
  font-weight: 600;
}

/* Right column: settings + on-this-page */
.page-menu .tsd-accordion-summary h3,
.page-menu .tsd-accordion-summary h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-aside);
}
.tsd-page-navigation a {
  font-size: 13.5px;
  line-height: 20px;
  color: var(--pwv-docs-body);
  border-radius: 6px;
}
.tsd-page-navigation .tsd-kind-icon {
  width: 16px;
  height: 16px;
}

/* Content */
.col-content {
  color: var(--pwv-docs-body);
}
.tsd-breadcrumb {
  font-size: 15px;
  line-height: 24px;
  color: var(--color-text-aside);
}
.tsd-breadcrumb a {
  color: var(--color-text-aside);
}
.tsd-breadcrumb a:hover {
  color: var(--color-link);
}
.tsd-typography h1,
.tsd-page-title h1,
.col-content > h1 {
  color: var(--pwv-docs-heading);
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tsd-typography h2,
.tsd-typography h3,
.tsd-typography h4,
.tsd-panel > h3,
.tsd-panel-group > .tsd-accordion-summary h2 {
  color: var(--pwv-docs-heading);
  font-weight: 600;
}
.tsd-typography h2 {
  margin-top: 2.25rem;
}
.tsd-typography p,
.tsd-typography li {
  font-size: 16px;
  line-height: 28px;
}
.tsd-typography strong,
.tsd-typography b {
  font-weight: 600;
  color: var(--pwv-docs-heading);
}
.tsd-typography a {
  text-underline-offset: 3px;
}

/* Inline code */
.tsd-typography :not(pre) > code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--pwv-docs-inline-code-bg);
  font-size: 0.88em;
}

/* Code blocks and signatures */
.tsd-typography pre,
pre {
  background: var(--pwv-docs-code-bg);
  border: 1px solid var(--pwv-docs-code-border);
  border-radius: 8px;
  padding: 14px 16px;
}
.tsd-signature {
  background: var(--pwv-docs-code-bg);
  border: 1px solid var(--pwv-docs-code-border);
  border-radius: 8px;
  padding: 10px 14px;
}
.tsd-panel.tsd-member {
  margin-bottom: 2.5rem;
}
code.tsd-tag {
  font-family: var(--pwv-docs-font);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  background: var(--pwv-docs-hover);
  border-color: transparent;
  color: var(--pwv-docs-heading);
}

/* Tables */
.tsd-typography table {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
}
.tsd-typography table th,
.tsd-typography table td {
  border: none;
  border-bottom: 1px solid var(--color-accent);
  padding: 10px 14px;
  vertical-align: top;
}
.tsd-typography table td code {
  white-space: normal;
}
.tsd-typography table td:not(:first-child) :is(a, code) {
  overflow-wrap: anywhere;
}
@media (max-width: 769px) {
  .tsd-typography table {
    display: block;
    overflow-x: auto;
  }
}
.tsd-typography table tr:last-child td {
  border-bottom: none;
}
.tsd-typography table th {
  background: var(--pwv-docs-menu-bar);
  color: var(--pwv-docs-heading);
  font-weight: 600;
  text-align: left;
}
.tsd-typography table tr:nth-child(even) td {
  background: var(--pwv-docs-row-alt);
}

/* Search dialog */
#tsd-search {
  border-radius: 10px;
  box-shadow: 0 20px 50px rgb(0 20 50 / 25%);
}
#tsd-search-input {
  font-family: var(--pwv-docs-font);
  border-radius: 8px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --pwv-docs-heading: #e6eaf2;
    --pwv-docs-body: #c4c8d0;
    --pwv-docs-menu-bar: #112436;
    --pwv-docs-hover: #1b3448;
    --pwv-docs-stripe: #1a1d22;
    --pwv-docs-code-bg: #1e2024;
    --pwv-docs-code-border: #2f3b4f;
    --pwv-docs-row-alt: #1a1d22;
    --pwv-docs-search-border: #4b5563;
    --pwv-docs-inline-code-bg: #2a2e35;
  }
}
:root[data-theme='dark'] {
  --pwv-docs-heading: #e6eaf2;
  --pwv-docs-body: #c4c8d0;
  --pwv-docs-menu-bar: #112436;
  --pwv-docs-hover: #1b3448;
  --pwv-docs-stripe: #1a1d22;
  --pwv-docs-code-bg: #1e2024;
  --pwv-docs-code-border: #2f3b4f;
  --pwv-docs-row-alt: #1a1d22;
  --pwv-docs-search-border: #4b5563;
  --pwv-docs-inline-code-bg: #2a2e35;
}
