#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: 110rem; /* 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: 8px;
    overflow: hidden;
    padding: 8px; 
    border: 1px solid #ffffff77;  
} 

.wplr-popup-columns {
    display: flex;
    position: relative;
    z-index: 10;
    min-height: 700px;
    overflow: hidden;
    background-color: #1f1f1d;
    border-radius: 6px;  
}
.wplr-popup-columns h2{
    font-size: 3rem;
    display: block;
    margin-bottom: 1.3rem;
    font-weight: 500;
    color: #161616;
    text-transform: uppercase;
    text-align: center;
}
.wplr-popup-column {
    width: 50%;
    padding: 10px 65px;
    box-sizing: border-box; 
}

.wplr-social-login {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    background-size: cover;
    position: relative;
}
.wplr-social-login:after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    /* background: rgba(0, 0, 0, 0.4); */
    z-index: 1;
}
.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 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; 
    background-color: #fff;
}

#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 {  
    padding: 19px 21px;
    background: #F4F4F4!important;
    width: 100%;
    font-size: 1.8rem;
    color: #161616 !important;
    font-weight: 400;
    border-radius: 4px;
}
.wplr-input-group input::placeholder{
    color: #161616;
}
.wplr-check {
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 13px;
    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%;
    font-weight: 500;
    background-color: var(--quaternary);
    border: 1px solid var(--quaternary);
}
.wplr-popup-content button[type="submit"]:hover{
    color: #ffffff;
}
#wplr-forgot{
    margin-bottom: 2rem;
}
#wplr-forgot ~ p button{
    text-decoration: underline;
}
#wplr-popup-form-content>div p{
    font-size: 1.6rem;
    color: #161616;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
}
#wplr-popup-form-content>div p.forget_text{
    text-align: right;
    margin-bottom: 6rem;
}
#wplr-popup-form-content>div p button{
    color: var(--quaternary);
    font-weight: 500;
    font-size: 1.6rem;
    background-color: transparent; 
    text-decoration: underline;
}

/* .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: 17px;
    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: 0.9rem;
    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(--quaternary);
    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(--quaternary);
    -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: 15px;
    margin-bottom: 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(--quaternary);
    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;
    max-width: 100%;
    width: 237px;
    height: auto; 
    margin-bottom: 57px;
    position: relative;
    z-index: 5;
}

.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(--quaternary);
  }
  .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{
    cursor: pointer;
    font-weight: 500;
  }
  .rember_me input[type="checkbox"] {
    appearance: none;           /* 移除浏览器默认样式 */
    -webkit-appearance: none;   /* Safari 兼容 */
    width: 2.2rem;
    height: 2.2rem;
    border: #D1D1D1 solid 1px;   /* 自定义边框 */ 
    background: transparent;    /* 去掉白色背景 */
    cursor: pointer;
  }

  label[for="wplr-forgot-email"]{
    color: #161616;
  }
  
  .rember_me input[type="checkbox"]:checked {
    background-color: var(--quaternary);     /* 勾选时填充颜色（可选） */
    border-color: var(--quaternary);
    position: relative;
  }
  
  .rember_me input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%,-50%) rotate(45deg);
  }

  .pc-login{
    display: block;
  }

  .mobile-login{
    display: none;
  }


@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;
    }
}