.be-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  color: #000;
  background-color: #FFFFFF;
  border-radius: 6px;
  margin: 20px auto;
}

.be-title {
  text-align: center !important;
  color: #000;
  margin-bottom: 30px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.be-sliders {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.be-slider-group {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.be-label {
  flex: 0 0 250px;
  font-weight: bold;
  color: #000;
  text-align: center !important;
}

.be-range {
  flex: 1 !important;
  height: 8px !important;
  -webkit-appearance: none !important;
  background: #ddd !important;
  border-radius: 4px;
  outline: none !important;
}

.be-range::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #000 !important;
  cursor: pointer;
}

.be-range::-moz-range-thumb {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #000;
  cursor: pointer;
  border: none;
}

.be-value {
  flex: 0 0 80px;
  text-align: center !important;
  font-weight: bold;
  color: #000;
}

.be-result {
  text-align: center !important;
  margin-bottom: 30px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.be-balance {
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center !important;
}

.be-balance-label {
  font-weight: bold;
  color: #000;
  margin-right: 10px;
}

.be-balance-value {
  font-weight: bold;
  color: #000;
}

.be-verdict {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  text-align: center !important;
}

.be-chart-container {
  margin-top: 40px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.be-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.be-bar-group {
  display: flex;
  align-items: center;
  height: 50px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.be-bar-label {
  flex: 0 0 100px;
  font-weight: bold;
  color: #000;
  text-align: center !important;
}

.be-bar-wrapper {
  flex: 1;
  height: 30px;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.be-bar {
  height: 100%;
  position: absolute;
  transition: all 0.3s ease;
}

.be-bar-metabolisme {
  background: #555;
  left: 0;
  z-index: 1;
}

.be-bar-activite {
  background: #999;
  left: 0;
  z-index: 2;
}

.be-bar-apport {
  background: #777;
  left: 0;
}

.be-bar-bilan {
  height: 100%;
  transition: all 0.3s ease;
}

.be-bar-bilan.positive {
  background: #4CAF50;
  left: 50%;
}

.be-bar-bilan.negative {
  background: #F44336;
  right: 50%;
}

.be-bar-value {
  flex: 0 0 80px;
  text-align: center !important;
  font-weight: bold;
  color: #000;
}

@media (max-width: 768px) {
  .be-container {
    padding: 15px;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .be-slider-group {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  
  .be-label {
    flex: none;
    text-align: center !important;
  }
  
  .be-value {
    text-align: center !important;
  }
  
  .be-bar-group {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }
  
  .be-bar-label {
    flex: none;
    text-align: center !important;
  }
  
  .be-bar-value {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .be-title {
    font-size: 18px;
  }
  
  .be-verdict {
    font-size: 18px;
  }
  
  .be-balance {
    font-size: 16px;
  }
}
