body {
    /* 背景颜色 */
    /*--bg-color: rgba(244, 246, 253, 0.5);*/
    --bg-color: rgb(244, 246, 253);
    --bg-color-2: #fff;
    /*--side-bar-bg: rgb(31, 33, 25);*/
    /*--side-bar-bg: rgb(26, 27, 30);*/
    --side-bar-bg: #151618;
    /*--side-bar-bg: rgb(29, 30, 38);*/
    /*--surface-color: rgb(247, 247, 247);*/
    --surface-color: rgba(99, 98, 231, 0.1);
    /*--side-bar-item-active-bg: rgb(44, 44, 49);*/

    --theme-color: rgb(99, 98, 231);
    --side-bar-item-active-bg: var(--theme-color);
    --side-bar-item-active-color: #fff;
    --chat-box-bg: rgb(255, 255, 255);
    /*AI的对话block颜色*/
    --ai-bg: rgb(247, 247, 249);
    --shadow-bg: rgba(0, 0, 0, 0.6);
    --modal-bg: var(--bg-color);
    --float-menu-bg: rgba(255, 255, 255, 0.9);
    --top-nav-bg: #fff;
    --page-loading-bg: rgba(255, 255, 255, 0.2);


    /* 字体颜色 */
    --text-color: #000000;
    --text-color-9: rgba(0, 0, 0, 0.9);
    --text-color-8: rgba(0, 0, 0, 0.8);
    --text-color-7: rgba(0, 0, 0, 0.7);
    --text-color-6: rgba(0, 0, 0, 0.6);
    --text-color-5: rgba(0, 0, 0, 0.5);
    --text-color-4: rgba(0, 0, 0, 0.4);
    --text-color-3: rgba(0, 0, 0, 0.3);
    --text-color-2: rgba(0, 0, 0, 0.2);
    --text-color-1: rgba(0, 0, 0, 0.1);
    --text-color-0_5: rgba(0, 0, 0, 0.05);

    --price-active-color: orangered;

    /* 线条颜色 */
    --border-color: #f2f2f2;

    /* 滚动条颜色 */
    --scrollbar-thumb-bg: #888;

    /* 尺寸 */
    --side-bar-width: 220px;
    --content-padding: 10px;
    --content-max-width: 800px;
    --top-nav-height: 60px;
    --top-nav-btn-height: 40px;
}


.dark-mode {
    /* 背景颜色 */
    --bg-color: #151618;
    --bg-color-2: #1F2022;
    /*--surface-color: rgb(247, 247, 247);*/
    --surface-color: #292D30;
    /* --side-bar-item-active-bg: rgb(53, 53, 65); */

    --chat-box-bg: rgb(255, 255, 255);
    /*AI的对话block颜色*/
    --ai-bg: rgb(247, 247, 249);
    --shadow-bg: rgba(0, 0, 0, 0.6);
    --modal-bg: var(--bg-color);
    --float-menu-bg: rgba(255, 255, 255, 0.9);
    --top-nav-bg: var(--bg-color);
    --side-bar-item-active-bg: rgb(34, 34, 36);
    --side-bar-item-active-color: var(--theme-color);
    --page-loading-bg: rgba(0, 0, 0, 0.2);

    /* 字体颜色 */
    --text-color: #f2f2f2;
    --text-color-9: rgba(255, 255, 255, 0.9);
    --text-color-8: rgba(255, 255, 255, 0.8);
    --text-color-7: rgba(255, 255, 255, 0.7);
    --text-color-6: rgba(255, 255, 255, 0.6);
    --text-color-5: rgba(255, 255, 255, 0.5);
    --text-color-4: rgba(255, 255, 255, 0.4);
    --text-color-3: rgba(255, 255, 255, 0.3);
    --text-color-2: rgba(255, 255, 255, 0.2);
    --text-color-1: rgba(255, 255, 255, 0.1);
    --text-color-0_5: rgba(255, 255, 255, 0.05);

    --price-active-color: orangered;

    /* 线条颜色 */
    --border-color: rgba(255, 255, 255, 0.1);

    /* 滚动条颜色 */
    --scrollbar-thumb-bg: #888;

    /* 尺寸 */
    --side-bar-width: 220px;
    --content-padding: 10px;
    --content-max-width: 800px;
    --top-nav-height: 60px;
    --top-nav-btn-height: 40px;

}


/* 滚动条宽度 */
*::-webkit-scrollbar {
    width: 5px;
}


/* 滚动条背景颜色 */
*::-webkit-scrollbar {
    background-color: var(--text-color-0_5);
}

/* 滚动条滑块颜色 */
*::-webkit-scrollbar-thumb {
    background-color: var(--text-color-2);
    border-radius: 10px;
}

/* 滚动条滑块悬停时的颜色 */
*::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-bg);
}


* {
    color: var(--text-color);
    transition: background-color 0.2s ease;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


a {
    color: var(--theme-color);
}


/* 加载动画 */
.loader {
    border: 5px solid var(--text-color-8); /* 边框颜色 */
    border-top: 5px solid var(--text-color-1); /* 上边框颜色 */
    border-radius: 50%; /* 边框圆角 */
    width: 120px;
    height: 120px;
    animation: spin 1.2s linear infinite; /* 动画效果 */
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.btn-loader {
    border: 2px solid #fff;
    border-top: transparent;
    width: 15px;
    height: 15px;
    margin: 0 auto;
}


/* 透明度动画 */
.fade {
    opacity: 0.5;
    animation: fade 1.5s linear infinite;
}

@keyframes fade {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}


.notification {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    background: #5cb85c;
    color: #fff;
    padding: 10px 12px;
    border-radius: 4px;
    display: none;
    width: fit-content;
}

.notification-warning {
    /*background: rgba(255, 140, 0, 0.8);*/
    background: indianred;
}


.notification-error {
    /*background: rgba(255, 0, 0, 0.78);*/
    background: indianred;
}


.notification-yellow {
    background: #FFBD59;
    color: #333333;
}


.notification-default {
    background: var(--theme-color);
}


.table-tag {
    margin-left: 5px;
    background: var(--surface-color);
    /* color: rgba(99, 98, 231, 0.8); */
    color: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: default;
}


.table-tag-green {
    background: rgba(50, 250, 50, 0.2);
    color: rgba(0, 128, 0, 0.7)
}


.table-tag-red {
    background: rgba(205, 92, 92, 0.23);
    color: red;
}


.table-tag-orange {
    background: rgba(255, 165, 0, 0.18);
    color: orange;
}


.page-loading {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    background: var(--page-loading-bg);
    z-index: 400;
}


.page-loading .loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    z-index: 401;
}


.no-data-wrapper {
    padding: 50px 0;
    text-align: center;
    font-size: 18px;
    color: var(--text-color-2);
}


input:disabled {
    background-color: #eee;
    color: #888;
    cursor: not-allowed;
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.red {
    color: red;
}


option {
    background: var(--bg-color-2);
    color: var(--text-color);
}


.play-video-modal {
    z-index: 999;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}


.play-video-modal video {
    max-width: 90%;
    max-height: 90%;
}


.close-video-modal-btn {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.close-video-modal-btn i {
    color: #000;
}


.qr-code-flex-wrapper {
    display: flex;
    justify-content: space-between;
}

.qr-code-wrapper {
    width: 49%;
    background: var(--text-color-0_5);
    padding: 10px;
    box-sizing: border-box;
}

.qr-code-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.qr-code-wrapper img {
    width: 100%;

}


.no-value-span {
    opacity: 0.3;
    font-weight: lighter;
    font-style: italic
}



.filter-wrapper {
    display: flex;
    margin-bottom: 15px;
}

.filter-item {
    padding: 5px 10px;
    background: var(--text-color-0_5);
    margin-right: 15px;
    border-radius: 8px;
    font-size: 12px;
    position: relative;
    cursor: pointer;
     box-sizing: border-box;
    border: 1px solid transparent;
    white-space: nowrap;
}

.filter-option-wrapper {
    position: absolute;
    left: 0;
    top: 35px;
    /*width: 140px;*/
    max-height: 200px;
    overflow-y: auto;
    background: var(--bg-color-2);
    z-index: 999;
    border: 1px solid var(--text-color-1);
    border-radius: 8px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    scrollbar-width: thin;
    display: none;
}


/* 滚动条宽度 */
.filter-option-wrapper::-webkit-scrollbar {
    width: 5px;
}


/* 滚动条背景颜色 */
.filter-option-wrapper::-webkit-scrollbar {
    background-color: var(--text-color-0_5);
}

/* 滚动条滑块颜色 */
.filter-option-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--text-color-2);
    border-radius: 10px;
}

/* 滚动条滑块悬停时的颜色 */
.filter-option-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-bg);
}


.filter-option {
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.filter-option:hover {
    background: var(--surface-color);
}

.filter-option-active {
    background: var(--surface-color);
}


.filter-item-active {
    box-sizing: border-box;
    border: 1px solid var(--text-color); /* 设置边框样式 */
}

/*.filter-item-active::after {*/
/*    content: "×"; !* 添加×符号 *!*/
/*    display: inline-block;*/
/*    !*padding: 2px; !* 调整×符号的内边距 *!*!*/
/*}*/

.filter-result-count {
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-bottom: 15px;
}

.primary-btn {
    background: var(--theme-color)!important;
    color: #fff!important;

}


.table-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 3px;
    margin-bottom: -5px;
}