body {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px;
}
.cm-calc-wraper{
   width: 100%;
   max-width: 1063px;
   margin: 0 auto;
}

.cm-calc-header{
  background-color: #8B0000;
  margin: 0 auto;
  padding: 30px;
  font-family: "Roboto", sans-serif;
  font-size: 26px;
  color: #ffffff;
  text-align: center;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.cm-calc-container {
    margin: 0 auto;
    background-color: #ffffff;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    font-family: "Roboto", sans-serif;
}



.controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    box-shadow: 0px 3px 10px #00000033;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 33px;
}

.controls label {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: #8B0000;
}

.controls input,
.controls select {
    width: auto;
    padding: 12px 23px;
    border: 1px solid #EDEDED;
    border-radius: 10px;
    background-color: #EDEDED;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
}

.controls input:focus,
.controls select:focus {
    outline: none;
    border-color: #8B0000; /* Dark red on focus */
}

#calculateButton {
    grid-column: span 2;
    padding: 10px 20px;
    background-color: #8B0000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

#calculateButton:hover {
    background-color: #a31a1a;
}

#scheduleContainer h3 {
    font-size: 26px;
    font-weight: 700;
    color: #8B0000; /* Dark red for heading */
    margin-bottom: 15px;
    text-align: left;
}

#scheduleList {
    margin-top: 20px;
 
  border-radius: 24px;
}

.schedule-item {
    background-color: #EDEDED;
    overflow: hidden;
    color: #0F1F39;
}

#scheduleList .schedule-item:nth-child(even) {
    background-color: white;
}

.schedule-header {
    background-color: #0F1F39;
    color: white;
    padding-top: 16px;
    padding-bottom: 10px;
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.schedule-body {
    background-color: #EDEDED;
}

.schedule-body .schedule-div:nth-child(-n+2) {
  border-bottom: solid 1px #0F1F39;
}

.schedule-body p {
    font-size: 22px;
    font-weight: 600;
    padding: 10px 23px;
    color: #0F1F39;
    
}

.schedule-footer {
    background-color: #71191B;
    color: white;
    padding: 20px 23px;
    font-size: 22px;
    font-weight: 600;
    text-align: left;
}

#loadMoreButton {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #1f3c88;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.yearly-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-radius: 17px;
    background-color: #0F1F39;
    padding: 23px;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 21px;
}

.yearly-summary p {
  margin: 0;
}

.year-summary-interest{
  text-decoration: underline;
  font-size: 16px;
}

.year-summary {
  color: #ffffff;
  font-size: 18px;
  margin: 0;
}

#loadMoreButton {
  margin-top: 27px;
  background-color: #0F1F39;
  padding: 24px 40px;
  border: solid 2px #0F1F39;
}

#loadMoreButton:hover {
    background-color: #ffffff;
    border: solid 2px #0F1F39;
    color: #0F1F39;
}

#calculateButton {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #1f3c88;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}
#calculateButton{
  margin-top: 27px;
  padding: 15px 40px;
  background-color: #0F1F39;
  border: solid 2px #0F1F39;
}

#calculateButton:hover {
    background-color: #ffffff;
    border: solid 2px #0F1F39;
    color: #0F1F39;
}
  
#statusMessage {
  font-size: 16px;
  color: #8D8D8D;
  font-style: italic;
}

.schedule-row,
.schedule-header-row{
    display: flex;
    width: 100%;
    justify-content: center;
}

.schedule-header-row{
  background-color: #0F1F39;
  font-size: 22px;
  color: #ffffff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.schedule-col {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.schedule-col-right{
  text-align: right; 
    width: 100%; 
    max-width: 150px;
}

.schedule-header-row .schedule-col:not(:last-child){
  border-right: 1px solid #ffffff; 
}
.schedule-header-row .schedule-col{
padding: 22px 0;
}

.schedule-row .schedule-col:not(:last-child){
  border-right: 1px solid #0F1F39; 
}

.schedule-item{
  border-bottom: 1px solid #0F1F39;
}

.payment-frequency-buttons{
  margin-top: 55px;
  margin-bottom: 55px;
  display: flex;
  gap: 20px;
}

.frequency-btn{
  border-radius: 6px;
  font-size: 16px;
  border: 1px solid #71191B;
  color: #71191B;
  background-color: #ffffff;
  padding: 14px 19px;
}
.frequency-btn:hover{
  background-color: #71191B;
  color: #ffffff;
}


.frequency-btn.cm-btn-active {
    background-color: #71191B; /* Color de fondo del botón activo */
    color: white; /* Color del texto */
    border-color: #71191B; /* Color del borde */
}

.end-of-year{
  background-color: #71191B;
  text-align:center;
  font-size: 18px;
  color: #ffffff;
  padding: 12px 0;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  margin-bottom: 30px;
  box-shadow: 0px 3px 10px #00000033;
}

@media (max-width: 768px){
  .payment-frequency-buttons{
    margin-top: 25px;
    margin-bottom: 25px;
    flex-direction: column;
  }
  
  .schedule-col{
    font-size: 16px;
  }
   .schedule-col-right{
    text-align: center;
    max-width: 100%;
  }
}

.cm-btn-install{
    padding: 20px;
    display: flex;
    justify-content: center;
}

#installButton {
  padding: 10px 20px;
  background-color: #8B0000;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#installButton:hover {
  background-color: #a31a1a;
}
