.eduLoanCalc * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.eduLoanCalc {
  width: 100%;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

.eduLoanCalc .calculator-container {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
}

.eduLoanCalc .calculator-header {
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
  background: linear-gradient(135deg, #333 40%, #666 100%);
  border-bottom: 3px solid #00a2e8;
}

.eduLoanCalc .logo {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.eduLoanCalc .logo-img {
  background-color: #0078aa;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.eduLoanCalc .logo-img.m {
  z-index: 1;
}

.eduLoanCalc .logo-img.i {
  z-index: 2;
  margin-left: -8px;
}

.eduLoanCalc .logo-text {
  color: white;
  font-weight: bold;
  margin-left: 8px;
  font-size: 16px;
}

.eduLoanCalc .nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
}

.eduLoanCalc .nav-links span {
  cursor: pointer;
}

.eduLoanCalc .dropdown::after {
  content: "▾";
  margin-left: 5px;
}

.eduLoanCalc .credit-score {
  align-self: flex-start;
  background: linear-gradient(to right, #f00, #ff0, #0f0);
  border-radius: 15px;
  padding: 2px;
  max-width: 160px;
}

.eduLoanCalc .credit-score-text {
  background-color: white;
  border-radius: 12px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}

.eduLoanCalc .banner {
  background-color: #fff;
  padding: 15px 10px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.eduLoanCalc .banner h2 {
  color: #00a2e8;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.eduLoanCalc .calculator-main {
  width: 95%;
  margin: 10px auto;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 12px 8px;
  background-color: #fcfcfc;
}

.eduLoanCalc .calculator-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eduLoanCalc .calculator-form {
  width: 100%;
}

.eduLoanCalc .form-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
}

.eduLoanCalc .form-group {
  width: 100%;
}

.eduLoanCalc .form-group.right-aligned {
  width: 100%;
}

.eduLoanCalc .form-group.full-width {
  width: 100%;
  margin-bottom: 20px;
}

.eduLoanCalc .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
  font-size: 14px;
  line-height: 1.3;
}

.eduLoanCalc .custom-select {
  position: relative;
  width: 100%;
}

.eduLoanCalc .custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 12px 15px;
  background-color: #e9e9e9;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  color: #333;
}

.eduLoanCalc .select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 10px;
  color: #666;
}

.eduLoanCalc .input-slider-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}

.eduLoanCalc .slider-container {
  width: 100%;
  position: relative;
  padding-bottom: 25px;
}

.eduLoanCalc .slider-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  margin: 12px 0 8px;
}

.eduLoanCalc .slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #00a2e8 0%, #00a2e8 var(--slider-percent, 0%), #ddd var(--slider-percent, 0%), #ddd 100%);
  outline: none;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.eduLoanCalc .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: white;
  border: 2px solid #00a2e8;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  position: relative;
  z-index: 3;
}

.eduLoanCalc .slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: white;
  border: 2px solid #00a2e8;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  position: relative;
  z-index: 3;
}

.eduLoanCalc .slider-input {
  width: 100%;
  padding: 12px;
  text-align: center;
  background-color: #e9e9e9;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.eduLoanCalc .slider-markers {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  bottom: 0;
  font-size: 11px;
  color: #777;
  padding-top: 5px;
}

.eduLoanCalc .calculator-results {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eduLoanCalc .results-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  padding: 15px;
}

.eduLoanCalc .primary-card {
  border-top: 3px solid #00a2e8;
}

.eduLoanCalc .result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.eduLoanCalc .result-label {
  font-weight: 500;
  color: #666;
  font-size: 14px;
}

.eduLoanCalc .result-value {
  font-size: 15px;
  color: #333;
  text-align: right;
}

.eduLoanCalc .primary-value {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.eduLoanCalc hr {
  border: none;
  height: 1px;
  background-color: #e0e0e0;
  margin: 8px 0;
}

.eduLoanCalc .chart-card {
  text-align: center;
}

.eduLoanCalc .chart-card h3 {
  margin-bottom: 15px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.eduLoanCalc .pie-chart-container {
  position: relative;
  height: 150px;
  margin: 0 auto 10px;
}

.eduLoanCalc .pie-chart {
  width: 130px;
  height: 130px;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
  background-image: conic-gradient(
    #0099cc 0% 66%, 
    #ff9248 66% 100%
  );
}

.eduLoanCalc .percentages {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.eduLoanCalc .percentage {
  position: absolute;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.eduLoanCalc .principal-percent {
  top: 38%;
  left: 30%;
}

.eduLoanCalc .interest-percent {
  top: 38%;
  right: 30%;
}

.eduLoanCalc .chart-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.eduLoanCalc .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  font-size: 13px;
}

.eduLoanCalc .legend-color {
  min-width: 12px;
  min-height: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.eduLoanCalc .legend-color.principal {
  background-color: #ff9248;
}

.eduLoanCalc .legend-color.interest {
  background-color: #0099cc;
}

.eduLoanCalc .filled-track {
  position: absolute;
  height: 6px;
  background-color: #00a2e8;
  top: 0;
  left: 0;
  border-radius: 3px;
  z-index: 1;
  pointer-events: none;
}

/* Amortization Table Styles */
.eduLoanCalc .yearly-header div,
.eduLoanCalc .monthly-header div,
.eduLoanCalc .monthly-row div {
    flex: 1;
    min-width: 0;
    padding: 0 4px;
}

.eduLoanCalc .yearly-header,
.eduLoanCalc .monthly-header {
    display: flex;
    justify-content: space-between;
}

.eduLoanCalc .monthly-details {
  border:none;
}
.amortization-card{
	display:flex;
	flex-direction:column;
	gap:20px;
	justify-content:center;
	align-items:center;
	width:100%;
}
.amortization_title{
	font-size:25px !important;
	font-weight:600 !important;
	line-height:32px !important;
}
.amortization-table-container{
border:1px solid #e9e9e9;
border-radius:5px;
width:100%;
}

.amortization_data_header, .monthly-row 
{
display:flex;
}

.amortization_data_header_col{
	text-align:center;
	width:20%;
	padding:10px !important;
	font-weight:600 !important;
}
.amortization_data_header_col.col_1,.amortization_data_header{
border-top-left-radius: 5px;
}
.amortization_data_header_col.col_5,.amortization_data_header{
border-top-right-radius: 5px;
}
.amortization_data_header_col.col_1{
	background:#dedede;
}
.amortization_data_header_col.col_2{
	background:#88a825;
	color:#fff !important;
}
.amortization_data_header_col.col_3{
	background:#ed8c2b;
	color:#fff !important;
}
.amortization_data_header_col.col_4{
	background:#dedede;
}
.amortization_data_header_col.col_5{
	background:#b8204c;
	color:#fff !important;
}
.amortization_yearly_header_col{
	text-align:center;
	width:20%;
	padding:10px !important;	
}
.amortization_yearly_header_col:first-child{
	font-weight:600;
	cursor:pointer;
}
.amortization_yearly_header_col svg{
	width:18px;
	height:18px;
}
.amortization_data_body .yearly-header, .monthly-row{
	border-bottom:1px solid #dedede; 
}
.monthly-row{
	background:#f3f3f3;
}
.amortization_yearly_header_col, .monthly-row_col{
	border-right:1px solid #dedede; 
}
.amortization_yearly_header_col:last-child, .monthly-row_col:last-child{
	border-right:none; 
}
.monthly-row_col{
	text-align:center;
	width:20%;
	padding:10px !important;	
}
.monthly-details{
display:block;
}
.monthly-details .monthly-row{
	padding:0px !important;
}
.monthly-details.hidden{
display:none;	
}



@media screen and (max-width: 359px) {
  .eduLoanCalc .banner h2 {
    font-size: 24px;
  }
  
  .eduLoanCalc .calculator-main {
    width: 98%;
    padding: 8px 5px;
  }
  
  .eduLoanCalc .form-group label {
    font-size: 13px;
  }
  
  .eduLoanCalc .custom-select select {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .eduLoanCalc .slider-input {
    padding: 10px;
    font-size: 14px;
  }
  
  .eduLoanCalc .slider-markers {
    font-size: 10px;
  }
  
  .eduLoanCalc .pie-chart {
    width: 110px;
    height: 110px;
  }
  
  .eduLoanCalc .percentage {
    font-size: 13px;
  }
}

@media screen and (min-width: 480px) {
  .eduLoanCalc .nav-links {
    flex-direction: row;
    gap: 20px;
  }
  
  .eduLoanCalc .form-row {
    flex-direction: row;
  }
  
  .eduLoanCalc .form-group {
    flex: 1;
  }
  
  .eduLoanCalc .input-slider-container {
    flex-direction: row;
    align-items: center;
  }
  
  .eduLoanCalc .slider-container {
    flex: 1;
  }
  
  .eduLoanCalc .slider-input {
    width: 110px;
    margin-left: 10px;
  }
}
.chart-container canvas {
    max-height: 600px;
}


@media screen and (min-width: 768px) {
	    .chart-container {
        height: 300px;
    }
  .eduLoanCalc .calculator-container {
    max-width: 1200px;
    border: 1px solid #555;
  }
  
  .eduLoanCalc .calculator-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    height: 60px;
  }
  
  .eduLoanCalc .logo {
    margin-bottom: 0;
  }
  
  .eduLoanCalc .logo-img {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .eduLoanCalc .logo-img.i {
    margin-left: -10px;
  }
  
  .eduLoanCalc .logo-text {
    font-size: 18px;
    margin-left: 10px;
  }
  
  .eduLoanCalc .nav-links {
    flex-direction: row;
    margin-bottom: 0;
    font-size: 14px;
    gap: 30px;
  }
  
  .eduLoanCalc .credit-score {
    align-self: center;
  }
  
  .eduLoanCalc .banner {
    padding: 25px;
  }
  
  .eduLoanCalc .banner h2 {
    font-size: 48px;
  }
  
  .eduLoanCalc .calculator-main {
    width: 90%;
    padding: 15px;
    margin: 15px auto;
  }
  
  .eduLoanCalc .calculator-content {
    flex-direction: row;
    padding: 10px;
    gap: 25px;
  }
  
  .eduLoanCalc .calculator-form {
    flex: 1.5;
    min-width: 300px;
  }
  
  .eduLoanCalc .calculator-results {
    flex: 1;
    min-width: 250px;
  }
  
  .eduLoanCalc .form-group.right-aligned {
    margin-right: 10px;
  }
  
  .eduLoanCalc .form-group.full-width {
    margin-bottom: 30px;
  }
  
  .eduLoanCalc .form-group label {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .eduLoanCalc .slider {
    height: 4px;
  }
  
  .eduLoanCalc .slider-track {
    height: 4px;
  }
  
  .eduLoanCalc .slider::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
  }
  
  .eduLoanCalc .slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
  }
  
  .eduLoanCalc .results-card {
    padding: 20px;
  }
  
  .eduLoanCalc .result-label {
    font-size: 15px;
  }
  
  .eduLoanCalc .result-value {
    font-size: 16px;
  }
  
  .eduLoanCalc .primary-value {
    font-size: 28px;
  }
  
  .eduLoanCalc .pie-chart-container {
    height: 200px;
  }
  
  .eduLoanCalc .pie-chart {
    width: 170px;
    height: 170px;
  }
  
  .eduLoanCalc .percentage {
    font-size: 16px;
  }
}


@media screen and (min-width: 1200px) {
  .eduLoanCalc .calculator-main {
    padding: 20px;
  }
  
  .eduLoanCalc .calculator-content {
    gap: 30px;
  }
}

.eduLoanCalc h1, 
.eduLoanCalc h2, 
.eduLoanCalc h3, 
.eduLoanCalc h4, 
.eduLoanCalc h5, 
.eduLoanCalc h6,
.eduLoanCalc p,
.eduLoanCalc ul,
.eduLoanCalc ol,
.eduLoanCalc li,
.eduLoanCalc form,
.eduLoanCalc input,
.eduLoanCalc select,
.eduLoanCalc button {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  color: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.eduLoanCalc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
}

.eduLoanCalc a {
  text-decoration: none;
  color: inherit;
}

.eduLoanCalc input:focus,
.eduLoanCalc select:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.eduLoanCalc input,
.eduLoanCalc select {
  max-width: none !important;
}
