 #calorie-calculator {
  max-width: 500px;
  margin: 0 auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#calorie-calculator .form-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

#calorie-calculator .radio-group,
#calorie-calculator .gender-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  gap:10px;
}

#calorie-calculator label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #555;
}

#calorie-calculator input[type="number"], #calorie-calculator
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1rem;
  box-sizing: border-box;
}

#calorie-calculator input[type="radio"] {
  margin-right: 5px;
}

#calorie-calculator button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#calorie-calculator button:hover {
  background-color: #0056b3;
}

#calorie-calculator .hidden {
  display: none;
}
        #calorie-result, #bmi-result {
            margin-top: 20px;
            font-size: 18px;
            color: #28a745;
            text-align: center;
        }
       .gender_class {
    display: flex;
    gap: 20px; /* spacing between the two options */
    align-items: center;
}

.gender_class label {
    display: flex;
    align-items: center;
    gap: 5px; /* spacing between the input and text */
}
@media only screen and (max-width: 768px) {
  #calorie-calculator {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  #calorie-calculator .radio-group,
  #calorie-calculator .gender-group {
    flex-direction: column;
    gap: 10px;
  }

  #calorie-calculator button {
    font-size: 1rem;
  }
}

#calorie-calculator {
  max-width: 500px;
  margin: 0 auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#calorie-calculator .form-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

#calorie-calculator .radio-group,
#calorie-calculator .gender-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  gap:10px;
}

#calorie-calculator label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #555;
}

#calorie-calculator input[type="number"], #calorie-calculator
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1rem;
  box-sizing: border-box;
}

#calorie-calculator input[type="radio"] {
  margin-right: 5px;
}

#calorie-calculator button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#calorie-calculator button:hover {
  background-color: #0056b3;
}

#calorie-calculator .hidden {
  display: none;
}
        #calorie-result, #bmi-result {
            margin-top: 20px;
            font-size: 18px;
            color: #28a745;
            text-align: center;
        }
       .gender_class {
    display: flex;
    gap: 20px; /* spacing between the two options */
    align-items: center;
}

.gender_class label {
    display: flex;
    align-items: center;
    gap: 5px; /* spacing between the input and text */
}

@media only screen and (max-width: 768px) {
  #calorie-calculator {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  #calorie-calculator .radio-group,
  #calorie-calculator .gender-group {
    flex-direction: column;
    gap: 10px;
  }

  #calorie-calculator button {
    font-size: 1rem;
  }
}