/* ShipTime look for the RapiDoc page, after shiptime.com: Manrope, navy type, orange actions */

body.shiptime {
  background: #ffffff;
}

body.shiptime rapi-doc {
  --border-radius: 8px;
  --font-size-regular: 14px;
  --font-size-small: 13px;
  --font-size-mono: 13px;
  --fg: #1c1e3d;
  --fg2: #3b3e5c;
  --fg3: #6e728a;
  --light-fg: #6e728a;
  --bg2: #f8fafb;
  --bg3: #f1f3f6;
  --border-color: #d2d5dd;
  --light-border-color: #e8e8e8;
  --code-bg: #f1f3f6;
  --inline-code-fg: #1c1e3d;
  --placeholder-color: #8a8a8a;
  --hover-color: #f8fafb;
  --nav-item-padding: 7px 12px;
  --focus-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #ec5a26;
  /* Method colours, in the sidebar and the operation headings */
  --blue: #1971c2;
  --green: #1e7e34;
  --orange: #b85c00;
  --red: #dc3545;
  --nav-get-color: #1971c2;
  --nav-post-color: #1e7e34;
  --nav-put-color: #b85c00;
  --nav-patch-color: #b85c00;
  --nav-delete-color: #dc3545;
}

/* Top bar */
body.shiptime rapi-doc::part(section-header) {
  min-height: 72px;
  padding: 0 24px;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
}

body.shiptime rapi-doc::part(label-header-title) {
  color: #6e728a;
  font-size: 16px;
  font-weight: 500;
}

body.shiptime img[slot="logo"] {
  height: 40px;
  margin-right: 20px;
}

body.shiptime a[slot="header"] {
  color: #6e728a;
  font-weight: 500;
}

body.shiptime a[slot="header"]:hover {
  color: #ec5a26;
}

/* Sidebar: tags are section headings, operations carry a coloured method */
body.shiptime rapi-doc::part(section-navbar) {
  background: #ffffff;
  border-right: 1px solid #e8e8e8;
}

body.shiptime rapi-doc::part(section-navbar-item) {
  /* auto, not 100%: with the side margins a full-width item overflows and scrolls sideways */
  width: auto;
  margin: 1px 10px;
  border-left: 0;
  border-radius: 8px;
  color: #6e728a;
  font-size: 13.5px;
  font-weight: 500;
}

body.shiptime rapi-doc::part(section-navbar-path):hover {
  background: #f8fafb;
  color: #1c1e3d;
}

body.shiptime rapi-doc::part(section-navbar-active-item) {
  background: #fdeee8;
  color: #1c1e3d;
  font-weight: 600;
}

body.shiptime rapi-doc::part(section-navbar-tag) {
  margin: 14px 10px 4px;
  padding: 14px 12px 4px;
  border-top: 1px solid #e8e8e8;
  border-radius: 0;
  background: transparent;
  color: #1c1e3d;
  font-size: 15px;
  font-weight: 700;
}

body.shiptime rapi-doc::part(section-navbar-auth),
body.shiptime rapi-doc::part(section-navbar-operations-top) {
  color: #1c1e3d;
  font-weight: 600;
}

body.shiptime rapi-doc::part(textbox-nav-filter) {
  background: #ffffff;
  border: 2px solid #e8e8e6;
  border-radius: 8px;
  color: #1c1e3d;
}

/* Content: white page, soft bordered cards */
body.shiptime rapi-doc::part(section-main-content) {
  background: #ffffff;
}

body.shiptime rapi-doc::part(section-overview),
body.shiptime rapi-doc::part(section-auth),
body.shiptime rapi-doc::part(section-operation) {
  margin: 20px 32px;
  padding: 28px 30px;
  background: #f8fafb;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
}

body.shiptime rapi-doc::part(section-tag) {
  margin: 44px 32px 0;
  padding: 0;
  border: 0;
}

body.shiptime rapi-doc::part(section-operations-in-tag) {
  padding: 0;
}

body.shiptime rapi-doc::part(operation-divider) {
  display: none;
}

body.shiptime rapi-doc::part(section-overview-title),
body.shiptime rapi-doc::part(label-tag-title) {
  color: #1c1e3d;
  font-size: 30px;
  font-weight: 700;
  text-transform: capitalize;
}

/* Buttons: orange fill for actions, white with a grey outline otherwise */
body.shiptime rapi-doc::part(btn) {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
}

body.shiptime rapi-doc::part(btn-fill) {
  background-color: #ec5a26;
  border-color: #ec5a26;
  color: #ffffff;
}

body.shiptime rapi-doc::part(btn-fill):hover {
  background-color: #d35635;
  border-color: #d35635;
}

body.shiptime rapi-doc::part(btn-outline) {
  background-color: #ffffff;
  border-color: #d2d5dd;
  color: #000000;
}

body.shiptime rapi-doc::part(btn-outline):hover {
  background-color: #f8fafb;
  border-color: #1c1e3d;
}

body.shiptime rapi-doc::part(textbox) {
  border-color: #e8e8e6;
  border-radius: 8px;
  color: #1c1e3d;
}

body.shiptime rapi-doc::part(textbox):focus {
  border-color: #ec5a26;
}
