body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: white; /* 背景改为纯白色 */
}

.container {
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
    max-width: 400px; /* 限制容器最大宽度 */
    width: 90%; /* 容器宽度为屏幕宽度的90% */
}

#qrcode {
    max-width: 100%; /* 图片宽度不超过容器宽度 */
    height: auto;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 50px; /* 圆形四角 */
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #45a049;
}

/* 响应式设计 */
@media (max-width: 768px) { /* 对于较小屏幕 */
    .container {
        max-width: 100%; /* 小屏幕时容器宽度为100% */
    }

    button {
        font-size: 14px; /* 减小按钮文字大小 */
    }
}