@charset "utf-8";

/* ==============================================

头部 底部菜单 按钮、卡片、弹窗、分页、表单、搜索栏、标签、提示

============================================== */
.page-wrap {
	width: 100%;
	min-height: 100vh;
	display: grid;
	place-items: center;
	font-family: DIN-Medium;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	isolation: isolate;
	background: var(--color-bg);
	box-shadow: 0 0 0 1px #a6ff000d, 0 34px 90px #0000008c
}

.page-wrap .content-wrap {
	width: 100%;
	position: relative;
	padding: 10px 10px 0;
	scrollbar-width: none
}

/* ====================== 头部  ====================== */
.top_header_out {
	position: relative;
	top: 0;
	z-index: 998;
	left: 0;
	width: 100%;
	height: 60px;
}

.top_header {
	/* flex: 0 0 auto; */
	height: 60px;
	line-height: 60px;
	width: 100%;
	position: fixed;
	z-index: 998;
	padding: 12px 16px 8px;
	background: var(--bg-linear1);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border-bottom: 1px solid #4c20ab;
}


.top_header .brand {
	gap: 5px;
}


.top_header .brand .logo {
	width: 26px;
	height: 26px;
}

.top_header .brand span {
	font-size: 24px;
}


.top_header .top-actions {
	display: flex;
	align-items: center;
	gap: 7px;
}

.top_header .top-actions .connect-btn {
	height: 32px;
	min-width: 112px;
	letter-spacing: 1px;
	border: 1px solid #8b5cf6;
}

.top_header .top-actions .lang-btn {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #8b5cf6;
}

/* ====================== 底部菜单 tabbar ====================== */
.tabbar_out {
	position: relative;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	z-index: 998;
}

.tabbar {
	width: 100%;
	height: 60px;
	position: fixed;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 998;
	/* flex: 0 0 auto; */
	box-shadow: 0 18px 50px #00000047;
	border-top: 1px solid #4c20ab;
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	background: linear-gradient(180deg, #190446, #220859);
	border-radius: 20px 20px 0 0;
	display: flex;
	align-items: center;
}

.tabbar .tabbar-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}


.tabbar .tabbar-item .tabbar-icon {
	width: 20px;
	height: 20px;
	margin-bottom: 4px;
	opacity: .5;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.tabbar .tabbar-item .tabbar-label {
	color: var(--color-white);
	opacity: .5;
	font-size: var(--font-xs);
	line-height: var(--font-sm);
	/* font-family: DIN-Black; */
}

/* 默认图标 */
.tabbar .tabbar-item:nth-child(1) .tabbar-icon {
	background-image: url("../images/tabbar/tab01.png");
}

.tabbar .tabbar-item:nth-child(2) .tabbar-icon {
	background-image: url("../images/tabbar/tab02.png");
}

.tabbar .tabbar-item:nth-child(3) .tabbar-icon {
	background-image: url("../images/tabbar/tab03.png");
}

.tabbar .tabbar-item:nth-child(4) .tabbar-icon {
	background-image: url("../images/tabbar/tab04.png");
}

.tabbar .tabbar-item:nth-child(5) .tabbar-icon {
	background-image: url("../images/tabbar/tab05.png");
}

/* 激活态：active 切换彩色图标 + 文字主题色 */
.tabbar .tabbar-item.active .tabbar-icon {
	opacity: 1;
}

.tabbar .tabbar-item.active .tabbar-label {
	color: var(--color-primary);
	opacity: 1;
}

.tabbar .tabbar-item.active:nth-child(1) .tabbar-icon {
	background-image: url("../images/tabbar/tab01_selected.png");
}

.tabbar .tabbar-item.active:nth-child(2) .tabbar-icon {
	background-image: url("../images/tabbar/tab02_selected.png");
}

.tabbar .tabbar-item.active:nth-child(3) .tabbar-icon {
	background-image: url("../images/tabbar/tab03_selected.png");
}

.tabbar .tabbar-item.active:nth-child(4) .tabbar-icon {
	background-image: url("../images/tabbar/tab04_selected.png");
}

.tabbar .tabbar-item.active:nth-child(5) .tabbar-icon {
	background-image: url("../images/tabbar/tab05_selected.png");
}

/* ====================== 按钮 btn ====================== */
.btn {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 var(--space-md);
	font-size: var(--font-sm);
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	cursor: pointer;
	transition: var(--transition-base);
	white-space: nowrap;
}


.btn-primary {
	background-color: var(--color-primary);
	color: #fff;
}


.btn-default {
	background-color: #9ca3af;
	border-color: var(--color-border);
	color: var(--color-text);
}

.btn-warning {
	background-color: var(--color-warning);
	color: #fff;
}

.btn-success {
	background-color: var(--color-success);
	color: #fff;
}

.btn-danger {
	background-color: var(--color-danger);
	color: #fff;
}

.btn-link {
	min-width: 70px;
	padding: 2px 0;
	background-color: transparent;
	border: 1px solid var(--color-primary);
}

.btn-text {
	background: transparent;
	color: var(--color-primary);
}

.btn-text:hover {
	background: rgba(22, 119, 255, 0.08);
}

/* 尺寸修饰 */
.btn-sm {
	height: 35px;
	padding: 0 var(--space-sm);
	font-size: var(--font-sm);
}

.btn-lg {
	height: 40px;
	padding: 0 var(--space-lg);
}

/* 状态 */
.btn.is-disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.btn__icon {
	margin-right: var(--space-xs);
}

/* ====================== 卡片 card ====================== */
.card {
	background: var(--color-bg-card);
	border-radius: var(--radius-md);
	/* box-shadow: var(--shadow-md); */
	overflow: hidden;
}

.card-border {
	box-shadow: none;
	border: 1px solid var(--color-border);
}

.card_head {
	padding: var(--space-md);
	border-bottom: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.card_title {
	font-size: var(--font-lg);
	font-weight: 600;
}

.card_extra {
	color: var(--color-text-3);
}

.card_body {
	padding: var(--space-md);
}

.card_foot {
	padding: var(--space-md);
	border-top: 1px solid var(--color-border);
}

/* ====================== 弹窗 modal ====================== */
.modal-mask {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: var(--z-modal);
	display: none;
	align-items: center;
	justify-content: center;
}

.modal-wrap {
	width: 80%;
	background: #fff;
	border-radius: var(--radius-md);
	overflow: hidden;
	color: var(--color-black);
}

.modal_head {
	padding: var(--space-sm) var(--space-md);
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--color-border);
}

.modal_title {
	font-size: var(--font-md);
	font-weight: 600;
}

.modal_close {
	width: 24px;
	height: 24px;
	padding: 5px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.06);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal_body {
	padding: var(--space-sm);
	max-height: 70vh;
	overflow-y: auto;
}

.modal_body .icon-warn {
	width: 48px;
	height: 48px;
	margin-bottom: 10px;
}

.modal_foot {
	padding: var(--space-md);
	display: flex;
	justify-content: space-around;
	gap: var(--space-sm);
}

.modal-small .modal-wrap {
	width: 280px;
}

.modal-large {
	align-items: flex-end;
}

.modal-large .modal-wrap {
	width: 100%;
	border-radius: var(--radius-md) var(--radius-md) 0 0;

}

/* ====================== 分页 pagination ====================== */
.pagination {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
}

.pagination_item {
	min-width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.pagination_item:hover:not(.is-active):not(.is-disabled) {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.pagination_item.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

.pagination_item.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.pagination_info {
	margin-left: var(--space-md);
	color: var(--color-text-2);
}

/* ======================返回顶部 ======================*/
.back-to-top {
	display: none;
	width: 34px;
	text-align: center;
	height: 34px;
	line-height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	border: 1px solid rgb(204, 204, 204);
	bottom: 90px;
	right: 10px;
	position: fixed;
}

.back-to-top .back-to-top-img {
	width: 16px;
	height: 16px;
}

/* ======================  表单 form 通用组件 ====================== */
.setup-form {
	padding: 0 var(--space-xxs);
}

.setup-form .setup-group {
	padding: var(--space-xxs) 0;
}

.setup-form .form-label {
	min-width: 70px;
	display: block;
	font-size: var(--font-sm);
	color: var(--color-gray);
}

.setup-form .form-title {
	display: block;
	font-size: var(--font-md);
	color: var(--color-white);
}

.setup-form .form-label.is-required::after {
	content: "*";
	color: var(--color-danger);
	margin-left: 4px;
}

.setup-form .form-input,
.setup-form .form-select {
	width: 100%;
	min-width: 0;
	height: 44px;
	border: none;
	font-size: var(--font-sm);
	color: var(--color-white);
	padding: 0 var(--space-xs);
	transition: var(--transition-base);
	background: var(--color-bg-card);
	border-radius: 5px;
}

.setup-form .setup-group .inpbg {
	background: var(--color-bg-card);
	border-radius: 5px;
}

.setup-form .setup-group .link-input {
	width: 100%;
	min-width: 0;
	height: 40px;
	border: none;
	font-size: var(--font-sm);
	color: var(--color-white);
	padding: 0 var(--space-xs);
	transition: var(--transition-base);
	background: var(--color-bg-card);
	border-radius: 5px;
}

.setup-form .form-input:focus,
.setup-form .form-select:focus,
.setup-form .form-textarea:focus {
	border-color: none;
	outline: none;
}

.setup-form .textarea-box {
	position: relative;
	font-size: 0;
	display: flex;
	box-sizing: border-box;

}

.setup-form .textarea-box.bggray {
	background: #F5F7FA;
	border-radius: 3px;
}

.setup-form .form-textarea {
	background: none;
	color: #16171b;
	font-size: 14px;
	line-height: 21px;
	width: 100%;
	min-height: 100px;
	text-align: left;
	-webkit-user-select: text;
	outline: none;
	-webkit-appearance: none;
	height: auto;
	resize: none;
	box-sizing: border-box;
	border: none;
}

.setup-form .form-error {
	margin-top: var(--space-xs);
	font-size: var(--font-sm);
	color: var(--color-danger);
}

.setup-form .form-tip {
	margin-top: var(--space-xs);
	font-size: var(--font-sm);
	color: var(--color-gray);
}

.setup-form .big-box {
	padding: 10px 0;
	margin-top: 10px;
	border-radius: 5px;
}

.setup-form .big-box.bggray {
	background: #F5F7FA;
	border-radius: 3px;
}

.setup-form .big-box .form-unit {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-black);
}

.setup-form .big-box .form-input {
	background: none;
	font-size: 40px;
	height: 40px;
}

.get-code {
	min-width: 80px;
	font-size: 12px;
	color: #fff;
	background-color: var(--color-primary);
	border-radius: 5px;
	padding: 5px 10px;
	text-align: center;
}

.get-code.disabled {
	background-color: #dddddd;
	color: #9cacaf;
}

/*  设置按钮开关*/
.chooseBtn {
	display: none;
}

.choose-label {
	box-shadow: #ECECEC 0px 0px 0px 1px;
	width: 40px;
	height: 20px;
	display: inline-block;
	border-radius: 10px;
	position: relative;
	background-color: #ECECEC;
	overflow: hidden;
}

.choose-label.checkbox {
	background: var(--color-primary);
	box-shadow: var(--color-primary) 0px 0px 0px 1px;
}

.choose-label:before {
	content: '';
	position: absolute;
	left: 0;
	width: 20px;
	height: 20px;
	display: inline-block;
	border-radius: 20px;
	background-color: #fff;
	z-index: 20;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}

.choose-label.checkbox:before {
	left: 20px;
}

.footer-H {
	position: relative;
	height: 60px;
}

.footer-H .footer {
	padding: 10px 16px;
	height: 60px;
	width: 100%;
	background: #FFFFFF;
	position: fixed;
	bottom: 0;
	z-index: 998;
}

.footer-H .footer .form-submit-btn {
	border-radius: 40px;
}

.form-submit {
	width: 100%;
	padding: 10px 0;
}

.form-submit.short-btn {
	width: 55%;
	padding: 0;
	margin: 0 auto;
}

.form-submit.short-btn .form-submit-btn {
	height: 36px;
	line-height: 36px;
	font-size: var(--font-xs);
}

.form-submit-btn {
	width: 100%;
	height: 42px;
	line-height: 42px;
	border-radius: 5px;
	background: var(--color-primary);
	color: #fff;
	font-size: var(--font-sm);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.form-submit-btn.nobuy {
	color: #0009;
	background: rgba(255, 255, 255, 0.35);
}

.form-submit-btn.hasbuy {
	color: #000;
	background: rgba(255, 255, 255, 0.45);
}



/* 图片上传 */
.upload-box {
	position: relative;
	width: 40px;
	height: 40px;
}


.upload-box .uploadimg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: #f6f6f8;
	object-fit: fill;
	z-index: 1;
}

.upload-box .icon-del {
	position: absolute;
	width: 14px;
	height: 14px;
	top: -5px;
	right: -5px;
	background: url("../images/icon/icon_shanchu.png") no-repeat;
	background-size: 100% 100%;
	z-index: 3;
	display: none;

}

.upload-box .upload-btn-file {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.upload-box .upload-btn-file .file-btn {
	width: 40px;
	height: 40px;
	display: block;
	background: #f6f6f8;
	position: relative;

}

.upload-box .upload-btn-file .file-btn .icon-add {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 50%;
	object-fit: fill;
	top: 50%;
	transform: translate3d(-50%, -50%, 0);
}


/* 上传身份证 */
.upload-IDcard {}

.upload-IDcard .title {
	font-size: 14px;
	line-height: 40px;
	color: var(--color-black);
}


.upload-IDcard .imgbox {
	position: relative;

	width: 200px;
	height: 131px;
	overflow: hidden;


}


.upload-IDcard .imgbox .uploadimg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: #f6f6f8;
	object-fit: fill;
	z-index: 1;
	/* 图片在中间 */

}

.upload-IDcard .imgbox .icon-del {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 0;
	right: 0;
	background: url("../images/icon/closepic.png") no-repeat;
	background-size: 100% 100%;
	z-index: 3;
	/* 删除按钮最高 */
	display: none;

}

.upload-IDcard .imgbox .upload-btn-file {
	position: absolute;
	z-index: 2;
	/* 默认在上面 */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.upload-IDcard .imgbox .upload-btn-file .file-btn {

	width: 200px;
	height: 131px;
	font-size: 14px;
	text-align: center;
	display: block;
	color: #000;
	background: #f6f6f8;
	position: relative;

}

.upload-IDcard .imgbox .upload-btn-file .file-btn .icon-add {
	width: 200px;
	height: 131px;
	position: absolute;
	left: 50%;
	object-fit: fill;
	top: 50%;
	transform: translate3d(-50%, -50%, 0);
}


/* 弹出大图 */

.aler-mask {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	background: rgba(0, 0, 0, 0.4);

}

.alert-grskm {
	width: 100%;
	height: auto;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 1000;
	transform: translate3d(-50%, -50%, 0);
	text-align: center;
}

.alert-grskm img {
	max-width: 100%;
	max-height: 100%;
}


/* ====================== 搜索栏 search ====================== */
.top-search-bar {
	display: flex;
	align-items: center;

}

.search-wrap {
	padding: 10px;
}

.search-box {
	width: 100%;
	background: #FFFFFF;
	border-radius: 33px;
	overflow: hidden;
	font-size: 14px;
	padding: 3px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.top-head-search .search-box {
	border-radius: 8px;
	width: auto;
	background: #F5F7FA;

}

.top-head-search .search-box .searchbtn {
	border-radius: 6px;
	font-size: 12px;
}

.search-box .icon {
	width: 16px;
	height: 16px;


}

.search-box .txt {
	height: 30px;
	line-height: 30px;
	font-size: 14px;
	color: #999;
}

.search-box .input {
	border: 0;
	background: none;
	height: 30px;
	font-size: 14px;
	color: #000;
	flex: 1;
	padding-right: 8px;
	width: 100%;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.search-box .searchbtn {
	height: 30px;
	line-height: 16px;
	display: flex;
	align-content: center;
	justify-content: center;
	flex-direction: column;
	background: linear-gradient(to right, #ff632b 0%, #ff632b 100%);
	font-size: 12px;
	color: #fff;
	margin-left: 10px;
	border-radius: 16px;
	padding: 0 15px;
}

/* ====================== 标签 tag ====================== */
.tag {
	display: inline-block;
	padding: 2px 8px;
	font-size: var(--font-sm);
	border-radius: var(--radius-full);
}

.tag-primary {
	background: var(--color-purple);
	color: var(--color-white);
}

.tag-success {
	background: var(--color-purple);
	color: var(--color-white);
}

.tag-danger {
	background: var(--color-gray);
	color: var(--color-black);
}

.tag-gray {
	background: var(--color-bg-gray);
	color: var(--color-text-3);
}

/* ====================== 提示消息 alert ====================== */
.alert {
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-md);
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

.alert-success {
	background: rgba(0, 180, 42, 0.08);
	border: 1px solid rgba(0, 180, 42, 0.2);
}

.alert-warning {
	background: rgba(255, 125, 0, 0.08);
	border: 1px solid rgba(255, 125, 0, 0.2);
}

.alert-danger {
	background: rgba(245, 63, 63, 0.08);
	border: 1px solid rgba(245, 63, 63, 0.2);
}

/* 弹出提示语 */
.alert-msg {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.3);
	color: #fff;
	padding: 8px 30px;
	border-radius: 30px;
	font-size: 14px;
	z-index: 9999;
	white-space: nowrap;
	text-align: center;
	opacity: 0;
}

/* ====================== tab标签页 tabs ====================== */
.tabs {
	width: 100%;
	gap: 4px;
}

.tabs-item {
	width: 100%;
	cursor: pointer;
	text-align: center;
	line-height: 24px;
	border-radius: 5px;
	font-size: var(--font-xs);
	color: var(--color-white);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 0 6px;

}

.text-10 {
	font-size: 0.75rem;
	/* 确保transform有效 */
	transform: scale(0.833);
	/* 缩小到约10px   0.0833=1px*/
	transform-origin: left bottom;
	/* 确保缩放从左下角开始 */
}

.tabs-item.is-active {
	color: var(--color-white);
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--color-purple);
}

.tabs-content {
	display: none;
}

.tabs-content.show {
	display: block;
}

.line {
	width: 1px;
}



/*  */
.load-all {
	line-height: 20px;
	font-size: 12px;
	color: var(--color-gray);
	text-align: center
}

/* ==================无数据 提示============== */
.data-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding-top: 60px;
}

.data-empty img {
	width: 120px;
	height: 75px;
	margin-bottom: 20px;
}

.data-empty .txt {
	font-size: 12px;
	color: var(--color-gray);
	text-align: center;
}

/*==============箭头=============== */
.arrow-right {
	display: inline-block;
	height: 10px;
	width: 10px;
	margin-left: 3px;
	border-width: 2px 2px 0 0;
	border-color: var(--color-gray);
	border-style: solid;
	-webkit-transform: matrix(.71, .71, -.71, .71, 0, 0);
	transform: matrix(.71, .71, -.71, .71, 0, 0);
}

.arrow-right.gray {
	border-color: #9cacaf;
}

.arrow-right.red {
	border-color: var(--color-text);
}

.arrow-right.white {
	border-color: var(--color-text);
}


/*==============单选按钮=============== */
.radio {
	width: 18px;
	height: 18px;
	border-radius: 18px;
	font-size: 12px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	vertical-align: top;
	background: url("../images/icon/icon_unchecked.png") no-repeat center;
	background-size: 18px 18px;
	cursor: default;
	-webkit-appearance: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-transition: background-color ease 0.1s;
	transition: background-color ease 0.1s;
}


.selected.radio {
	background: url(../images/icon/icon_checked.png) no-repeat center;
	background-size: 18px 18px;
}

.zfxradio {
	width: 20px;
	height: 20px;
	font-size: 13px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	vertical-align: top;
	background: url("../images/icon/icon_unchecked1.png") no-repeat center;
	background-size: 20px 20px;
	cursor: default;
	-webkit-appearance: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-transition: background-color ease 0.1s;
	transition: background-color ease 0.1s;
}

.selected.zfxradio {
	background: url(../images/icon/icon_checked1.png) no-repeat center;
	background-size: 20px 20px;
}