/* =========================================================
   PDF-Insights Docs Site Styles
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    color: #1f2937;
    background-color: #f7f9fc;
}

/* =========================================================
   Layout
   ========================================================= */

.container,
.content,
main {
    max-width: 980px;
    margin: 0 auto;
    padding: 36px 28px 60px 28px;
}

section {
    background: #ffffff;
    margin-bottom: 24px;
    padding: 28px 28px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* =========================================================
   Hero / header areas
   ========================================================= */

.hero {
    text-align: left;
    padding-top: 4px;
}

.hero h1,
h1 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 2.15rem;
    line-height: 1.2;
    color: #111827;
}

.subtitle {
    font-size: 1.12rem;
    color: #374151;
    margin-top: 0;
    margin-bottom: 12px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

/* =========================================================
   Headings
   ========================================================= */

h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.45rem;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 1.08rem;
    color: #1f2937;
}

p {
    margin-top: 0;
    margin-bottom: 14px;
}

ul,
ol {
    margin-top: 0;
    margin-bottom: 14px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
}

/* =========================================================
   Links
   ========================================================= */

a {
    color: #0f62fe;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================================================
   Inline code and code blocks
   ========================================================= */

code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.95rem;
    background: #f3f4f6;
    color: #111827;
    padding: 2px 6px;
    border-radius: 6px;
}

pre {
    margin: 16px 0;
    padding: 16px 18px;
    overflow-x: auto;
    background: #111827;
    color: #f9fafb;
    border-radius: 10px;
    border: 1px solid #1f2937;
}

pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre;
}

/* =========================================================
   Utility elements
   ========================================================= */

hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

strong {
    color: #111827;
}

blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    border-left: 4px solid #0f62fe;
    background: #f8fbff;
    color: #374151;
}

/* =========================================================
   Optional top nav if used
   ========================================================= */

.navbar {
    background: #111827;
    color: #ffffff;
    padding: 14px 20px;
}

.navbar .nav-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.navbar a {
    color: #ffffff;
    font-weight: 600;
}

.navbar a:hover {
    text-decoration: underline;
}

/* =========================================================
   Button-style links
   ========================================================= */

.button-link {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    background: #0f62fe;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #0f62fe;
}

.button-link:hover {
    background: #0b53d0;
    border-color: #0b53d0;
    text-decoration: none;
}

.button-link.secondary {
    background: #ffffff;
    color: #0f62fe;
    border: 1px solid #c7d2fe;
}

.button-link.secondary:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    text-decoration: none;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 28px 36px 28px;
    color: #6b7280;
    font-size: 0.95rem;
}

/* =========================================================
   Documentation images
   ========================================================= */

.doc-image {
    width: 100%;
    max-width: 720px;
    margin: 16px auto 24px auto;
    display: block;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container,
    .content,
    main {
        padding: 20px 16px 40px 16px;
    }

    section {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .hero h1,
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    pre {
        padding: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  text-align: left;   /* 👈 fixes mismatch */
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f5f5f5;
  font-weight: 600;
}
