/* 遮罩层 */
.login-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* 登录弹窗容器 */
.login-modal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 0px 20px 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 1000;
}

/* 弹窗显示动画 */
.login-modal.show {
    transform: translateY(0);
}

/* 头部 */
.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: .03125rem solid #f0f0f0;
    padding: 1rem;
}
.login-title {
    font-size: 1.185rem;;
    font-weight: 600;
    color: #222;
}
.login-close {
    font-size:  1.5rem;
    color: #999;
    cursor: pointer;
}

/* 提示文字 */
.login-tip {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 24px;
}

/* 输入框 */
.login-input {
    width: 100%;
    height: 50px;
    border: 1px solid #e5e5e5;
    border-radius: 25px;
    padding: 0 20px;
    font-size: 16px;
    margin-bottom: 16px;
    outline: none;
}
.login-input::placeholder {
    color: #b3b3b3;
}

/* 验证码行 */
.code-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.code-input {
    flex: 1;
}
.code-btn {
    width: 120px;
    height: 50px;
    border: none;
    border-radius: 8px;
    background: #f5f7fa;
    color: #007aff;
    font-size: 16px;
    cursor: pointer;
}
.code-btn:disabled {
    color: #999;
    cursor: not-allowed;
}

/* 协议 */
.agreement {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
    color: #666;
}
.agreement input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}
.agreement a {
    color: #007aff;
    text-decoration: none;
    margin: 0 4px;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 25px;
    background: #d9d9d9;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.login-btn.active {
    background: #007aff;
}

/* 移除点击高亮 */
* {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}