* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 480px;
}

.login-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    text-align: center;
}

.login-header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-header p {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.qr-container {
    margin: 30px 0;
}

.qr-code {
    display: inline-block;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.scan-tip {
    margin-top: 15px;
}

.scan-tip p {
    color: #666;
    font-size: 14px;
}

.login-actions {
    margin-top: 20px;
}

.btn-wechat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #07c160;
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
    cursor: pointer;
    border: none;
}

.btn-wechat:hover {
    background: #06ad56;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

.btn-wechat:active {
    transform: translateY(0);
}

.wechat-icon {
    width: 24px;
    height: 24px;
}

.error-message {
    margin-top: 20px;
    padding: 12px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
    font-size: 14px;
}

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-footer p {
    color: #999;
    font-size: 12px;
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .qr-placeholder {
        width: 160px;
        height: 160px;
    }
    
    .btn-wechat {
        padding: 12px 24px;
        font-size: 15px;
    }
}
