.loan-calculator-container {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.block {
    width: 48%;
    box-sizing: border-box;
    vertical-align: top;
    display: flex;
    flex-direction: column;
    margin: 1%;
    height: 500px;
}

.block h2 {
    text-align: center;
    padding: 2%;
    color: #1F355A;
    font-size: 2em; 
    margin-bottom:10px;
}

.content {
    padding: 5%;
    border-radius: 10px;
    height: 350px;
    flex: inherit;
    display: flex;
    flex-direction: column;
}

.loan-details-block .content {
    background-color: #bbc2cf;
}

.cost-block .content {
    background-color: #bde2d2;
}

.subheading, .year-button{
    color: #1F355A;
	font-size: 1.3em;
    font-weight: 600;
}

.small-copy {
    font-size: 0.9em;
	font-weight:100;
    margin-bottom: 5%;
}

.info-line {
    font-size: 1em;
    margin-top: 5%;
    margin-bottom: 5%;
}

.input-wrapper {
    display: flex;
    align-items: center;
    height: 100px;
    border-radius: 5px;
    position: relative;
}

.input-wrapper > input {
    flex-grow: 1;
    border: none!important;
    outline: none;
    border-radius: 0px 5px 5px 0px;
    padding-left: 50px;
    color: #1F355A;
    font-size: 2em!important;
    height: 70px!important;
    background-color: #f0f0f0;
    margin: 0;
	font-weight: 600!important;
}

#monthlyInstalment {
	border: none!important;
    font-size: 2em;
    height: 70px;
    margin-top: 10px;
	font-weight: 600!important;
    
}

.R {
    margin: 0px 10px 0px 10px;
    font-size:2.8em;
    font-weight:500;
}

.years-container {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.year-button {
    flex: 1;
    padding: 4% 2%;
    font-size: 0.9em;
    text-align: center;
    margin: 0 1%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #fff;
    color: #1F355A;
}

.year-button.selected {
    background-color: #1F355A;
    color: #fff;
}

.highlight {
    font-weight: bold;
    color: #1F355A;
}

.readonly-input {
    border: none;
    background: none;
    font-size: 2em;
    color: #1F355A;
    cursor: default;
    outline: none;
    text-align: right;
    width: 100%;
	text-align: left;

}


/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .loan-calculator-container {
        flex-direction: column;
    }
    
    .block {
        width: 100%;
        margin-bottom: 5%;
		height: auto;
    }
	
	.block h2 {font-size:1.7em!important}
	.content {padding: 4%;}
}

@media (max-width: 390px) {
    .input-wrapper > input {
        height: 60px;
        font-size: 1.8em;
    }

    .year-button {
        font-size: 0.8em;
        padding: 3% 7%;
    }
}
