section
{
    padding: 80px 0;
}
.rangeinput
{
    background-color: #002f6c;
}
.retirement-calculator {
    
}
.retirement-calculator .calculator {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }
.retirement-calculator .inputs, .retirement-calculator .results {
      flex: 1;
      min-width: 320px;
    }

.retirement-calculator .input-group {
      margin-bottom: 20px;
      display: inline-block;
    }

.retirement-calculator .label-row {
      display: flex;
      align-items: center;
      margin-bottom: 12px;
      justify-content: space-between;
    }

.retirement-calculator label {
      font-weight: bold;
      flex: 1;
    }

.retirement-calculator input[type="number"] {
      width: 120px;
      padding: 8px;
      background-color: #f5f5f5;
      border: 0;
      border-radius: 4px;
    }

.retirement-calculator input[type="range"] {
      width: 100%;
      -webkit-appearance: none;
      height: 6px;
      background-color: #002f6c;
      border-radius: 5px;
      outline: none;
    }

.retirement-calculator input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 16px;
      height: 16px;
      background-color: #fff;
      border-radius: 50%;
      cursor: pointer;
      border: 4px solid #002f6c;
    }

.retirement-calculator input[type="range"]::-moz-range-thumb {
      width: 16px;
      height: 16px;
      background-color: #002f6c;
      border-radius: 50%;
      cursor: pointer;
      border: 2px solid #fff;
    }

.retirement-calculator button {
      background-color: #002f6c;
      color: white;
      padding: 10px;
      border: none;
      border-radius: 5px;
      width: 100%;
      font-size: 16px;
      cursor: pointer;
      margin-top: 10px;
    }
.retirement-calculator h5
{
    font-size: 16px;
}
.retirement-calculator button:hover {
      background: #002f6c;
    }

.retirement-calculator canvas {
      margin-top: 30px;
    }

.retirement-calculator .results p {
      font-size: 16px;
      margin: 6px 0;
    }

    .retirement-calculator .output p
    {
        font-size: 25px;
        font-weight: 600;
        color: #005792;
    }

.calculators
{
    padding: 80px 0;
}
.calculators ul li
{
    list-style: none;
    display: inline-block;
} 
input
{
    width: 80%;
  	padding: 0px;
  	font-size: 1rem;
    margin-bottom: 20px;
  	background:#fff;
  	transition: all 0.3s;
    border-radius: 5px;
}
#results {
  margin-top: 20px;
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#results.hidden {
  display: none;
}

.inputs-line
{
    display: inline-block;
}
#donutChart {
  margin-top: 20px;
}
.calculators button {
	background: var(--accent-color);
 	color: white;
	margin-top: 20px !important;
  	padding: 10px 20px;
  	font-size: 1rem;
  	border: none;
  	border-radius: 6px !important;
  	cursor: pointer;
  	transition: all 0.3s;
    
}

.calculators button:hover {
    background: var(--accent-color);
    transition: all 0.3s;
    transform: translateY(-5px);
}

.childeducation-calculator
{
    
}
.childeducation-calculator .inputs {
    flex: 1 1 60%;
}
.childeducation-calculator .input-group {
    margin-bottom: 20px;
    display: inline-block;
}
.childeducation-calculator .input-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.childeducation-calculator .input-label label {
    color: #000;
}
.childeducation-calculator .input-label input[type="number"] {
    padding: 5px;
    width: 120px;
    margin-left: 10px;
    background-color: #f5f5f5;
    border: 0;
    border-radius: 4px;
}
.childeducation-calculator input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    background-color: #002f6c;
    border-radius: 5px;
    outline: none;
  }

.childeducation-calculator input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid #002f6c;
  }

.childeducation-calculator input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background-color: #002f6c;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
  }

.childeducation-calculator .results {
    flex: 1 1 35%;
    text-align: center;
}
.childeducation-calculator .results h2 {
    color: #002f6c;
}
.childeducation-calculator .chart {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.childeducation-calculator .output h5 {
    margin: 10px 0 5px;
    font-size: 16px;
    color: #777777;
}
.childeducation-calculator .output p {
    margin: 0 0 5px;
    color: #182e55;
    font-size: 25px;
    font-weight: 600;
}



.childmarriage-calculator 
{
    
}
.childmarriage-calculator .chart {
    height: 200px;
    width: 200px;
    margin-top: 20px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
  }

  .childmarriage-calculator .chart-legend {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 20px;
    font-size: 14px;
    color: #2e3a59;
  }

  .childmarriage-calculator .legend-box {
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 2px;
  }

  .childmarriage-calculator .section {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
  }

  .childmarriage-calculator .input-group {
    margin-bottom: 20px;
    display: inline-block;
  }

  .childmarriage-calculator input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #ccc;
    outline: none;
  }

  .childmarriage-calculator input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4c9be8;
    cursor: pointer;
    margin-top: -5px;
  }

  .childmarriage-calculator input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4c9be8;
    cursor: pointer;
  }

  .childmarriage-calculator input[type="range"]::-ms-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4c9be8;
    cursor: pointer;
  }

  /* For Firefox track (optional but improves look) */
  .childmarriage-calculator input[type="range"]::-moz-range-track {
    background: #ccc;
    height: 8px;
    border-radius: 5px;
    border: 3px solid #4c9be8;
  }

  .childmarriage-calculator input[type="range"]::-moz-range-progress {
    background-color: #4c9be8;
    height: 8px;
    border-radius: 5px;
    border: 3px solid #4c9be8;
  }

  .childmarriage-calculator .value-box {
    display: inline-block;
    background-color: #f0f0f0;
    border-radius: 6px;
    padding: 8px 12px;
    margin-left: 10px;
    width: 150px;
    text-align: center;
  }

  .childmarriage-calculator .output h5 {
    margin: 10px 0 5px;
    font-size: 16px;
    color: #777777;
  }

  .childmarriage-calculator .output p {
    margin: 0 0 5px;
    color: #182e55;
    font-size: 25px;
    font-weight: 600;
  }

  .childmarriage-calculator canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }

  .childmarriage-calculator .input-group p {
    margin-bottom: 5px;
  }

  .childmarriage-calculator .text-right {
    text-align: right;
  }

  .childmarriage-calculator .input-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .childmarriage-calculator .input-labels p {
    margin-bottom: 0;
  }



.main-output
{
    margin-top: 20px;
    padding: 20px;
}