body {
  background-color: rgb(26, 28, 34);
  color: #D0D0D0;
  border: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 20px 80px;
	font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
	font-size: 1.0em;
	line-height:1.6em;
}

h1 {
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  font-size: 2.3em;
  color: white;
  font-weight: bold;
  line-height: 1;
}

h2 {
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  font-size: 2.0em;
  color: white;
  font-weight: bold;
  line-height: 2.0em;
  margin-bottom: 1.0em;
}

h3 {
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  font-size: 1.2em;
  color: white;
  font-weight: bold;
  line-height: 1.2em;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}

a {
  color: white;
  text-decoration: underline;
}

.collapsible-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}

.collapsible-header {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  font-size: 1.5em;
  color: white;
  font-weight: bold;
  line-height: 1.2em;
  cursor: pointer;
}

.collapsible-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid white;
  margin-right: 10px;
  vertical-align: middle;
  transition: transform 0.15s ease;
}

.collapsible.open .collapsible-arrow {
  transform: rotate(90deg);
}

.collapsible:not(.open) > .collapsible-body {
  display: none;
}

.asset_help {
  padding: 4pt 0;
	font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
	font-size: 0.8em;
	line-height:1.2em;
  margin-top: 0;
  margin-bottom: 0;
}

.textinput {
  width: 600px;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 0.9em;
  height: 36px;
  border: 0;
  border-radius: 18px;
  padding-left: 18px;
  padding-right: 18px;
  margin: 0;
}

#topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px max(20px, calc((100% - 900px) / 2));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgb(27, 35, 52);
  z-index: 100;
}

#topbar h1 {
  margin: 0;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}

#stickybar {
  flex: 1;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
  position: relative;
}

@media (max-width: 600px) {
  #topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
  }

  #topbar h1 {
    font-size: 1.5em;
  }

  .textinput {
    width: 100%;
  }

  body {
    padding-top: 110px;
  }
}

.download-btn {
    background-color: #3b6ea5;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #2d567e;
}

.content {
    padding: 0;
}


.details {
    color: #D0D0D0;
  	font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  	font-size: 1.0em;
    font-weight: normal;
  	line-height:1.6em;
}

/* form {
  background-color: #606060;
  color: #404040;
  margin: -6pt;
  margin-bottom: 30pt;
  border: 0;
  padding-left: 12pt;
  padding-top:30pt;
  padding-bottom:40pt;
  position: fixed;
} */

input {
  padding:6pt;
  margin-top:10pt;
  border-radius: 4pt;
  /* border: 1px solid rgba(54, 54, 54, 0.6); */
  border: 0;
}

textarea:focus, input:focus{
    outline: none;
}

img {
  max-width: 100%;
  display: block;
}

p.subheader {
  font-weight: bold;
  color: #593d87;
}

hr {
  margin-top:60pt;
}

img {
  padding: 3pt;
/*  float: right;*/
}

div.footer {
  font-size: 9pt;
  font-style: italic;
  line-height: 12pt;
  text-align: center;
  padding-top: 30pt;
}

#searchResults {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgb(42, 48, 66);
  border-radius: 0 0 18px 18px;
  z-index: 200;
  max-height: none;
  overflow: hidden;
}

#searchResults.visible {
  display: block;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  color: #D0D0D0;
  text-decoration: none;
  font-size: 0.9em;
}

.search-result:hover,
.search-result.selected {
  background-color: rgb(55, 62, 82);
  color: white;
  text-decoration: none;
}

.search-result img {
  width: 46px;
  height: 17px;
  object-fit: cover;
  flex-shrink: 0;
  padding: 0;
}

.search-result span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lucky-btn {
  justify-content: center;
  border-top: 1px solid rgb(60, 67, 88);
  color: #D0D0D0;
}

.lucky-btn:hover {
  color: white;
}

.search-section-label {
  padding: 6px 12px 2px;
  font-size: 0.75em;
  color: #808080;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}

#lightbox.visible {
  display: flex;
}

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  padding: 0;
}

#lightbox-nav {
  margin-top: 12px;
}

#lightbox-caption {
  color: #ccc;
  font-size: 0.85em;
  text-align: center;
}

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2.5em;
  padding: 12px 16px;
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
  transition: background 0.2s;
}

#lightbox-prev:hover,
#lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

#lightbox-prev {
  left: 10px;
}

#lightbox-next {
  right: 10px;
}

@media (max-width: 600px) {
  #lightbox-nav {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  #lightbox-prev,
  #lightbox-next {
    position: static;
    transform: none;
    background: none;
    font-size: 2em;
    padding: 4px 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
  }

  #lightbox-prev:hover,
  #lightbox-next:hover {
    background: none;
    opacity: 1;
  }
}

.content img {
  cursor: pointer;
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 30px;
  color: #606060;
  max-width: 460px;
}

.image-placeholder i {
  font-size: 1.8em;
}

.image-placeholder span {
  font-size: 0.85em;
}

.bn59 {
  background-color: #303030;
  color: white;
  border: 1px solid rgba(54, 54, 54, 0.6);
  font-weight: 600;
  position: relative;
  outline: none;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  height: 24pt;
  border-radius: 4pt;
  width: 95pt;
  opacity: 1;
}
