:root {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

#simulation-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  height: min-content;
  gap: 10px;
  padding: 10px;
}

.inputs-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 5px;
  margin-bottom: 5px;
  width: 700px;
  justify-content: space-between;
  align-items: start;
}

.sliders-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sliders-wrapper.left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.buttons-wrapper {
  justify-content: center;
  display: flex;
  gap: 8px;
  padding-top: 2px;
  padding-right: 5px;
}

.buttons-wrapper > .btn {
  width: 90px;
  height: 32px;
  padding: 3px 5px;
}

.input-row {
  display: inline-flex;
  white-space: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  padding-left: 0;
  box-sizing: border-box;
}

.input-row.top {
  display: inline-flex;
  white-space: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  padding-left: 0;
  box-sizing: border-box;
  margin-top: 10px;
}

.slider-container {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  width: fit-content;
}

.current-value {
  text-align: end;
}

.input-label {
  display: grid;
  font-size: 16px;
  justify-content: end;
  width: 135px;
}

.value-label {
  font-size: 14px;
  text-align: right;
  width: 40px;
}

#graphics-wrapper {
  position: relative;
  margin: auto;
  box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.resetButton {
  position: absolute;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  z-index: 10;
}

.worksheet-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.min-max-labels {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
}

input[type="range"] {
  width: 1000%;
  margin: 0;
  /* Remove default margins */
}

.mixture-data table {
  width: 700px;
  margin-top: 5px;
  margin-bottom: 5px;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #ccc;
}

.mixture-data th,
.mixture-data td {
  border: 1px solid #ccc;
  padding: 5px;
  text-align: center;
}

.mixture-data th:first-child,
.mixture-data td:first-child {
  width: 70%;
  /* Keep the Output column wider */
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
}

.mixture-data th:last-child,
.mixture-data td:last-child {
  width: 30%;
  /* Keep the Value column narrower */
}

.mixture-data th {
  font-size: 14px;
  background-color: #f5f5f5;
}

.mixture-data input {
  width: 100%;
  text-align: center;
  font-size: 14px;
  padding: 2px;
  border: 1px solid #eee;
  background-color: #f9f9f9;
  border-radius: 3px;
}

/* Make disabled inputs look cleaner */

.mixture-data input:disabled {
  color: #333;
  border: none;
  background-color: #f9f9f9;
}

/* Add this to your CSS */

.disclaimer {
  color: #d9534f;
  /* Red color */
  font-size: 14px;
  font-style: italic;
  text-align: center;
  margin-top: 10px;
  width: 700px;
  /* Match width of other elements */
  padding: 5px;
  border-top: 1px dashed #d9534f;
  /* Light red dashed border on top */
  border-bottom: 1px dashed #d9534f;
  /* Light red dashed border on bottom */
}

.box-eqn {
  margin-left: 15px;
}
