.custom-registration-popup {
    display: none;
    position: fixed;
    z-index: 99999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    font-family: "OpenSans", Sans-serif;
}

.custom-registration-content {
    background-color: #fff;
    margin: 5% auto;
    border: 1px solid #B0B0B0;
    width: 90%;
    max-width: 693px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    animation: animatetop 0.4s;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.custom-registration-popup .close-registration {
    float: right !important;
    cursor: pointer;
    margin-right: 25px;
    margin-top: 26px;
    width: 26px;
    z-index: 10;
    padding: 0;
    border: unset !important;
    line-height: 0;
}

.custom-registration-popup .close-registration img {
    height: 100%;
    width: 100%;
}

.custom-registration-popup .close-registration:hover,
.custom-registration-popup .close-registration:focus {
    text-decoration: none;
    background-color: #fff !important;
}

.custom-registration-popup .signup-form {
    padding: 0px;
    max-width: 413px;
    margin: 50px auto;
}

.custom-registration-popup p.signup-shortdesc {
    font-size: 14px;
    line-height: 22px;
    color: #707070;
    font-family: "OpenSans", Sans-serif;
    margin-bottom: 10px;
}

.custom-registration-popup .popup-passwordreset {
    padding: 80px 0px 48px;
    position: relative;
}

.custom-registration-popup .popup-signin {
    padding: 50px 0px;
}

.custom-registration-popup .fullname,
.custom-registration-popup .passwordall {
    display: flex;
    gap: 12px;
}

.custom-registration-popup .passwordall .form-group {
    width: 50% !important;
}

.custom-registration-popup .form-group {
    margin-bottom: 15px;
    position: relative;
}

.custom-registration-popup .form-group label {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.custom-registration-popup input,
.custom-registration-popup button {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.custom-registration-popup input:focus {
    border-color: #ea3934;
    outline: none;
}

.custom-registration-popup a {
    color: #ea3934 !important;
}

.custom-registration-popup .password-group {
    position: relative;
}

.custom-registration-popup #password-strength {
    font-size: 14px;
    margin-top: 3px;
}

.registration_success_title {
    font-size: 25px;
    color: #333;
    margin: 0;
    padding-bottom: 10px;
    padding-top: 48px;
    font-weight: 700;
}

.registration_success_description {
    font-size: 14px;
    padding-bottom: 20px;
}

.custom-registration-popup .validation-message {
    color: #ea3934;
    font-size: 14px;
}

.custom-registration-popup #register-button,
.custom-registration-popup #login-button,
.custom-registration-popup #reset-request-button {
    background-color: #ea3934;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.custom-registration-popup #register-button:hover,
.custom-registration-popup #login-button:hover,
.custom-registration-popup #reset-request-button:hover {
    background-color: var(--e-global-color-secondary);
}

.custom-registration-popup #loading {
    text-align: left;
    margin-top: 10px;
    font-size: 14px;
    margin-bottom: 0;
}

.custom-registration-popup .user-signin,
.custom-registration-popup div#login-message,
.custom-registration-popup div#login-loading {
    text-align: left;
    margin-top: 15px;
    width: 100%;
    max-width: 413px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.2em;
}

.custom-registration-popup .user-signin {
    text-align: center;
}

.custom-registration-popup h2#signUpHeading,
.custom-registration-popup h2#loginHeading {
    line-height: 1em;
    margin-bottom: 20px;
}

.custom-registration-popup div#login-message p {
    margin-bottom: 0;
}

.custom-registration-popup .popup-signup .user-signin p {
    margin: 10px 0 0 0;
}

.custom-registration-popup .popup-signin .user-signin p {
    margin: 10px 0;
}

.custom-registration-popup #userSignIn {
    color: #ea3934 !important;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}

.custom-registration-popup .user-signin a {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.custom-registration-popup .form-group.terms-condition {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
}

.custom-registration-popup .form-group.terms-condition label {
    font-size: 10px;
    font-weight: 400;
    margin: 0;
    padding-left: 20px;
}

.custom-registration-popup .terms-condition input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.custom-registration-popup .terms-condition label {
    position: relative;
    padding-left: 22px;
    cursor: pointer;
    margin-bottom: 0;
}

.custom-registration-popup .terms-condition label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
}

.custom-registration-popup .terms-condition input[type="checkbox"]:checked+label::before {
    background-color: #3A307F;
    border-color: #3A307F;
}

.custom-registration-popup .terms-condition label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}

.custom-registration-popup .terms-condition input[type="checkbox"]:checked+label::after {
    display: block;
}

.custom-registration-popup input#terms_conditions {
    width: 6%;
}

.custom-registration-popup .iti.iti--allow-dropdown.iti--separate-dial-code {
    width: 100%;
}

.custom-registration-popup .iti--separate-dial-code .iti__selected-flag {
    background-color: transparent !important;
}

div#registration-message {
    padding: 0;
    font-size: 12px;
    margin: 0;
}

div#registration-message p {
    margin-bottom: 0;
    font-size: 14px;
    padding-bottom: 20px;
}

.registration_success_resend {
    padding-bottom: 80px !important;
}

.custom-registration-popup #login-form-container,
.custom-registration-popup #reset-password-request-container,
.custom-registration-popup #reset-request-message,
.custom-registration-popup #reset-request-loading {
    width: 100%;
    max-width: 413px;
    margin: 0 auto;
}

.custom-registration-popup #reset-request-message p,
.custom-registration-popup #reset-request-loading {
    font-size: 12px;
    margin-top: 8px;
    margin-bottom: 0;
}

.custom-registration-popup #back-registration {
    position: absolute;
    font-size: 12px;
    font-weight: 700;
    top: 30px;
    left: 20px;
    color: #3A307F !important;
    cursor: pointer;
}

.custom-registration-popup .ctm_pfexprt_login_div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 413px;
    margin: 0 auto;
}

.custom-registration-popup .ctm_pfexprt_login_div p {
    margin-bottom: 0;
}

.custom-registration-popup .ctm_pfexprt_login_div {
    font-weight: bold;
}

.custom-registration-popup .ctm_pfexprt_login_div a {
    width: 100%;
    background: #4F3290;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 8px;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.7em;
}

a#forgot-password-link{
    font-size: 10px;
    padding-left: 8px;
    cursor: pointer;
    color: #ea3934;
}

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

    .popup-signin,
    .popup-signup .signup-form {
        padding: 0 10px !important;
        margin: 30px auto;
    }

    .fullname,
    .passwordall {
        display: flex;
        flex-direction: column;
    }

    .custom-registration-popup .passwordall .form-group {
        width: 100% !important;
    }

    .custom-registration-popup .close-registration {
        margin-right: 15px;
        margin-left: 15px;
    }
}

@media(max-width: 675px) {
    .ctm_pfexprt_login_div {
        font-size: 15px;
        gap: 10px;
    }
}

@media(max-width: 375px) {
    .ctm_pfexprt_login_div {
        font-size: 12px;
        gap: 8px;
    }
}
