/* AMMORTISATION TABLE */

.ammortisation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
    margin-top: -55px;
}

.table-cell-header-width {
    margin-top: 10px
}

.rectangle {
    width: 100%;
    height: 40px;
    /* Adjust height as needed */
    background: linear-gradient(-136deg, var(--color-optimly-main-blue) 0%, var(--color-optimly-light-blue) 100%);
    border-radius: 4px;
    padding: 10px 0;
}

.repayment-table-header th {
    text-transform: uppercase;
    }

    .repayment-table-header, .repayment-table-header.mobile {
height: 60px;
}    

.even-row {
    background-color: #f2f2f2;
    /* Light gray background for even rows */
}

.odd-row {
    /* Styles for odd rows if needed */
}

.ammortisation-table-header,
.ammortisation-table-header.mobile {
    height: 60px;
}

.ammortisation-table-header.mobile {
    display: none
}


.ammortisation-table th,
.ammortisation-table td {
    padding: 10px 0px;
    border: 0px solid #ddd;
    white-space: nowrap;
}

/* Table Header */
.ammortisation-table th {
        text-align: center;
    padding: 10px 0px 0px 0px;
    font-weight: 400;
    letter-spacing: 0.125px;
    color: white;
    font-size: 12px;
}

.ammortisation-table-mobile-header {
    display: none;
}


/* Table Rows */
.ammortisation-table tr {
    /* background-color: #fff; */
}

/* Even Rows */
.ammortisation-table .even-row {
    background-color: #f9f9f9;
}

/* Highlighted Month */
.ammortisation-table .highlighted-month {
    background-color: var(--color-optimly-yellow);
    border-radius: 10px;
}

/* .ammortisation-table .highlighted-month td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  
  .ammortisation-table .highlighted-month td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  
  .ammortisation-table .highlighted-month td {
    background-color: var(--color-optimly-yellow);
  }
   */

/* Column-Specific Styling */
.ammortisation-table .start-balance {
    text-align: center;
}


.ammortisation-table .month,
.ammortisation-table .interest,
.ammortisation-table .payment,
.ammortisation-table .overpayment {
    text-align: center;
}

.end-balance {
    border-radius: 0 5px 5px 0;
}

.month {
    border-radius: 5px 0px 0px 5px;
    width: 30px;
}


.result-table-row {
    height: 50px;
}


.calculator-button.growth-button {
    width: 30%;
}

.calculator-button.growth-button2 {
    width: 25%;
}


  

@media screen and (max-width: 750px) {
    .ammortisation-table {
        font-size: 12px;
    }
}


@media (max-width: 600px) {

    #savings-goal-result {
        margin-top: 8px;
    }
}


/* AMMORTISATION TABLE END */
