.synthesis-banner {
    background-color: #29b474;
    padding: 20px 0;
    text-align: center;
	color: #fff;
}

.synthesis-banner h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.synthesis-content {
    background-image: url(data:image/gif;base64,R0lGODlhDAAMAMQAAP///+bm5gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAMAAwAAAUcYCCOQGmOpFmiorqyLsAG8RzXsGvrubr7vRMrBAA7);
    background-color: transparent;
    margin: auto;
    min-height: 800px;
    position: absolute;
    top:215px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.synthesis-box {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.synthesis-bj { 
    box-sizing: border-box; 
    background-color: #e8f0fe;
    margin: auto;
    position: absolute;
    max-width: 100%;
    max-height: 100%;
}

.synthesis-qrcode {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(153, 153, 153, 0.5);
    transition: background-color 0.3s ease;
}

.synthesis-qrcode:hover {
    background-color: rgba(153, 153, 153, 0.8);
    cursor: move;
}

.synthesis-qrcode .handle {
    background-color: #4285f4;
}

.qrcode-size-indicator {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 5px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none; 
    top: -35px;
    right: 0;
}
.qrcode-content img{
    width: 100%;
    height: 100%; 
}
.qrcode-content img:hover{
	opacity: 0.6;
}
.zoomSetting {
    position: fixed;
    top: 230px;
    left: 32px;
    display: flex;
    align-items: center;
    padding: 4px 30px; 
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.zoomSetting span {
    white-space: nowrap;
    color: #666;
    font-size: 11px;
    margin-right: 8px;
    font-weight: 500;
}
.step{
	position: fixed;
	right: 0;
	top: 50%;
	transform-origin: left center;
	padding: 10px 15px;
	border-radius: 0 0 8px 8px;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
	z-index: 1000;
	height: 220px;
	width: 100px;
	background: rgb(255, 255, 255, 0.5);
}
.upload_msg{
    font-size: 10px;
    line-height: 20px;
    margin-top: 10px;
}
.step_btn{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 5px;
}
.mark-tools {
    width: 200px;
} 
.mark-tools{
    position: fixed;
    top: 300px;
    left: 40px;
    width: 30px;
    z-index: 1000;
    height: 200px;
    /* background: #f1f1f1; */
    color: #000;
}
.mark-tools .tools-title{
    width: 100%;
    text-align: center;
    line-height: 40px;
}
.tool-item {
    display: flex;
    align-items: stretch;
    cursor: pointer;
    /* border-radius: 4px; */
    /* margin-bottom: 5px; */
    transition: all 0.3s;
    margin: auto;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: space-evenly;
    background: #f1f1f1;
    margin-bottom: 5px;
    padding: 5px 0;
}

.tool-item:hover {
    background-color: #ecf5ff;
    color: #409EFF;
}

.tool-item i {
    font-size: 18px;
    /* margin-right: 10px; */
}
.upload-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.upload-mask .el-upload {
    display: block;
}

.custom-drawer {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 320px;
    height: 75vh;
    max-height: 700px;
    z-index: 2000;
    visibility: hidden;
}

.custom-drawer.drawer-open {
    visibility: visible;
}

.drawer-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 8px 0 0 8px;
}

.drawer-open .drawer-mask {
    opacity: 1;
}

.drawer-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s;
    border-radius: 8px 0 0 8px;
}

.drawer-open .drawer-container {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e4e7ed;
    background: #f5f7fa;
    border-radius: 8px 0 0 0;
}

.drawer-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-title {
    font-size: 14px;
    font-weight: 500;
    color: #303133;
}

.drawer-header .el-icon-close {
    font-size: 16px;
    color: #909399;
    cursor: pointer;
}

.drawer-header .el-icon-close:hover {
    color: #409EFF;
}

.drawer-content {
    height: calc(100% - 100px);
    overflow-y: auto;
    padding: 16px;
}

.drawer-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #e4e7ed;
    text-align: right;
    border-radius: 0 0 0 8px;
}

/* 优化编辑框内部元素间距 */
.custom-drawer .el-form-item {
    margin-bottom: 12px;
}

.custom-drawer .el-form-item__label {
    font-size: 13px;
    line-height: 1.2;
    padding-bottom: 4px;
}
 

.custom-drawer .el-button--small {
    padding: 6px 12px;
    font-size: 12px;
}