/* Advanced BMI Calculator Styles */
.bmi-calculator {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: linear-gradient(135deg, #f9f9f9, #e0e0e0);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: Arial, sans-serif;
}

.bmi-calculator h1 {
  color: #333;
  font-size: 32px;
  margin-bottom: 10px;
}

.bmi-calculator p {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #0056b3;
}

#result {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.visual-indicator {
  margin-top: 20px;
  background: #f0f0f0;
  border-radius: 8px;
  padding: 5px;
}

.indicator-bar {
  height: 20px;
  background: linear-gradient(90deg, #f44336, #4caf50, #ffeb3b, #f44336, #d32f2f, #b71c1c);
  border-radius: 5px;
  position: relative;
}

.indicator-slider {
  height: 100%;
  width: 4px;
  background: #0056b3;
	  border: 2px solid #fff; /* White border added */
  position: absolute;
  top: 0;
  left: 0;
  transition: left 0.5s ease;
}

.labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 10px;
  color: #555;
}