/* assets/css/style.css */
.loan-calculator-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    text-align: center;
    text-transform: uppercase;
    border: solid 1px #ddd;
    padding-top: 10px;
}

.print-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0 16px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.print_calculator{
   float:right;
   right:1em !important; 
}

.print-button:hover {
    background: #45a049;
}

.tbl_form {
    width: 100%;
    margin: 20px auto;
}

.tbl_form table {
    width: 100%;
    border-collapse: collapse;
}

.tbl_form td {
    padding: 10px;
    border: 1px solid #ddd;
}

.td_left {
    width: 20%;
    font-weight: bold;
    
}

.warning {
    color: red;
    display: none;
    margin-left: 10px;
}

.ip_rq {
    color: red;
}

.loan-calculator-wrapper td:last-child{
    padding-right: 10px;
}

#submit_frm {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin: 10px 0;
}

.tbl_kq {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.tbl_kq td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: right;
}

.tr-title td {
    background-color: #f5f5f5;
    font-weight: bold;
    text-align: center;
}

#kq_ {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}
.loan-calculator-wrapper td:first-child{
    padding-left: 20px;
}
.loan-calculator-wrapper input[type="text"]{
    width:auto;
    margin-right: 5px;
}
.loan-calculator-wrapper .tbl_form td{
    padding: 0px 10px;
}
@media screen and (max-width: 768px) {
    .tbl_form_mobile {
        overflow-x: auto;
    }
    
    .calculator-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .print-button {
        width: 100%;
        justify-content: center;
    }
}