/* 定义 Black (900) */
@font-face {
  font-family: 'Montserrat';
  src: url('/static/addons/cms/dist/public/Montserrat/Montserrat-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* 定义 Bold (700) */
@font-face {
  font-family: 'Montserrat';
  src: url('/static/addons/cms/dist/public/Montserrat/Montserrat-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* 定义 Light (300) */
@font-face {
  font-family: 'Montserrat';
  src: url('/static/addons/cms/dist/public/Montserrat/Montserrat-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

/* 定义 Medium (500) */
@font-face {
  font-family: 'Montserrat';
  src: url('/static/addons/cms/dist/public/Montserrat/Montserrat-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* 定义 Regular (400) */
@font-face {
  font-family: 'Montserrat';
  src: url('/static/addons/cms/dist/public/Montserrat/Montserrat-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
.montserrat{
    font-family: Montserrat;
}
.huawen{
    font-family: "华文中宋", "STZhongsong";
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	/* user-select: none; */
	-webkit-user-drag: none;
	position: relative;
}
section span{
    line-height: 1.7;
}
label{
    cursor: pointer;
}
:root {
	font-size: clamp(14px, 0.83333vw, 16px);
	--px: max(calc((100vw - 1500px) / 2), 2.5rem);
	--px1: calc(var(--px) + 9rem);
}
.lrPadding {
	padding-left: var(--px);
	padding-right: var(--px);
}
.lrPadding1 {
	padding-left: var(--px1);
	padding-right: var(--px1);
}
@media (max-width: 768px) {
	.lrPadding1 {
		padding-left: var(--px);
		padding-right: var(--px);
	}
}
/* 滚动条样式 */
::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}
::-webkit-scrollbar-thumb {
	background: #0063e4;
	border-radius: 1.25rem;
	width: 2px;
	height: 4px !important;
}
@keyframes enter {
	to {
		transform: translateX(0);
		opacity: 1;
	}
}
/*[r-enter] {*/
/*	animation: enter 1.6s ease-in-out paused forwards;*/
/*	transform: translateX(10vw);*/
/*	opacity: 0;*/
/*}*/
/*[l-enter] {*/
/*	transform: translateX(-10vw);*/
/*	opacity: 0;*/
/*	animation: enter 1.6s ease-in-out paused forwards;*/
/*}*/
a {
	text-decoration: none;
	color: inherit ;
}
a>span{line-height: 1;}
body {
	overflow-x: hidden;
	min-height: 100dvh;
}


h1 {
	font-size: 2.25rem;
	font-weight: 400;
	color: #333;
}
.logoBox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 1.25rem;
	flex: 1;
	
}
.logoBox img {
	height: 3.625rem;
}

.logoBox > div {
	display: flex;
	flex-direction: column;
	min-width: max-content;
	gap: 8px 0;
	transform:scale(.9);
}
.logoBox > div > span:first-child {
	font-size: 1.875rem;
	color: #333;
	font-weight: bold;
	text-align-last: justify;
}
.logoBox > div > span:last-child {
	font-size: 0.75rem;
	color: #999;
}
@media (max-width: 768px) {
	.logoBox img {
		height: 2.625rem;
	}
	.logoBox > div {
		display: none;
	}
}
/* 导航 */
.navList {
	display: flex;
	align-items: center;
	gap: 1.875rem;
	font-size: 1rem;
	color: #333;
}
.navList > .navMore {
	display: flex;
	align-items: center;
	padding-bottom: 2.125rem;
}
.navMore > div:first-of-type {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}
.navMore > div:first-of-type > a {
	padding: 0.625rem 0;
	display: block;
	cursor: pointer;
}
.navMore > div:first-of-type > a:hover {
	box-shadow: 0 2px 0 0 #0063e4;
	color: #0063e4;
}

.more > a:hover {
	color: #0063e4;
}
.navMore > div :is(.icon, svg) {
	color: #0063e4;
	transition: all 0.2s ease-in-out;
}
.more {
	width: 100vw;
	display: flex;
	position: fixed;
	justify-content: center;
	top: 8.125rem;
	left: 0;
	background: white;
	border-top: 1px solid #eee;
	transition: all 0.2s ease-in-out;
	padding: 1.8rem 0;
	overflow: hidden;
	align-items: center;
	z-index: -1;
}
.more > a {
	display: inline-block;
	padding: 1rem 2.5rem !important;
	/* width: 100%; */
	text-align: center;
	cursor: pointer;
}

[close] {
	height: 0;
	padding: 0;
	opacity: 0;
	z-index: -1;
	transform: translateY(-100%);
}

/* 按钮部分 */
.navList > div:last-of-type {
	display: flex;
	align-items: flex-end;
	gap: 1.25rem;
	padding-bottom: 2.125rem;
}
.button1 {
	min-width: 5rem;
	min-height: 1.75rem;
	/*line-height: 1.75rem;*/
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #0063e4;
	box-sizing: border-box;
	color: #0063e4 !important;
	background: white;
	font-size: 1rem;
	border-radius: 12.5rem;
	cursor: pointer;
}
.button2 {
	min-width: 5rem;
	height: 1.75rem;
	/*line-height: 1.75rem;*/
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(-90deg, #0063e4, #00c0ff);
	color: white !important;
	font-size: 1rem;
	border-radius: 1.25rem;
	cursor: pointer;
}
.button1:hover {
	 background: linear-gradient(-90deg, #0063e4, #00c0ff);
	color: white !important;
	border:none;
}
.button2:hover {
	/* */
	opacity: .7;
}
button {
	all: unset;
	cursor: pointer;
}
[button]:hover{
    background: linear-gradient(-90deg, #0063e4, #00c0ff);
	color: white !important;
}

/* 自定义input */
.cInput {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 18rem;
}
input:disabled {
	cursor: not-allowed;
}

.needVerify .cInput > div:has(input:invalid),
.needVerify div:has(>custom-select[invalid=""]),
.needVerify div:has(>custom-datapicker[invalid=""])
{
	border: 1px solid red;
}
.cInput:has(input:disabled) > div {
	background: #eee;
}
.cInput > div {
	border: 1px solid #dddddd;
	height: 2rem;
	display: flex;
	align-items: center;
	padding: 0 0.625rem;
	border-radius: 4px;
}
.cInput>div:has(:is(input,custom-datapicker,custom-select):focus){
    border-color:#006fe8;
}
.cInput > span:first-of-type {
	font-size: 1rem;
	color: #333;
	/* margin: 0 1.25rem; */
	/* border-right: 1px solid #eee;
	padding-right: 1.25rem; */
	white-space: nowrap;
	/* flex: 1; */
	width: max-content;
}
.cInput > span[required]:before {
	content: "*";
	color: red;
}
.cInput > div > input {
	border: none;
	outline: none;
	font-size: 1rem;
	flex-grow: 1;
	flex-shrink: 1;
	width: 10.625rem;
	height: 100%;
}
.cInput > div > textarea {
	border: none;
	outline: none;
	font-size: 1rem;
	width: 100%;
	min-height: 6.25rem;
	field-sizing: content;
}
.cInput > div:has(textarea) {
	height: auto;
	padding: 1.125rem 0.625rem;
}
.cInput  input::placeholder {
	color: #999;
	font-size:12px;
}
@media (max-width: 768px) {
	.navList {
		gap: 0.625rem;
	}
	.navList .navMore {
		width: 100%;
		padding: 0 1.25rem;
		flex-direction: column;
		align-items: flex-start;

		padding: 0 !important;
	}
	.navList .navMore > div:first-of-type {
		width: 100%;
	}
	.navList .navMore > div:first-of-type a {
		padding: 0.625rem 1.25rem;
	}
	.navList .navMore .more {
		width: 60vw;
		height: 0;
		position: relative;
		top: 0;
		left: 0;
		bottom: 0;
		display: block;
		flex-direction: column;
		overflow: hidden;
		padding: 0;
		border: none;
		z-index: 2;
	}
	[close] {
		opacity: 1;
		border: none !important;
		transform: translateY(0%);
	}

	.more > a {
		display: inline-block;
		padding: 0.6rem 0 !important;
		width: 100%;
		text-align: left;
		text-indent: 3rem;
	}
	.navList > div:last-of-type {
		padding: 1.25rem;
	}

	.lineBox {
		display: flex;
		flex-direction: column;
		gap: 0.6rem;
	}
	.lineBox > div {
		width: 2rem;
		height: 2px;
		background: #333;
		transition: all 0.15s ease-in-out;
	}
	.lineBox[open] > div:first-of-type {
		transform-origin: 0 center;
		transform: rotate(45deg);
	}
	.lineBox[open] > div:nth-of-type(2) {
		width: 0;
	}
	.lineBox[open] > div:last-of-type {
		transform-origin: 0 center;
		transform: rotate(-45deg);
	}
}

/* aside */
aside {
	background-color: #006fe8;
	width: 13.75rem;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease-in-out;
}
aside > .logo {
	width: 100%;
	padding: 2.5rem 0;
	display: flex;
	justify-content: center;
}
aside > .logo > img {
	width: 7.5rem;
}
aside > .item {
	width: 100%;
	height: 3.75rem;
	display: flex;
	align-items: center;
	gap: 1.125rem;
	color: white;
	font-size: 1rem;
	padding: 0 1.875rem;
	cursor: pointer;
}
aside > .item:hover,
aside > .item[checked] {
	background: #0069dc;
}
.item > img {
	width: 1.5rem;
}
@media (max-width: 768px) {
	aside[visible] {
		transform: translateX(101%);
	}
}

/* 分页 */
#pages {
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 0.625rem;
}
#pages > li {
	/* width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.375rem; */
	/* border: 1px solid #d2d2d2; */
	display: flex;
	align-items: center;
	justify-content: center;
	color: #222;
	font-size: 1rem;
	cursor: pointer;
}
#pages > li:first-of-type {
	margin-right: 2.5rem;
}
#pages > li:last-of-type {
	margin-left: 2.5rem;
}
#pages > li:last-of-type :is(a, span),
#pages > li:first-of-type :is(a, span) {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0;
}
#pages > li:first-of-type:before {
	content: "上一页";
	/* display: inline-block;
	width: 80%;
	height: 80%; */
	/* background-color: black; /* 通过 color 控制图标颜色 */
	/* mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M60 30 L40 50 L60 70' fill='none' stroke='white' stroke-width='8'/%3E%3C/svg%3E");
	mask-size: contain;
	mask-repeat: no-repeat;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M60 30 L40 50 L60 70' fill='none' stroke='white' stroke-width='8'/%3E%3C/svg%3E");
	-webkit-mask-size: contain; */
}

#pages > li:last-of-type:before {
	content: "下一页";
	/* display: inline-block;
	width: 80%;
	height: 80%;
	background-color: black;  */

	/* mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M40 30 L60 50 L40 70' fill='none' stroke='white' stroke-width='8'/%3E%3C/svg%3E");
	mask-size: contain;
	mask-repeat: no-repeat; */
}
#pages > li:hover {
	/* background: #b81c20; */
	color: #006fe8;
}
#pages > li:first-of-type:hover:before,
#pages > li:last-of-type:hover:before {
	/* content: "";
	background: white; */
}
#pages .active {
	color: #006fe8;
}
#pages .disabled {
	color: #ccc !important;
	cursor: not-allowed;
}
[loading] {
	color: transparent;
	user-select: none;
	pointer-events: none;
	position: relative;
}
[loading]::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

dialog {
	border: none;
	margin: auto;
	position: fixed;
	
}
dialog p{
    line-height: 1.8;
}
dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
}