button {
    font-size: inherit;
}

#wplr-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wplr-popup-content {
    background-color: #fff;
    padding: 0;
    width: 103.8rem;
    /* Increased width to accommodate two columns */
    max-width: 90%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 1.2rem;
}

.wplr-popup-columns {
    display: flex;
    position: relative;
    z-index: 10;
    background-color: #1f1f1d;
    border-radius: 1.2rem;
}

.wplr-popup-columns h2 {
    font-weight: 600;
    font-size: 3rem;
    text-align: center;
}

.wplr-popup-column {
    box-sizing: border-box;
}

.wplr-social-login {
    width: 49.518304%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    background-size: cover;
    position: relative;
    z-index: 2;
}

.wplr-social-login button {
    margin-bottom: 15px;
    padding: 10px 20px;
    background-color: #4285F4;
    /* Default color for Google */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    max-width: 250px;
    text-align: center;
}

#wplr-login-facebook {
    background-color: #3b5998;
    /* Facebook color */
}

.wplr-form-login {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-color: #fff;
    padding: 8.6rem 5.1rem 8rem;
    border-radius: 0 1.2rem 1.2rem 0;
}

#wplr-popup-notification,
.wplr-notification {
    display: none;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    border-radius: 0;
}

.wplr-close {
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
    font-size: 30px;
    z-index: 99;
}

.wplr-input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

.wplr-input-group label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 17px;
    display: block;
    margin-top: 0.7rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 400;
}

.wplr-input-group input {
    width: 100%;
    height: 4.6rem;
    display: block;
    color: var(--title);
    font-size: 1.6rem;
    padding: 0 2.6rem;
    transition: all 0.3s;
    border-radius: 100px;
    border: 1px solid #D3D3D3;
}

.wplr-input-group input::placeholder {
    color: #919191;
}

.wplr-input-group input:focus {
    border-color: var(--secondary);
}

.wplr-check {
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    vertical-align: middle;
    display: inline-block;
    text-indent: -9999px;
    width: 25px;
    height: 25px;
    /* background: url('../img/correct.svg') no-repeat center/contain; */
}

.wplr-check[data-flag='yes'] {
    background: url('../img/correct.svg') no-repeat center/contain;
}

.wplr-check[data-flag='no'] {
    background: url('../img/error.svg') no-repeat center/contain;
}

.wplr-popup-content button[type="submit"] {
    width: 100%;
    display: flex;
    height: 6rem;
    line-height: 6rem;
    margin-top: 3.6rem;
}

.forget_pass_box {
    margin-top: 1.2rem;
}

.wplr-popup-content button[type="submit"]::after {
    display: none;
}

#wplr-forgot {
    margin-bottom: 2rem;
}

#wplr-forgot~p button {
    text-decoration: underline;
}

#wplr-popup-form-content>div p {
    color: #333;
    font-size: 1.4rem;
    margin-top: 2rem;
}

#wplr-popup-form-content>div p.forget_text {
    margin: 0;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--secondary);
    text-decoration: underline;
    transition: all 0.3s;
}

#wplr-popup-form-content>div p.forget_text:hover {
    text-decoration-color: transparent;
}

#wplr-popup-form-content>div p button {
    cursor: pointer;
    color: var(--secondary);
    transition: all 0.3s;
    text-decoration: underline;
    text-decoration-color: transparent;
    background-color: transparent;
}

#wplr-popup-form-content>div p button:hover {
    text-decoration-color: var(--secondary);
}

#wplr-popup-form-content>div p.forget_text button {
    text-decoration-color: var(--secondary);
}

.label,
.wplr-input-group label {
    cursor: pointer;
    max-width: max-content;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

#wplr-popup-form-content>div p.forget_text button:hover {
    text-decoration-color: transparent;
}

/* .wplr-popup-content button[type="submit"]:hover { 
    background-color: #000;
    color: #fff;
} */

#wplr-popup-form-content p {
    color: #161616;
    text-align: center;
}

.wplr-tooltip {
    cursor: pointer;
    text-decoration: none;
    margin-left: 5px;
    position: relative;
    position: absolute;
    width: 25px;
    height: 25px;
    left: 100%;
    top: 12px;
    text-indent: -9999px;
    background: url('../img/question.svg') no-repeat center/contain;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.wplr-tooltip-text {
    display: none;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 1rem;
    font-size: 1.2rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Position above the text */
    left: 50%;
    margin-left: -120px;
    width: 240px;
}

.wplr-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

.wplr-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 2s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


#wplr-popup-loader {
    position: absolute;
    left: 50%;
    top: 0;
    margin-top: 1rem;
    margin-left: -25px;
    width: 50px;
    --b: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--primary);
    -webkit-mask:
        repeating-conic-gradient(#0000 0deg, #000 1deg 70deg, #0000 71deg 90deg),
        radial-gradient(farthest-side, #0000 calc(100% - var(--b) - 1px), #000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    animation: l5 1s infinite;
    margin-top: 20rem;
}

@keyframes l5 {
    to {
        transform: rotate(.5turn)
    }
}



.wplr-notification {
    display: none;
    padding: 10px 15px;
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 14px;
    line-height: 1.5;
}

.wplr-notification.success {
    background-color: rgba(162, 204, 162, 0.692);
    color: rgb(15, 94, 15);
    border-color: rgb(15, 94, 15);
}

.wplr-notification.error {
    background-color: var(--primary);
    color: #222;
    border-color: transparent;
}

.wplr-notification.info {
    background-color: var(--primary);
    color: #fff;
    font-size: 1.5rem;
    border-color: transparent;
}

.wplr-notification .icon {
    margin-right: 10px;
    vertical-align: middle;
    display: none;
}

.wplr-popup-content {
    background-size: cover;
    background-position: center;
}

.wplr-logo {
    display: block;
    width: 122.178988%;
    height: 100%;
    object-fit: contain;
    margin-left: -13.229572%;
}

.wplr-social-login a {
    width: 100%;
    /* padding: 25px; */
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: block;
    text-align: center;
    margin-bottom: 17px;
    transition: all 0.3s;
    color: #666;
    display: flex;
    align-items: center;
    height: 58px;
    font-weight: 300;
    font-size: 15px;
    color: #dddddd;
    position: relative;
    z-index: 5;
}

.wplr-social-login a:hover {
    border: 1px solid var(--primary);
}

.wplr-social-login a img {
    width: 33px;
    display: block;
    margin-right: 11px;
    height: auto;
    margin-left: 25%;
}

.wplr-social-login a.facebook img {
    width: 49px;
    margin-left: 23%;
}

.rember_me {
    display: flex;
    gap: .8rem;
    align-items: start;
}

.rember_me label {
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    color: #666666;
    line-height: 1.8rem;
    padding-left: 0.6rem;
}

.rember_me input[type="checkbox"] {
    padding: 0;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: top;
    transition: all 0.3s;
    border: 1px solid #D3D3D3;
}

label[for="wplr-forgot-email"] {
    color: #161616;
}

.rember_me input[type="checkbox"]:checked {
    border-color: var(--primary);
}

.rember_me input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 80%;
    height: 80%;
    opacity: 0;
    transition: all 0.3s;
    background: url(../img/icon-gou.svg) no-repeat center / contain;
}

.rember_me input[type="checkbox"]:checked::after {
    opacity: 1;
}

.pc-login {
    display: block;
}

.mobile-login {
    display: none;
}

#wplr-popup-form-content form {
    margin-top: 2.6rem;
}


@media screen and (min-width: 769px) and (max-width: 1550px) {
    .wplr-social-login {
        width: 40%;
    }

    .wplr-form-login {
        flex: 1;
    }
}

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

    .pc-login {
        display: none;
    }

    .mobile-login {
        display: block;
        width: 100%;
    }

    .wplr-popup-columns {
        min-height: unset;
        padding: 1rem 0;
        height: 100%;
        background-image: unset !important;
        flex-direction: column-reverse;
        justify-content: center;
        background-color: transparent;
        background-repeat: no-repeat;
    }

    .wplr-popup-column {
        width: 100%;
        padding: 50px;
    }

    .wplr-social-login a {
        width: 44px;
        height: 44px;
        overflow: hidden;
        text-indent: -999px;
        margin: 0;
    }

    .wplr-social-login a.facebook img {
        width: 22px;
    }

    .wplr-social-login {
        gap: 1rem;
        flex-direction: row;
        position: absolute;
        bottom: 80px;
    }

    .wplr-popup-columns h2 {
        font-size: 25px;
        line-height: 1.5;
    }

    .wplr-input-group input {
        font-size: 14px;
        padding: 14px 1.5rem;
    }

    .wplr-popup-content button[type="submit"] {
        margin: 0rem 0 0;
        padding: .3rem;
        font-size: 1.4rem;
    }

    #wplr-popup-form-content>div p {
        margin: 1rem 0;
        font-size: 14px;
    }

    #wplr-popup {
        z-index: 997;
    }

    .wplr-popup-content {
        border: none;
        padding: 0;
        width: 100%;
        max-width: 100%;
        background-color: #fff;
        height: 100%;
    }

    .wplr-notification.info {
        padding: 1rem;
        font-size: 1.2rem;
    }

    #wplr-popup-loader {
        margin-top: 3rem;
    }

    .mobile-login .flex {
        gap: 2rem;
        justify-content: space-between;
    }

    .mobile-login img {
        width: 120px;
    }

    #wplr-popup-form-content>div p.forget_text {
        margin-top: 0;
        margin-bottom: 0rem;
    }

    #wplr-popup-form-content>div p button {
        font-size: 13px;
    }

    .rember_me input[type="checkbox"] {
        width: 2rem;
        height: 2rem;
    }

    .rember_me {
        align-items: center;
    }

    .rember_me label {
        font-size: 13px;
    }

    .forget_pass_box {
        margin-bottom: 4rem;
    }

    .wplr-close {
        top: 4rem;
        right: 5rem;
    }
}

@media screen and (max-width: 390px) {
    .mobile-login {
        display: none;
    }

    .mobile-login img {
        width: 100px;
    }
}