* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f2f3f5;
    font-family: SourceHanSansCN, SourceHanSansCN, Arial, sans-serif;
    overflow: hidden;
}

/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    color: #333;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
}

.header .logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.header .logo img {
    width: 155px;
    height: 34px;
    margin-left: 24px;
}

.header .user-area {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.header .user-area .admin-text {
    margin-right: 10px;
}

.header .user-area .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.header .user-area .dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.header .user-area .dropdown-icon.rotate {
    transform: rotate(180deg);
}

.header .user-area .dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    width: 150px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1001;
}

.header .user-area .dropdown-menu.show {
    display: block;
}

.header .user-area .dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.header .user-area .dropdown-menu a:hover {
    background-color: #f8f8f8;
}

.header .user-area .dropdown-menu a img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* 左侧菜单栏 */
.left-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 200px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 999;
    padding-top: 10px;
    transition: width 0.3s;
    background: linear-gradient(180deg, #F2F0ED 0%, #DDD9D2 100%);
}


.left-nav.collapsed {
    width: 64px;
    overflow: hidden;
}

.ele-106 {
    margin-bottom: 20px !important;
}

.ele-106 .layui-form-label {
    color: #333;
    width: 120px;
}


.oa-required {
    color: #ef6666;
}

.mt-40 {
    margin-top: 40px;
}
.save-btn,
a.layui-layer-btn0,
a.layui-layer-btn1,
a.layui-layer-btn2 {
    width: 104px;
    height: 32px;
    background: linear-gradient( 270deg, #C69E6E 0%, #D4B084 100%);
    border-radius: 6px;
    line-height: 32px;
    text-align: center;
}

a.layui-layer-btn0 {
    background: transparent !important;
    border: 1px solid #D4B084 !important;
    color: #D4B084 !important;
    font-weight: 400;
}

a.layui-layer-btn1,
a.layui-layer-btn2 {
    color: white;
    font-weight: 400;
}

a.node-delete-but {
    border-color: #E76666 !important;
    color: #E76666 !important;
}

a.node-cancel-but {
    background: transparent !important;
    border: 1px solid #D4B084 !important;
    color: #D4B084 !important;
    font-weight: 400;
}

a.node-save-but {
    background: linear-gradient( 270deg, #C69E6E 0%, #D4B084 100%) !important;
    color: white !important;
}

.cancel-btn {
    width: 104px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #D4B084;
    color: #D4B084;
    background-color: white;
}

.cancel-btn:hover {
    color: #D4B084;
}

.left-nav .menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #453B30;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.left-nav .menu-item:hover {
    /*background-color: #3d3532;
    color: #fff;*/
}

.left-nav .menu-item.active {
    background: #fff;
    color: #453B30;
    font-weight: bold;
    box-shadow: 0 2px 6px 0 rgba(177,166,152,0.22);
    border-radius: 6px;
    margin: 6px;
    /*border-left: 4px solid #D4B084;*/
}

.left-nav .menu-item img,
a.multi-menu-title img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    /*filter: brightness(0.8);*/
}

/*.left-nav .menu-item:hover img,*/
.left-nav .menu-item.active img,
.layui-nav-itemed img {
    /*filter: brightness(1);*/
    margin-left: -4px;
}

.left-nav .menu-item span {
    font-size: 16px;
    transition: opacity 0.3s;
}

.left-nav.collapsed .menu-item span {
    opacity: 0;
    width: 0;
}

.left-nav.collapsed .menu-item {
    padding: 12px 20px;
    justify-content: center;
}

.left-nav.collapsed .menu-item img {
    margin-right: 0;
}

/* 左侧菜单栏背景图案 */
.left-nav::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 492px;
    background-repeat: no-repeat;
    /*background-size: contain;*/
    pointer-events: none;
}

/* 折叠按钮 - 固定在左侧和右侧中间 */
.collapse-btn {
    position: fixed;
    top: 90px;
    left: 200px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8b9bb;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s;
}

.collapse-btn img {

}

.collapse-btn:hover {

}

.collapse-btn:hover img {
    filter: brightness(1);
}

.left-nav.collapsed + .collapse-btn {
    left: 60px;
}

/* 右侧内容区域 */
.main-content {
    margin-left: 200px;
    margin-top: 60px;
    height: calc(100vh - 60px);
    background-color: #f7f7f7;
    overflow-y: auto;
    transition: margin-left 0.3s;
}

.view_body {
    background-color: #fff;
    margin: 12px;
    border-radius: 12px;
    min-height: 500px;
}

.main-content.collapsed {
    margin-left: 60px;
}

.content-card {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

/* 统计卡片 */
.stat-card {
    text-align: center;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card .number {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
}

.stat-card .title {
    font-size: 14px;
    opacity: 0.9;
}

.card-blue {
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8bf2 100%);
}

.card-green {
    background: linear-gradient(135deg, #009688 0%, #007d6c 100%);
}

.card-orange {
    background: linear-gradient(135deg, #FFB800 0%, #e6a600 100%);
}

.card-red {
    background: linear-gradient(135deg, #FF5722 0%, #e64a19 100%);
}

/* 表格样式 */
.layui-table th {
    background-color: #f8f8f8;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .left-nav {
        width: 60px;
    }

    .left-nav .menu-item span {
        display: none;
    }

    .main-content {
        margin-left: 60px;
    }

    .collapse-btn {
        left: 60px;
        display: none;
    }
}

/* 自定义样式 */
.welcome-card {
    background: linear-gradient(135deg, #1E9FFF 0%, #1E9FFF 100%);
    color: white;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.layui-card-header {
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #f6f6f6;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.layui-timeline-item {
    padding-bottom: 15px;
}

.layui-timeline-axis {
    background-color: #1E9FFF;
}

.layui-timeline-content {
    padding-top: 3px;
}

.toby-hide {
    display: none !important;
}

.ele-hide {
    display: none;
}

/*.layui-table-cell {
    height: auto !important;
    overflow: visible;
    text-overflow: inherit;
    white-space: normal;
    word-break: break-all;
}*/


.title1 {
    /*height: 20px;*/
    font-weight: 500;
    font-size: 20px;
    color: #333333;
    /*line-height: 30px;*/
    text-align: left;
    font-style: normal;
    /*margin-bottom: 24px;*/
    margin-left: 24px;
    margin-top: 8px;
    margin-bottom: -12px;
}

.title2 {
    height: 14px;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    line-height: 21px;
    text-align: left;
    font-style: normal;
    margin-bottom: 19px;
    margin-left: 24px;
}
.red-text {
    color: #ff5722;
}
.search-area {

}
.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-container {
    position: relative;
    margin-left: 15px;
    width: 200px;
}
.search-input {
    width: 100%;
    padding-right: 40px; /* 为按钮留出空间 */
}
.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #1E9FFF;
    cursor: pointer;
    display: none; /* 默认隐藏 */
    padding: 5px;
}
.search-btn:hover {
    color: #009688;
}
.buttons {
    text-align: right;
}
.buttons button {
    margin-left: 12px;
}

.title2-child {
    color: #999;
}

.title2-child-two {
    color: #999;
    margin-left: 12px;
    margin-right: 12px;
}

.layui-progress-big, .layui-progress-big .layui-progress-bar {
    height: 4px;
    line-height: 4px;
}

.process-container {
    padding-top: 32px;
    width: 82%;
    margin: 0 auto;
}
.process-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 22px;
    color: #333;
    font-weight: bold;
}
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.process-step {
    display: flex;
    position: relative;
    z-index: 2;
    flex: 2;
}
.step-number {
    font-size: 18px;
    font-weight: bold;
    margin-right: 6px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
}
.step-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    margin-top: -4px;
}
.step-title {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
}
.step-desc {
    font-size: 14px;
    line-height: 1.2;
    color: #666;
    margin-top: 5px;
}
.step-connector {
    position: absolute;
    top: 12px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e6e6e6;
    z-index: 1;
}
/* 高亮样式 */
.step-active .step-number {
    color: #D4B084;
}
.step-active .step-title {
    color: #D4B084;
}
.step-active .step-desc {
    color: #999;
}
/* 非激活样式 */
.step-inactive .step-number {
    color: #999;
}
.step-inactive .step-title {
    color: #999;
}
.step-inactive .step-desc {
    color: #999;
}
@media screen and (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: flex-start;
    }
    .process-step {
        margin-bottom: 20px;
        width: 100%;
        padding-right: 0;
    }
    .step-connector {
        display: none;
    }
}

.lines {
    display: flex;
    flex: 1;
    margin-top: 11px;
    margin-bottom: 11px;
    height: 1px;
    margin-right: 20px;
    margin-left: 20px;
    background-color: #E7E7E7;
}

.search-style-one {
    width: 280px;
    margin-left: 0 !important;
}

.search-add-but {
    width: 104px !important;
    height: 32px !important;
    background: linear-gradient( 270deg, #C69E6E 0%, #D4B084 100%);
    border-radius: 6px !important;
    line-height: 32px !important;
    padding: 0 !important;
}

.refresh-but,
.export-but {
    width: 76px !important;
    height: 32px !important;
    background: transparent;
    border-radius: 6px !important;
    line-height: 32px !important;
    padding: 0 !important;
    border: 1px solid #C69E6E !important;
    color: #D4B084;
}

.export-but {
    width: 104px !important;
}
.search-add-but:hover {
    background: rgba(212,176,132,0.18) !important;
    border: 1px solid #D4B084;
    color: #D4B084;
}
.page {
    text-align: right;
}

.page > div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.page span,
.page a {
    min-width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    display: inline-block !important;
    background: transparent !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    color: #D4B084 !important;
    border: 1px solid #D4B084 !important;
    padding: 0 !important;
    margin: 0 0 0 8px !important;
    text-align: center;
 }

.page span:hover,
.page a:hover {
    background: rgba(212,176,132,0.18) !important;
    border: 1px solid #D4B084;
}

span.layui-laypage-total {
    border: none !important;
    color: #333 !important;
}

.layui-laypage-skip {
    display: inline-block;
    color: #333 !important;
    font-size: 12px;
    height: 26px !important;
    line-height: 26px !important;
    font-weight: 400;
}

.layui-laypage-skip input {
    height: 24px !important;
    line-height: 24px !important;
    vertical-align: middle;
}

.page .layui-laypage .layui-laypage-curr .layui-laypage-em {
    background: #D4B084 !important;
    font-weight: bold;
    color: white;
}

.qy, .ty {
    width: 32px;
    background: #86CD87;
    border-radius: 4px;
    font-weight: 500;
    font-size: 12px;
    color: white;
    display: inline-block;
}

.ty {
    background: #E76666 !important;
}

.opera_part {
    display: flex;
}

.opera_part span,
.opera_part a {
    flex: 1;
    color: #D4B084;
    font-weight: 400;

    pointer-events: auto;
    position: relative;
    z-index: 1001;
}

.opera_part_table span,
.opera_part_table a {
    display: inline-block;
    margin-right: 6px;
    color: #D4B084;
    font-weight: 400;

    pointer-events: auto;
    position: relative;
}

.opera_part span:hover,
.opera_part a:hover {
    cursor: pointer;
}

.opera_ty {
    color: #E76666 !important;
}

.modify_text {
    color: #D4B084 !important;
}

.delete_text {
    color: #E76666 !important;
}
.input-type-1 {
    box-shadow: 0 0 6px 0 rgba(210, 216, 238, 0.12);
    border-radius: 8px;
    height: 2.4vw;
    border: 1px solid rgba(238, 238, 238, 1);
    width: 16.67vw;
}

.button-type-1 {
    height: 2.19vw;
    background: linear-gradient( 270deg, #C69E6E 0%, #D4B084 100%);
    width: 16.67vw;
    color: rgba(255, 255, 255, 1);
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    line-height: 1.1vw;
    border-radius: 6px;
}


.input-common {
    border-radius: 4px;
    height: 40px;
    /*border: 1px solid #eee;*/
    /*margin-left: 0.63vw;*/
    width: 360px !important;
    line-height: 40px;
}





.input-common input:focus, td input:focus,
td .layui-input:focus, td .layui-textarea:focus {
    border: 1px solid #E76666 !important;
}

#form_title {
    padding: 23px 0 23px 20px;
    font-weight: 500
}

.form-class-title {
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-class-title span {
    display: inline-block;
    width: 4px;
    height: 14px;
    background: #D4B084;
    margin-right: 6px;
    border-radius: 2px;
}

.layui-layer-title {
    font-size: 20px;
    color: #333;
    font-weight: 500;
}

.layui-form-select dl dd.layui-this {
    color: #D4B084 !important;
}
.layui-bg-kx,
.layui-bg-ccz,
.layui-bg-wxbyz {
    border-radius: 8px;
}
.layui-bg-kx {
    background-color: #86CD87 !important;
}

.layui-bg-ccz {
    background-color: #D4B084 !important;
}

.layui-bg-wxbyz {
    background-color: #CBC7C2 !important;
}

.layui-colla-icon {
    right: 15px;
    left: auto;
}

.layui-colla-title {
    background-color: #F6F4F2 !important;
    color: #78716C !important;
    padding: 0 20px 0 20px !important;
}

.vertical-align-set {
    display: flex;
    align-items: center;
}

.syjl-data {
    margin-bottom: 20px;
}

.syjl-data .child-one {
    width: 102px;
    display: inline-block;
    color: #999;
    font-weight: 400;
    text-align: right;
    margin-right: 24px;
}

.syjl-data .child-two {
    color: #333;
    font-weight: 400;
}

.common-font-color {
    color: #D4B084 !important;
}

.ssgs .layui-select-title .layui-input {
    padding-left: 90px !important;
}

.padding-20 {
    padding: 20px;
}

.layui-form-radio {
    margin-top: 0;
}

.layui-form-radio:hover>*, .layui-form-radioed, .layui-form-radioed>i {
    color: #D4B084;
}

.mb-100 {
    padding-bottom: 100px !important;
}

.layui-form-select .layui-edge {
    border-top-color: #D4B084 !important;
}

.layui-table-header th {
    height: 46px !important;
    line-height: 46px !important;
}

.layui-tabs-header .layui-this:after {
    left: 50% !important;
    width: 24px !important;
    margin-left: -12px !important;
    border-bottom-color: #D4B084 !important;
}
.layui-tabs-header li {
    color: #999;
    padding: 0 37px !important;
}
.layui-tabs-header .layui-this, .layui-tabs-header li:hover {
    color: #D4B084 !important;
}

.layui-form-radio div {
    color: #333 !important;
}

.xm-icon-sousuo {
    margin-left: 8px;
}

.xm-label-block  {
    background-color: #D4B084 !important;
}

.xm-icon-duox {
    border-color: #999 !important;
}

.xm-option.selected .xm-icon-duox {
    color: #D4B084 !important;
    border-color: #D4B084 !important;
}


/* 修复固定列滚动问题，但允许内部元素交互 */
.layui-table-fixed {
    pointer-events: none;
}


xm-select > .xm-icon {
    border-top-color: #D4B084 !important;
}

.layui-form-checked[lay-skin=primary]>i {
    border-color: #D4B084 !important;
    background-color: #D4B084;
}

.layui-input:focus, .layui-textarea:focus {
    border-color: #E76666 !important;
}

.opera_list * {
    color: #D4B084;
    font-weight: 400;
    margin-right: 8px;
}

.attachment_list img {
    width: 64px;
    height: 64px;
}


.layui-badge-rim, .layui-border, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-input-split, .layui-panel, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea,
.layui-form-checkbox[lay-skin=primary]>i,
.tree-select-trigger
{
    border-color: #999 !important;
}
