/* Estilos base mobile-first */
.fx_f_ContentContractGlb {
    max-width: 800px;
    padding: 20px;  
    margin: 0 auto;   
    background-color: white;
    color: #333;
    position: relative;
    font-size: 14px;
    line-height: 1.4;
    border: 1px solid;
}

.fx_f_crm_ContTitle {
    text-align: center;
    margin: 20px 0px;
    font-size: 2em;
    font-weight: bold;
}

.fx_f_vendor_info {
    display: flex;
    margin-bottom: 15px;
}

.fx_f_vendor_details {
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
}

.fx_f_vendor_details strong {
    font-size: 16px;
}

.fx_f_serial_numbers {
    width: 100%;
    background-color: #ccc;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 12px;
}

.fx_f_serial_numbers label{
    font-size: 12px;
}

.fx_f_serial_row {
    display: flex;
    margin-bottom: 4px;
    align-items: center;
    justify-content: space-between;
}

.fx_f_serial_row label {
    width: 80px;
    font-size: 12px;
}

.fx_f_serial_boxes {
    display: flex;
    flex-wrap: wrap;
}

.fx_f_serial_box {
    width: 150px;
    height: 20px;
    border: 1px solid #666;
    margin-right: 2px;
    background-color: white;
}

.fx_f_auth_dealer {
    width: 100%;
    text-align: right;
    margin-top: 10px;
}

.fx_f_rainbow_title {
    font-size: 16px;
}

.fx_f_rainbow_logo {
    font-size: 24px;
}

.fx_f_client_section {
    border: 1px solid #999;
    border-radius: 10px;
    padding: 15px 10px 10px;
    margin-bottom: 15px;
    position: relative;
}

.fx_f_section_title {
    position: absolute;
    top: -8px;
    left: 15px;
    background-color: white;
    padding: 0 5px;
    font-weight: bold;
    font-size: 11px;
}

.fx_f_id_note {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 10px;
}

.fx_f_form_row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 6px;
    align-items: center;
}

.fx_f_form_field {
    flex-grow: 1;
    border-bottom: 1px solid #999;
    margin: 0 3px;
    min-height: 16px;
}

.fx_f_p p {
    display: inline-block;
    padding: 0 0.5em;
    border-bottom: 1px solid;
}

.fx_f_form_label {
    flex-shrink: 0;
    padding-right: 3px;
    font-size: 12px;
}

.fx_f_id_boxes {
    display: flex;
    margin-left: 3px;
}

.fx_f_id_box {
    width: 150px;
    height: 20px;
    border: 1px solid #666;
    margin-right: 1px;
}

.fx_f_guarantor_section {
    margin: 15px 0;
    font-size: 12px;
}

.fx_f_guarantor_details {
    margin-top: 8px;
}

.fx_f_payment_title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
}

.fx_f_payment_received {
    display: flex;
    border: 1px solid #999;
    border-radius: 10px;
    padding: 5px 10px;
    margin-bottom: 15px;
    font-size: 14px;
    justify-content: space-between;
    align-items: center;
}

.fx_f_payment_amount {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.fx_f_gray_bg {
    background-color: #ccc;
    padding: 2px 8px;
    margin: 0 3px;
    min-width: 50px;
    text-align: center;
    height: 24px;
}

.fx_f_deferred_payment {
    border: 1px solid #999;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
}

.fx_f_deferred_left {
    width: 100%;
    padding: 8px;
    font-size: 12px;
}

.fx_f_deferred_right {
    width: 100%;
    padding: 8px;
    font-size: 12px;
}

.fx_f_checkbox_row {
    display: flex;
    margin-bottom: 4px;
    align-items: center;
}

.fx_f_checkbox {
    width: 10px;
    height: 10px;
    border: 1px solid #666;
    margin-right: 3px;
    flex-shrink: 0;
}

.fx_f_bank_cont_details {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    border: 1px solid #999;
    border-radius: 10px;
    padding: 8px;
    font-size: 12px;
}

.fx_f_bank_details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fx_f_bank_fields {
    display: flex;
    margin-top: 4px;
    flex-wrap: wrap;
}

.fx_f_bank_field {
    border: 1px solid #666;
    background-color: #ccc;
    height: 24px;
    margin-right: 3px;
    flex-grow: 1;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
}

.fx_f_bank_note {
    font-size: 10px;
    text-align: right;
    margin-top: 4px;
}

.fx_f_general_conditions {
    margin-top: 15px;
}

.fx_f_general_title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.fx_f_NumeroSerie {
    font-weight: bold;
    font-size: 16px;
    text-align: right;
}

.fx_f_condition_text {
    font-size: 9px;
    text-align: justify;
    margin-bottom: 6px;
}

.fx_f_signature_section {
    margin-top: 15px;
}

.fx_f_signature_row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 12px;
}

.fx_f_signature_field {
    flex-grow: 1;
    border-bottom: 1px solid #999;
    margin: 0 3px;
    min-height: 16px;
}

.fx_f_signature_block {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.fx_f_signature {
    text-align: center;
    width: 40%;
    font-size: 12px;
}

.fx_f_signature_line {
    border-top: 1px solid #999;
    margin-top: 20px;
    padding-top: 3px;
}

.fx_f_vertical_text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 10px;
    color: #999;
    position: absolute;
    bottom: 10px;
    left: 2px;
}

/* Ajustes para pantallas más movil */
@media screen and (max-width: 768px) {
    .fx_f_ContentContractGlb {
       zoom: 0.6;
    }

}