* {
    font-weight: normal;
    font-family: "Inter", "Segoe UI", "PingFang SC", Roboto, "Helvetica Neue", sans-serif;
    font-size: 14px;
}

a:hover {
    color: #56b8ff;
    font-weight: bold;
}

a:active {
    font-weight: bold;
}

input[type="text"] {
    background-image: url("/static/qfoa/img/edit_gray.png");
    background-position: right 3px center;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

input[type="search"] {
    background-image: url("/static/qfoa/img/zoom_g.png");
    background-position: center right;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

input[type="password"] {
    background-image: url("/static/qfoa/img/pwd_gray.png");
    background-position: center right;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

input[type="email"] {
    background-image: url("/static/qfoa/img/input_email.png");
    background-position: center right;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

input[type="number"] {
    background-image: url("/static/qfoa/img/number.png");
    background-position: center right;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

input[type="tel"] {
    background-image: url("/static/qfoa/img/input_tel.png");
    background-position: center right;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

.weui-textarea {
    background-image: url("/static/qfoa/img/texts.png");
    background-position: bottom right;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

.weui-textarea:disabled {
    color: #333;
    cursor: no-drop;
    background-image: url("/static/qfoa/img/no_gray.png");
    background-position: bottom right;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

input:disabled {
    cursor: no-drop;
    color: #333;
    border-radius: 3px;
    background-image: url("/static/qfoa/img/no_gray.png");
    background-position: center right;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

select:disabled {
    cursor: no-drop;
    color: #333;
    border-radius: 3px;
    background-image: url("/static/qfoa/img/no_gray.png");
    background-position: center right;
    background-size: 14px 14px;
    background-repeat: no-repeat no-repeat;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 14px;
    background-color: #bbb;
}

::-webkit-input-placeholder {
    color: #000;
}

:-moz-placeholder {
    color: #ccc;
    opacity: 1;
}

::-moz-placeholder {
    color: #ccc;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #ccc;
}

:-ms-input-placeholder {
    color: #ccc;
}

::placeholder {
    color: #ccc;
}

textarea:focus {
    color: rgba(52, 107, 179, 1);
    text-shadow: rgba(99, 99, 99, 0.5) 0 0 1px;
    font-weight: bold;
}

textarea:hover {
    font-weight: bold;
}

/* 滚动条整体样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

/* 鼠标悬停时滑块颜色 */
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/***************************weui******************************/
.weui-label {
    color: #888;
    width: 100px;
}

.weui-cell {
    padding: 10px;
}

/***************************layui******************************/
.layui-layer {
    border-radius: 5px;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
}

.layui-layer-title {
    height: 45px;
    line-height: 45px;
}

layui-layer-content {
    border-radius: 6px;
}

.layui-btn {
    border-radius: 4px;
}

.layui-btn-sm {
    height: 28px;
    line-height: 27px;
}

.layui-btn-xs {
    height: 22px;
    line-height: 20px;
    font-size: 11px;
}

.layui-form-switch {
    margin-top: 5px;
}

.layui-form-switch > div {
    font-size: 11px;
}

.layui-form-onswitch > div {
    margin-right: 16px;
}

.layui-form-onswitch > i {
    margin-left: -19px;
}

.layui-form-switch > i {
    width: 15px;
    height: 15px;
}

.layui-span {
    padding: 6px 15px;
}

.layui-form-radio {
    margin: 0px 10px 0 0;
}

.layui-form-radio > i {
    font-size: 19px;
}

.layui-card .layui-table-view {
    border-radius: 6px;
    overflow: hidden;
}

.layui-form-select .layui-input {
    background-image: unset !important;
}

.layui-table td,
.layui-table th,
.layui-table-col-set,
.layui-table-fixed-r,
.layui-table-grid-down,
.layui-table-header,
.layui-table-page,
.layui-table-tips-main,
.layui-table-tool,
.layui-table-total,
.layui-table-view,
.layui-table[lay-skin="line"],
.layui-table[lay-skin="row"] {
    border-color: #eeeeee;
}

.layui-table-view {
    border-radius: 4px;
    overflow: hidden;
}

.layui-table-view th span {
    font-weight: 600;
}

.layui-layer-msg {
    border-radius: 6px;
    overflow: hidden;
    border: solid 1px #eeeeee;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.layui-layer-dialog .layui-layer-content .layui-layer-face {
    font-size: 18px;
    left: 35px;
    top: 15px;
}

.layui-layer-dialog .layui-layer-padding {
    padding: 14px 24px 14px 58px;
}

.layui-layer-dialog .layui-layer-padding:has(.layui-icon-error) {
    background-color: #fff8dc;
}

/*提示层*/
.layui-layer-tips .layui-layer-content {
    padding: 5px 10px;
    border-radius: 4px;
}

/*分页按钮*/
.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #0d83ef;
}

.layui-fluid {
    padding: 12px;
}

.layui-fluid .layui-card {
    border-radius: 6px;
    margin-bottom: 12px;
    border: solid 1px #eee;
}

.layui-fluid .layui-card .layui-card-header {
    font-weight: bolder;
    font-size: 14px;
}

.layui-fluid .layui-card .layui-card-body {
    padding: 10px 10px;
}

.layui-fluid .layui-form .layui-card .layui-card-body {
    padding: 10px 0px;
}

.layui-fluid .layui-card .layui-card-body .layui-form-item {
    margin-bottom: 12px;
}

.layui-fluid .layui-card .layui-card-body .layui-form-item:last-child {
    margin-bottom: 0px;
}

.layui-fluid .search-form {
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 6px;
    border: solid 1px #eee;
}

.layui-fluid .search-form .layui-form-item {
    margin: 8px auto;
    display: flex;
    align-items: center;
}

.layui-fluid .search-form .layui-form-item .layui-inline {
    margin: 0;
}

.layui-fluid .search-form .layui-form-item .layui-inline:last-child {
    flex: 1;
    text-align: right;
    margin-right: 10px;
}

.layui-input,
.layui-select {
    height: 32px;
    line-height: 32px;
    border-radius: 4px;
}

.layui-text {
    height: 32px;
    line-height: 32px;
}

.layui-textarea {
    min-height: 60px;
}

.layui-form-mid {
    padding: 5px 0 !important;
}

.layui-fluid .layui-form-label {
    width: 80px;
    padding: 0px 0px;
    font-size: 13px;
    color: #888;
}

.layui-fluid .search-form .layui-form-label {
    width: unset;
}

.layui-form-label {
    padding: 0px 15px;
    line-height: 30px;
}

.layui-form-item .layui-row .layui-col-md6 {
    position: unset;
}

.layui-table-tool .layui-inline[lay-event] {
    border-radius: 4px;
}

.layui-layer-btn a {
    height: 22px;
    line-height: 20px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 11px;
}

.layui-layer-btn .layui-layer-btn0 {
    color: #FFFFFF !important;
}

.layui-layer-iframe iframe {
    border-radius: 5px;
}

.layui-table-page .layui-laypage a,
.layui-table-page .layui-laypage span {
    height: 24px;
    line-height: 24px;
}

.layui-laypage-em {
    border-radius: 4px;
}

.layui-table-cell {
    line-height: 24px;
}

.layui-table-cell:last-child {
    padding: 6px 8px;
}

.layui-form-select .layui-select-group dd {
    margin-left: 10px;
}

.layui-form-item .layui-input-inline{
    float: unset;
    width: unset;
}

/***************************layui end******************************/

/***************************custom******************************/
.my_round {
    padding: 4px 5px;
    border-radius: 4px;
    border: solid 1px #eeeeee;
    box-shadow: #eeeeee 0 0 5px;
}

.my_round:hover {
    box-shadow: #eeeeee 1px 1px 10px;
}

.no-after {
    padding-right: 0 !important;
}

.no-after:after {
    display: none !important;
}

.no-before:before {
    display: none !important;
}

.after-blank {
    content: " ";
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    color: rgba(0, 0, 0, 0.3);
    color: var(--weui-FG-2);
    position: absolute;
    right: 29px;
}

.w5 {
    width: 5%;
}

.w10 {
    width: 10%;
}

.w20 {
    width: 20%;
}

.w30 {
    width: 30%;
}

.unwidth {
    width: unset !important;
}

.p0 {
    padding: 0;
}

.p2 {
    padding: 2px;
}

.p5 {
    padding: 5px;
}

.p12 {
    padding: 2px;
}

.p10 {
    padding: 10px;
}

.p15 {
    padding: 15px;
}

.pl0 {
    padding-left: 0;
}

.pl10 {
    padding-left: 10px;
}

.pl6 {
    padding-left: 6px;
}

.pl20 {
    padding-left: 20px;
}

.pl50 {
    padding-left: 50px;
}

.pr0 {
    padding-right: 0px;
}

.pr5 {
    padding-right: 5px;
}

.pr10 {
    padding-right: 10px;
}

.pr50 {
    padding-right: 50px;
}

.pr20 {
    padding-right: 20px;
}

.pr15 {
    padding-right: 15px;
}

.pt0 {
    padding-top: 0;
}

.pt2 {
    padding-top: 2px;
}

.pt3 {
    padding-top: 3px;
}

.pb2 {
    padding-bottom: 2px;
}

.pt5 {
    padding-top: 5px;
}

.pb5 {
    padding-bottom: 5px;
}

.ptb5 {
    padding: 5px 0;
}

.ptb10 {
    padding: 10px 0;
}

.pt10 {
    padding-top: 10px;
}

.pt15 {
    padding-top: 15px;
}

.pt20 {
    padding-top: 20px;
}

.pb10 {
    padding-bottom: 10px;
}

.plr0 {
    padding-left: 0;
    padding-right: 0;
}

.plr2 {
    padding-left: 2px;
    padding-right: 2px;
}

.plr10 {
    padding-left: 10px;
    padding-right: 10px;
}

.plr5 {
    padding-left: 5px;
    padding-right: 5px;
}

.m0 {
    margin: 0;
}

.ml0 {
    margin-left: 0px;
}

.ml2 {
    margin-left: 2px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.ml20 {
    margin-left: 20px;
}

.ml30 {
    margin-left: 30px;
}

.mt0 {
    margin-top: 0;
}

.mt2 {
    margin-top: 2px;
}

.mt3 {
    margin-top: 3px;
}

.mt5 {
    margin-top: 5px;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mt15 {
    margin-top: 15px;
}

.mt25 {
    margin-top: 25px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.mt60 {
    margin-top: 60px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.mr2 {
    margin-right: 2px;
}

.mr3 {
    margin-right: 3px;
}

.mr4 {
    margin-right: 4px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mtb10 {
    margin: 10px 0;
}

.mtb20 {
    margin: 20px 0;
}

.m20 {
    margin: 20px;
}

.mlr0 {
    margin-left: 0;
    margin-right: 0;
}

.mlr10 {
    margin-left: 10px;
    margin-right: 10px;
}

.size14 {
    font-size: 14px;
}

.size12 {
    font-size: 12px;
}

.br5 {
    border-radius: 5px;
}

.br50 {
    border-radius: 50%;
}

.h10 {
    height: 10px;
}

.h30 {
    height: 30px;
}

.blr5 {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.bl1 {
    border-left: solid 1px #dddddd;
}

.fz10 {
    font-size: 10px;
}

.fz14 {
    font-size: 14px;
}

.fw700 {
    font-weight: 700;
}

.unset-width {
    width: unset;
}

.unset-height {
    width: unset;
}

.fc {
    display: flex;
    align-items: center;
}

.fcw {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.fcwb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.fs {
    display: flex;
    align-items: start;
}

.fdc {
    display: flex;
    flex-direction: column;
}

.fcc {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 底部固定操作栏 */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    z-index: 999;
    border-top: 1px solid #eee;
    margin-bottom: 0;
}

.lf {
    display: inline-flex;
}

.fss {
    align-self: flex-start;
}

.fx1 {
    flex: 1;
}

.panel .title {
    display: flex;
    padding: 10px;
}

.panel .title .name {
    font-size: 15px;
    font-weight: bolder;
}

.panel .title .arrow {
    width: 12px;
}

.required:before {
    content: "*";
    color: red;
    display: inline-block;
    vertical-align: middle;
}

.tc {
    text-align: center;
}

.tl {
    text-align: left;
}

.tr {
    text-align: right;
}

.row-border {
    border: solid 1px #eee;
    border-radius: 4px;
}

.blank-btn {
    padding: 0 14px;
    background-color: unset;
    color: #333333;
    height: 22px;
    line-height: 22px;
    padding: 0 15px;
    font-size: 12px;
    margin-left: 10px;
    vertical-align: inherit;
}

.page-form {
    height: 100%;
    box-sizing: border-box;
    border-radius: 4px;
}

.page-form .layui-elem-field legend {
    font-size: 16px;
}

.page-form .layui-form-item {
    font-size: 13px;
}

.page-form .layui-btn-fluid {
    width: 50%;
}

.page-form .layui-tab-content {
    padding: 10px;
}

.page-form .panel {
    background-color: #fff;
    margin: 10px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 4px;
}

.page-form .panel .layui-form-item:first-child {
    padding-top: 10px;
}

.page-form .panel .layui-form-item:last-child {
    padding-bottom: 10px;
}

.layui-input-block {
    margin-right: 10px;
    min-height: 32px;
    padding: 0;
}

.smaller-input {
    width: 80px !important;
}

.small-input {
    width: 100px !important;
}

.middle-input {
    width: 120px !important;
}

.middler-input {
    width: 170px !important;
}

.big-input {
    width: 200px !important;
}

.bigger-input {
    width: 320px !important;
}

.head-img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.pre {
    /*white-space: pre-line;*/
    /*word-break: break-all;*/
    /*line-height: 0;*/
}

.table-image {
    width: 26px;
    height: 26px;
    border-radius: 4px;
}

.my-color {
    color: red;
}

xm-select {
    border-radius: 4px !important;
    min-height: 32px !important;
    line-height: 32px !important;
}

.xm-label-block {
    background-color: #10aeff !important;
}

.selected .xm-icon-duox {
    color: #10aeff !important;
}

.pointer {
    cursor: pointer;
}

.cat-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 0 15px;
}

.cat-header {
    display: flex;
    gap: 20px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.cat-header .cat-item {
    padding: 2px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.cat-header .cat-item i {
    margin-right: 5px;
    font-size: 14px;
}

.cat-header .cat-item:hover {
    color: #1890ff;
}

.cat-header .cat-item.active {
    color: #1890ff;
}

.cat-header .cat-item.active::after {
    content: "";
    position: absolute;
    bottom: -11px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1890ff;
}

.tab-header {
    display: flex;
    gap: 8px;
    padding: 5px 0 10px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.tab-header .tab-item {
    padding: 2px 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 16px;
    background: #f5f5f0;
}

.tab-header .tab-item:hover {
    color: #1890ff;
    background: #e6f7ff;
}

.tab-header .tab-item.active {
    color: #1890ff;
    background: #e6f7ff;
}

.tab-header .tab-badge {
    display: inline-block;
    margin-left: 2px;
    font-size: 12px;
    color: #999;
}

.tab-header .tab-item.active .tab-badge {
    color: #1890ff;
}

/***************************custom end******************************/
/* 文字颜色 - 全局常用 */
.color-red {
    color: #f56c6c;
}

/* 红色-危险/驳回/删除 */
.color-orange {
    color: #ff9500;
}

/* 橙色-警告/待处理 */
.color-yellow {
    color: #e6a23c;
}

/* 黄色-提醒 */
.color-green {
    color: #67c23a;
}

/* 绿色-通过/成功/完成 */
.color-blue {
    color: #409eff;
}

/* 蓝色-常规/进行中 */
.color-purple {
    color: #9c88ff;
}

/* 紫色-驳回/复审 */
.color-gray {
    color: #909399;
}

/* 灰色-禁用/草稿/默认 */
.color-black {
    color: #303133;
}

/* 黑色-主要文字 */
.color-desc {
    color: #606266;
}

/* 描述文字 */

/* 深色加强版 */
.color-red-dark {
    color: #dd2222;
}

.color-green-dark {
    color: #07c160;
}

.color-blue-dark {
    color: #2d8cf0;
}

.color-purple-dark {
    color: #722ed1;
}

/* 背景色 - 标签/状态色块 */
.bg-red {
    background: #fef0f0;
}

.bg-green {
    background: #f0f9ff;
}

.bg-blue {
    background: #e8f4ff;
}

.bg-orange {
    background: #fff7e6;
}

.bg-purple {
    background: #f9f0ff;
}

.bg-gray {
    background: #f5f7fa;
}

/* 边框色 */
.border-red {
    border-color: #f56c6c;
}

.border-green {
    border-color: #67c23a;
}

.border-blue {
    border-color: #409eff;
}

.border-orange {
    border-color: #ff9500;
}

.border-purple {
    border-color: #9c88ff;
}

/* 单行省略（最常用） */
.more-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* 两行省略（可选，需要就加） */
.more-text-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/* 三行省略 */
.more-text-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/*上传文件*/

.file-upload-btn {
    font-size: 18px;
    cursor: pointer;
    color: #009688;
}

.upload-toolbar {
    text-align: right;
    margin-right: 10px;
}

.file_list {
    margin-left: 15px;
}

.file_list .file-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.file_list .file-item:last-child {
    border-bottom: none;
}

.file_list .file-icon {
    width: 25px;
    height: 25px;
    object-fit: cover;
    cursor: pointer;
}

.file_list .file-name {
    flex: 1;
    padding-left: 10px;
    cursor: pointer;
}

.file_list .file-del {
    width: 16px;
    cursor: pointer;
    position: absolute;
    right: 10px;
}

/***************************operate-timeline******************************/
.operate-timeline {
    padding: 2px 0;
}

.operate-item {
    &:first-child {
        padding: 0 0 8px 0;
    }

    display: flex;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.operate-item:last-child {
    border-bottom: none;
}

.operate-time {
    width: 130px;
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

.operate-content {
    flex: 1;
    color: #333;
    font-size: 13px;
}

.operate-content .op-name {
    color: #1890ff;
    margin-right: 5px;
}

/***************************flow-timeline******************************/
.flow-timeline {
    position: relative;
    padding-left: 25px;
    list-style: none;
    margin: 0;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 2px;
    bottom: 0;
    width: 2px;
    background: #e6e6e6;
}

.flow-timeline-item {
    position: relative;
    padding-bottom: 16px;
}

.flow-timeline-item:last-child {
    padding-bottom: 0;
}

.flow-timeline-dot {
    position: absolute;
    left: -18px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 1;
}

.flow-timeline-content {
    padding-left: 6px;
}

.flow-timeline-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.flow-timeline-meta {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.flow-timeline-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    color: #fff;
    font-size: 11px;
    flex-shrink: 0;
    margin-left: 8px;
}