.car-calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.calc-box {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 24px;
}

.calc-box h3 {
    color: #d60000;
    font-size: 28px;
    margin-bottom: 24px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    font-weight: 700;
}

.calc-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.calc-box select,
.calc-box input {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 0 15px !important;
    margin-bottom: 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
}

.cost-result {
    margin-top: 30px;
}

.cost-result h3 {
    font-size: 24px;
}

.cost-result p,
.loan-summary p {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cost-result strong,
.loan-summary strong {
    color: #d60000;
}

.show-detail {
    background: #e00000;
    color: white;
    border: none;
    padding: 14px 26px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    transition: .25s;
}

.show-detail:hover {
    background: #b60000;
}

.loan-table {
    margin-top: 40px;
    width: 100%;
    border-collapse: collapse;
    grid-column: 1 / -1;
}

.loan-table th {
    background: #d60000;
    color: white;
    padding: 14px;
    text-align: center;
}

.loan-table td {
    border-bottom: 1px solid #eee;
    padding: 12px;
    text-align: center;
}

.loan-table tr:nth-child(even) {
    background: #fafafa;
}

.loan-table tr:hover {
    background: #f3f3f3;
}

.loan-table td:last-child {
    color: #d60000;
    font-weight: bold;
}

.calc-box .text-input {
    display: inline-block;
    position: relative;
    width: 100%;
}

.calc-box .text-input input {
    padding-right: 70px !important;
}

.calc-box .text-input .quantitative {
    width: 65px;
    display: inline-block;
    text-align: right;
    padding-right: 10px;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 35%;
    transform: translateY(-50%);
}

@media(max-width:991px) {

    .car-calc {

        grid-template-columns: 1fr;

    }

}