.rightbar_box {
    position: fixed;
    top: 20%;
    right: 10px;
    z-index: 99999;
    width: 250px;
    height: 400px;
    border-radius: 15px; /* 圆角 */
    box-shadow: 0px 0px 10px #000;
    background-color: #fff;
    display: flex;
    align-items: center; /* 垂直居中 */
    transition-duration: 0.2s;
}

.text {
    height: 400px;
    font-size: 16px;
    color: #000;
    writing-mode: vertical-rl;
    text-align: center;
    letter-spacing: 6px;
    padding-right:15px ;
    padding-left:15px ;
    cursor: pointer;
}
.qrCode {
    width: 195px;
    display: flex;
    flex-direction: column; /* 纵向排列二维码和文字 */
    align-items: center; /* 水平居中对齐 */
    height: 400px;
}

.qrCodeImg {
    width: 195px;
    height: auto; /* 自动调整高度 */
    display: flex;
    flex-direction: column; /* 纵向排列图片和文字 */
    align-items: center; /* 水平居中对齐 */
    margin-top: 13px;
}
.qrCodeImg img {
    width: 150px;
}

.qrCodeText {
    text-align: center; /* 文字居中 */
    font-size: 16px; /* 文字大小 */
    color: #000; /* 文字颜色 */
    padding: 5px; /* 内边距 */
}


/* 模态框背景 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 99999999;
}

/* 模态框内容 */
.modal-content {
    width: 400px;
    height: 230px;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
}

/* 关闭按钮样式 */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
}

/* 二维码样式 */
.qr-code-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.qr-code {
    width: 150px; /* 二维码的宽度 */
    border: 2px solid #4CAF50; /* 二维码边框 */
    border-radius: 5px;
    overflow: hidden; /* 避免图像溢出边框 */
}

.qr-code img {
    width: 100%; /* 图像宽度填充二维码框 */
    height: auto; /* 高度自动 */
}

/* 文本样式 */
.qr-label {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}