/* CSS模拟二维码图像 */
.qr-code-image {
    width: 180px;
    height: 180px;
    background-color: white;
    position: relative;
    box-sizing: border-box;
    padding: 10px;
}

.qr-code-image::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-image: 
        linear-gradient(45deg, #000 25%, transparent 25%),
        linear-gradient(-45deg, #000 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #000 75%),
        linear-gradient(-45deg, transparent 75%, #000 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* 二维码中的定位图标 */
.qr-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border: 8px solid #000;
    z-index: 1;
}

.qr-corner::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #000;
    left: 2px;
    top: 2px;
}

.qr-top-left {
    top: 15px;
    left: 15px;
}

.qr-top-right {
    top: 15px;
    right: 15px;
}

.qr-bottom-left {
    bottom: 15px;
    left: 15px;
}

/* 中心Logo */
.qr-logo {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #3498db;
    border-radius: 6px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #3498db;
    font-size: 10px;
    text-align: center;
} 