body {
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: 'REM-Bold';
    src: url('/fonts/REM-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap; /* 可选：优化字体加载显示 */
    font-size: 13px !important;
}

/* 创建样式类 */
.amount_no {
    font-family: 'REM-Bold', sans-serif;
    font-weight: bold; /* 如果字体本身是粗体，这个可能不需要 */
}
.alert-header {
    font-size: 13px;
    font-weight: 600;
}

.alert-body {
    font-size: 13px
}

.alert_icon {
    display: block;
    width: 15px;
    height: 15px;
    background: url("../img/ico/alert.png") center no-repeat;
    background-size: cover;
    margin-top: -16px;
    margin-left: -24px;
}

DIV.digg {
    PADDING-RIGHT: 3px;
    PADDING-LEFT: 3px;
    PADDING-BOTTOM: 3px;
    MARGIN: 3px;
    PADDING-TOP: 3px;
    TEXT-ALIGN: center;
    margin-top: 10px;
    margin-bottom: 30px
}

DIV.digg A {
    BORDER-RIGHT: #cccccc 1px solid;
    PADDING-RIGHT: 5px;
    BORDER-TOP: #cccccc 1px solid;
    PADDING-LEFT: 5px;
    PADDING-BOTTOM: 5px;
    MARGIN: 5px;
    BORDER-LEFT: #cccccc 1px solid;
    COLOR: #cccccc;
    PADDING-TOP: 5px;
    BORDER-BOTTOM: #cccccc 1px solid;
    TEXT-DECORATION: none;
    font-size: 12px;
    background: #fff;
}

.digg span {
    display: inline-block;
    font-size: 12px;
    padding: 5px
}

DIV.digg A:hover {
    border: #5b86d0 1px solid;
    color: #5b86d0
}

DIV.digg A:active {
    BORDER: #5b86d0 1px solid;
    COLOR: #5b86d0;
}

DIV.digg SPAN.current {
    BORDER-RIGHT: #5b86d0 1px solid;
    PADDING-RIGHT: 5px;
    BORDER-TOP: #5b86d0 1px solid;
    PADDING-LEFT: 5px;
    FONT-WEIGHT: bold;
    PADDING-BOTTOM: 2px;
    MARGIN: 2px;
    BORDER-LEFT: #5b86d0 1px solid;
    COLOR: #fff;
    PADDING-TOP: 2px;
    BORDER-BOTTOM: #5b86d0 1px solid;
    BACKGROUND-COLOR: #5b86d0
}

DIV.digg SPAN.disabled {
    BORDER-RIGHT: #eee 1px solid;
    PADDING-RIGHT: 5px;
    BORDER-TOP: #eee 1px solid;
    PADDING-LEFT: 5px;
    PADDING-BOTTOM: 2px;
    MARGIN: 2px;
    BORDER-LEFT: #eee 1px solid;
    COLOR: #ddd;
    PADDING-TOP: 2px;
    BORDER-BOTTOM: #eee 1px solid
}

.disable {
    color: #999;
    cursor: not-allowed
}

.header_bg {
    background: #f7faff
}

a.recyle {
    display: block;
    width: 40px;
    height: 20px;
    float: right;
    font-size: 12px !important;
    font-weight: normal;
    line-height: 20px;
    color: #666 !important;
}

.w100 {
    width: 100px
}

.w150 {
    width: 150px !important;
}

.w250 {
    width: 250px !important;
}

.site_quick_memu {
    display: block;
    width: 40px;
    height: 200px;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

a.fangda {
    display: block;
    width: 100%;
    height: 40px;
    background: url('../img/ico/fangda.png') center no-repeat;
    background-size: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 2px;
}

a.qtip {
    display: block;
    width: 100%;
    height: 40px;
    background: url('../img/ico/tip.png') center no-repeat;
    background-size: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 2px;
}

a.suoxiao {
    display: block;
    width: 100%;
    height: 40px;
    background: url('../img/ico/suoxiao.png') center no-repeat;
    background-size: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 2px;
}

a.deepseek {
    display: block;
    width: 100%;
    height: 40px;
    background: url('../img/ico/deepseek.png') center no-repeat;
    background-size: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 2px;
}

a.recyclebin {
    display: block;
    width: 100%;
    height: 40px;
    background: url('../img/ico/recyle.png') center no-repeat;
    background-size: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.txt_red {
    color: #ff3300 !important;
}

.full_win {
    margin-left: 0!important;
    width: 100% !important
}

.price_txt {
    color: #ff3300
}

.dyn_dropdown {
    border: 1px solid rgb(204, 204, 204);
    background: rgb(255, 255, 255);
    border-radius: 5px;
    height: auto;
    position: absolute;
    z-index: 10005;
    padding: 10px;
    box-shadow: rgb(204, 204, 204) 0px 0px 3px;
    display: none
}

/**tips***/
/* Tip插件样式 */
.tip-container {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10001;
    pointer-events: none;
}

.tip-message {
    padding: 0 20px;
    height: 30px;
    line-height: 30px;
    border-radius: 30px;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    min-width: 200px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tip-message.show {
    opacity: 1;
    transform: translateY(0);
}

.tip-info {
    background-color: #5cb85c;
}

.tip-warning {
    background-color: #ff3300;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tip-message {
        font-size: 13px;
        padding: 0 15px;
        min-width: 150px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .tip-message {
        font-size: 12px;
        padding: 0 12px;
        min-width: 120px;
    }
}

.tinytime {
    font-size: 12px;
    color: #999
}

.exptime {
    font-size: 12px;
    color: #999;
    display: inline-block;
    line-height: 30px;
}

select {
    -webkit-appearance: none;
}

select {
    -webkit-appearance: none; /* 移除默认样式 */
    -moz-appearance: none;
    appearance: none;
    background-image: url('../img/ico/arrow.png') !important; /* 箭头图标 */
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: right 10px center !important; /* 调整箭头位置 */
    padding-right: 30px !important; /* 确保有足够的空间显示箭头 */
!important;
}

.input_must {
    border-left: 3px solid #ff3300
}

.txt_right {
    text-align: right
}

.txt_center {
    text-align: center
}

.cal_time {
    background: #f8f9fa;
    color: #999
}

.cal_weetkday {
    background: #f8f9fa;
}

.modal-md {
    width: 400px
}



.syslogo {
    width: 75%
}


.sidemenu li a {
    position: relative
}

.sidemenu li a i {
    display: inline-flex;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    margin-bottom: -2px
}



.btn-primary {
    background: #2273ff !important;
    border: none !important;
}

.page-header {
    font-weight: 700
}

.sub-header {
    font-size: 16px !important;
    font-weight: 400
}

.label {
    font-size: 12px !important;
    font-weight: normal !important;
}

.leads_td1 {
    font-weight: 400 !important;
    color: #999
}


/* 遮罩层样式 */
.deepseek-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
}

/* 对话面板样式 */
.deepseek-panel {
    position: fixed;
    top: 0;
    right: -30%;
    width: 30%;
    height: 100%;
    background-color: white;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.deepseek-panel.active {
    right: 0;
}

/* 对话内容区域 */
.deepseek-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* 初始图片 */
.deepseek-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.deepseek-intro img {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
    border-radius: 10px;
    object-fit: cover;
    padding: 20px;
}

.deepseek-intro p {
    color: #666;
    font-size: 16px;
    text-align: center;
}

/* 问题输入区域 */
.question_area {
    padding: 15px;
    border-top: 1px solid #e8e8e8;
    background-color: white;
    position: sticky;
    bottom: 0;
}

.question_area .form-group {
    margin-bottom: 0;
}

.question_area .form-control {
    border-radius: 20px;
    padding: 10px 15px;
}


.user-message {
    align-self: flex-end;
    background-color: #1890ff;
    color: white;
    border-bottom-right-radius: 2px;
}

.bot-message {
    align-self: flex-start;
    background-color: #f5f5f5;
    color: #333;
    border-bottom-left-radius: 2px;
}

/* 加载中消息的特殊样式 */
.message-loading {
    animation: loading 1.5s infinite;
    background-color: #e6f7ff !important;
    border: 1px solid #91d5ff;
}

/* 加载动画 */
@keyframes loading {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .deepseek-panel {
        width: 80%;
        right: -80%;
    }

    .deepseek-intro img {
        width: 150px;
        height: 150px;
    }
}


.ava_area {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 2px;
    background: #fff;
    border-radius: 5px;
    width: 70px;
    font-size: 12px !important;
    height: 27px;
    overflow: hidden;
    color: #666!important;
    line-height: 20px;
}

.ava_img {
    width: 20px;
    border-radius: 20px;
    height: 20px;
    margin: 0 5px 0 0;
}

/**btn**/
.btn_edit {
    background: url('../img/ico/btn_edit.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}
.btn_ai {
    background: url('../img/ico/btn_ai.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_update {
    background: url('../img/ico/btn_edit.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_update_pass {
    background: url('../img/ico/btn_edit.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_del {
    background: url('../img/ico/btn_del.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_turn {
    background: url('../img/ico/btn_turn.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_bindpro {
    background: url('../img/ico/bind_pro.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_bindfile {
    background: url('../img/ico/bind_file.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_files {
    background: url('../img/ico/btn_files.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_upload {
    background: url('../img/ico/btn_upload.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_time {
    background: url('../img/ico/btn_time.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_new_contact {
    background: url('../img/ico/btn_add_contact.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_link {
    background: url('../img/ico/btn_link.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_add {
    background: url('../img/ico/btn_new.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_add_md {
    background: url('../img/ico/btn_new.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 8px;
    padding-left: 30px !important;
}

.btn_orders {
    background: url('../img/ico/btn_orders.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_newname {
    background: url('../img/ico/btn_newname.png') left no-repeat #ffffff;
    background-size: 30%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_del_file {
    background: url('../img/ico/btn_del.png') left no-repeat #ffffff;
    background-size: 30%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_edit_customer {
    background: url('../img/ico/btn_edit.png') left no-repeat #ffffff;
    background-size: 30%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_bom {
    background: url('../img/ico/btn_bom.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_cancel {
    background: url('../img/ico/btn_cancel.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_kuaidi {
    background: url('../img/ico/btn_kuaidi.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 23px !important;
}

.btn_cancel_out {
    background: url('../img/ico/btn_cancel.png') left no-repeat #ffffff;
    background-size: 30%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_jinyong {
    background: url('../img/ico/btn_jinyong.png') left no-repeat #ffffff;
    background-size: 30%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_qiyong {
    background: url('../img/ico/btn_qiyong.png') left no-repeat #ffffff;
    background-size: 30%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_zhuanjao {
    background: url('../img/ico/btn_zhuanjiao.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_pass {
    background: url('../img/ico/btn_pass.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_kpi {
    background: url('../img/ico/btn_kpi.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_ruku_out, .btn_ruku_in {
    background: url('../img/ico/btn_ruku.png') left no-repeat #ffffff;
    background-size: 20%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_download {
    background: url('../img/ico/icon_download.png') left no-repeat #ffffff;
    background-size: 30%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

.btn_todo {
    background: url('../img/ico/btn_todo.png') left no-repeat #ffffff;
    background-size: 30%;
    background-position-x: 3px;
    padding-left: 20px !important;
}

/**全局**/
table a {
    color: #333 !important;
}

.mgr_5 {
    margin-right: 5px;
}

#preview-container {
    display: none;
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #666;
    z-index: 1000;
    pointer-events: none;
}

#preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    pointer-events: none;
}

.preview-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    z-index: 2;
}

.customer_qr {
    width: 100px;
    height: 100px;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.top-right-container {
    position: absolute;
    top: 15px;
    right: 40px; /* 与main的padding-right保持一致 */
    display: flex;
    gap: 5px;
    z-index: 1000;
}

.square-box {
    width: 30px;
    height: 30px;
    background-color: #f8f9fa;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.square-box img {
    width: 30px;
    height: 30px;
    border-radius: 3px
}

.square-box-long {
    width: 210px;
    height: 30px;
    background-color: #fff;
    border-left: 1px solid #ccc;
    padding-left: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    font-size: 12px !important;
}

.square-box-long img {
    width: 20px;
    margin-top: 5px;
    border-radius: 100%;
    float: left;
}

.square-box-long span {
    display: inline-block;
    line-height: 30px;
    float: right;
    margin-left: 10px;
}

.square-box:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

/* 响应式处理 - 在小屏幕上调整位置 */
@media (max-width: 767px) {
    .top-right-container {
        right: 15px; /* 小屏幕上使用较小的间距 */
    }
}

/* 确保在大屏幕上与main的padding-right对齐 */
@media (min-width: 768px) {
    .top-right-container {
        right: 40px; /* 与main的padding-right保持一致 */
    }
}

/* 如果需要图标或文字 */
.square-box i {
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    display: block;
    color: #495057;
}

.square-box .box-text {
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    display: block;
    color: #495057;
    font-weight: bold;
}

.nav-tabs a:hover {
    background: #f0f2f5 !important;
}

.footer {
    position: fixed;
    bottom: 18px;
    border-top: 1px solid #999;
    line-height: 30px;
}

.tblbox {
    box-shadow: none !important;
}

.crt_user {
    display: block;
    padding: 5px 0 15px 0;
}

.breadcrumb {
    background: #fff !important;
    padding: 8px 15px 8px 0 !important;
    font-weight: 600 !important;
}

.breadcrumb a {
    color: #333333 !important;
}

.noty_dot{display: block;
    width: 15px;
    height: 15px;
    background: #ff6600;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 100%;
    text-align: center;
    color: #fff;
    line-height: 15px;}


.card-content a{color:#666!important;}

/*pintodo */

/* 自定义滚动条样式 */
.pinTodos::-webkit-scrollbar {
    width: 6px;
}

.pinTodos::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.pinTodos::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 3px;
}

.pinTodos::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.pinTodos {
    transition: all 0.3s ease;
}

.pinTodos ul li p {
    transition: background 0.3s ease;
}

.pinTodos ul li p:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


.right-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: calc(100vh / 6);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* 添加一些装饰性元素 */
.right-container .dot {
    width: 20px;
    height: 8px;
    background-color: #000;
    border-radius: 4px;
    margin: 5px 0;
    transition: background-color 0.2s, width 0.2s, height 0.2s;
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
    text-indent: -999px; /* 隐藏原始内容 */
    white-space: nowrap;

}



.right-container .dot:hover  {
    background-color: #3498db;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .right-container {
        width: 35px;
        height: calc(100vh / 8);
    }

    .right-container:hover {
        width: 40px;
    }

    .content {
        padding: 20px;
    }
}


.dot:hover {
    display: inline-block !important;
    height: 20px !important;
    min-width: 20px !important;
    width: auto !important;
    margin-right: 120px !important; /* 关键修改 */
    background: #ff6600 !important;
    color: #fff !important;
    text-align: center !important;
    padding: 0 10px !important;
    text-indent: 0 !important;
    line-height: 20px !important;
    max-width: calc(100vw - 140px) !important; /* 防止过长 */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.dot:hover::after{content: attr(data-title); }
.client_tongji{    float: right;
    background: #999999;
    border-radius: 30px;
    color: #fff;
    padding: 0 10px;
    font-size: 12px!important;
}