.navbar{
    border-bottom:1px solid lightgray;
}
.marginTop {
  margin-top: 15vh;
}
.invisible {
	display: none;
}
.marginTable{
    margin-top:1vh;
}

#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}

input.form-control.search-input {
    display: none;
}

.mol-container {
  width: 60%;
  height: 400px;
  position: relative;
}
#toolbar {
  margin: 0;
}

.pt-3-half {
padding-top: 1.4rem;
}
.input-group-append{
}
.collapse {
  &:not(.show) {
    display: none;
  }
}

.collapsing {
  height: 0;
  overflow: hidden;
  @include transition($transition-collapse);
}

.details-preview,
.details-more pre {
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.details-preview {
  max-height: 8.5rem;
  overflow: hidden;
}

.details-more summary {
  color: #1b6ed9;
  cursor: pointer;
  font-weight: 600;
}

.details-more summary:hover {
  color: #1557aa;
}

.entry-sequence {
  white-space: pre-wrap;
  word-break: break-word;
}

.sequence-copy-button {
  min-width: 5.5rem;
}

.sequence-copy-button.is-copied {
  background-color: #1b6ed9;
  border-color: #1b6ed9;
  color: #fff;
}

/* API docs enhancements */
.api-docs {
  max-width: 1100px;
  margin: 2rem auto 3rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(3, 20, 58, 0.10);
  color: #203656;
}

.api-docs h1,
.api-docs h2,
.api-docs h3 {
  color: #1f4f8b;
  margin-top: 1.2rem;
}

.api-docs h2 {
  border-bottom: 3px solid #e6edf8;
  padding-bottom: 0.45rem;
  margin-bottom: 1rem;
}

.api-docs p,
.api-docs li,
.api-docs dt,
.api-docs dd {
  line-height: 1.6;
  font-size: 0.97rem;
  color: #324a6e;
}

.api-docs .endpoint {
  display: block;
  margin: 1.5rem 0;
  padding: 1.25rem 1.25rem 1rem;
  background: #f8fbff;
  border: 1px solid #dbe6f5;
  border-left: 4px solid #1b6ed9;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(10, 45, 98, 0.06);
}

.api-docs .endpoint h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.api-docs ul {
  padding-left: 1.25rem;
}

.api-docs li + li {
  margin-top: 0.35rem;
}

/* HTTP method badges */
.api-docs .method-get,
.api-docs .method-post,
.api-docs .method-put,
.api-docs .method-delete,
.api-docs .method-patch {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 0.20rem 0.48rem;
  border-radius: 5px;
  margin-right: 0.45rem;
}

.api-docs .method-get { background: #2f8f1f; }
.api-docs .method-post { background: #e18d00; }
.api-docs .method-put { background: #0075bd; }
.api-docs .method-delete { background: #d22222; }
.api-docs .method-patch { background: #af621a; }

/* Table style */
.api-docs table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.2rem;
  background: #ffffff;
}

.api-docs th,
.api-docs td {
  border: 1px solid #d5dee9;
  padding: 0.62rem 0.8rem;
  vertical-align: top;
  text-align: left;
}

.api-docs thead {
  background: #f2f6fd;
}

.api-docs tbody tr:nth-child(odd) {
  background: #fbfcff;
}

.api-docs tbody tr:hover {
  background: #ebf1fb;
}

.api-docs code {
  font-family: "SFMono-Regular", "Fira Code", "Monaco", monospace;
  font-size: 0.9rem;
  color: #2a3f67;
  background: #f1f5fc;
  border: 1px solid #d6e0f0;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

.api-docs pre {
  background: #f6f8ff;
  border: 1px solid #ccd5ea;
  border-radius: 8px;
  padding: 0.85rem;
  margin: 0.65rem 0 1rem;
  overflow: auto;
  max-width: 100%;
  white-space: pre;
  line-height: 1.5;
}

.api-docs pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  white-space: pre;
  overflow-wrap: normal;
}

/* Accordion style with details */
.api-docs details {
  margin: 0.75rem 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d2deef;
  border-radius: 8px;
  background: #f7faff;
}

.api-docs summary {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #184c95;
}

.api-docs summary:hover {
  background: #e9f2ff;
}

/* Status color badges */
.api-docs .status-200 { color:#1a7e38; font-weight:bold; }
.api-docs .status-201 { color:#1ea54b; font-weight:bold; }
.api-docs .status-400 { color:#be3f2f; font-weight:bold; }
.api-docs .status-401 { color:#ce6c20; font-weight:bold; }
.api-docs .status-404 { color:#985889; font-weight:bold; }
.api-docs .status-500 { color:#c01f1f; font-weight:bold; }

@media (max-width: 900px) {
  .api-docs { padding: 1rem; margin: 1rem 0.5rem; }
  .api-docs .endpoint { padding: 1rem; }
  .api-docs pre {
    white-space: pre-wrap;
    word-break: break-word;
  }
  .api-docs table, .api-docs thead, .api-docs tbody, .api-docs th, .api-docs td, .api-docs tr {
    display: block;
  }
  .api-docs th { position: absolute; left: -9999px; top: -9999px; }
  .api-docs td {
    border: none;
    position: relative;
    padding-left: 50%;
  }
  .api-docs td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 0;
    padding: 0.55rem;
    font-weight: 700;
    width: 45%;
    white-space: nowrap;
  }
}
