/*index.css*/
* {
	margin: 0;
	padding: 0;
}

/* a标签去除下划线改变颜色 */
a {
	text-decoration: none;
	color: black;
}


.toast-mask {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 998;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
}

.toast-mask-bg {
	background: transparent;
}


.toast-box-body {
	position: fixed;
	z-index: 999;
}

.toast-center {
	left: 50%;
	transform: translateY(-50%);
	top: 50%;
	transform: translateX(-50%);
	text-align: center;
	filter: opacity(0);
	animation: fade 0.5s ease-in forwards;
}

.toast-top {
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	filter: opacity(0);
	animation: fade 0.5s ease-in forwards;
}

.toast-left {
	top: 0;
	left: 0;
	text-align: left;
	filter: opacity(0);
	animation: fade 0.5s ease-in forwards;
}

.toast-right {
	top: 0;
	right: 0;
	text-align: right;
	filter: opacity(0);
	animation: fade 0.5s ease-in forwards;
}

.toast-box {
	max-width: 100%;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	border-radius: 6px;
	padding: 6px 10px;
	border-width: 1px;
	border-style: solid;
}

.toast-success {
	background-color: #f0f9eb;
	border-color: #e1f3d8;
	color: #67c23a;
}

.toast-fail {
	background-color: #fceeee;
	border-color: #efc5c5;
	color: #a02928;
}

.toast-warning {
	background-color: #fdf6ec;
	border-color: #faecd8;
	color: #e6a23c;
}

.toast-icon {
	font-size: 16px;
	margin-right: 4px;
}

.toast-content {
	text-align: left;
	font-size: 14px;
	word-wrap: break-word;
	word-break: break-all;
}

@keyframes fade {
	to {
		filter: opacity(1);
	}
}

.toast-none {
	display: none;
}

.axg-dialog-none {
	display: none;
}

.axg-dialog-bg {
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
}

/* 遮罩层样式 */
.axg-dialog-masking-layer {
	background-color: rgba(0, 0, 0, .3);
}

/* 弹窗容器 */
.axg-dialog-box {
	z-index: 1000;
	filter: opacity(0);
	animation: fade 0.5s ease-in forwards;
}

/* 弹窗默认样式 */
.axg-dialog {
	width: 300px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
	max-height: 100vh;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	overflow-y: auto;
}


.axg-dialog-head {
	width: 100%;
	height: 42px;
	line-height: 42px;
	padding: 0 20px;
	box-sizing: border-box;
	position: relative;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #a02928;
}

.axg-dialog-close-icon {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.axg-dialog-head__dark {
	background: #fff;
	color: #000;
	box-sizing: border-box;
}

.axg-dialog-head__dark .axg-dialog-close-icon {
	color: #a02928;
}

.axg-dialog-close-icon img {
	width: auto;
	height: 16px;
	display: block;
}

.axg-dialog-content {
	padding: 10px 20px;
	color: #333;
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
	word-wrap: break-word;
	word-break: break-all;
}


.axg-dialog::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.axg-dialog ::-webkit-scrollbar-thumb:horizontal {
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}

.axg-dialog::-webkit-scrollbar-thumb:vertical {
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}

.axg-dialog::-webkit-scrollbar-track:vertical {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

.axg-dialog::-webkit-scrollbar-track:horizontal {
	background: #fff;
}

.axg-dialog-btn {
	display: flex;
	justify-content: center;
	padding: 0 20px;
	padding-bottom: 16px;
}

.axg-dialog-btn__list {
	height: 30px;
	padding: 0 20px;
	border-radius: 8px;
	box-sizing: border-box;
	line-height: 30px;
	font-size: 10px;
	font-size: 13px;
	margin: 0 6px;
	cursor: pointer;
	letter-spacing: 1px;
	min-width: 100px;
	text-align: center;
	color: #a02928;
	border: 1px solid #a02928;
}

.axg-dialog-btn__list:hover {
	opacity: 0.9;
}

.axg-dialog-btn__primary {
	background: #a02928;
	color: #fff;
}
