/*----------------------------------------------------------------
    Consam documentation – design layer
    Loaded after main.css: Consam colors (green #0C6E6D, yellow #F9D67B),
    Nunito Sans, card sections, hero, video players and step chips.
----------------------------------------------------------------*/
:root {
  --tpl-ff-heading: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tpl-ff-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --clr-theme-1: #0c6e6d;
  --clr-theme-2: #eef6f6;
  --cd-primary: #0c6e6d;
  --cd-primary-dark: #084f4e;
  --cd-primary-soft: #e6f2f2;
  --cd-gold: #f9d67b;
  --cd-gold-soft: #fff8e6;
  --cd-heading: #1f2b2b;
  --cd-text: #556262;
  --cd-muted: #7c8a8a;
  --cd-line: #e1ecec;
  --cd-bg: #f5f9f9;
  --cd-card: #ffffff;
  --cd-radius: 18px;
  --cd-shadow: 0 1px 2px rgba(12, 60, 60, 0.04), 0 10px 30px -12px rgba(12, 60, 60, 0.14);
}

body {
  font-family: var(--tpl-ff-body);
  color: var(--cd-text);
  background: var(--cd-bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tpl-ff-heading);
  color: var(--cd-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
}
b, strong {
  color: var(--cd-heading);
  font-weight: 700;
}
a,
a:focus,
a:visited {
  color: var(--cd-primary);
}
a:hover {
  color: var(--cd-primary-dark);
}
code {
  background: var(--cd-primary-soft);
  color: var(--cd-primary-dark);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
}
::selection {
  background: var(--cd-gold);
  color: var(--cd-heading);
}

/* ---------------------------------------------------------------- header */
.header {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--cd-line);
  box-shadow: 0 6px 24px -18px rgba(12, 60, 60, 0.5);
}
.header .logo {
  padding: 22px 0;
}
.header .logo img {
  height: 30px;
  width: auto;
}
.header-menu ul li a {
  color: var(--cd-heading);
  font-weight: 700;
  font-size: 15px;
}
.header-menu nav ul li:hover a {
  color: var(--cd-primary);
}
.bd-btn {
  background: var(--cd-primary);
  border: 1px solid var(--cd-primary);
  border-radius: 999px;
  height: 46px;
  line-height: 44px;
  padding: 0 26px;
  font-weight: 700;
  box-shadow: 0 8px 18px -10px rgba(12, 110, 109, 0.8);
}
.bd-btn:hover {
  background: var(--cd-gold);
  border-color: var(--cd-gold);
  color: var(--cd-heading) !important;
}
.offcanvas-toggle {
  color: var(--cd-primary);
}
.bd-doc-area {
  padding-top: 112px;
  padding-bottom: 60px;
}

/* ---------------------------------------------------------------- sidebar */
.bd-doc-sidebar {
  top: 100px;
}
.bd-doc-sidebar h3 {
  background: linear-gradient(120deg, var(--cd-primary-dark), var(--cd-primary) 60%, #18a09d);
  border-radius: 14px 14px 0 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 15px 22px;
  margin-right: 10px;
}
.nav-doc-sidebar {
  background: var(--cd-card);
  border: 1px solid var(--cd-line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  margin-right: 10px;
  padding: 8px 8px 80px;
  height: calc(100vh - 170px);
  scrollbar-width: thin;
  scrollbar-color: #c9dcdc transparent;
}
.nav-doc-sidebar li {
  background: transparent;
  border-radius: 10px;
  margin-top: 2px;
  overflow: hidden;
}
.nav-doc-sidebar > li > a {
  padding: 11px 38px 11px 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cd-heading);
  border-radius: 10px;
}
.nav-doc-sidebar > li:hover > a {
  background: var(--cd-bg);
}
.nav-doc-sidebar > li.active > a {
  background: var(--cd-primary-soft);
  color: var(--cd-primary);
}
.bd-doc-sidebar .nav-doc-sidebar li .bd-progress-bar {
  background: rgba(12, 110, 109, 0.08);
  border-radius: 10px;
}
.nav-doc-sidebar li .icon {
  top: 9px;
  right: 14px;
  font-size: 12px;
  color: var(--cd-muted);
}
.nav-doc-sidebar li ul {
  background: transparent;
  padding: 6px 0 8px 30px;
}
.nav-doc-sidebar li ul::before {
  left: 18px;
  background: var(--cd-line);
}
.nav-doc-sidebar li ul li {
  margin: 9px 0;
}
.nav-doc-sidebar li ul li::before {
  color: #b6cccc;
}
.nav-doc-sidebar li ul li a {
  font-size: 13.5px;
  color: var(--cd-text);
}
.nav-doc-sidebar li ul li a:hover,
.nav-doc-sidebar li.active ul li.active a,
.nav-doc-sidebar li ul li a.active {
  color: var(--cd-primary);
  font-weight: 700;
}

/* ---------------------------------------------------------------- hero (item info) */
.bd-doc-content-wrap .item-info {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 46px 44px 40px;
  margin-bottom: 30px !important;
  color: #e3f1f0;
  background:
    radial-gradient(520px 260px at 92% 10%, rgba(249, 214, 123, 0.35), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(24, 160, 157, 0.45), transparent 70%),
    linear-gradient(135deg, #052e2e 0%, #0a5655 55%, #0c6e6d 100%);
  box-shadow: 0 24px 50px -28px rgba(5, 46, 46, 0.9);
}
.bd-doc-content-wrap .item-info::before {
  content: "Documentation";
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cd-heading);
  background: var(--cd-gold);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.bd-doc-content-wrap .item-info::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.05);
}
.bd-doc-content-wrap ul.item-details {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.bd-doc-content-wrap .item-details li {
  margin: 0;
  font-size: 15px;
}
.bd-doc-content-wrap .item-details li:first-child {
  flex-basis: 100%;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.bd-doc-content-wrap .item-details li:first-child strong {
  display: none;
}
.bd-doc-content-wrap .item-details strong {
  color: #fff;
  font-weight: 700;
}
.bd-doc-content-wrap .item-details a {
  color: var(--cd-gold);
}
.bd-doc-content-wrap .item-details a:hover {
  color: #fff;
}

/* ---------------------------------------------------------------- sections */
.bd-doc-content-wrap {
  padding: 0 6px;
}
.bd-doc-section {
  background: var(--cd-card);
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius);
  box-shadow: var(--cd-shadow);
  padding: 40px 44px 14px;
  margin-bottom: 30px !important;
  scroll-margin-top: 100px;
}
.bd-doc-section h2 {
  font-size: 32px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 24px !important;
}
.bd-doc-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cd-primary), var(--cd-gold));
}
.sub_section {
  scroll-margin-top: 100px;
  padding-top: 26px;
  border-top: 1px dashed var(--cd-line);
}
.doc-item-section > h2 + .sub_section,
.doc-item-section > .mb-30 + .sub_section,
.doc-item-section > blockquote + .sub_section {
  border-top: 0;
  padding-top: 4px;
}
.sub_section h3 {
  font-size: 22px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px !important;
}
.sub_section h3::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cd-primary);
  box-shadow: 0 0 0 5px var(--cd-primary-soft);
}
.bd-doc-content-wrap p {
  margin-bottom: 14px;
}

/* path chips: Navigate to Dashboard › Appearance › … */
.step_item_wrpa {
  gap: 8px 4px;
  vertical-align: middle;
}
.step_item {
  background: var(--cd-primary-soft);
  color: var(--cd-primary-dark);
  border: 1px solid #cfe4e3;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  padding: 3px 12px;
  margin: 0 22px 0 0;
}
.step_item:last-child {
  background: var(--cd-primary);
  border-color: var(--cd-primary);
  color: #fff;
}
.step_item + .step_item::before {
  content: "\f105";
  left: -17px;
  color: #9db8b8;
  font-weight: 700;
}

/* numbered steps */
.steps-style {
  border: 1px solid var(--cd-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdfd, #fff);
  box-shadow: none;
}
.steps-style ul.list-decimal::before {
  background: #d4e6e5;
  left: 34px;
}
.steps-style ul li {
  color: var(--cd-text);
  margin: 18px 0;
  line-height: 1.7;
}
.steps-style ul.list-decimal li::before {
  background: var(--cd-primary);
  border-color: #fff;
  box-shadow: 0 0 0 1px #d4e6e5;
  font-weight: 800;
  line-height: 22px;
}

/* notes */
.bd-notice {
  border-left: 0;
  border-radius: 14px;
  padding: 18px 22px 18px 58px;
  position: relative;
}
.bd-notice::before {
  content: "\f0eb";
  font-family: var(--tpl-ff-font-awesome);
  font-weight: 900;
  position: absolute;
  left: 20px;
  top: 17px;
  font-size: 18px;
}
.bd-notice p {
  color: var(--cd-heading);
  line-height: 1.7;
}
.bd-warning {
  background: var(--cd-gold-soft);
  border: 1px solid #f3e1a6;
}
.bd-warning::before {
  color: #c79200;
}

/* code */
.bd-doc-content-wrap pre {
  background: #062b2b;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 22px;
}
.bd-doc-content-wrap pre code {
  background: transparent;
  color: #bfe9e6;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
}

/* screenshots */
.sub_section img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--cd-line);
  box-shadow: 0 16px 34px -24px rgba(12, 60, 60, 0.55);
  background: #fff;
}

/* videos */
.bd-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #062b2b;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 48px -26px rgba(5, 46, 46, 0.9);
  border: 1px solid #0b4645;
}
.bd-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #062b2b;
}

/* ---------------------------------------------------------------- content components (used in docs-content.json) */
.cd-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 8px 0 6px;
}
.cd-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  border: 1px solid var(--cd-line);
  border-radius: 16px;
  background: #fff;
  color: var(--cd-text) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cd-card:hover {
  transform: translateY(-3px);
  border-color: #b8d7d6;
  box-shadow: 0 18px 30px -22px rgba(12, 60, 60, 0.6);
}
.cd-card i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cd-primary-soft);
  color: var(--cd-primary);
  font-size: 18px;
  margin-bottom: 8px;
}
.cd-card b {
  font-size: 16px;
}
.cd-card small {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cd-muted);
}
.cd-cards--video .cd-card i {
  background: var(--cd-primary);
  color: #fff;
  border-radius: 50%;
}
.cd-cards--video .cd-card:hover i {
  background: var(--cd-gold);
  color: var(--cd-heading);
}

/* 3-step flow */
.cd-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 10px 0 8px;
}
.cd-flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--cd-primary-soft), #fff 70%);
  border: 1px solid #d2e7e6;
}
.cd-flow__step:not(:last-child)::after {
  content: "\f061";
  font-family: var(--tpl-ff-font-awesome);
  font-weight: 900;
  position: absolute;
  right: -15px;
  top: 32px;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-size: 12px;
  border-radius: 50%;
  background: var(--cd-gold);
  color: var(--cd-heading);
  z-index: 2;
}
.cd-flow__num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cd-primary);
  color: #fff;
  font-weight: 800;
}
.cd-flow__step b {
  font-size: 17px;
}
.cd-flow__step small {
  font-size: 14px;
  line-height: 1.55;
}

/* table */
.cd-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--cd-line);
  border-radius: 14px;
  margin: 6px 0 20px;
  font-size: 14.5px;
}
.cd-table thead,
.cd-table tbody {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.cd-table th {
  background: var(--cd-primary);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
}
.cd-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--cd-line);
  vertical-align: top;
  line-height: 1.5;
}
.cd-table tbody tr:nth-child(even) td {
  background: #f8fbfb;
}
.cd-table th:first-child,
.cd-table td:first-child {
  width: 18%;
}
.cd-table th:last-child,
.cd-table td:last-child {
  width: 16%;
}

/* priority chain */
.cd-priority {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.cd-priority > span {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--cd-line);
  background: #fff;
}
.cd-priority > span:first-child {
  background: var(--cd-primary);
  border-color: var(--cd-primary);
}
.cd-priority > span:first-child b,
.cd-priority > span:first-child small {
  color: #fff;
}
.cd-priority small {
  color: var(--cd-muted);
  font-size: 13.5px;
}
.cd-priority > i {
  align-self: center;
  color: var(--cd-gold);
  font-size: 20px;
}

/* ---------------------------------------------------------------- right column, offcanvas */
.bd-need-work {
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(249, 214, 123, 0.35), transparent 70%),
    linear-gradient(160deg, #063d3c, #0c6e6d);
  border-radius: 18px;
  padding: 24px 22px 26px;
  top: 100px;
  box-shadow: 0 20px 40px -26px rgba(5, 46, 46, 0.9);
}
.bd-need-work h5 {
  color: #fff;
  text-transform: capitalize;
}
.bd-need-work p {
  color: #cfe6e5;
}
.bd-need-work a,
.bd-need-work a:visited {
  background: var(--cd-gold);
  border-color: var(--cd-gold);
  color: var(--cd-heading);
  font-weight: 700;
  border-radius: 999px;
  padding: 0 18px;
}
.bd-need-work a:hover {
  background: #fff;
  border-color: #fff;
  color: var(--cd-primary);
}
.offcanvas__info {
  background: #fff;
}

/* ---------------------------------------------------------------- small screens */
@media (max-width: 991px) {
  .cd-flow {
    grid-template-columns: 1fr;
  }
  .cd-flow__step:not(:last-child)::after {
    content: "\f063";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -15px;
    margin-left: -13px;
  }
  .bd-doc-section {
    padding: 30px 26px 8px;
  }
}
@media (max-width: 767px) {
  .bd-doc-area {
    padding-top: 96px;
  }
  .bd-doc-content-wrap .item-info {
    padding: 32px 24px 28px;
  }
  .bd-doc-content-wrap .item-details li:first-child {
    font-size: 24px;
  }
  .bd-doc-section {
    padding: 26px 18px 6px;
    border-radius: 14px;
  }
  .bd-doc-section h2 {
    font-size: 26px;
  }
  .sub_section h3 {
    font-size: 19px;
  }
  .cd-table thead,
  .cd-table tbody {
    table-layout: auto;
    min-width: 560px;
  }
  .step_item {
    margin-right: 18px;
  }
}

/* ---------------------------------------------------------------- follow-ups */
/* headings keep their own case (the template capitalized every word) */
.bd-doc-content-wrap h2,
.bd-doc-content-wrap h3 {
  text-transform: none;
}
/* reading progress: a thin line under the section name instead of a filled box */
.bd-doc-sidebar .nav-doc-sidebar li .bd-progress-bar {
  top: auto;
  bottom: 2px;
  left: 14px;
  height: 2px;
  max-width: calc(100% - 28px);
  background: linear-gradient(90deg, var(--cd-primary), var(--cd-gold));
  border-radius: 2px;
}
/* the part you are reading */
.nav-doc-sidebar li ul li.current > a {
  color: var(--cd-primary);
  font-weight: 800;
}
.nav-doc-sidebar li ul li.current::before {
  color: var(--cd-gold);
}
/* only the part you are reading is highlighted (not the template's first item or scrollspy links) */
.nav-doc-sidebar li.active ul li:not(.current) > a {
  color: var(--cd-text);
  font-weight: 400;
}
.nav-doc-sidebar li.active ul li:not(.current) > a:hover {
  color: var(--cd-primary);
}
.bd-need-work h5 {
  text-transform: none;
  font-size: 19px;
}
/* logo: never cropped (the template sets object-fit: cover on every image) */
.logo img,
.offcanvas__logo img {
  object-fit: contain;
  height: auto;
  width: 150px;
  max-width: 100%;
}
/* screenshots open full size on click */
.sub_section img {
  cursor: zoom-in;
}
.header .logo img {
  height: auto;
  width: 170px;
}
@media (max-width: 767px) {
  .header .logo img {
    width: 140px;
  }
}

/* ---------------------------------------------------------------- sidebar clean-up */
/* no progress lines under the items */
.bd-doc-sidebar .nav-doc-sidebar li .bd-progress-bar {
  display: none !important;
}
.nav-doc-sidebar {
  padding: 10px 10px 80px;
}
.nav-doc-sidebar > li {
  margin: 2px 0;
  overflow: visible;
}
.nav-doc-sidebar > li > a {
  padding: 10px 40px 10px 14px;
  border-radius: 10px;
}
.nav-doc-sidebar > li .icon {
  top: 10px;
  right: 14px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 6px;
  color: var(--cd-muted);
}
.nav-doc-sidebar > li.active .icon {
  color: var(--cd-primary);
}
/* sub items: a plain list with one thin line on the left */
.nav-doc-sidebar li ul {
  margin: 4px 0 8px 18px;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--cd-line);
}
.nav-doc-sidebar li ul::before,
.nav-doc-sidebar li ul li::before {
  display: none;
}
.nav-doc-sidebar li ul li {
  margin: 0;
  padding: 0;
}
.nav-doc-sidebar li ul li a {
  display: block;
  padding: 6px 10px;
  margin-left: -16px;
  padding-left: 24px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--cd-text);
  border-radius: 0 8px 8px 0;
}
.nav-doc-sidebar li ul li a:hover {
  background: var(--cd-bg);
  color: var(--cd-primary);
}
.nav-doc-sidebar li ul li.current > a {
  border-left-color: var(--cd-primary);
  background: var(--cd-primary-soft);
  color: var(--cd-primary);
  font-weight: 700;
}
/* slim scrollbar */
.nav-doc-sidebar::-webkit-scrollbar {
  width: 6px;
}
.nav-doc-sidebar::-webkit-scrollbar-thumb {
  background: #c9dcdc;
  border-radius: 6px;
}

/* sub items: each link carries its own left line, so the highlight stays inside the box */
.nav-doc-sidebar li ul {
  margin: 4px 8px 8px 14px;
  padding: 0;
  border-left: 0;
}
.nav-doc-sidebar li ul li,
.nav-doc-sidebar li ul li.active {
  background: transparent !important;
}
.nav-doc-sidebar li ul li a {
  margin-left: 0;
  padding: 7px 12px 7px 16px;
  border-left: 2px solid var(--cd-line);
  border-radius: 0 8px 8px 0;
}
.nav-doc-sidebar li ul li.current > a {
  border-left-color: var(--cd-primary);
}

/* sidebar type: clear size and weight steps (section 15px bold, part 14.5px semibold) */
.nav-doc-sidebar > li > a {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cd-heading);
}
.nav-doc-sidebar > li.active > a {
  font-weight: 800;
}
.nav-doc-sidebar li ul li a {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #3f4d4d;
  padding: 8px 12px 8px 16px;
  border-left: 2px solid #cfe0e0;
}
.nav-doc-sidebar li ul li a:hover {
  color: var(--cd-primary);
}
.nav-doc-sidebar li ul li.current > a {
  font-weight: 800;
  color: var(--cd-primary);
}
.nav-doc-sidebar li ul li:not(.current) > a {
  font-weight: 600 !important;
  color: #3f4d4d;
}
.nav-doc-sidebar li ul li:not(.current) > a:hover {
  color: var(--cd-primary);
}
.bd-doc-sidebar h3 {
  font-size: 14px;
}
