.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: none;
    font-size:0;
}

/* 验证码输入框样式 */
.verify-code-container {
  margin: 0px 0px 24px 0px;
}

.verify-code-input-container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
}

.verify-code-input {
  width: 46px;
  height: 44px;
  background-color: #F5F6F8;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-align: center;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.verify-code-input:focus {
  border: 1px solid #76787B;
  background-color: #fff;
}

.verify-code-input.error {
  box-shadow: 0px 0px 4px 0px rgba(255, 25, 0, 0.5);
  background-color: #fff;
  border: 1px solid rgba(255, 25, 0, 0.5);
}

.verify-code-input.focused {
  border: 1px solid #6B6D70;
}

.verify-error-message {
  color: #FF1A00;
  font-size: 12px;
  font-weight: 400;
  max-width: 80%;
  display: none;
  align-items: flex-start;
}
.verify-error-message.show-error {
  display: flex;
}

.reset-password-tip {
  color: #53565A;
  font-size: 12px;
  font-weight: 400;
  margin-top: 16px;
  margin-bottom: 16px;
}
#all-game-login-modal {
    display: block;
    height: 524px;
    width : 800px;
    border-radius: 16px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    z-index: 9999;
    display: flex;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition:opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
#all-game-login-modal.show {
  display: block;
  opacity: 1;
}

.login-modal-left-content {
    width: 50%;
    height: 100%;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    display: inline-block;
    margin: 0;
    padding: 0;
}
.login-modal-left-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}
.login-modal-right {
    width: 50%;
    height: 100%;
    padding:24px;
    box-sizing: border-box;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
    position: relative;
    display: inline-block;
    margin: 0;
    padding:32px 40px 0px 40px;
}
.login-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin: 0px 0px 8px 0px;
}
.login-modal-title-text{
    color: #53565A;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-top:0px;
    margin-bottom:24px;
}
.login-modal-label {
    font-size:14px;
    color: #000;
    font-weight:600;
}

.login-modal-input {
    width: 100%;
    height: 40px;
    background-color: #F5F6F8;
    border-radius: 8px;
    padding: 0 10px;
    box-sizing: border-box;
    border: none;
    font-weight: normal;
    font-size: 14px;
    color: #000;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.login-modal-input:focus{
    outline: none;
    border: 1px solid #6B6D70;
    background-color: #fff;
}
.login-modal-input::placeholder {
    color: #91969C;
    font-weight: normal;
    font-size: 14px;
}
/* .login-modal-input:-webkit-autofill {
    background-color: transparent !important;
    color: inherit !important;
    box-shadow: inherit !important;
    border: 1px solid #ccc !important;
}
.login-modal-input:focus:-webkit-autofill {
    background-color: transparent !important;
    color: inherit !important;
    box-shadow: inherit !important;
    border: 1px solid #ccc !important;
} */
.login-modal-btn {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
    line-height: 44px;
    background-color: #EA8101;
    color:#fff;
    cursor: pointer;
    margin: 24px 0 16px 0;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
}
.login-modal-btn:hover {
    background-color: rgba(234, 129, 1, 0.8);
}
.login-modal-register {
    font-size: 14px;
    color: #53565A;
    font-weight: 400;
}
.login-modal-register a {
    color: #EA8101;
    font-weight: 600;
    text-decoration: none;
    margin-left:4px;
    cursor: pointer;
    transition: color 0.3s ease;
}
.login-modal-register a:hover {
    color: rgba(234, 129, 1, 0.7);
}
.login-modal-forget {
    font-size: 14px;
    color: #EA8101;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    margin-top: 8px;
    transition: color 0.3s ease;
    display: inline-block;
}
.login-modal-forget:hover {
    color: rgba(234, 129, 1, 0.7);
}
.login-modal-logo {
    margin: 0px auto 8px auto;
    text-align: center;
}
.login-modal-close {
    position: absolute;
    top:20px;
    right:20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 16px;
}
.login-modal-close:hover {
    transform: rotate(90deg);
}
.login-modal-close svg{
    width: 16px;
    height: 16px;
}
.login-modal-input-container {
    position: relative;
    width: 100%;
}
.login-modal-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    line-height: 0;
    transition: opacity 0.3s ease;
}
.login-modal-eye:hover {
    opacity: 0.7;
}

/* 注册成功弹窗 */
.register-success-modal{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 384px;
    height: 354px;
    z-index: 9999999;
    font-size:0;
    display: none;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.5);
    padding: 32px;
    box-sizing: border-box;
}
.register-success-modal.show {
    display: block;
}
.register-success-modal-icon{
    width:88px;
    height:88px;
    margin:0 auto;
}
.register-success-modal-title{
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-align: center;
}
.register-success-modal-icon-svg{
    width:88px;
    height:88px;
}
.register-success-modal-description{
    font-size:14px;
    font-weight: 400;
    color: #53565A;
    margin-top: 32px;
}
.register-success-modal-description-text{
    font-weight: 600;
    line-height: 20px;
    color:#53565A;
}
.register-success-modal-email-link{
    color: #DC7C1F;
    font-weight: 600;
    cursor: pointer;
}
.register-success-modal-browse-btn{
    width: calc(100% - 64px);
    height: 44px;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
    line-height: 44px;
    background-color: #EA8101;
    color:#fff;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    bottom:32px;
    left:50%;
    transform: translateX(-50%);
}
.register-success-modal-browse-btn:hover{
    background-color: rgba(234, 129, 1, 0.8);
}
.register-success-modal-close-btn{
    position: absolute;
    top:20px;
    right:20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width:16px;
    height:16px;
}
.register-success-modal-close-btn:hover{
    transform: rotate(90deg);
}
.register-success-modal-close-btn svg{
    width:16px;
    height:16px;
}

/* 从loginModal.js移过来的样式 */
.login-modal-label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding-top: 16px;
    padding-bottom: 8px;
}
.login-modal-error {
    font-size: 12px;
    color: #FF1A00;
    font-weight: 400;
    max-width: 80%;
}
.login-modal-btn.loading {
    background-color: #FF9F45;
    position: relative;
    cursor: not-allowed;
}
.login-btn-text {
    display: inline-flex;
    align-items: center;
    position: relative;
}
.login-modal-btn.loading .login-btn-text::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 1.5px solid #FFFFFF;
    border-top-color: transparent;
    border-radius: 50%;
    animation: login-button-spinner 0.8s linear infinite;
    box-sizing: border-box;
}
@keyframes login-button-spinner {
    to {
        transform: rotate(360deg);
    }
}
.login-modal-right {
    opacity: 1;
    transition: opacity 0.3s ease;
}
.login-modal-right.fade-out {
    opacity: 0;
}
.login-modal-right.fade-in {
    opacity: 1;
}
.login-modal-input.error {
    box-shadow: 0px 0px 4px 0px rgba(255, 25, 0, 0.5);
    background-color: #fff;
}
.login-modal-error svg {
    display: none;
    vertical-align: middle;
    margin-right: 4px;
}
.login-modal-error.show-error {
    display: flex;
    align-items: flex-start;
    /* text-align: right; */
}
.login-modal-error.show-error svg {
    display: inline-block;
}
.login-validate-error-svg{
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
}

.forgot-back-to-login{
    font-size: 14px;
    font-weight: 600;
    color:#91969C;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.3s ease;
    width:80px;
}
.login-back-svg{
    width:6px;
    height:16px;
    color:#878B91;
    transition: color 0.3s ease;
}
.forgot-back-to-login:hover{
    color: #DC7C1F
}
.forgot-back-to-login:hover .login-back-svg{
    color: #DC7C1F;
}

.verify-email-container{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top:20px;
    height:40px;
    justify-content: space-between;
}
.verify-email-text-container{
    font-size: 14px;
    font-weight: 400;
    color: #000;
    padding: 2px 0px;
    box-sizing: border-box;
    height: 40px;
}
.verify-email-resend-btn{
    font-size:12px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    transition: color 0.3s ease;
}
.verify-email-icon{
    width:40px;
    height:40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F6F8;
    border-radius: 8px;

}
.verify-email-icon svg{
    width:24;
    height:24;
}
.left-content{
    display: flex;
    align-items: center;
    gap: 8px;
}
.register-btn{
    margin-top: 24px;
}
.reset-password-title{
    margin-bottom: 24px;
}