/* CSS cho Form Báo Giá Chung - Căn chỉnh từ trên xuống */
.row.justify-content-lg-center {
    justify-content: center !important;
}

.col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
}

.text-center {
    text-align: center !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.f-title {
    color: #212529 !important;
    font-size: 1.3rem !important;
    font-weight: bold !important;
    margin-bottom: 0.5rem !important;
}

.left-form,
.right-form {
    background-color: #f8f9fa !important;
    padding: 10px !important;
    border: 1px solid #ced4da !important;
    border-radius: 5px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.left-form h5,
.right-form h5 {
    font-size: 1.0rem !important;
    color: #495057 !important;
    text-align: center !important;
    margin-bottom: 0.4rem !important;
}

.input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    /* Căn chỉnh từ trên xuống */
    width: 100% !important;
    margin-bottom: 0.3rem !important;
}

.input-group-prepend {
    margin-right: 5px !important;
    width: auto !important;
    flex-shrink: 0 !important;
    min-width: 100px !important;
    display: flex !important;
    align-items: flex-start !important;
    /* Căn chỉnh từ trên xuống */
    justify-content: flex-start !important;
}

.input-group-text.f-quote {
    display: block !important;
    padding: 0.2rem 0.4rem !important;
    //font-size: 0.75rem !important;
    //font-weight: bold !important;
    line-height: 1.1 !important;
    color: #495057 !important;
    text-align: left !important;
    white-space: nowrap !important;
    background-color: #e9ecef !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.2rem 0 0 0.2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.form-control.classic,
.form-control {
    display: block !important;
    width: 100% !important;
    padding: 0.2rem 0.4rem !important;
    //font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #495057 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 0.2rem 0.2rem 0 !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    height: 26px !important;
    box-sizing: border-box !important;
}

.form-control:focus,
.form-control.classic:focus {
    color: #495057 !important;
    background-color: #fff !important;
    border-color: #80bdff !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25) !important;
}

.left-button {
    margin-top: 10px !important;
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
}

.left-button button.btn {
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 0.2rem !important;
    cursor: pointer !important;
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    height: 30px !important;
    flex-grow: 0 !important;
    min-width: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.left-button button.btn:hover {
    background-color: #0056b3 !important;
}

.right-form textarea.form-control {
    min-height: 26px !important;
    resize: vertical !important;
    font-size: 0.75rem !important;
    padding: 0.2rem 0.4rem !important;
    height: 26px !important;
    box-sizing: border-box !important;
}

.right-form .input-group button.btn {
    font-size: 0.7rem !important;
    height: 26px !important;
    line-height: 1.2 !important;
    margin-left: 5px !important;
    box-sizing: border-box !important;
    background: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    min-width: 80px;
    white-space: nowrap;
    }

.right-form .price {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    color: #28a745 !important;
    text-align: right !important;
    padding: 0.2rem 0 !important;
}

.right-form .price strong {
    font-weight: bold !important;
    font-size: 0.9rem !important;
}