.intl-tel-input {
    width: 100%;
}

.intl-tel-input .selected-flag {
    z-index: 5;
}

.iti__flag-container .iti__selected-dial-code {
    display:none !important;
}

#billing_phone {
    padding-left: 60px!important; /* Adjust for flag space */
}


.iti--allow-dropdown .iti__flag-container {
    height: 38px !important;
}

.intl-tel-input {
    width: 100%; /* Make sure the input takes up the full width */
}

.intl-tel-input .selected-flag {
    z-index: 10; /* Ensure the flag dropdown is clickable */
}

.intl-tel-input .country-list {
    z-index: 1000; /* Ensure the dropdown appears above other elements */
    max-height: 200px; /* Limit height for better usability */
    overflow-y: auto; /* Add scrolling for large lists */
}

.iti__country-name {
	display: none;
}

#billing_phone {
    padding-left: 60px; /* Adjust for the flag dropdown */
}


#billing_address_1_field label{
    display: none;
}

#billing_address1_field {
    display: none !important;
}
#billing_city_field {
    display: none !important;
}
#billing_state_field{
    display: none !important;
}
#billing_city1_field,#billing_state1_field{
   display: none !important;  
}

.woocommerce-billing-fields #billing_phone_field {
    margin-left: 0 !important;
    margin-right: auto;
}

.woocommerce-customer-details address{
    padding: 20px !important;
    font-size: 16px;
}
.woocommerce-customer-details address p{
    margin: 5px 0!important;
}
.woocommerce-customer-details address span{
    font-size: 15px;
    font-weight: 400;
    padding-left: 5px;
}

.woocommerce-billing-fields #billing_first_name_field, .woocommerce-billing-fields #billing_last_name_field { 
    order: 1 !important;
}
.woocommerce-billing-fields #billing_country_field {
    order: 2 !important;
}
.woocommerce-billing-fields #billing_postcode_field { 
    order: 4 !important;
    width: 100% !important;
}

.woocommerce-billing-fields .custom_billing_field{
    order: 5 !important;
    width: 49% !important;
}
.woocommerce-billing-fields .custom_address_field{
    order: 6 !important;
    width: 49% !important;
    margin-right: 0  !important;
    margin-left: auto  !important;
}
.woocommerce-billing-fields #billing_phone_field{
    order: 8 !important;
    width: 100% !important;
}
.woocommerce-billing-fields #billing_email_field {
    order: 9 !important;
}
.woocommerce form .form-row.woocommerce-invalid input.input-text {
    border-color: red !important;
    border-width: 1px !important;
}
.woocommerce-billing-fields .input-text{
    border-width: 1px !important;
}
@media (max-width: 767px) {
    .iti__country-list {
        min-width: 100px;
    }
}