/* common.css */

.form-section {
  margin-bottom: 1.5rem;
}

.btn-custom {
  width: 100px;
}

.table {
  margin-top: 20px;
}

.margin-box {
  border: 1px solid #007bff;
  border-radius: 5px;
  padding: 10px;
}

.margin-box h6 {
  font-weight: bold;
}

.margin-benefit {
  color: green;
  font-weight: bold;
}


.slider.slider-horizontal {
  width: 100%;
  margin: 10px 0;
}

.slider-selection {
  background: #007bff;
}

.results-box {
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

.results-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0d6efd;
}

.chart-container {
  height: 200px;
  margin: 20px 0;
  background: #f8f9fa;
  border-radius: 8px;
  position: relative;
}

.investment-bar {
  position: absolute;
  bottom: 0;
  width: 30%;
  background: #ffd700;
  left: 20%;
}

.returns-bar {
  position: absolute;
  bottom: 0;
  width: 30%;
  background: #00a67e;
  right: 20%;
}

.slider-value {
  font-weight: bold;
  margin-left: 10px;
}

.form-graph-container {
  display: flex;
  flex-wrap: wrap;
}

.form-container {
  flex: 0 0 60%;
  padding-right: 15px;
}

.graph-container {
  flex: 0 0 40%;
}

@media (max-width: 768px) {

  .form-container,
  .graph-container {
    flex: 0 0 100%;
  }
}

#horizontalChart {
  width: 100%;
  height: 100px;
  margin-top: 20px;
}


.notes {
  font-size: 12px;
  color: #3c8dbc;
  font-weight: bold;
}