/* Hide PMPro pricing section */
#pmpro_pricing_fields,
#pmpro_user_fields {
    display: none !important;
}


/* =========================
   PMPRO FORM LAYOUT FOR BOTH REGISTRATON and USER PROFILE PAGES
   ========================= */

.pmpro .pmpro_form_fields {
    flex-direction: row;
    flex-wrap: wrap;
}

/*.pmpro .pmpro_form_field {*/
/*    width: calc(50% - var(--pmpro--base--spacing--medium) / 2);*/
/*}*/


/* Full width fields */
.pmpro .pmpro_form_field-consent_to_download_kyc_from_kra_portal,
.pmpro .pmpro_form_field-gstin_registered_address,
.pmpro .pmpro_form_fields-description {
    width: 100% !important;
}


/* Phone number layout */
.pmpro .pmpro_form_field-country_code {
    width: 12% !important;
}

.pmpro .pmpro_form_field-mobile_number {
    width: 35% !important;
}

/* CAPS input */
.pmpro .pmpro_form_input-pan_card {
    text-transform: uppercase;
}

.pmpro .pmpro_form_input-gstin {
    text-transform: uppercase;
}

.pmpro .pmpro_form_input-upi_id_for_refunds_referral_bonus_etc {
    text-transform: uppercase;
}




/* =========================
   READ ONLY FIELDS FOR USER PROFILE PAGE
   ========================= */

.page-id-35473 .pmpro .pmpro_form_input-pan_card,
.page-id-35473 .pmpro .pmpro_form_input-name_as_per_pan,
.page-id-35473 .pmpro .pmpro_form_input-date_of_birth,
.pmpro .pmpro_form_input-email,
.pmpro .pmpro_form_field-last_name input[type="text"],
.pmpro .pmpro_form_field-first_name input[type="text"],
.pmpro .pmpro_form_field-display_name input[type="text"] {
    pointer-events: none !important;
    background-color: #f1f1f1 !important;
}


/* =========================
   COUNTRY FIELDS
   ========================= */

#country_code,
#country {
    display: block !important;
}

#country_code-button,
#country-button {
    display:none !important;
}

/* Hide JQuery select replacement */
/*.ui-selectmenu-button {*/
/*    display: none;*/
/*}*/



/* Hide links inside success message */
.pmpro_message.pmpro_success a {
    display: none;
}


/* Hide descriptions on specific page */
.page-id-35473 .pmpro_form_fields-description {
    display: none;
}


/* =========================
   MOBILE OPTIMIZATION
   ========================= */

@media screen and (max-width: 767px) {

    .pmpro .pmpro_form_field {
        width: 100% !important;
    }

    /* Phone number layout */
    /*.pmpro .pmpro_form_field-country_code {*/
    /*    width: 25% !important;*/
    /*}*/
    
    /*.pmpro .pmpro_form_field-mobile_number {*/
    /*    width: 70% !important;*/
    /*}*/


}