* {
	margin: 0;
	padding: 0;
}

#container {
	font-family: Arial, sans-serif;
	background-color: #f0f0f0;
	overflow: hidden;
}

/* ————————————头部导航栏 ————————————*/
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	margin: 10px;
	background-color: #fff;
	border-bottom: 2px solid #e6e6e6;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

#headerleft {
	display: flex;
	flex-direction: row;
}

.title {
	display: flex;
	align-items: center;
	padding-right: 15px;
	border-right: #c8c8c8 1px solid;
}
/* 第一个头部 */
#before3-head{
	display: flex;
	margin-left: 10px;
}

/* 第二个头部 */
#before4-head{
	display: flex;
	flex-direction: row;
	gap: 10px;
}
/* ————————————滑块———————————————— */
.sildercontainer{
	display: flex;
	justify-content: center;
	align-items: center;
	padding:0px 5px;
}
/* .sildercontainer:hover{
	background-color: #eae2fe;
	border-radius: 5px;
} */
.label {
	font-size: 12px;
	display: inline;
}

.value {
	font-size: 12px;
	display: inline;
}

.sliderinput {
	width: 60px;
	height: 3px;
	/* 修改滑块的高度 */
	background: #91dda9;
}

/* .sliderinput::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 10px;
	height: 10px;
	background: #b68fff;
	cursor: pointer;
	border-radius: 50%;
}

.sliderinput::-moz-range-thumb {
	width: 10px;
	height: 10px;
	background: #b68fff;
	cursor: pointer;
	border-radius: 50%;
} */

/* 第三个头部 */
#before5-head{
	display: flex;
	flex-direction: row;
	gap: 10px;
}
/* 第四个头部 */
#before6-head{
	display: flex;
	flex-direction: row;
	gap: 10px;
}
/* 第五个头部 */
#before7-head{
	display: flex;
	flex-direction: row;
	gap: 10px;
}
/* 第六个头部 */
#before8-head{
	display: flex;
	flex-direction: row;
	gap: 10px;
}



/* ——————————固定按钮组———————— */
.btns {
	background-color: #fff;
	border: none;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
	display: flex;
	align-items: center;
	margin-left: 5px;
	transform: all 0.3s;
}

.btns:hover {
	background-color: #f0f0f0;
}

.btns.selected {
	border-color: #723cf9;
	background-color: #f9f0ff;
	color: #723cf9;
}

/* ——————————头部右边—————————— */
#headerright {
	display: flex;
}

.btn1 {
	display: flex;
}

.btn1image {
	cursor: pointer;
	display: flex;
	align-items: center;
	margin-left: 5px;
	border-radius: 5px;
	border: 1px #ebebeb solid;
	padding: 2px 6px;
	transform: all 1s;
	background-color: white;
	height: 100%;
}

.btn1image:hover {
	border-color: #6200ea;
	color: #6200ea;
	background-color: #f9f0ff;
}

.bg-icon {
	background-image: url('/static/tool/img/touming.png');
	background-size: cover;
	border: solid 1px #999999;
	border-radius: 50px;
	width: 15px;
	height: 15px;
	margin-right: 8px;
	position: relative;
	cursor: pointer;
}

#yulan {
	position: relative;
	cursor: pointer;
}

/* ————————————————————预览下拉框—————————————————————— */
.dropdown {
	position: relative;
	display: inline-block;
	transform: all 0.3s;
}

.popupbox {
	display: none;
	position: absolute;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 0 10px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	padding: 10px;
	z-index: 1;
	transform: all 0.3s;
	min-width: 120px;
}

.popupbox button {
	color: black;
	padding: 8px 16px;
	display: flex;
	align-items: center;
	border: none;
	border-radius: 10px;
	background-color: white;
	transform: all 2s;
}

.popupbox button:hover {
	background-color: #f9f0ff;
	border: none;
}

.dropdown:hover .popupbox {
	display: block;
}


#xiazai1 div {
	background-image: url('/static/tool/img/xiazai.png');
	background-size: cover;
	width: 15px;
	height: 15px;
	margin-right: 5px;
}

#gengduo {
	position: relative;
	cursor: pointer;
	margin-right: 10px;
}

#history {
	display: flex;
	align-items: center;
	background-color: #fff;
	border: none;
	color: #723cf9;
	transform: all 0.3s;
}

#history:hover {
	color: #c599f9;
}






/* ———————————————下面工作区——————————————— */
.content {
	display: flex;
	align-items: center;
	height: calc(100vh - 90px);
	background-color: #f4f6f8;
	width: 100%;
}

/* ————————————————————工作区左边———————————————————— */
.contentleft {
	border-right: #c3c3c3 1px solid;
	display: flex;
	width: 50%;
	height: 100%;
	position: relative;
}

.yuantubox {
	background-color: #afafaf;
	display: flex;
	justify-content: center;
	font-size: 13px;
	color: #fff;
	width: 60px;
	padding: 3px;
	border-radius: 20px;
	position: absolute;
	top: 5px;
	right: 10px;
}

.yuantubox div {
	background-image: url('/static/tool/img/zuoxia.png');
	background-size: cover;
	width: 20px;
	height: 20px;
}


.imagebox {
	display: flex;
	justify-content: center;
}

.image-container {
	background-color: #fff;
	padding: 35px 23px;
	border-radius: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	text-align: center;
	max-width: 80%;
	transform: scale(0.7);
}

.image-container img {
	max-width: 100%;
	border-radius: 10px;
}

.image-container h1 {
	font-size: 30px;
	margin: 10px 0;
	font-weight: 500;
}

.image-container p {
	font-size: 23px;
	margin: 10px 0;
	color: darkgrey;
}

.upload-box {
	display: flex;
	background-color: #f8f8f8;
	width: 80%;
	flex-direction: column;
	/* 子元素会沿着垂直方向（从上到下）排列 */
	align-items: center;
	margin-top: 29px;
	margin: 15px auto;
	border: dashed 1px #cecece;
	border-radius: 10px;
	padding: 20px;
	transform: all 0.3s;
}

.upload-box:hover {
	border-color: #c017d6;
}

.upload-button {
	background: linear-gradient(to right, #646cfb, #c048fb);
	color: #fff;
	font-size: 22px;
	border: none;
	border-radius: 10px;
	padding: 12px 20px;
	cursor: pointer;
	margin-bottom: 10px;
	display: flex;
	flex-direction: row;
	align-items: center;
	/* 子元素会沿着水平左到右排列 */
	text-decoration: none;
}

#shangchuan {
	background-image: url('/static/tool/img/upload.png');
	width: 24px;
	height: 24px;
	background-size: cover;
	margin-right: 8px;
}

.upload-box p {
	font-size: 18px;
	margin-bottom: 10px;
	color: #afafaf;
}


/* ————————————————————工作区右边———————————————————— */
.contentright {
	display: flex;
	justify-content: center;
	width: 50%;
	height: 100%;
	position: relative;
}

.koutubox {
	background-color: #afafaf;
	display: flex;
	justify-content: center;
	font-size: 13px;
	color: #fff;
	width: 70px;
	padding: 3px;
	border-radius: 20px;
	position: absolute;
	top: 5px;
	left: 10px;
}

.koutubox div {
	background-image: url('/static/tool/img/youxia.png');
	background-size: cover;
	width: 20px;
	height: 20px;
}

.tixing {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.tixing div {
	background-image: url(/static/tool/img/tixing.png);
	background-size: contain;
	width: 64px;
	height: 55px;
}

.tixing p {
	font-size: 15px;
	color: #6c6c6c;
	margin-top: 10px;
}


/* ——————————————————切换页面后的界面样式———————————————— */
/* 问好圈 */
#help-circle {
	position: absolute;
	left: 10px;
	bottom: 40px;
}

#close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

#close:hover,
#close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.help-container {
	width: 800px;
	background-color: #f5f5f5;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding: 10px;
	color: #7f7f7f;
	display: none;
	position: absolute;
	bottom: 100px;
	left: 10px;
	z-index: 100;
}


.section {
	margin-bottom: 20px;
}

.section h3 {
	font-size: 1.2em;
	margin-bottom: 10px;
	margin-top: 10px;
	color: #4f4f4f;
}

.help-container ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.help-container ul li {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	width: calc(33.33% - 10px);
	/* 33.33% 减去 margin */
	margin-right: 10px;
	justify-content: space-between;
}

.help-container ul li:nth-child(3n) {
	margin-right: 0;
	/* 每三行的最后一个去掉右边距 */
}

.help-container ul li::before {

	margin-right: 10px;
}

.rr {
	margin-right: 20px;
	color: #4f4f4f;
}

.help-imgbox img {
	margin-right: 6px;
}

.help-imgbox {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ——————————————左侧视频—————————————— */
.videobox {
	position: absolute;
	top:10px;
	z-index: 100;
	background-color: #f4f6f8;
	max-width: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 5px;
	box-shadow: 0 0 5px 4px rgba(0, 0, 0, 0.1);
	
	padding: 5px;
	margin-left: 10px;
}

.videobox-btn {
	display: flex;
	align-items: center;
	border: none;
	background-color: #fff;
	padding: 5px;
	margin: 5px;
	border-radius: 5px;
	transform: all 0.3s;
	position: relative;
	cursor: pointer;
}

.videobox-btn.selected {
	color: #723cf9;
	background: rgba(114,60,249,.15);
}

.videobox-tip {
	position: absolute;
	left: 50px;
	display: none;
	width: 255px;
	height: 215px;
	z-index: 101;
	background-color: #fff;
	text-align: left;
	text-indent: 20px;
	color: #000000;
}
.videobox-tip p {
	margin-top:2px;
}

.videobox-btn:hover {
	background-color: #dedede;
}

.videobox-btn:hover .videobox-tip {
	display: block;
	top:-10px;
}

#after-container,#container-res {
	height: calc(100% - 30px);
	padding: 40px 10px 10px 10px;
	overflow: hidden;
	width: 100%;
}

#ori-main,#res-main {
	height: 100%;
	width: 100%;
	overflow: hidden;
}

.ori-pic,.res-pic {
	width: 100%;
	overflow: hidden;
	position: absolute;
}

.res-pic {
	background-image: url('/static/tool/img/touming.png');
}

.canvas-event-hand {
	cursor: url(/static/images/aitool/reserve.svg),auto;
}

.canvas-event-move {
	cursor: grab;
}

.canvas-event-pen {
	cursor: url(/static/images/aitool/pen.svg),auto;
}

.canvas-event-rate {
	cursor: zoom-in;
}

.canvas-event-rate.cursor-zoom-out {
	cursor: zoom-out;
}

.ori-pic canvas {
	width: auto;
	height: 100%;
}

#before1.hidden,
#before2.hidden,
.tool-nav.hidden,
#fanxuan.hidden,
#chongzhi.hidden,
#chexiao.hidden,
#chongzuo.hidden,
#chongxin.hidden {
	display: none !important;
}

.brush-size-box {
	height: 22px;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,.16);
	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding-right: 4px;
}

.brush-size-box input {
	width: 35px;
	padding-left: 3px;
	outline: none;
}

.brush-size-box span {
	color: #0000004d;

}

.brush-size-box i {
	cursor: pointer;
	margin-left: 2px;
}

.brush-size-range {
	border-radius: 4px;
	background-color: #FFF;
	top: 35px;
	left: 0;
	z-index: 102;
	padding: 20px 15px;
	box-shadow: 0 0 5px 4px rgba(0, 0, 0, 0.1);
}
#brush-size-range-input,#xp-range-input {
	width: 150px;
}


