@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

.wrapper {
  margin-left: auto;
  margin-right: auto;
  padding: 10%;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #222;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Roboto", sans-serif;
}

.sr-only {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #fff;
  background-color: #2fa0f6;
  min-width: 120px;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-align: center;
}

.button svg {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  fill: #fff;
}

.button span {
  display: none;
}

@media (min-width: 900px) {
  .button span {
    display: initial;
  }
}

.button--icon {
  min-width: initial;
  padding: 0.5rem;
}

.tutorial .steps {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  margin-top: 25px;
}

.tutorial .step-des {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 7px;
  padding-left: 10px;
  color: #737373;
}

.button-container {
  display: flex;
  justify-content: end;
}

.button-container button {
  margin-left: 10px;
}

.code-segment {
  background-color: #121c2d;
  color: #a4d063;
  padding: 2.5% 1%;
  border-radius: 15px;
}

.steps_li li {
  margin-bottom: 12px;
  line-height: 140%;
  font-size: 16px;
}

.steps_li {
  /* margin-top: 20px; */
}

.customLink {
  color: #613fb3;
}

.link-box {
  background: #815dd41e;
  padding: 2.5% 2%;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  line-height: 150%;
  color: #613fb3;
}

.copy-btn {
  background: none;
  outline: none;
  border: 0px solid #ffffff;
  cursor: pointer;
}

.description-box {
  background: #ffffff;
  padding: 2.5% 1%;
  border-radius: 15px;
}

.step {
  color: #613fb3;
  font-weight: 100;
  font-size: 28px;
}

.parameter {
  color: #613fb3;
  font-weight: 600 !important;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .title2 {
    font-size: 1.5rem;
    padding: 5px;
  }

  .title6 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .page {
    padding: 10px;
  }

  .tutorial {
    padding: 5%;
  }

  .card2,
  .card2-active {
    width: 100%;
  }

  .description-box table,
  .ErrorCodes table {
    font-size: 0.9rem;
  }

  .parameter-cell,
  .dash-description {
    display: block;
    width: 100%;
  }

  .tutorialImage img {
    width: 100%;
  }

  .link-box {
    flex-direction: column;
    align-items: start;
  }

  .customLink {
    word-break: break-word;
    font-size: 0.9rem;
  }

  .API-doc img {
    width: 80%;
    margin-top: 20px;
  }
  .API-doc {
    display: block !important;
  }
  #headerEnrichment {
    display: block !important;
  }
  #headerEnrichment .card2-active {
    width: 100%;
  }
  #customLink2 {
    width: 100vw !important;
  }
  .link-box span {
    display: block;
    word-wrap: break-word; /* Ensures words break when necessary */
    overflow-wrap: break-word;
    white-space: normal; /* Allows text to wrap */
    max-width: 100%; /* Ensures text does not exceed container width */
    font-size: 14px; /* Adjust as needed for readability */
  }
  .code-segment pre {
    white-space: pre-wrap; /* Allows text wrapping */
    word-wrap: break-word; /* Break long words if needed */
    overflow-wrap: break-word;
    font-size: 14px; /* Reduce font size for better fit */
    max-width: 100%; /* Ensure it fits inside the container */
    padding: 10px; /* Add padding for readability */
    border-radius: 5px;
  }
}

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999; /* Ensures it's on top of other content */
}
body {
  padding-top: 63px !important;
}
