/* ===== 登录弹窗样式 - 完全重写 ===== */

/* 弹窗容器 - 使用最高优先级 */
.pop-bind .pop-login-container,
.pop .pop-login-container,
.pop-login-container {
    width: 6rem !important;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%) !important;
    border-radius: 0.2rem !important;
    padding: 0.4rem 0.5rem !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin: 0 auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.5) !important;
    height: auto !important;
    display: block !important;
    max-width: 90% !important;
}

/* 关闭按钮 */
.pop-login-container .pop-close {
    position: absolute !important;
    top: 0.2rem !important;
    right: 0.2rem !important;
    width: 0.4rem !important;
    height: 0.4rem !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: block !important;
}

.pop-login-container .pop-close:before,
.pop-login-container .pop-close:after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0.25rem !important;
    height: 0.03rem !important;
    background: #fff !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.pop-login-container .pop-close:after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* 标题 */
.pop-login-title {
    text-align: center !important;
    font-size: 0.36rem !important;
    color: #fff !important;
    font-family: 'shserif' !important;
    margin-bottom: 0.3rem !important;
    font-weight: bold !important;
    text-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.5) !important;
    display: block !important;
}

/* 平台选择 */
.pop-login-platform {
    display: flex !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0.3rem !important;
}

.platform-option {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

.platform-option input[type="radio"] {
    width: 0.24rem !important;
    height: 0.24rem !important;
    margin-right: 0.1rem !important;
    cursor: pointer !important;
    accent-color: #47D873 !important;
}

.platform-label {
    font-size: 0.24rem !important;
    color: #fff !important;
    font-family: 'shserif' !important;
}

/* 提示信息 */
.pop-login-notice {
    display: block !important;
    color: #47D873 !important;
    font-size: 0.18rem !important;
    margin-bottom: 0.1rem !important;
    min-height: 0.25rem !important;
}

/* 表单区域 */
.pop-login-form {
    margin-bottom: 0.2rem !important;
}

.input-group {
    position: relative !important;
    margin-bottom: 0.2rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 0.2rem !important;
    height: 0.7rem !important;
}

.input-icon {
    width: 0.3rem !important;
    height: 0.3rem !important;
    margin-right: 0.15rem !important;
    flex-shrink: 0 !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.phone-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23999" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>') !important;
}

.verify-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23999" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"/></svg>') !important;
}

.login-input {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 0.22rem !important;
    color: #fff !important;
    font-family: 'shserif' !important;
    height: 100% !important;
    width: auto !important;
    line-height: 0.7rem !important;
    padding: 0 !important;
    margin: 0 !important;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* 验证码输入组 */
.verify-group {
    padding-right: 0 !important;
    position: relative !important;
}

.verify-input {
    flex: 1 !important;
    padding-right: 1.6rem !important;
}

.get-code-btn {
    background: linear-gradient(90deg, #4a4a6a 0%, #3a3a5a 100%) !important;
    color: #fff !important;
    font-size: 0.18rem !important;
    padding: 0.12rem 0.2rem !important;
    border-radius: 0.06rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-family: 'shserif' !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    position: absolute !important;
    right: 0.12rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.3) !important;
}

.get-code-btn:hover {
    background: linear-gradient(90deg, #5a5a7a 0%, #4a4a6a 100%) !important;
    box-shadow: 0 0.06rem 0.24rem rgba(0, 0, 0, 0.4) !important;
}

/* 用户协议 - 使用table布局确保对齐 */
.pop-login-agreement {
    margin-bottom: 0.2rem !important;
}

.agreement-wrap {
    display: table !important;
    width: 100% !important;
}

.agreement-wrap input[type="checkbox"] {
    display: table-cell !important;
    width: 0.24rem !important;
    height: 0.24rem !important;
    cursor: pointer !important;
    accent-color: #47D873 !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

.agreement-text {
    display: table-cell !important;
    font-size: 0.18rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 0.32rem !important;
    padding-left: 0.1rem !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

.agreement-text a {
    color: #47D873 !important;
    text-decoration: none !important;
}

/* 错误提示 */
.pop-login-error {
    color: #ff6b6b !important;
    font-size: 0.18rem !important;
    text-align: center !important;
    margin-bottom: 0.15rem !important;
    min-height: 0.25rem !important;
}

/* 登录按钮 - 暗黑风格 */
.pop-login-btn {
    display: block !important;
    width: 100% !important;
    height: 0.8rem !important;
    background: linear-gradient(90deg, #2d2d44 0%, #1f1f35 100%) !important;
    color: #fff !important;
    font-size: 0.28rem !important;
    font-family: 'shserif' !important;
    text-align: center !important;
    line-height: 0.8rem !important;
    border-radius: 0.1rem !important;
    text-decoration: none !important;
    margin-bottom: 0.2rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0.05rem 0.2rem rgba(0, 0, 0, 0.4) !important;
    text-shadow: 0 0.02rem 0.04rem rgba(0, 0, 0, 0.5) !important;
}

/* 提示文字 */
.pop-login-tip {
    text-align: center !important;
    font-size: 0.18rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: 'shserif' !important;
}

/* 隐藏旧的样式 */
.denglu3,
.pop-bind-input,
.pop-bind-agrees,
.pop-bind-pf,
.yzcode {
    display: none !important;
}
