.ai-dh-box {
        padding: 20px;
        /* 移除固定高度设置，改为自适应内容 */
        min-height: 100px; /* 保留最小高度，确保初始显示 */
        /* 移除滚动条 */
        overflow-y: hidden;
        overflow-x: hidden; /* 禁止横向滚动 */
        /* background-color: #fff; */
        scrollbar-width: none;
    }

    .dh-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* 确保内容可以完全展开 */
        overflow: visible;
    }

    .dh-item {
        max-width: 100%;
        display: flex;
    }

    .dh-item.ai {
        align-self: flex-start;
    }

    .dh-item.user {
        align-self: flex-end;
    }

    .dh-item-msg {
        padding: 12px 16px;
        border-radius: 12px;
        position: relative;
        max-width: 100%; /* 添加最大宽度限制 */
        word-break: break-word; /* 允许长单词换行 */
        word-wrap: break-word; /* 兼容旧浏览器 */
    }

    .ai .dh-item-msg {
        background: #F5F7FA;
        border: 1px solid #EBEEF5;
    }

    .user .dh-item-msg {
        background: #409EFF;
        color: white;
    }

    .msg-time {
        font-size: 12px;
        color: #909399;
        margin-top: 6px;
        text-align: right;
    }

    .user .msg-time {
        color: rgba(255, 255, 255, 0.8);
    }

    .ai .dh-item-msg .loading-cursor {
        /* 增加选择器层级 */
        animation: blink 1s infinite;
        font-weight: 700;
        color: #909399;
        /* 添加颜色定义 */
    }


    @keyframes blink {
        0% {
            opacity: 0;
        }

        50% {
            opacity: 1;
        }

        100% {
            opacity: 0;
        }
    }

    /* 换一换按钮旋转动画 */
    @keyframes rotate {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(180deg);
        }
    }

    .rotate-animation {
        animation: rotate 0.5s ease-in-out;
    }

    .end-img {
        display: none;
        cursor: pointer;
        transition: opacity 0.3s;
    }

    .end-img:hover {
        opacity: 0.8;
    }

    .history-box {
        max-height: 100vh;
        overflow-y: auto;
    }

    .reset-btn {
        color: #409EFF;
        cursor: pointer;
        width: 80px;
        text-align: center;
        border-radius: 8px;
        border: 1px solid #409EFF;
    }

    .box2 {
        display: flex;
        justify-content: end;
    }

    /* 保留头像固定高度，因为头像通常需要固定尺寸 */
    .dh-item-avatar {
        width: 40px;
        height: 40px;
        margin-right: 12px;
        flex-shrink: 0;
        border-radius: 4px;
    }

    .dh-item.ai .dh-item-msg {
        display: flex;
        align-items: flex-start;
        /* 新增对齐方式 */
    }
    .ai-input::placeholder {
        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 400;
        font-size: 16px;
        color: #999999;
        text-align: left;
        font-style: normal;
        text-transform: none;
    }
    .ai-input {font-family: Source Han Sans CN, Source Han Sans CN;font-weight: 400;font-size: 16px;color: #000000;text-align: left;font-style: normal;text-transform: none; border-radius: 12px;}
    .question-error {
        color: #F56C6C;
        font-size: 12px;
        margin-top: 4px;
        line-height: 1.5;
    }
    .toast-mask{
        width: 100%;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
        background-color: rgba(0, 0, 0, 0.3);
        opacity: 0;
        display: none;
        transition: all .3s;
    }
    .toast-modal{
        width: 500px;
        min-height: 200px; /* 改为最小高度 */
        position: absolute;
        left: 13.4vw;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        background-color: #fff;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
        border-radius: 4px;
        padding: 10px;
        opacity: 0;
        display: none;
        transition: all .5s;
    }
    .toast-title{
        font-size: 18px;
        font-weight: bold;
    }
    .toast-content{
        margin-top: 20px;
    }
    .toast-button{
        position: absolute;
        bottom: 0;
        padding: 4px 18px;
        border-radius: 4px;
        background-color: #3466db;
        color: #fff;
        right: 10px;
        bottom: 10px;
        cursor: pointer;
        transition: all .3s;
    }
    .toast-button:hover{
        background-color: #245bdb;
    }

    /* 自定义SweetAlert2样式 */
    .my-swal-popup {
        font-family: 'Source Han Sans CN', sans-serif;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .my-swal-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
    }

    .my-swal-content {
        font-size: 16px;
        color: #666;
        line-height: 1.5;
    }

    .my-swal-confirm {
        background-color: #409EFF;
        color: white;
        border: none;
        border-radius: 4px;
        padding: 6px 16px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .my-swal-confirm:hover {
        background-color: #2E8AE6;
    }
 .avatar-container {
   position: relative;
   display: block;
   margin: 0 auto;
   width: fit-content;
   padding-top: 10px;
    }

    .white-dot {
      position: absolute;
      right: 5px; 
      width: 13px;
      height: 13px;
      background-color: #fff;
      border-radius: 50%;
      opacity: 0;
      transform: scale(0);
    }

    .dot-top {
      top: 60%; 
      animation: dotGrow 0.5s forwards;
      animation-delay: 1.5s; 
    }

    .dot-bottom {
      bottom: 45%;
      animation-delay: 1.5s;
    }

    @keyframes dotGrow {
      0% {
        transform: scale(0);
        opacity: 0;
      }
      100% {
        transform: scale(1); 
        opacity: 1;
      }
    }

    .tooltip-text {
      position: absolute;
      width: 120px;
      font-weight: 700;
      line-height: 24px;
      top: 45%; 
      left: calc(100% + 10px); 
      background-color: #fff;
      border-radius: 8px; 
      padding: 10px 16px;
      font-size: 14px;
      color: #333;
      word-wrap: break-word;
      opacity: 0; 
      transform: translateX(-10px); 
      transition: all 0.5s ease; 
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .tooltip-text.show {
      opacity: 1;
      transform: translateX(0);
    }
    .bgys{background-color:#0063e4;}
    button {border: none;}
    button:focus {outline: none;}
    


	:root {
	--swal2-container-padding: 0.625em;
	--swal2-backdrop: rgba(0, 0, 0, 0.4);
	--swal2-width: 32em;
	--swal2-padding: 0 0 1.25em;
	--swal2-border: none;
	--swal2-border-radius: 0.3125rem;
	--swal2-background: white;
	--swal2-color: #545454;
	--swal2-footer-border-color: #eee;
	--swal2-show-animation: swal2-show 0.3s;
	--swal2-hide-animation: swal2-hide 0.15s forwards;
	--swal2-input-background: transparent;
	--swal2-progress-step-background: #add8e6;
	--swal2-validation-message-background: #f0f0f0;
	--swal2-validation-message-color: #666;
	--swal2-close-button-position: initial;
	--swal2-close-button-inset: auto;
	--swal2-close-button-font-size: 2.5em;
	--swal2-close-button-color: #ccc
}[data-swal2-theme=dark] {
	--swal2-dark-theme-black: #19191a;
	--swal2-dark-theme-white: #e1e1e1;
	--swal2-background: var(--swal2-dark-theme-black);
	--swal2-color: var(--swal2-dark-theme-white);
	--swal2-footer-border-color: #555;
	--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);
	--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );
	--swal2-validation-message-color: var(--swal2-dark-theme-white)
}

@media(prefers-color-scheme: dark) {
[	data-swal2-theme=auto] {
		--swal2-dark-theme-black: #19191a;
		--swal2-dark-theme-white: #e1e1e1;
		--swal2-background: var(--swal2-dark-theme-black);
		--swal2-color: var(--swal2-dark-theme-white);
		--swal2-footer-border-color: #555;
		--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);
		--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );
		--swal2-validation-message-color: var(--swal2-dark-theme-white)
	}
}

body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) {
	overflow: hidden
}

body.swal2-height-auto {
	height: auto !important
}

body.swal2-no-backdrop .swal2-container {
	background-color: rgba(0,0,0,0) !important;
	pointer-events: none
}

body.swal2-no-backdrop .swal2-container .swal2-popup {
	pointer-events: all
}

body.swal2-no-backdrop .swal2-container .swal2-modal {
	box-shadow: 0 0 10px var(--swal2-backdrop)
}

body.swal2-toast-shown .swal2-container {
	box-sizing: border-box;
	grid-column: 1/4 !important;
	grid-row: 1/4 !important;
	grid-template-columns: min-content auto min-content;
	padding: 1em;
	overflow-y: hidden;
	background: var(--swal2-background);
	box-shadow: 0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);
	pointer-events: all
}

body.swal2-toast-shown .swal2-container.swal2-top {
	inset: 0 auto auto 50%;
	transform: translateX(-50%)
}

body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right {
	inset: 0 0 auto auto
}

body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left {
	inset: 0 auto auto 0
}

body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left {
	inset: 50% auto auto 0;
	transform: translateY(-50%)
}

body.swal2-toast-shown .swal2-container.swal2-center {
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%)
}

body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right {
	inset: 50% 0 auto auto;
	transform: translateY(-50%)
}

body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left {
	inset: auto auto 0 0
}

body.swal2-toast-shown .swal2-container.swal2-bottom {
	inset: auto auto 0 50%;
	transform: translateX(-50%)
}

body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right {
	inset: auto 0 0 auto
}

@media print {
	body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) {
		overflow-y: scroll !important
	}

	body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true] {
		display: none
	}

	body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container {
		position: static !important
	}
}

div:where(.swal2-container) {
	display: grid;
	position: fixed;
	z-index: 1060;
	inset: 0;
	box-sizing: border-box;
	grid-template-areas: "top-start     top            top-end" "center-start  center         center-end" "bottom-start  bottom-center  bottom-end";
	grid-template-rows: minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);
	height: 100%;
	padding: var(--swal2-container-padding);
	overflow-x: hidden;
	transition: background-color .1s;
	-webkit-overflow-scrolling: touch
}

div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation {
	background: var(--swal2-backdrop)
}

div:where(.swal2-container).swal2-backdrop-hide {
	background: rgba(0,0,0,0) !important
}

div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start {
	grid-template-columns: minmax(0, 1fr) auto auto
}

div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom {
	grid-template-columns: auto minmax(0, 1fr) auto
}

div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end {
	grid-template-columns: auto auto minmax(0, 1fr)
}

div:where(.swal2-container).swal2-top-start>.swal2-popup {
	align-self: start
}

div:where(.swal2-container).swal2-top>.swal2-popup {
	grid-column: 2;
	place-self: start center
}

div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup {
	grid-column: 3;
	place-self: start end
}

div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup {
	grid-row: 2;
	align-self: center
}

div:where(.swal2-container).swal2-center>.swal2-popup {
	grid-column: 2;
	grid-row: 2;
	place-self: center center
}

div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup {
	grid-column: 3;
	grid-row: 2;
	place-self: center end
}

div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup {
	grid-column: 1;
	grid-row: 3;
	align-self: end
}

div:where(.swal2-container).swal2-bottom>.swal2-popup {
	grid-column: 2;
	grid-row: 3;
	place-self: end center
}

div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup {
	grid-column: 3;
	grid-row: 3;
	place-self: end end
}

div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup {
	grid-column: 1/4;
	width: 100%
}

div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup {
	grid-row: 1/4;
	align-self: stretch
}

div:where(.swal2-container).swal2-no-transition {
	transition: none !important
}

div:where(.swal2-container) div:where(.swal2-popup) {
	display: none;
	position: relative;
	box-sizing: border-box;
	grid-template-columns: minmax(0, 100%);
	width: var(--swal2-width);
	max-width: 100%;
	padding: var(--swal2-padding);
	border: var(--swal2-border);
	border-radius: var(--swal2-border-radius);
	background: var(--swal2-background);
	color: var(--swal2-color);
	font-family: inherit;
	font-size: 1rem
}

div:where(.swal2-container) div:where(.swal2-popup):focus {
	outline: none
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-loading {
	overflow-y: hidden
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable {
	cursor: grab
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon) {
	cursor: grab
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging {
	cursor: grabbing
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon) {
	cursor: grabbing
}

div:where(.swal2-container) h2:where(.swal2-title) {
	position: relative;
	max-width: 100%;
	margin: 0;
	padding: .8em 1em 0;
	color: inherit;
	font-size: 1.875em;
	font-weight: 600;
	text-align: center;
	text-transform: none;
	word-wrap: break-word;
	cursor: initial
}

div:where(.swal2-container) div:where(.swal2-actions) {
	display: flex;
	z-index: 1;
	box-sizing: border-box;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: auto;
	margin: 1.25em auto 0;
	padding: 0
}

div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled] {
	opacity: .4
}

div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover {
	background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))
}

div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active {
	background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))
}

div:where(.swal2-container) div:where(.swal2-loader) {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.2em;
	height: 2.2em;
	margin: 0 1.875em;
	animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
	border-width: .25em;
	border-style: solid;
	border-radius: 100%;
	border-color: #2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)
}

div:where(.swal2-container) button:where(.swal2-styled) {
	margin: .3125em;
	padding: .625em 1.1em;
	transition: box-shadow .1s;
	box-shadow: 0 0 0 3px rgba(0,0,0,0);
	font-weight: 500
}

div:where(.swal2-container) button:where(.swal2-styled):not([disabled]) {
	cursor: pointer
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
	border: 0;
	border-radius: .25em;
	background: initial;
	background-color: #7066e0;
	color: #fff;
	font-size: 1em
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible {
	box-shadow: 0 0 0 3px rgba(112,102,224,.5)
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny) {
	border: 0;
	border-radius: .25em;
	background: initial;
	background-color: #dc3741;
	color: #fff;
	font-size: 1em
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible {
	box-shadow: 0 0 0 3px rgba(220,55,65,.5)
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
	border: 0;
	border-radius: .25em;
	background: initial;
	background-color: #6e7881;
	color: #fff;
	font-size: 1em
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible {
	box-shadow: 0 0 0 3px rgba(110,120,129,.5)
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible {
	box-shadow: 0 0 0 3px rgba(100,150,200,.5)
}

div:where(.swal2-container) button:where(.swal2-styled):focus-visible {
	outline: none
}

div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner {
	border: 0
}

div:where(.swal2-container) div:where(.swal2-footer) {
	margin: 1em 0 0;
	padding: 1em 1em 0;
	border-top: 1px solid var(--swal2-footer-border-color);
	color: inherit;
	font-size: 1em;
	text-align: center;
	cursor: initial
}

div:where(.swal2-container) .swal2-timer-progress-bar-container {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	grid-column: auto !important;
	overflow: hidden;
	border-bottom-right-radius: var(--swal2-border-radius);
	border-bottom-left-radius: var(--swal2-border-radius)
}

div:where(.swal2-container) div:where(.swal2-timer-progress-bar) {
	width: 100%;
	height: .25em;
	background: rgba(0,0,0,.2)
}

div:where(.swal2-container) img:where(.swal2-image) {
	max-width: 100%;
	margin: 2em auto 1em;
	cursor: initial
}

div:where(.swal2-container) button:where(.swal2-close) {
	position: var(--swal2-close-button-position);
	inset: var(--swal2-close-button-inset);
	z-index: 2;
	align-items: center;
	justify-content: center;
	width: 1.2em;
	height: 1.2em;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: -1.2em;
	padding: 0;
	overflow: hidden;
	transition: color .1s,box-shadow .1s;
	border: none;
	border-radius: var(--swal2-border-radius);
	background: rgba(0,0,0,0);
	color: var(--swal2-close-button-color);
	font-family: monospace;
	font-size: var(--swal2-close-button-font-size);
	cursor: pointer;
	justify-self: end
}

div:where(.swal2-container) button:where(.swal2-close):hover {
	transform: none;
	background: rgba(0,0,0,0);
	color: #f27474
}

div:where(.swal2-container) button:where(.swal2-close):focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 3px rgba(100,150,200,.5)
}

div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner {
	border: 0
}

div:where(.swal2-container) div:where(.swal2-html-container) {
	z-index: 1;
	justify-content: center;
	margin: 0;
	padding: 1em 1.6em .3em;
	overflow: auto;
	color: inherit;
	font-size: 1.125em;
	font-weight: normal;
	line-height: normal;
	text-align: center;
	word-wrap: break-word;
	word-break: break-word;
	cursor: initial
}

div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox) {
	margin: 1em 2em 3px
}

div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea) {
	box-sizing: border-box;
	width: auto;
	transition: border-color .1s,box-shadow .1s;
	border: 1px solid #d9d9d9;
	border-radius: .1875em;
	background: var(--swal2-input-background);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);
	color: inherit;
	font-size: 1.125em
}

div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror {
	border-color: #f27474 !important;
	box-shadow: 0 0 2px #f27474 !important
}

div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus {
	border: 1px solid #b4dbed;
	outline: none;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)
}

div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder {
	color: #ccc
}

div:where(.swal2-container) .swal2-range {
	margin: 1em 2em 3px;
	background: var(--swal2-background)
}

div:where(.swal2-container) .swal2-range input {
	width: 80%
}

div:where(.swal2-container) .swal2-range output {
	width: 20%;
	color: inherit;
	font-weight: 600;
	text-align: center
}

div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output {
	height: 2.625em;
	padding: 0;
	font-size: 1.125em;
	line-height: 2.625em
}

div:where(.swal2-container) .swal2-input {
	height: 2.625em;
	padding: 0 .75em
}

div:where(.swal2-container) .swal2-file {
	width: 75%;
	margin-right: auto;
	margin-left: auto;
	background: var(--swal2-input-background);
	font-size: 1.125em
}

div:where(.swal2-container) .swal2-textarea {
	height: 6.75em;
	padding: .75em
}

div:where(.swal2-container) .swal2-select {
	min-width: 50%;
	max-width: 100%;
	padding: .375em .625em;
	background: var(--swal2-input-background);
	color: inherit;
	font-size: 1.125em
}

div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox {
	align-items: center;
	justify-content: center;
	background: var(--swal2-background);
	color: inherit
}

div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label {
	margin: 0 .6em;
	font-size: 1.125em
}

div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input {
	flex-shrink: 0;
	margin: 0 .4em
}

div:where(.swal2-container) label:where(.swal2-input-label) {
	display: flex;
	justify-content: center;
	margin: 1em auto 0
}

div:where(.swal2-container) div:where(.swal2-validation-message) {
	align-items: center;
	justify-content: center;
	margin: 1em 0 0;
	padding: .625em;
	overflow: hidden;
	background: var(--swal2-validation-message-background);
	color: var(--swal2-validation-message-color);
	font-size: 1em;
	font-weight: 300
}

div:where(.swal2-container) div:where(.swal2-validation-message)::before {
	content: "!";
	display: inline-block;
	width: 1.5em;
	min-width: 1.5em;
	height: 1.5em;
	margin: 0 .625em;
	border-radius: 50%;
	background-color: #f27474;
	color: #fff;
	font-weight: 600;
	line-height: 1.5em;
	text-align: center
}

div:where(.swal2-container) .swal2-progress-steps {
	flex-wrap: wrap;
	align-items: center;
	max-width: 100%;
	margin: 1.25em auto;
	padding: 0;
	background: rgba(0,0,0,0);
	font-weight: 600
}

div:where(.swal2-container) .swal2-progress-steps li {
	display: inline-block;
	position: relative
}

div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step {
	z-index: 20;
	flex-shrink: 0;
	width: 2em;
	height: 2em;
	border-radius: 2em;
	background: #2778c4;
	color: #fff;
	line-height: 2em;
	text-align: center
}

div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
	background: #2778c4
}

div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step {
	background: var(--swal2-progress-step-background);
	color: #fff
}

div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line {
	background: var(--swal2-progress-step-background)
}

div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line {
	z-index: 10;
	flex-shrink: 0;
	width: 2.5em;
	height: .4em;
	margin: 0 -1px;
	background: #2778c4
}

div:where(.swal2-icon) {
	position: relative;
	box-sizing: content-box;
	justify-content: center;
	width: 5em;
	height: 5em;
	margin: 2.5em auto .6em;
	border: .25em solid rgba(0,0,0,0);
	border-radius: 50%;
	border-color: #000;
	font-family: inherit;
	line-height: 5em;
	cursor: default;
	user-select: none
}

div:where(.swal2-icon) .swal2-icon-content {
	display: flex;
	align-items: center;
	font-size: 3.75em
}

div:where(.swal2-icon).swal2-error {
	border-color: #f27474;
	color: #f27474
}

div:where(.swal2-icon).swal2-error .swal2-x-mark {
	position: relative;
	flex-grow: 1
}

div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line] {
	display: block;
	position: absolute;
	top: 2.3125em;
	width: 2.9375em;
	height: .3125em;
	border-radius: .125em;
	background-color: #f27474
}

div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left] {
	left: 1.0625em;
	transform: rotate(45deg)
}

div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right] {
	right: 1em;
	transform: rotate(-45deg)
}

div:where(.swal2-icon).swal2-error.swal2-icon-show {
	animation: swal2-animate-error-icon .5s
}

div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark {
	animation: swal2-animate-error-x-mark .5s
}

div:where(.swal2-icon).swal2-warning {
	border-color: #f8bb86;
	color: #f8bb86
}

div:where(.swal2-icon).swal2-warning.swal2-icon-show {
	animation: swal2-animate-error-icon .5s
}

div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content {
	animation: swal2-animate-i-mark .5s
}

div:where(.swal2-icon).swal2-info {
	border-color: #3fc3ee;
	color: #3fc3ee
}

div:where(.swal2-icon).swal2-info.swal2-icon-show {
	animation: swal2-animate-error-icon .5s
}

div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content {
	animation: swal2-animate-i-mark .8s
}

div:where(.swal2-icon).swal2-question {
	border-color: #87adbd;
	color: #87adbd
}

div:where(.swal2-icon).swal2-question.swal2-icon-show {
	animation: swal2-animate-error-icon .5s
}

div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content {
	animation: swal2-animate-question-mark .8s
}

div:where(.swal2-icon).swal2-success {
	border-color: #a5dc86;
	color: #a5dc86
}

div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line] {
	position: absolute;
	width: 3.75em;
	height: 7.5em;
	border-radius: 50%
}

div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left] {
	top: -0.4375em;
	left: -2.0635em;
	transform: rotate(-45deg);
	transform-origin: 3.75em 3.75em;
	border-radius: 7.5em 0 0 7.5em
}

div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right] {
	top: -0.6875em;
	left: 1.875em;
	transform: rotate(-45deg);
	transform-origin: 0 3.75em;
	border-radius: 0 7.5em 7.5em 0
}

div:where(.swal2-icon).swal2-success .swal2-success-ring {
	position: absolute;
	z-index: 2;
	top: -0.25em;
	left: -0.25em;
	box-sizing: content-box;
	width: 100%;
	height: 100%;
	border: .25em solid rgba(165,220,134,.3);
	border-radius: 50%
}

div:where(.swal2-icon).swal2-success .swal2-success-fix {
	position: absolute;
	z-index: 1;
	top: .5em;
	left: 1.625em;
	width: .4375em;
	height: 5.625em;
	transform: rotate(-45deg)
}

div:where(.swal2-icon).swal2-success [class^=swal2-success-line] {
	display: block;
	position: absolute;
	z-index: 2;
	height: .3125em;
	border-radius: .125em;
	background-color: #a5dc86
}

div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip] {
	top: 2.875em;
	left: .8125em;
	width: 1.5625em;
	transform: rotate(45deg)
}

div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long] {
	top: 2.375em;
	right: .5em;
	width: 2.9375em;
	transform: rotate(-45deg)
}

div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip {
	animation: swal2-animate-success-line-tip .75s
}

div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long {
	animation: swal2-animate-success-line-long .75s
}

div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right {
	animation: swal2-rotate-success-circular-line 4.25s ease-in
}[class^=swal2] {
	-webkit-tap-highlight-color: rgba(0,0,0,0)
}

.swal2-show {
	animation: var(--swal2-show-animation)
}

.swal2-hide {
	animation: var(--swal2-hide-animation)
}

.swal2-noanimation {
	transition: none
}

.swal2-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
	overflow: scroll
}

.swal2-rtl .swal2-close {
	margin-right: initial;
	margin-left: 0
}

.swal2-rtl .swal2-timer-progress-bar {
	right: 0;
	left: auto
}

.swal2-toast {
	box-sizing: border-box;
	grid-column: 1/4 !important;
	grid-row: 1/4 !important;
	grid-template-columns: min-content auto min-content;
	padding: 1em;
	overflow-y: hidden;
	background: var(--swal2-background);
	box-shadow: 0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);
	pointer-events: all
}

.swal2-toast>* {
	grid-column: 2
}

.swal2-toast h2:where(.swal2-title) {
	margin: .5em 1em;
	padding: 0;
	font-size: 1em;
	text-align: initial
}

.swal2-toast .swal2-loading {
	justify-content: center
}

.swal2-toast input:where(.swal2-input) {
	height: 2em;
	margin: .5em;
	font-size: 1em
}

.swal2-toast .swal2-validation-message {
	font-size: 1em
}

.swal2-toast div:where(.swal2-footer) {
	margin: .5em 0 0;
	padding: .5em 0 0;
	font-size: .8em
}

.swal2-toast button:where(.swal2-close) {
	grid-column: 3/3;
	grid-row: 1/99;
	align-self: center;
	width: .8em;
	height: .8em;
	margin: 0;
	font-size: 2em
}

.swal2-toast div:where(.swal2-html-container) {
	margin: .5em 1em;
	padding: 0;
	overflow: initial;
	font-size: 1em;
	text-align: initial
}

.swal2-toast div:where(.swal2-html-container):empty {
	padding: 0
}

.swal2-toast .swal2-loader {
	grid-column: 1;
	grid-row: 1/99;
	align-self: center;
	width: 2em;
	height: 2em;
	margin: .25em
}

.swal2-toast .swal2-icon {
	grid-column: 1;
	grid-row: 1/99;
	align-self: center;
	width: 2em;
	min-width: 2em;
	height: 2em;
	margin: 0 .5em 0 0
}

.swal2-toast .swal2-icon .swal2-icon-content {
	display: flex;
	align-items: center;
	font-size: 1.8em;
	font-weight: bold
}

.swal2-toast .swal2-icon.swal2-success .swal2-success-ring {
	width: 2em;
	height: 2em
}

.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
	top: .875em;
	width: 1.375em
}

.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left] {
	left: .3125em
}

.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right] {
	right: .3125em
}

.swal2-toast div:where(.swal2-actions) {
	justify-content: flex-start;
	height: auto;
	margin: 0;
	margin-top: .5em;
	padding: 0 .5em
}

.swal2-toast button:where(.swal2-styled) {
	margin: .25em .5em;
	padding: .4em .6em;
	font-size: 1em
}

.swal2-toast .swal2-success {
	border-color: #a5dc86
}

.swal2-toast .swal2-success [class^=swal2-success-circular-line] {
	position: absolute;
	width: 1.6em;
	height: 3em;
	border-radius: 50%
}

.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left] {
	top: -0.8em;
	left: -0.5em;
	transform: rotate(-45deg);
	transform-origin: 2em 2em;
	border-radius: 4em 0 0 4em
}

.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right] {
	top: -0.25em;
	left: .9375em;
	transform-origin: 0 1.5em;
	border-radius: 0 4em 4em 0
}

.swal2-toast .swal2-success .swal2-success-ring {
	width: 2em;
	height: 2em
}

.swal2-toast .swal2-success .swal2-success-fix {
	top: 0;
	left: .4375em;
	width: .4375em;
	height: 2.6875em
}

.swal2-toast .swal2-success [class^=swal2-success-line] {
	height: .3125em
}

.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip] {
	top: 1.125em;
	left: .1875em;
	width: .75em
}

.swal2-toast .swal2-success [class^=swal2-success-line][class$=long] {
	top: .9375em;
	right: .1875em;
	width: 1.375em
}

.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip {
	animation: swal2-toast-animate-success-line-tip .75s
}

.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long {
	animation: swal2-toast-animate-success-line-long .75s
}

.swal2-toast.swal2-show {
	animation: swal2-toast-show .5s
}

.swal2-toast.swal2-hide {
	animation: swal2-toast-hide .1s forwards
}

@keyframes swal2-show {
	0% {
		transform: scale(0.7)
	}

	45% {
		transform: scale(1.05)
	}

	80% {
		transform: scale(0.95)
	}

	100% {
		transform: scale(1)
	}
}

@keyframes swal2-hide {
	0% {
		transform: scale(1);
		opacity: 1
	}

	100% {
		transform: scale(0.5);
		opacity: 0
	}
}

@keyframes swal2-animate-success-line-tip {
	0% {
		top: 1.1875em;
		left: .0625em;
		width: 0
	}

	54% {
		top: 1.0625em;
		left: .125em;
		width: 0
	}

	70% {
		top: 2.1875em;
		left: -0.375em;
		width: 3.125em
	}

	84% {
		top: 3em;
		left: 1.3125em;
		width: 1.0625em
	}

	100% {
		top: 2.8125em;
		left: .8125em;
		width: 1.5625em
	}
}

@keyframes swal2-animate-success-line-long {
	0% {
		top: 3.375em;
		right: 2.875em;
		width: 0
	}

	65% {
		top: 3.375em;
		right: 2.875em;
		width: 0
	}

	84% {
		top: 2.1875em;
		right: 0;
		width: 3.4375em
	}

	100% {
		top: 2.375em;
		right: .5em;
		width: 2.9375em
	}
}

@keyframes swal2-rotate-success-circular-line {
	0% {
		transform: rotate(-45deg)
	}

	5% {
		transform: rotate(-45deg)
	}

	12% {
		transform: rotate(-405deg)
	}

	100% {
		transform: rotate(-405deg)
	}
}

@keyframes swal2-animate-error-x-mark {
	0% {
		margin-top: 1.625em;
		transform: scale(0.4);
		opacity: 0
	}

	50% {
		margin-top: 1.625em;
		transform: scale(0.4);
		opacity: 0
	}

	80% {
		margin-top: -0.375em;
		transform: scale(1.15)
	}

	100% {
		margin-top: 0;
		transform: scale(1);
		opacity: 1
	}
}

@keyframes swal2-animate-error-icon {
	0% {
		transform: rotateX(100deg);
		opacity: 0
	}

	100% {
		transform: rotateX(0deg);
		opacity: 1
	}
}

@keyframes swal2-rotate-loading {
	0% {
		transform: rotate(0deg)
	}

	100% {
		transform: rotate(360deg)
	}
}

@keyframes swal2-animate-question-mark {
	0% {
		transform: rotateY(-360deg)
	}

	100% {
		transform: rotateY(0)
	}
}

@keyframes swal2-animate-i-mark {
	0% {
		transform: rotateZ(45deg);
		opacity: 0
	}

	25% {
		transform: rotateZ(-25deg);
		opacity: .4
	}

	50% {
		transform: rotateZ(15deg);
		opacity: .8
	}

	75% {
		transform: rotateZ(-5deg);
		opacity: 1
	}

	100% {
		transform: rotateX(0);
		opacity: 1
	}
}

@keyframes swal2-toast-show {
	0% {
		transform: translateY(-0.625em) rotateZ(2deg)
	}

	33% {
		transform: translateY(0) rotateZ(-2deg)
	}

	66% {
		transform: translateY(0.3125em) rotateZ(2deg)
	}

	100% {
		transform: translateY(0) rotateZ(0deg)
	}
}

@keyframes swal2-toast-hide {
	100% {
		transform: rotateZ(1deg);
		opacity: 0
	}
}

@keyframes swal2-toast-animate-success-line-tip {
	0% {
		top: .5625em;
		left: .0625em;
		width: 0
	}

	54% {
		top: .125em;
		left: .125em;
		width: 0
	}

	70% {
		top: .625em;
		left: -0.25em;
		width: 1.625em
	}

	84% {
		top: 1.0625em;
		left: .75em;
		width: .5em
	}

	100% {
		top: 1.125em;
		left: .1875em;
		width: .75em
	}
}

@keyframes swal2-toast-animate-success-line-long {
	0% {
		top: 1.625em;
		right: 1.375em;
		width: 0
	}

	65% {
		top: 1.25em;
		right: .9375em;
		width: 0
	}

	84% {
		top: .9375em;
		right: 0;
		width: 1.125em
	}

	100% {
		top: .9375em;
		right: .1875em;
		width: 1.375em
	}
}

/* 聊天容器样式 */
.ai-chat-container {
     width: 90%;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 10px;
    height: 490px;
    overflow: auto;
    max-height: none;
    padding: 15px;
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: none;
}
.ai-chat-containerxws {
     width: 90%;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 10px;
    height: 510px;
    overflow: auto;
    max-height: none;
    padding: 15px;
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: none;
}
/* 显示聊天容器的类 */
.ai-chat-container.show {
    display: block;
}


.avatar-container, .ai-content {
    transition: display 0.3s ease;
}

/* 聊天消息样式 */
#chat-messages {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* 让消息容器自适应内容 */
    height: auto;
    min-height: 50px; /* 保留最小高度 */
}

/* 用户消息样式 */
.user-message {
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* AI消息样式 */
.ai-message {
    align-self: flex-start;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* 加载中消息样式 */
.loading-message {
    align-self: flex-start;
    max-width: 80%;
    display: flex;
    gap: 10px;
}

/* 错误消息样式 */
.error-message {
    align-self: flex-start;
    max-width: 80%;
    display: flex;
    gap: 10px;
}

/* 消息内容样式 */
.message-content {
    padding: 12px 16px;
    border-radius: 12px;
    word-break: break-word;
    line-height: 1.5;
    flex: 1;
}

.user-message .message-content {
    color: #000;
    font-weight: 700;
    border-top-right-radius: 4px;
}

.ai-message .message-content {
    border-top-left-radius: 4px;
}

.error-message .message-content {
    background: #FEE;
    border: 1px solid #FCC;
    color: #F44336;
    border-top-left-radius: 4px;
}


/* 头像样式 */
.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 4px;
}

/* 加载动画样式 */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

div:where(.swal2-container).swal2-top-start>.swal2-popup {
	align-self: start
}

div:where(.swal2-container).swal2-top>.swal2-popup {
	grid-column: 2;
	place-self: start center
}

div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup {
	grid-column: 3;
	place-self: start end
}

div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup {
	grid-row: 2;
	align-self: center
}

div:where(.swal2-container).swal2-center>.swal2-popup {
	grid-column: 2;
	grid-row: 2;
	place-self: center center
}

div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup {
	grid-column: 3;
	grid-row: 2;
	place-self: center end
}

div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup {
	grid-column: 1;
	grid-row: 3;
	align-self: end
}

div:where(.swal2-container).swal2-bottom>.swal2-popup {
	grid-column: 2;
	grid-row: 3;
	place-self: end center
}

div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup {
	grid-column: 3;
	grid-row: 3;
	place-self: end end
}

div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup {
	grid-column: 1/4;
	width: 100%
}

div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup {
	grid-row: 1/4;
	align-self: stretch
}

div:where(.swal2-container).swal2-no-transition {
	transition: none !important
}

div:where(.swal2-container) div:where(.swal2-popup) {
	display: none;
	position: relative;
	box-sizing: border-box;
	grid-template-columns: minmax(0, 100%);
	width: var(--swal2-width);
	max-width: 100%;
	padding: var(--swal2-padding);
	border: var(--swal2-border);
	border-radius: var(--swal2-border-radius);
	background: var(--swal2-background);
	color: var(--swal2-color);
	font-family: inherit;
	font-size: 1rem
}

div:where(.swal2-container) div:where(.swal2-popup):focus {
	outline: none
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-loading {
	overflow-y: hidden
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable {
	cursor: grab
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon) {
	cursor: grab
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging {
	cursor: grabbing
}

div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon) {
	cursor: grabbing
}

div:where(.swal2-container) h2:where(.swal2-title) {
	position: relative;
	max-width: 100%;
	margin: 0;
	padding: .8em 1em 0;
	color: inherit;
	font-size: 1.875em;
	font-weight: 600;
	text-align: center;
	text-transform: none;
	word-wrap: break-word;
	cursor: initial
}

div:where(.swal2-container) div:where(.swal2-actions) {
	display: flex;
	z-index: 1;

}

/* 自定义提示弹窗样式 */
.custom-alert {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	padding: 24px;
	z-index: 1000;
	display: none;
}

.custom-alert.show {
	display: block;
	animation: fadeIn 0.3s;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translate(-50%, -60%); }
	to { opacity: 1; transform: translate(-50%, -50%); }
}

.custom-alert-header {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}

.custom-alert-icon {
	width: 40px;
	height: 40px;
	margin-right: 12px;
}

.custom-alert-title {
	font-family: 'Source Han Sans CN', sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.custom-alert-content {
	font-family: 'Source Han Sans CN', sans-serif;
	font-size: 16px;
	color: #666;
	margin-bottom: 24px;
	line-height: 1.5;
}

.custom-alert-footer {
	display: flex;
	justify-content: flex-end;
}

.custom-alert-button {
	background-color: #409EFF;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 8px 16px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.custom-alert-button:hover {
	background-color: #2E8AE6;
}

.custom-alert-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 999;
	display: none;
}

.custom-alert-overlay.show {
	display: block;
}

    /* 复制按钮样式 */
    .copy-btn {
    width:8%;
    margin:0 auto;
    text-align: center;
    margin-top: 10px;
    padding: 6px 12px;
    background: #2196F3;
    border: 1px solid #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #fff;
    transition: all 0.3s ease;
}

    .copy-btn:hover {
        background: #2196F3;
        color: #ffffff;
    }

/* 网站版权信息样式 */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
   text-align: center;
    margin: 20px 0;
    color: #c5c8cc;
    font-size: 12px;
    line-height: 1.6;
}

/* 移动端版权信息样式 */
@media (max-width: 768px) {
    .footer-content p {
        font-size: 11px;
        line-height: 1.8;
        white-space: normal;
        word-wrap: break-word;
        padding: 0 10px;
    }
    
    .footer-content p br.mobile-br {
        display: block;
    }
    
    .footer-content p br:not(.mobile-br) {
        display: none;
    }
}

.footer-content a {
    color:#c5c8cc;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: none;
}
.tip-text{display:none;}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: #f9fafb;
}

/* 容器样式，实现网格布局 */
.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
}

/* 卡片基础样式 */
.card {
  border-radius: 8px;
  padding:20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: white;
  border: 1px solid rgba(0,0,0,.1);
}

/* 激活状态卡片样式 */
.card.active {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

/* 图标和标题容器，实现同行显示 */
.icon-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 图标样式 */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f3f4f6;
  border-radius: 6px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1;
  font-weight: bold;
}

.card h3 {
  font-size: 16px;
  color: #111827;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  padding-left: 50px;
}

/* 悬停效果 */
.card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}
.ai-chat-containerxws {display: none;}
.ai-chat-containerxws.show {display: block;}
.hidden {display: none !important;}


/* 添加到ai.css文件末尾 */
#toptips {
    display: none; /* 默认隐藏 */
    position: relative; /* 确保定位正常 */
    z-index: 10; /* 确保在其他元素上方 */
}
#toptips.show {
    display: block; 
}
#toptipsxws {
    display: none; /* 默认隐藏 */
    position: relative; /* 确保定位正常 */
    z-index: 10; /* 确保在其他元素上方 */
}
#toptipsxws.showxws {
    display: block; 
}