h2.py-edit-address-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0066ff;
    text-align: right;
    margin-bottom: 20px;
}

.thwcfd-field-country {
    display: none !important;
}



/* Sorting Fields */


.py-my-account-wrapper .woocommerce-address-fields__field-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.py-my-account-wrapper p#billing_first_name_field {
    order: 1;
    width: 49%;
}
.py-my-account-wrapper p#billing_last_name_field {
    order: 2;
    width: 49%;
}
.py-my-account-wrapper p#billing_state_field {
    order: 3;
    width: 49%;
}
.py-my-account-wrapper p#billing_city_field {
    order: 4;
    width: 49%;    
}
.py-my-account-wrapper p#billing_address_1_field {
    order: 5;
    width: 100%;
}
.py-my-account-wrapper p#billing_postcode_field {
    order: 6;
    width: 49%;
}
.py-my-account-wrapper p#billing_phone_field {
    order: 7;
    width: 49%;
}

@media (max-width: 992px) {
    h2.py-edit-address-title {
    text-align: center;
    margin-bottom: 5px;
    }
    
    .py-my-account-wrapper p#billing_first_name_field,
    .py-my-account-wrapper p#billing_last_name_field,
    .py-my-account-wrapper p#billing_state_field,
    .py-my-account-wrapper p#billing_city_field,
    .py-my-account-wrapper p#billing_address_1_field,
    .py-my-account-wrapper p#billing_postcode_field,
    .py-my-account-wrapper p#billing_phone_field {
        width: 100% !important;
    }
}


/* End Of Sorting Fields */













p#billing_first_name_field input.input-text,
p#billing_last_name_field input.input-text,
p#billing_address_1_field input.input-text,
p#billing_postcode_field input.input-text,
p#billing_phone_field input.input-text {
    border-radius: 10px;
}

#billing_city_field abbr.required {
    display: none;
}


p#billing_city_field select#billing_city,
p#billing_city_field .select2-selection {
    border-radius: 10px;
}

p#billing_city_field .select2-container--default.select2-container--below.select2-container--open .select2-selection {
    border-radius: 10px 10px 0 0;
}

p#billing_city_field .select2-container--default.select2-container--above.select2-container--open .select2-selection {
    border-radius: 0 0 10px 10px;
}


p#billing_state_field select#billing_state,
p#billing_state_field .select2-selection {
    border-radius: 10px;
}

p#billing_state_field .select2-container--default.select2-container--below.select2-container--open .select2-selection {
    border-radius: 10px 10px 0 0;
}

p#billing_state_field .select2-container--default.select2-container--above.select2-container--open .select2-selection {
    border-radius: 0 0 10px 10px;
}

#billing_postcode,
#billing_phone {
    direction: rtl;
    text-align: right;
}

.py-save-address {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background-color: #0066ff;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

button.py-save-address:hover {
    background-color: #0056cc !important;
    color: #fff !important;
}


