.calculator-container {
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}
.input-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
}

.results {
    background-color: #F7FAFF;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #D6E2FF;
}
.result-row {
    display: flex;
    justify-content: space-between;
}
.future-value {
    font-size: 22px;
    font-weight: bold;
}
.interest-value {
    font-size: 22px;
    color: #020202;
    font-weight: 800;
}
.chart-container {
    height: 250px;
    margin-bottom: 20px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
table, th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: right;
}
th {
    background-color: #f2f2f2;
    text-align: center;
}
.year-end-row {
    background-color: #f0f0f0;
    font-weight: bold;
}




.input-section {
    padding-bottom: 40px;
}
table#frequencyTable thead th {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    vertical-align: middle;
    background: #1E58B8;
    color: #fff;
}
table#frequencyTable td {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    vertical-align: middle;
    text-align: center;
}
@media(max-width:767px){
    table#frequencyTable thead th {
        font-size: 10px;
        line-height: 18px;
        padding: 6px 6px;
    }
    
    table#frequencyTable td {
        font-size: 10px;
        padding: 4px;
    }
}
@media(min-width:371px) and (max-width:767px){
    table#frequencyTable thead th {
        font-size: 14px;
    }
    
    table#frequencyTable td {
        font-size: 12px;
    }
}
@media(max-width:526px){
.main-input-group {
 grid-template-columns: repeat(1, 1fr) !important;
}
}
.main-input-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    align-items: center;
}
.table-div {
    height: 400px;
    overflow: auto;
}
/*  -----------------------------------------  */