/*遮罩层*/
#popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 弹窗框 */
#popup-box {
    background: #fff;
    padding: 25px 20px;
    border-radius: 8px;
    max-width: 380px;
    width: 84%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

/* 关闭按钮 */
#popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #999;
    transition: all 0.2s;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
}

#popup-close:hover {
    color: #ff4757;
    background: rgba(0,0,0,0.05);
    transform: rotate(90deg);
}

/* 标题 */
#popup-box h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: normal;
}

/* 表单 */
#popup-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 输入框容器 */
.input-group {
    position: relative;
}

.input-group input {
    width: 87%;
    padding: 10px 10px 10px 36px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #007BFF;
}

/* 小图标 */
.input-group i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

/* 按钮 */
#popup-box button {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

#popup-box button:hover {
    background: #0056b3;
}
.remember-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .remember-container {
            display: flex;
            align-items: center;
        }
        
        .remember-container input[type="checkbox"] {
            margin-right: 8px;
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        
        .remember-container label {
            color: #2c3e50;
            cursor: pointer;
            font-size: 15px;
        }
        .social-login {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .social-title {
            position: relative;
            width: 100%;
            text-align: center;
            margin-bottom: 20px;
            color: #7f8c8d;
            font-size: 14px;
        }
        
        .social-title::before,
        .social-title::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 30%;
            height: 1px;
            background: #e1e5eb;
        }
        
        .social-title::before {
            left: 0;
        }
        
        .social-title::after {
            right: 0;
        }
        
        .social-icons {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
        }
        
        .social-icons a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            color: white;
            font-size: 22px;
            transition: all 0.3s;
            text-decoration: none;
        }
        
        .social-icons a:hover {
            transform: translateY(-5px);
        }
        
        .social-icons .qq { background: #12b7f5; }
        .social-icons .alipay { background: #009fe8; }
        .social-icons .wechat { background: #07c160; }
.register-link {
            color: #4776E6;
            text-decoration: none;
            font-weight: 500;
            text-align: right;
            width: 100%;
            display: block;
            transition: all 0.2s;
            font-size: 15px;
        }
        
.register-link:hover {
            color: #3558c4;
            text-decoration: underline;
        }
        .error-message {
    color: #ff4757;
    
}
/* 点击遮罩层抖动 */        
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}        
        