#layout {
  max-width: none;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  margin-top: 40px;
  padding-left: 220px;
}

#outputBox {
  width: 400px;
  min-height: 600px;
  background: #ffffff;
  color: #000000;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 18px;
  white-space: pre-line;
  display: flex;
  flex-direction: column;
  align-items: left;
}
#content {
  width: 400px;
  min-height: 600px;
  background: #ffffff;
  color: #000000;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 18px;
  white-space: pre-line;
  display: flex;
  flex-direction: column;
  align-items: left;
}

#outputBox h2 {
  margin-bottom: 8px;
}

body {
  font-family: Arial, sans-serif;
  background: #131314;
  color: #000000;
  margin: 0;
  padding: 40px;
}

label, select {
  font-size: 12px;
}

label {
  margin-bottom: 2px;
}

select, input[type="range"] {
  margin-top: 4px;
  margin-bottom: 10px;
  padding: 5px;
  width: 120px;
}

button {
  padding: 12px 22px;
  font-size: 18px;
  border: none;
  background: #FB6616;
  color: rgb(0, 0, 0);
  border-radius: 8px;
  cursor: pointer;
  align-self: center;
}

button:hover {
  background: #B3470F;
}

button:active {
  background: #B3470F;
  color: #ffffff;
}

#output {
  margin-top: 8px;
  font-size: 20px;
  white-space: pre-line;
  color: #000000;
}
h2 {
  font-size: 22px;
  font-weight: 600;
}
h2 {
  margin-top: 0;
  align-self: center;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.label {
  font-weight: bold;
  font-size: 18px;
}

.info-icon {
  font-size: 14px;
  width: 18px;
  height: 18px;
  background: #333;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.info-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
left: 50%;
top: -50px;
transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  width: 260px;
  white-space: normal;
  z-index: 999;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 10px 0;
}

.form-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.form-right select {
  width: 200px;
}

input[type="range"] {
  width: 400px;
}

#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: #131314;
  border-right: 1px solid #676879;
  padding-top: 80px;
  font-family: sans-serif;
}

.sidebar-item {
  padding: 14px 20px;
      color: #676879;
  font-size: 18px;
  cursor: pointer;
}

.sidebar-item:hover {
  background: #2F313F;
        color: #c4c7c5;
  font-weight: 600;
}

.sidebar-item.active {
  background: #1f3760;
  color: #c4c7c5;
  font-weight: 600;
}


#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 0px solid #ddd;
  padding: 12px;
  text-align: center;
  font-size: 18px;
}

@media (max-width: 1400px) {
  #layout {
    flex-direction: column;
    align-items: center;
    padding-left: 240 !important;
    margin-top: 0 !important;
    gap: 40px;
  }

  #content, #outputBox {
    width: 400px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

svg {
  cursor: pointer;
  opacity: 0.7;
}
svg:hover {
  opacity: 1;
}