/*fern-site-stylesheet*/@font-face {
    font-family: 'Source Sans Pro';
    src: url('/_fern-files/dropbox123432.docs.buildwithfern.com/691491f1fc8badab623e1be56f92cc2d98c462b16617c67e1e288d6b061444bc/static/fonts/source-sans-pro-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('/_fern-files/dropbox123432.docs.buildwithfern.com/156650610835fe32914722ecfc8dab0ebbb84795e201b842158afa0ea873cfa4/static/fonts/source-sans-pro-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Source Code Pro';
    src: url('/_fern-files/dropbox123432.docs.buildwithfern.com/2c935ccea0efa74f1d034628790a2aebfe2ccb6f5d60e8f5b224366066e10188/static/fonts/source-code-pro.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 900px;
  --sidebar-width: 280px;
  --page-width: 100vw;
  --logo-height: 20px;
  --font-body: 'Source Sans Pro', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: 'Source Sans Pro', 'Source Sans Pro', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-code: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

:root {
  --typography-body-font-family: var(--font-body);
  --typography-heading-font-family: var(--font-heading);
  --typography-code-font-family: var(--font-code);
}


.light, :root {
  --accent-1: #fcfdff;
  --accent-2: #f5faff;
  --accent-3: #eaf3ff;
  --accent-4: #daebff;
  --accent-5: #c8e0ff;
  --accent-6: #b2d3ff;
  --accent-7: #98c1ff;
  --accent-8: #73a7ff;
  --accent-9: #0061fe;
  --accent-10: #0055e4;
  --accent-11: #055ae9;
  --accent-12: #0c2d6a;

  --accent-a1: #0055ff03;
  --accent-a2: #0080ff0a;
  --accent-a3: #006eff15;
  --accent-a4: #0076ff25;
  --accent-a5: #0070ff37;
  --accent-a6: #006eff4d;
  --accent-a7: #0066ff67;
  --accent-a8: #005fff8c;
  --accent-a9: #0061fe;
  --accent-a10: #0055e4;
  --accent-a11: #0057e9fa;
  --accent-a12: #002363f3;

  --accent-contrast: #fff;
  --accent-surface: #f3f9ffcc;
  --accent-indicator: #0061fe;
  --accent-track: #0061fe;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.4% 0.0024 261.4);
      --accent-2: oklch(98.3% 0.0106 261.4);
      --accent-3: oklch(96.1% 0.0223 261.4);
      --accent-4: oklch(93.6% 0.0435 261.4);
      --accent-5: oklch(90.4% 0.0652 261.4);
      --accent-6: oklch(86.3% 0.0888 261.4);
      --accent-7: oklch(80.7% 0.1098 261.4);
      --accent-8: oklch(73.1% 0.1452 261.4);
      --accent-9: oklch(55.3% 0.2453 261.4);
      --accent-10: oklch(50.7% 0.2268 261.4);
      --accent-11: oklch(52.3% 0.2268 261.4);
      --accent-12: oklch(31.6% 0.1137 261.4);

      --accent-a1: color(display-p3 0.0235 0.349 1 / 0.012);
      --accent-a2: color(display-p3 0.0235 0.4588 0.8941 / 0.036);
      --accent-a3: color(display-p3 0.0078 0.3725 0.949 / 0.075);
      --accent-a4: color(display-p3 0.0078 0.3882 0.9451 / 0.134);
      --accent-a5: color(display-p3 0.0078 0.3647 0.9412 / 0.197);
      --accent-a6: color(display-p3 0.0039 0.3686 0.9451 / 0.279);
      --accent-a7: color(display-p3 0.0039 0.3412 0.949 / 0.373);
      --accent-a8: color(display-p3 0 0.3137 0.949 / 0.506);
      --accent-a9: color(display-p3 0 0.2549 0.9529 / 0.844);
      --accent-a10: color(display-p3 0 0.2275 0.8431 / 0.867);
      --accent-a11: color(display-p3 0 0.2353 0.8627 / 0.851);
      --accent-a12: color(display-p3 0 0.098 0.3451 / 0.918);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9569 0.9765 1 / 0.8);
      --accent-indicator: oklch(55.3% 0.2453 261.4);
      --accent-track: oklch(55.3% 0.2453 261.4);
    }
  }
}


.light, :root {
  --grayscale-1: #fdfcfd;
  --grayscale-2: #faf9fb;
  --grayscale-3: #f2eff3;
  --grayscale-4: #eae7ec;
  --grayscale-5: #e3dfe6;
  --grayscale-6: #dbd8e0;
  --grayscale-7: #d0cdd7;
  --grayscale-8: #bcbac7;
  --grayscale-9: #8e8c99;
  --grayscale-10: #84828e;
  --grayscale-11: #65636d;
  --grayscale-12: #211f26;

  --grayscale-a1: #55005503;
  --grayscale-a2: #2b005506;
  --grayscale-a3: #30004010;
  --grayscale-a4: #20003618;
  --grayscale-a5: #20003820;
  --grayscale-a6: #14003527;
  --grayscale-a7: #10003332;
  --grayscale-a8: #08003145;
  --grayscale-a9: #05001d73;
  --grayscale-a10: #0500197d;
  --grayscale-a11: #0400119c;
  --grayscale-a12: #020008e0;

  --grayscale-contrast: #000;
  --grayscale-surface: #ffffffcc;
  --grayscale-indicator: #8e8c99;
  --grayscale-track: #8e8c99;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --grayscale-1: color(display-p3 0.991 0.988 0.992);
      --grayscale-2: color(display-p3 0.98 0.976 0.984);
      --grayscale-3: color(display-p3 0.946 0.938 0.952);
      --grayscale-4: color(display-p3 0.915 0.906 0.925);
      --grayscale-5: color(display-p3 0.886 0.876 0.901);
      --grayscale-6: color(display-p3 0.856 0.846 0.875);
      --grayscale-7: color(display-p3 0.814 0.804 0.84);
      --grayscale-8: color(display-p3 0.735 0.728 0.777);
      --grayscale-9: color(display-p3 0.555 0.549 0.596);
      --grayscale-10: color(display-p3 0.514 0.508 0.552);
      --grayscale-11: color(display-p3 0.395 0.388 0.424);
      --grayscale-12: color(display-p3 0.128 0.122 0.147);

      --grayscale-a1: #55005503;
      --grayscale-a2: #2b005506;
      --grayscale-a3: #30004010;
      --grayscale-a4: #20003618;
      --grayscale-a5: #20003820;
      --grayscale-a6: #14003527;
      --grayscale-a7: #10003332;
      --grayscale-a8: #08003145;
      --grayscale-a9: #05001d73;
      --grayscale-a10: #0500197d;
      --grayscale-a11: #0400119c;
      --grayscale-a12: #020008e0;

      --grayscale-contrast: #000;
      --grayscale-surface: color(display-p3 1 1 1 / 80%);
      --grayscale-indicator: color(display-p3 0.555 0.549 0.596);
      --grayscale-track: color(display-p3 0.555 0.549 0.596);
    }
  }
}


.dark {
  --accent-1: #111a28;
  --accent-2: #121c2f;
  --accent-3: #0f2856;
  --accent-4: #0d3071;
  --accent-5: #103984;
  --accent-6: #184494;
  --accent-7: #1f4faa;
  --accent-8: #235cc6;
  --accent-9: #0061fe;
  --accent-10: #0051ee;
  --accent-11: #85b6ff;
  --accent-12: #cee3ff;

  --accent-a1: #001bf90f;
  --accent-a2: #0031f917;
  --accent-a3: #0051ff42;
  --accent-a4: #0054fd61;
  --accent-a5: #075dfd76;
  --accent-a6: #1869fe88;
  --accent-a7: #236effa0;
  --accent-a8: #2772fec0;
  --accent-a9: #0061fffe;
  --accent-a10: #0055ffec;
  --accent-a11: #85b6ff;
  --accent-a12: #cee3ff;

  --accent-contrast: #fff;
  --accent-surface: #0d1e4380;
  --accent-indicator: #0061fe;
  --accent-track: #0061fe;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(21.6% 0.0317 261.4);
      --accent-2: oklch(22.8% 0.0387 261.4);
      --accent-3: oklch(28.6% 0.0889 261.4);
      --accent-4: oklch(32.8% 0.1196 261.4);
      --accent-5: oklch(36.7% 0.1341 261.4);
      --accent-6: oklch(40.6% 0.1419 261.4);
      --accent-7: oklch(45.1% 0.1543 261.4);
      --accent-8: oklch(50.3% 0.1761 261.4);
      --accent-9: oklch(55.3% 0.2453 261.4);
      --accent-10: oklch(50.7% 0.2453 261.4);
      --accent-11: oklch(77.7% 0.1582 261.4);
      --accent-12: oklch(91.1% 0.0549 261.4);

      --accent-a1: color(display-p3 0 0.1059 0.9961 / 0.053);
      --accent-a2: color(display-p3 0 0.1961 0.9961 / 0.084);
      --accent-a3: color(display-p3 0.0471 0.3098 1 / 0.246);
      --accent-a4: color(display-p3 0.0863 0.3294 1 / 0.36);
      --accent-a5: color(display-p3 0.1333 0.3686 1 / 0.439);
      --accent-a6: color(display-p3 0.1882 0.4196 1 / 0.509);
      --accent-a7: color(display-p3 0.2235 0.4431 1 / 0.601);
      --accent-a8: color(display-p3 0.2392 0.4588 0.9961 / 0.72);
      --accent-a9: color(display-p3 0.1608 0.3843 1 / 0.957);
      --accent-a10: color(display-p3 0.1294 0.3412 1 / 0.886);
      --accent-a11: color(display-p3 0.5725 0.7255 1 / 0.974);
      --accent-a12: color(display-p3 0.8353 0.898 1 / 0.987);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.0627 0.1176 0.2431 / 0.5);
      --accent-indicator: oklch(55.3% 0.2453 261.4);
      --accent-track: oklch(55.3% 0.2453 261.4);
    }
  }
}


.dark {
  --grayscale-1: #111113;
  --grayscale-2: #18191b;
  --grayscale-3: #212225;
  --grayscale-4: #272a2d;
  --grayscale-5: #2e3135;
  --grayscale-6: #363a3f;
  --grayscale-7: #43484e;
  --grayscale-8: #5a6169;
  --grayscale-9: #696e77;
  --grayscale-10: #777b84;
  --grayscale-11: #b0b4ba;
  --grayscale-12: #edeef0;

  --grayscale-a1: #00000000;
  --grayscale-a2: #d8f4f609;
  --grayscale-a3: #ddeaf814;
  --grayscale-a4: #d3edf81d;
  --grayscale-a5: #d9edfe25;
  --grayscale-a6: #d6ebfd30;
  --grayscale-a7: #d9edff40;
  --grayscale-a8: #d9edff5d;
  --grayscale-a9: #dfebfd6d;
  --grayscale-a10: #e5edfd7b;
  --grayscale-a11: #f1f7feb5;
  --grayscale-a12: #fcfdffef;

  --grayscale-contrast: #fff;
  --grayscale-surface: rgba(0, 0, 0, 0.05);
  --grayscale-indicator: #696e77;
  --grayscale-track: #696e77;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --grayscale-1: color(display-p3 0.067 0.067 0.074);
      --grayscale-2: color(display-p3 0.095 0.098 0.105);
      --grayscale-3: color(display-p3 0.13 0.135 0.145);
      --grayscale-4: color(display-p3 0.156 0.163 0.176);
      --grayscale-5: color(display-p3 0.183 0.191 0.206);
      --grayscale-6: color(display-p3 0.215 0.226 0.244);
      --grayscale-7: color(display-p3 0.265 0.28 0.302);
      --grayscale-8: color(display-p3 0.357 0.381 0.409);
      --grayscale-9: color(display-p3 0.415 0.431 0.463);
      --grayscale-10: color(display-p3 0.469 0.483 0.514);
      --grayscale-11: color(display-p3 0.692 0.704 0.728);
      --grayscale-12: color(display-p3 0.93 0.933 0.94);

      --grayscale-a1: #00000000;
      --grayscale-a2: #d8f4f609;
      --grayscale-a3: #ddeaf814;
      --grayscale-a4: #d3edf81d;
      --grayscale-a5: #d9edfe25;
      --grayscale-a6: #d6ebfd30;
      --grayscale-a7: #d9edff40;
      --grayscale-a8: #d9edff5d;
      --grayscale-a9: #dfebfd6d;
      --grayscale-a10: #e5edfd7b;
      --grayscale-a11: #f1f7feb5;
      --grayscale-a12: #fcfdffef;

      --grayscale-contrast: #fff;
      --grayscale-surface: color(display-p3 0 0 0 / 5%);
      --grayscale-indicator: color(display-p3 0.415 0.431 0.463);
      --grayscale-track: color(display-p3 0.415 0.431 0.463);
    }
  }
}

.light, :root {
  color-scheme: light;
  --accent: rgba(0, 97, 254, 1);
  --background: rgba(255, 255, 255, 1);
  --border: initial;
  --sidebar-background: rgba(245, 247, 250, 1);
  --header-background: rgba(250, 250, 250, 1);
  --card-background: initial;
  --theme-color: #fff;
}

.dark {
  color-scheme: dark;
  --accent: rgba(0, 97, 254, 1);
  --background: rgba(24, 26, 27, 1);
  --border: initial;
  --sidebar-background: rgba(29, 31, 32, 1);
  --header-background: rgba(27, 29, 30, 1);
  --card-background: initial;
  --theme-color: #181a1b;
}

:root {
  --callout-text-color: #1a1918ff;
  --bluebox-background-color: #e6eef8;
  --mdx-link-hover: #65a0ff;
  --table-header-bg: #0061fe;
}

.dark {
  --callout-text-color: #e0e0e0ff;
  --bluebox-background-color: #222425;
  --mdx-link-hover: #4d9fff;
  --table-header-bg: #004ecb;
}

/*
  Styling for beta badges
*/
.beta-badge {
  background: rgba(0, 179, 230, 0.12);
  text-align: center;
  border-radius: 12px;
  padding: 2px 8px;
  color: #000;
}

.beta-badge.operation {
  vertical-align: super;
  line-height: 1.5;
  font-size: 14px;
  margin-left: 10px;
}

.beta-badge.field {
  align-self: baseline;
  margin-bottom: 12px;
  font-size: 12px;
}

.beta-disclaimer {
  background-color: rgba(245, 247, 250, 1);
  color: #000;
  font-size: 16px;
  padding: 8px 12px;
  margin: 12px 0;
  border-radius: 4px;
}

/*
  Styling for using images in tables
*/

.add-style-to-screenshot-column + table th:nth-child(2) {
  width: 60%;
  min-width: 25%;
}

/*
  Styling for images that are "zoomable"
*/
.zoomable-image {
  cursor: zoom-in;
}

/*
  Styling for image modals
*/
.img-modal {
  position: fixed;
  z-index: 25;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.5);
}

/*
    Modal Content (Image)
  */
.img-modal-content {
  max-width: 75%;
  max-height: 95%;
  margin: auto;
  display: block;
  animation-name: zoom;
  animation-duration: 0.6s;
  cursor: zoom-out;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.before-code-comparison {
  height: 20px;
}

.before-code-comparison
  + .code-snippets-tabs
  .snippets-tabs-headers
  .tab-header {
  text-decoration: none;
  text-align: center;
  width: auto;
  outline: none;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
  padding: 8px 10px !important;
  min-width: 120px;
}

.before-code-comparison
  + .code-snippets-tabs
  .snippets-tabs-headers
  .tab-header.active {
  background-color: #e4e7eb;
}

.before-code-comparison
  + .code-snippets-tabs
  .snippets-tabs-contents
  .tab-content {
  margin-top: 0;
  border-radius: 0;
}

.before-code-comparison
  + .code-snippets-tabs
  .gatsby-highlight
  pre[class*="language-"],
pre[class*="language-"] {
  border-radius: 0 0 4px 4px;
}

/* code.wrap-me {
    display: inline-block;
    white-space: normal;
    max-width: 100%;
    word-break: break-all;
} */

.wrap-me + code.wrap-sign-url {
  display: inline-block;
  white-space: normal;
  max-width: 100%;
  word-break: break-all;
}

.endpoints-dropdown {
  background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+)
    no-repeat 95% 50%;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  /* and then whatever styles you want*/
  height: 30px;
  width: 25%;
  padding: 5px;
}

.brandingDemo {
  flex-grow: 1;
  border: none;
  margin: 0;
  padding: 0;
}

.embedded-container {
  display: flex;
  justify-content: left;
  width: 100%;
}

.embedded-btn {
  float: right;
  margin-top: 20px;
  background-color: #0061fe;
  color: white;
  border: none;
  padding: 10px;
}

.form-container {
  width: 100%;
}

.embedded-input {
  width: 60%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.embedded-label {
  margin-top: 20px;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.embedded-label,
.embedded-input {
  display: block;
}

.embedded-helper-text {
  color: darkgray;
  font-size: 0.9rem;
}

#sign-container {
  height: 500px;
  margin-top: 50px;
}

/* Dropbox Sign API Landing Page Styles */

.dropbox-hero-section {
  background: #f7f5f2;
  padding: 4rem 0 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

:is(.dark) .dropbox-hero-section {
  background: #181a1b;
}

.hero-content {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 48px;
}

.dropbox-hero-img {
  width: 350px;
  max-width: 100%;
  border: 1px solid var(--grayscale-a4);
  border-radius: 8px;
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--grayscale-a11);
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-block;
  background: var(--accent-9);
  color: var(--accent-contrast);
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: var(--accent-10);
}
.cta-btn:focus-visible {
  background: var(--accent-10);
}

.features-section {
  padding: 56px 0 40px 0;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 32px auto 0 auto;
}

.feature-card {
  border-radius: 12px;
  padding: 32px 20px;
  min-height: 180px;
  background: #f7f5f2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

:is(.dark) .feature-card {
  background: #17191a;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin: 1rem 0;
  text-align: left;
}

.feature-card p {
  font-size: 1rem;
  text-align: left;
}

.how-it-works-section {

  padding: 56px 0 40px 0;
  display: flex;
  align-items: center;
  flex-direction: column;

  h2 {
    padding-bottom: 1rem !important;
  }

  h3 {
    text-align: left;
    padding-bottom: 1rem !important;
  }

  .fern-step {
    padding-bottom: 2rem !important;
  }

}

.cta-section {

  padding: 0 1rem;

  .cta-container {

    background: linear-gradient(
      180deg,
      var(--grayscale-a12) 60%,
      var(--grayscale-contrast) 100%
    );
    text-align: center;
    padding: 56px 0 64px 0;
    border-radius: 20px;

    a {

      background: var(--grayscale-1);
      color: var(--grayscale-contrast);
      padding: 14px 36px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1.1rem;
      text-decoration: none;
      transition: background 0.2s;

      &:hover {
        background: var(--grayscale-3);
      }
&:focus-visible {
        background: var(--grayscale-3);
      }
    
}

    h2 {
      font-size: 2rem;
      margin-bottom: 18px;
      color: var(--grayscale-1);
    }

    p {
      font-size: 1.2rem;
      margin-bottom: 28px;
      color: var(--grayscale-1);
    }
  
}

}

:is(.dark) .cta-section .cta-container h2 {
  color: var(--grayscale-12);
}

:is(.dark) .cta-section .cta-container p {
  color: var(--grayscale-11);
}

:is(.dark) .cta-section .cta-container a {
  background: var(--grayscale-12);
  color: var(--grayscale-1);
}

:is(.dark) .cta-section .cta-container a:hover {
  background: var(--grayscale-11);
}
:is(.dark) .cta-section .cta-container a:focus-visible {
  background: var(--grayscale-11);
}

:is(.dark) .cta-section .cta-container {
  background: linear-gradient(
    180deg,
    var(--grayscale-a3) 60%,
    var(--grayscale-a4) 100%
  );
}

@media (max-width: 900px) {

  .hero-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
  }

}

/*
===============================================
 MIGRATION STYLES
===============================================
*/

.flex.w-full.items-center.justify-stretch.gap-4.max-w-page-width.mx-auto
  > .flex.w-full.flex-row.gap-2 {
  order: 1;
  justify-content: flex-end;
  max-width: 200px;
}

.prose,
.fern-prose,
p {
  line-height: 1.5em;
}

body {
  line-height: 1.5em;
}

/* .fern-header-container > * {
  border-radius: 20px !important;
} */

/* .dark .fern-layout-reference-aside .code-block-inner {
 background-color: #263238 !important;
} */

.fern-callout > div {
  align-items: center;
}

.fern-callout {
  color: var(--callout-text-color);
}

/* Reduce spacing between callout titles and content. */
.fern-callout > div > :last-child > div:first-child + * {
  margin-top: 0.25rem;
}

/*
  Iconless callouts - hide the icon
*/
.iconless > div > div:first-child {
  display: none;
}

/*
  Word wrap for long code in table cells
*/
code.wrap-code {
  word-break: break-all;
}

/*
  Blue box styling for callout boxes
*/
.bluebox {
  background: var(--bluebox-background-color);
  border-radius: 4px;
  padding: 16px;
  margin: 16px 0;
}

/*
  Remove auto margins for left alignment
*/
.no-center {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/*
  Hide external link icon next to images
*/
.no-center + .external-link-icon {
  display: none;
}

/*
  Two-column intro layout for overview page
*/
.intro-two-column {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.intro-two-column-text {
  flex: 1;
}

.intro-two-column-image {
  width: 35%;
  flex-shrink: 0;
}

.intro-two-column-image img {
  width: 100%;
}

/*
  Inline code styling - red text
*/
:not(pre) > code {
  color: var(--red-9);
}

/*
  MDX link styling - no underline, hide external icon
*/
a.fern-mdx-link {
  text-decoration: none;
}

/* a.fern-mdx-link svg {
  display: none;
} */

a.fern-mdx-link:hover {
  color: var(--mdx-link-hover);
}
a.fern-mdx-link:focus-visible {
  color: var(--mdx-link-hover);
}

/*
  Table styling - header background and column borders
*/
.fern-table th {
  background-color: var(--table-header-bg);
  color: white;
}

.fern-table th,
.fern-table td {
  border-left: 1px solid var(--grayscale-a6);
}

.fern-table th:first-child,
.fern-table td:first-child {
  border-left: none;
}

.fern-api-property-optional {
  display: none !important;
}

/* Render defaults on their own line below the property name and type. */
.fern-api-property-meta {
  display: contents;
}

.fern-api-property-default {
  flex-basis: 100%;
}

/* Use product terminology for the two generated authentication choices. */
.fern-endpoint-section-auth > div:nth-child(3) .fern-api-property-type,
.fern-endpoint-section-auth > div:nth-child(5) .fern-api-property-type {
  font-size: 0;
}

.fern-endpoint-section-auth > div:nth-child(3) .fern-api-property-type::after {
  /* Fern does not expose a setting for customizing authentication labels, so override the generated labels with CSS. */
  content: "API Key";
  font-size: 0.75rem;
}

.fern-endpoint-section-auth > div:nth-child(5) .fern-api-property-type::after {
  /* Fern does not expose a setting for customizing authentication labels, so override the generated labels with CSS. */
  content: "OAuth";
  font-size: 0.75rem;
}

/* Code examples embedded in tables should read as blocks, not inline tokens. */
.table-code-block {
  margin: 0.75rem 0 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 0.5rem;
  background: #1e1f20;
  padding: 0.75rem 1rem;
  color: #f7f5f2;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.table-code-block code {
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  white-space: pre;
}

/*
  OAuth Scopes Injection Styles
*/
/* Target the parent inline-flex container when it contains our callout */
.inline-flex:has(.oauth-scopes-callout) {
  flex-wrap: wrap;
  width: 100%; /* Make parent 100% width */
  max-width: 100%;
}

/* Make the h3 take full width to push callout to next line */
.inline-flex:has(.oauth-scopes-callout) > h3 {
  flex-basis: 100%;
}

.oauth-scopes-callout {
  background: var(--bluebox-background-color);
  border-radius: 4px;
  padding: 10px 14px;
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
  flex-basis: 100%;
  box-sizing: border-box;
}

/* Dark mode: adjust callout text color */
.dark .oauth-scopes-callout {
  color: #e0e0e0;
}

.oauth-scopes-callout code,
.oauth-scopes-line code {
  background: #ffffff; /* White background */
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px; /* Increased by 1px (was 11px) */
}

/* Dark mode: match Fern's default dark mode code styling */
.dark .oauth-scopes-callout code,
.dark .oauth-scopes-line code {
  background: rgba(0, 0, 0, 0.05);
  color: color(display-p3 0.83 0.329 0.324);
  padding: 2px 4px;
}

.oauth-scopes-line {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

:root{--footer-background: #f8f9fa;--link-color: #0061FE;--column-title-color: #1e1919;--copyright-color: #1e1919}.dark{--footer-background: #1c1e1f;--link-color: #0061fe;--column-title-color: #f8f9fa;--copyright-color: #f8f9fa}#dropbox-footer{width:100%}#dropbox-footer footer{font-family:Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.6;font-size:14px;background:var(--footer-background);max-width:100%;margin:0 auto}#dropbox-footer .footer-container{padding:60px 80px 40px 250px;max-width:1200px;margin:0 auto}#dropbox-footer .footer-columns{display:grid;grid-template-columns:1fr 1fr 1fr;gap:60px}#dropbox-footer .footer-column{display:flex;flex-direction:column}#dropbox-footer .column-title{font-size:14px;font-weight:700;color:var(--column-title-color);margin:0 0 24px;letter-spacing:0}#dropbox-footer .footer-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}#dropbox-footer .footer-links li{margin:0}#dropbox-footer .footer-links a{text-decoration:none;color:var(--link-color);font-size:14px;font-weight:400;transition:color .2s ease}#dropbox-footer .footer-links a:hover{color:#0052d9;text-decoration:underline}
#dropbox-footer .footer-links a:focus-visible {color:#0052d9;text-decoration:underline}#dropbox-footer .footer-bottom{padding:40px 80px 60px;text-align:center}#dropbox-footer .copyright{color:var(--copyright-color);font-size:14px;margin:0}@media (max-width: 1024px) {
#dropbox-footer .footer-container{padding:40px 40px 30px}#dropbox-footer .footer-columns{gap:40px}#dropbox-footer .footer-bottom{padding:30px 40px 40px}
}@media (max-width: 768px) {
#dropbox-footer .footer-container{padding:30px 24px 20px}#dropbox-footer .footer-columns{grid-template-columns:1fr 1fr;gap:30px}#dropbox-footer .footer-bottom{padding:20px 24px 30px}
}@media (max-width: 480px) {
#dropbox-footer .footer-container{padding:24px 16px 16px}#dropbox-footer .footer-columns{grid-template-columns:1fr;gap:24px}#dropbox-footer .footer-bottom{padding:16px 16px 24px}
}
