* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

img {
    width: 100%;
    display: block;
}

.qrcode {
    width: 100%;
    height: 234px;
    position: relative;
}

.qrcode img {
    position: absolute;
    height: 100%;
    object-fit: contain;
}

.qrimg {
    width: 180px !important;
    height: 180px !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.button {
    text-align: center;
    margin: 10px 0;
}

.button a {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #DD86A8 0%, #D97B89 100%);
    border-radius: 10px;
    padding: 5px;
}

.btn-group {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9998;
    display: flex;
    gap: 0 !important;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-radius: 5px;
}

.btn-item {
    flex: none;
    width: 30px;
    height: auto;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    text-decoration: none;
    color: #EA981D;
    font-weight: bold;
    text-align: center;
}

/* 弹窗相关样式 */
.popup-overlay,
.popup-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-content img {
    width: 100%;
    height: auto;
    display: block;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    z-index: 10001;
    user-select: none;
}

.close-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 侧边栏样式 */
.sidebar-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #C2272F;
    color: white;
    padding: 10px ;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    cursor: pointer;
    z-index: 1001;
    border-radius: 5px 0 0 5px;
    border: 2px solid #F7E2B8;
    border-right: none;
    transition: left 0.3s ease;
	letter-spacing: 5px;
}