body {
  background: #121212;
  color: #eee;
  font-family: sans-serif;
  margin: 0;
  padding: 40px;
}

.container {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.form-area {
  background: #1e1e1e;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  width: 300px;
}

input, button {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #2a2a2a;
  color: #fff;
  box-sizing: border-box;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

button {
  background-color: #2979ff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.unit-buttons {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}
.unit-buttons button {
  background-color: #444;
}
.unit-buttons .active {
  background-color: #2979ff;
}

.input-group {
  position: relative;
}
.unit-inside {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none;
}

.result {
  text-align: center;
  font-weight: bold;
  margin-top: 15px;
  min-height: 24px;
}

.gender-options {
  display: flex;
  gap: 20px;
  margin: 8px 0;
}
.radio-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.radio-container input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.checkmark {
  width: 16px;
  height: 16px;
  background-color: #2a2a2a;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radio-container input:checked ~ .checkmark {
  background-color: #2979ff;
  border-color: #2979ff;
}
.radio-container input:checked ~ .checkmark::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: block;
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #fff;
  border-radius: 7px;
  font-size: 14px;
  background-color: #49a1fd;
  color: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.highcharts-figure {
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}
#results-title {
  font-size: 22px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 550px;
  padding: 12px 16px;
  font-size: 20px;
  font-weight: bold;
  background-color: #18c45b;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  text-align: left;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
#bmi-number {
  font-size: 28px;
  margin-top: 12px;
}
.bmi-info {
  display: flex;
  justify-content: space-between;
  text-align: left;
  margin-top: 20px;
  max-width: 550px;
}
.bmi-column {
  width: 48%;
}
.bmi-column div {
  margin-bottom: 6px;
}
.bmi-label {
  font-weight: bold;
}
