#ajax-login-popup {
    /* position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center; */

    position: fixed;
      top: 40px;  
    bottom: 0;
    left:0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    background-color: #eaeaea;
    /* position: relative; */
    height: 200px;
    z-index: 11;
    width: 100% !important;
    max-width: 100%;
   
}

#login-form
{
    display: -webkit-inline-box;

}
#popup-login-form {
    /* background-color: white; */
    padding: 20px;
    border-radius: 8px;
    width: 500px;
    max-width: 90%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Default to column layout */
    margin-left:245px;
    margin-top:40px;
    height: auto !important;
    margin-bottom: 0px !important;
}

#popup-login-form h2 {
    width: 100%;
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    align-items: center; /* Align label and input inline */
    margin-bottom: 15px;
}

.form-row label {
    width: 120px;
    font-size: 16px;
    color: #333;
    margin-right: 10px; /* Space between label and input */
    text-align: right;
}

.input-wrapper {
    flex-grow: 1; /* Make input fields take remaining space */
}

#popup-login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    height: 25px;
    margin-bottom: 1px !important;
}


#popup-login-form button {
    width: 100%;
    /* padding: 12px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px; */
    /* margin-top: 20px; */
    padding: 0 30px;
    height: 50px;   
    color: #fff !important;
    font-size: clamp(0.875rem, 0.8332rem + 0.1911vw, 1.0625rem) !important;
    background-color: #F15D23 !important;
    width: 100% !important;
    line-height: 34px;
    font-weight: 400 !important;
    border: 0px !important;
    border: 1px solid #F15D23 !important;
    margin-left: 46px;

}

#popup-login-form button:hover {
    background-color: #005f8d;
}

#login-message {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
}

#login-message span {
    font-weight: bold;
}

#login-trigger {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 12px;
    text-align: center;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

#login-trigger:hover {
    background-color: #005f8d;
}

.for-pass-header {
    margin-left: 10px;
    margin-top: 10px;
}
.or-text {

    margin-left: 55px;
    margin-right: 10px;
}
/* Responsive Styles */
@media (max-width: 768px) {
    #popup-login-form {
        width: 90%;
        flex-direction: column; /* Stack fields vertically on small screens */
        align-items: center; /* Center the form elements */
    }

    .form-row {
        flex-direction: column; /* Stack label and input vertically on small screens */
        align-items: flex-start; /* Align to left on mobile */
    }

    .form-row label {
        width: 100%; /* Labels take full width on small screens */
        text-align: left; /* Align labels to the left for mobile */
        margin-bottom: 5px;
    }

    .input-wrapper {
        width: 100%; /* Make input fields take full width on small screens */
    }

    #popup-login-form input,
    #popup-login-form button {
        width: 100%; /* Full width for inputs and button */
    }

    #popup-login-form button {
        margin-top: 10px; /* Adjust button spacing */
    }
}



/*================================*/


#popup-login-form{
	  margin-left: 0px;
	align-items: center;
	    width: 100% !important;
    max-width: 100% !important;
	position:relative;
}
#popup-login-form #login-form{
	flex-wrap: wrap;

}
#popup-login-form:before{
	position: absolute;
	content:"";
    padding: 0 !important;
    margin: 0 !important;
    height: max-content;
    line-height: normal;
	background-image:url('https://globalenga1stg.wpenginepowered.com/wp-content/themes/GlobalEngage/images/logarrow.svg');
	background-repeat:no-repeat;
	background-size:20px;
	width:20px;
	height:20px;
	top: -58px;
    right: 210px !important;

}
#popup-login-form .form-row label{
	font-size: clamp(0.875rem, 0.8332rem + 0.1911vw, 1.0625rem) !important;
    line-height: 34px !important;
    font-family: 'Open Sans' !important;
    color: #333 !important;
    font-weight: 400 !important;
}
#popup-login-form input{
	    width: 86.5%;
	    border-radius: 0;
}

#popup-login-form .form-row label{
	  width: 117px;
}
#popup-login-form button{
	margin-left: 40px;
	    width: 77% !important;
}
#popup-login-form button:hover{
	 background-color: transparent !important;
    border: 1px solid #F15D23 !important;
    color: #F15D23 !important;
}
#popup-login-form .or-text{
	margin-left: 95px;
    margin-right: 50px;
    line-height: 55px;
}
#popup-login-form .for-pass-header{
	 margin-left: 50px;
	 margin-top: 20px;
}
body .popup-icon-log{
	bottom: -4px;
}
body .login-header-icon{
	    height: 173px;
}
#customer_login #register-user .woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide label{
	white-space: nowrap;
}
.reg_form_input p.woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide input#phone_ext,input#phone_ext{
	    height: 40px !important;
}



@media screen and (max-width:1499px){
	#login-form{
		    justify-content: center;
		   display: flex;
         flex-wrap: wrap;
	}
	#popup-login-form button {
    width: 8% !important;
}
	#ajax-login-popup{
		    top: 180px;
	}
	#popup-login-form:before{
		    right: 160px !important;
}
}
@media screen and (max-width:1399px){
	#ajax-login-popup{
		    top: 150px;
	}
}
@media screen and (max-width:1199px){
	#popup-login-form{
		    margin-top: 25px;
	}
	    #popup-login-form button {
        width: 12% !important;
    }
	#popup-login-form:before{
		    top: -43px;
    right: 90px !important;
	}
}

@media screen and (max-width:991px){
	  .login-popup-header {
        flex-direction: row !important;
    }
	#customer_login #register-user .woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide.terms,#customer_login #register-user .woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide.subscribe{
		    flex-direction: row;
	}
	.reg_form_input p.woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide input#phone_ext{
		    top: 14px;
    position: relative;
	}
	body .u-column2.col-2.new_account-form {
        width: min(95%, 100%);
        padding: 0px 0 15px 0;
        margin: auto;
    }
	body .login-header-icon {
    height: 100%;
}
	.login-popup-header div.or-text{
		margin-left:0px !important;
	}
}
@media screen and (max-width:767px){
	  .login-popup-header {
        flex-direction: row !important;
    }
	.or-text {
    margin-left: 0;
    margin-right: 0;
}
}


