.tt {
    display: block;
    text-align: center;
    margin-bottom: 30px;;
    /* border-bottom: 2px dashed #808080; */
    h2{
        
        color: rgb(212, 4, 4) ;
    }   
}



.tinh-toan {
    display: flex;
    gap: 20px;
    /* justify-content: space-between; */
}
.phan-tinh-toan {
    flex-basis: 60%;
}
.image-right {
    flex-basis: 40%;
    img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: contain;
    }
}
.dongxe, .phienban,.giaxe,.thv,.sttt,.lsnd,.lsntt {
    display: flex;
    gap: 20px;
}
.title-left {
    flex-basis: 30%;
    text-align: right;
}
.box-right {
    flex-basis: 70%;
}E

select, input {
    width: 100%;
}

.but-submit{
    color: white;
    text-align: center;
    button {
        background-color: rgb(199, 28, 28);
        border-radius: 10px;
    }
}
#table_result {
    border: 0px !important;
}
.result-table {
    /* width: 100% !important; */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

td:last-child, th:last-child {
    padding-right: 0.5em;
}

.btn-default {
    
    border-radius: 15px;
    padding: 5px;
    i {
        margin-top: 20px !important;
    }
}
table>tbody>tr:first-child>td {
    text-align: center !important;
}
@media screen and (max-width: 549px) {

    .table {
        transform: scale(calc(100vw / 1000)); 
        zoom: calc(100vw / 1000);
    /* transform-origin: top left; */
       
    }
    
      td, th {
        border-bottom: 1px solid #ececec;
        font-size: 0.8em;
        line-height: 1.3;
        padding: .2em;
        text-align: left;
    }
    
}

@media screen and (max-width: 720px) {
    .tinh-toan {
        display: flex;
        flex-direction: column;
        flex-direction: column-reverse;
    }

    .dongxe, .phienban,.giaxe,.thv,.sttt,.lsnd,.lsntt {
        display: block;
    }
    .title-left {
        text-align: left;
    }

}
/* END TRA GOP */


/* ! DU TOAN CHI PHI */
.bang-cp {
    display: flex;
    gap: 20px;
}
.hinh-cp {
    flex-basis: 30%;
    img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: contain;
    }
}
.fill-table-cp {
    flex-basis: 40%;
}
.bang-thong-tin {
    flex-basis: 30%;
}
.thong-tin {
    font-weight: 500;
    color: white;
    text-align: center;
    background-color: #c80f2e;
    line-height: 2.5rem;
    border-radius: 10px 10px 0 0;
    /* margin-bottom: 10px; */
}
.phien-ban-xe-out, .ndktb {
    font-weight: 500;
}
.bang-chi-tiet-con {
    padding: 10px;
    background-color: #f6f6f6;
}
.pbx-price {
    display: flex;
    justify-content: space-between;
}
.data-tinh-cp {
    padding: 10px;
    text-align: right;
    color: white;
    background-color: #4d4d4d;
}
.result-cp {    
    table {
        width: 50%;
        margin: 0 auto;
    }
}
.result-cp>.result {
    justify-content: center;
}

.dtcp-bangkq {
    text-align: center;
    font-size: 1.2rem;
}
#js_link_san_pham {
    text-align: center;
}

@media screen and (max-width: 1200px) {
    
    .fill-table-cp {
        flex-basis: 30%;
    }
    .bang-thong-tin {
        flex-basis: 40%;
    }

}

@media screen and (max-width: 1000px) {
    .result-cp {    
        table {
            width: 80%;
            margin: 0 auto;
        }
    }  
}
@media screen and (max-width: 800px) {
    .result-cp {    
        table {
            width: 100%;
            margin: 0 auto;
        }
    }
    .bang-cp {
        display: flex;
        flex-direction: column;
    }
}