

body {
  background-color: black;
  color: white;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'helvetica neue', helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* Don't apply inline-block to all divs - too aggressive */
div {
  display: block;
}

.selectcontainer {
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.selectcontainerChild {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
}

.selectcontainerChild > div {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.maincontainer {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.container {
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.entrycontainer {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

.slidertext {
  flex: 0 0 200px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

h1 {
  color: #67B8DE;
  font-size: clamp(32px, 8vw, 64px);
  font-family: Baskerville, Georgia, serif;
  text-align: center;
  margin: 0;
  padding: 60px 20px 40px;
  font-weight: 300;
}

#introduction {
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  min-height: 100%;
  padding: 0 max(20px, 5vw) 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  word-wrap: break-word;
  font-size: clamp(15px, 2vw, 18px);
  font-family: Baskerville, Georgia, serif;
  box-sizing: border-box;
}

#introduction p {
  margin: 1em 0;
  line-height: 1.7;
}

#introduction i {
  color: #67B8DE;
  font-style: italic;
}


#introduction ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5em 0;
}

#introduction li {
  margin: 0.8em 0;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.colorblock {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  text-align: center;
  color: #65A603;
  background-color: rgba(101, 166, 3, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  min-width: 80px;
  flex-shrink: 0;
  border: 1px solid rgba(101, 166, 3, 0.3);
}

/* Modern range slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
}

input[type="range"]:hover {
    background: rgba(255, 255, 255, 0.15);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #67B8DE;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(103, 184, 222, 0.4);
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #67B8DE;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #D9B5A0 0%, #D9B5A0 var(--value, 50%), rgba(255, 255, 255, 0.1) var(--value, 50%));
}

input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
}


/* DNA Box styling */
.DNAbox {
  background-color: rgba(39, 89, 2, 0.2);
  color: #65A603;
  border: 1px solid rgba(101, 166, 3, 0.4);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0;
  width: 100%;
  max-width: 300px;
  display: block;
  word-wrap: break-word;
  word-break: break-all;
  font-size: 9px;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.4;
}

.DNAbox:hover {
  background-color: rgba(39, 89, 2, 0.3);
  border-color: rgba(101, 166, 3, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(101, 166, 3, 0.2);
}

/* Text input styling */
input[type=text] {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(103, 184, 222, 0.3);
  border-radius: 6px;
  padding: 10px 12px;
  width: 100%;
  max-width: 400px;
  font-size: 13px;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  display: block;
  margin: 12px 0;
  transition: all 0.2s;
  box-sizing: border-box;
}

input[type=text]:focus {
  outline: none;
  border-color: #67B8DE;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(103, 184, 222, 0.1);
}

input[type=text]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Checkbox styling */
input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0;
  cursor: pointer;
  accent-color: #67B8DE;
}

input[type=checkbox] + label,
input[type=checkbox] + span {
  cursor: pointer;
  user-select: none;
}

/* Select dropdown styling */
select {
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

select:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

select:focus {
  border-color: #67B8DE;
  box-shadow: 0 0 0 3px rgba(103, 184, 222, 0.1);
}

select option {
  background-color: #1a1a1a;
  color: white;
  padding: 8px;
}
