/*
 * Khối "Tính phí lăn bánh / Tính lãi trả góp" (plugin car-purchase-interest-rate)
 * trên trang chi tiết xe.
 *
 * Theme đặt cho mọi input bo tròn 1.5rem + bóng giả viền (--inputs-border-radius,
 * --inputs-box-shadow), lồng bên trong khung vuông .text-input của plugin thành
 * hai lớp viền. Ở đây để khung của plugin làm viền duy nhất.
 */

/* Ô có đơn vị (Năm, %/năm) và ô chọn nằm trong khung .text-input */
.vfdt-car-calculator .index-value-interest-retes .text-input {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f9fafb;
    overflow: hidden;
    transition: border-color .2s;
}
.vfdt-car-calculator .index-value-interest-retes .text-input:focus-within {
    border-color: #da0202;
}
.vfdt-car-calculator .index-value-interest-retes .text-input input.txt-input,
.vfdt-car-calculator .index-value-interest-retes .text-input select,
.vfdt-car-calculator .index-value-interest-retes .text-input input.txt-input:focus,
.vfdt-car-calculator .index-value-interest-retes .text-input select:focus {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    min-height: 41px;
    line-height: 41px;
    font-size: 15px;
}

/* Ô chọn đứng riêng (Chọn nơi, Phiên bản) */
.vfdt-car-calculator .automotive_muaoto_left select,
.vfdt-car-calculator .automotive_muaoto_left select:focus {
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    background-color: #f9fafb;
    min-height: 41px;
    line-height: 39px;
    font-size: 15px;
}
.vfdt-car-calculator .automotive_muaoto_left select:focus {
    border-color: #da0202 !important;
}
