body, html { margin: 0; padding: 0; height: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 14px; background: #f5f5f5 }
*:focus { outline: none !important }
a { color: #333; transition: all 0.3s ease; }
a:hover { color: #0095db }
ul, li, dd, dt { list-style: none }
p, ul, li { margin: 0; padding: 0 }

/* CSS变量定义 */
:root { 
    --primary-color: #f44336; 
  /*--primary-light: #38b2f2;
  --primary-dark: #2ea1dd;
  --secondary-color: #ff5722;
  --success-color: #40cf6c;
  --danger-color: #f44336;
  --warning-color: #ff9800;
  --info-color: #00bcd4;
  --text-primary: #333;
  --text-secondary: #666;
  --text-light: #999;
  --bg-primary: #fff;
  --bg-secondary: #f5f5f5;
  --border-color: #e1e1e1; */ --shadow-sm: 0 2px 4px rgba(0,0,0,0.1); --shadow-md: 0 4px 8px rgba(0,0,0,0.12); --shadow-lg: 0 8px 16px rgba(0,0,0,0.14); --shadow-xl: 0 12px 24px rgba(0,0,0,0.16); /* --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px; */ --transition-fast: 0.2s ease; --transition-normal: 0.3s ease; --transition-slow: 0.5s ease; --gradient-primary: linear-gradient(135deg, #2ea1dd 0%, #38b2f2 100%); /*--gradient-secondary: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
  --gradient-success: linear-gradient(135deg, #40cf6c 0%, #66bb6a 100%); */ }


/*====B:总体布局 ============================================*/
.page { display: flex; flex-direction: column; height: 100vh; }
.page.popup { overflow-y: hidden; }

/* 总体 头部 */
header { z-index: 3; background: #fff; color: #333; height: 64px; display: flex; align-items: center; flex-direction: row; justify-content: space-between; -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2); box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2); }
/* 头部 系统名称与图标 */
header .logo { padding-left: 10px; border-right: 1px solid #e1e1e1; display: flex; align-items: center; position: relative; }
header .logo img { height: 64px; }
header .logo span { font-size: 24px; font-weight: bold; color: #ff5722; padding: 0 10px 0 6px; margin-left: 6px; text-shadow: 0px 0px 8px #ff9898; }
header .version { position: absolute; top: 2px; right: 4px; background: #40cf6c; color: #fff; font-size: 0.8rem; padding: 0 4px; border-radius: 4px; z-index: 3; }
/*收缩与展示，左菜单，图标按钮*/
header .side { float: left; width: 64px; height: 64px; line-height: 64px; border-right: 1px solid #ddd; text-align: center; font-size: 2.5rem; }
header .side i { -webkit-transition: -webkit-transform 0.3s ease-in-out 0.1s; transition: transform 0.3s ease-in-out 0.1s; -webkit-transform: rotate(0deg); transform: rotate(0deg); color: #777; }
header .side-shrink i { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
/* 展示用户登录信息 */
header .user-info { border-left: 1px solid #e1e1e1; width: 64px; }
header .user-info div, header .user-info .avatar { padding: 4px; }
header .user-info .avatar img { width: 100%; vertical-align: top; border-radius: 50%; }

/* 主菜单 */
header nav { flex: 1; -webkit-box-shadow: none; box-shadow: none; background-color: transparent; width: auto; }
header nav > ul { position: relative; transition: transform 0.5s ease-in-out; }
header nav ul li { -webkit-transition: background-color 0.3s; transition: background-color 0.3s; background-color: #fff; float: left; padding: 0; }
header nav ul li a { color: #333; -webkit-transition: background-color 0.3s; transition: background-color 0.3s; font-size: 1rem; display: block; cursor: pointer; }
header nav ul li a i { height: auto !important; }
header nav ul li.active { background-color: rgb(168 225 255 / 20%); }
header nav ul > li.active > a { color: var(--primary-color); font-weight: bold; }

header nav .nav-bg { position: absolute; }
header nav .nav-bg span { display: block; border-bottom: 4px solid var(--primary-color); margin: 0; }

/*主菜单 弹出面板*/
header .dropdown-content { top: 64px !important; width: auto !important; height: auto !important; overflow: hidden; transition: all 0.1s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
header .dropdown-content li > a { color: #555555; text-align: center; font-size: 1rem; }
header .dropdown-content li { border-bottom: 1px solid #f0f0f0; }
header .dropdown-content li:last-child { border-bottom: none; }

header .dropdown-content a:hover { color: #ff5722; font-weight: 600; }
header .dropdown-content a:hover::before { content: ""; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 4px; height: 100%; border-left: 4px solid #ff5722; }

/* 主菜单 弹出面板各项依次载入动画 */
header .dropdown-content li { animation: slideInItem 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }
header .dropdown-content li:nth-child(1) { animation-delay: 0.1s; }
header .dropdown-content li:nth-child(2) { animation-delay: 0.2s; }
header .dropdown-content li:nth-child(3) { animation-delay: 0.3s; }
header .dropdown-content li:nth-child(4) { animation-delay: 0.4s; }
header .dropdown-content li:nth-child(5) { animation-delay: 0.5s; }
header .dropdown-content li:nth-child(6) { animation-delay: 0.6s; }
header .dropdown-content li:nth-child(7) { animation-delay: 0.7s; }
header .dropdown-content li:nth-child(8) { animation-delay: 0.8s; }

/* 主题广告 */
.page-banner { height: 224px; width: 100%; background: url(images/header-bg.png) var(--primary-color); background-size: cover; color: #fff; position: absolute; top: 0; left: 0; box-shadow: var(--shadow-lg); transition: all var(--transition-slow); }
.page.popup .page-banner { height: 160px; }

/* 容器默认宽度 */
.page-container { margin: 0 30px; width: initial; max-width: initial; }

/* 主内容-头部 */
.page-top { z-index: 2; padding: 30px 0; display: flex; justify-content: space-between; color: #fff; }
.page-top h6.title { font-size: 1.5rem; font-weight: bold; margin-top: 6px; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.page-top .input-field { margin-bottom: auto; margin-top: auto; }
.page-top .input-field input { margin-bottom: 0 !important; border-bottom: 1px solid #ddd; color: #fff; }
.page-top .input-field label { color: #fff; opacity: 0.7; }
/* 主内容-内容 */
.page-content { flex: 1; background: #fff; box-shadow: 0 4px 5px -2px rgba(0, 0, 0, 0.2), 0 7px 10px 1px rgba(0, 0, 0, 0.14), 0 2px 16px 1px rgba(0, 0, 0, 0.12); z-index: 1; }
.page-content.blank { background: initial; box-shadow: initial; }
.page-content .text-hint { padding: 0 10px 15px 10px; color: var(--primary-color); border-bottom: 1px dashed #cecece; }
.page-content .text-hint span { display: inline-block; margin: 0 5px; font-weight: bold; }
.page-content .paging-data { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
/*分页专用*/
/* 主内容-底部 */
.page-bottom { background: #fff; box-shadow: 0 4px 5px -2px rgba(0, 0, 0, 0.2), 0 7px 10px 1px rgba(0, 0, 0, 0.14), 0 2px 16px 1px rgba(0, 0, 0, 0.12); padding: 15px 10px; z-index: 1; }
.page-bottom.paging-pagination { display: flex; }
/*分页专用*/
.page-bottom .info { flex: 1; text-align: left; line-height: 24px; font-size: 0.9rem; color: #656565; }
.page-bottom .pagination li a { font-size: 12px; }
.page-bottom .pagination li a:hover { background-color: #c8c8c8; color: #fff; font-weight: bold; }
.page-bottom .pagination li.active { background: var(--primary-color); font-weight: bold; }
.page-bottom .pagination li.disabled a:hover { background-color: #fff; color: #bbbbbb; }
/*====E:总体布局 ============================================*/


/*====B:button============================================*/
.btn { background: var(--gradient-primary); position: relative; overflow: hidden; z-index: 0; text-decoration: none !important; padding: 0 16px; font-weight: 500; box-shadow: var(--shadow-sm); transition: all var(--transition-normal); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn:before { content: ""; position: absolute; left: -100%; width: 100%; height: 100%; background: linear-gradient(to left, rgba(255,255,255,.1), #fff, rgba(255,255,255,.1)); opacity: .4; transition: .6s }
.btn:hover { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn:hover:before { left: 100% }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }


.btn i { font-size: 0.9rem; }
.btn.min { height: 30px; line-height: 30px; padding: 0 8px; }


/*====E:button============================================*/


/*====B:table============================================*/
table a { color: #039be5; }
table a:hover { font-weight: bold; text-decoration: underline; }

table.default th, table.default td { vertical-align: middle; height: 3rem; }
table.default td { padding: 5px 5px; }
table.default tr, table.default td { border: none }

table.default thead { vertical-align: bottom; border-bottom: 1.5px solid #bbb; background: #f5f5f5; }
table.default tbody tr { transition: all var(--transition-slow); animation: fadeIn 0.3s ease; }
table.default tbody tr:hover { background-color: rgba(89, 249, 255, 0.15) !important; box-shadow: var(--shadow-xl) !important; z-index: 3; position: relative; }

table.default tbody tr:nth-of-type(even) { background-color: #f7f7f7; border-top: 1px solid rgb(0 0 0 / 8%); border-bottom: 1px solid rgb(0 0 0 / 8%); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/*====E:table============================================*/


/*====B:列表页面 折叠查询栏=========================================*/
.search-toolbar { display: inline-block; position: relative; }
.search-toolbar .btn-circle { display: inline-block; vertical-align: middle; width: 40px; height: 40px; line-height: 40px; padding: 0; transition: background-color .3s; border-radius: 35px; border: none; overflow: hidden; }
.search-toolbar .btn-circle i { font-size: 16px; margin-right: 3px; width: inherit; display: inline-block; text-align: center; }
.search-toolbar .search-box { display: none; width: 260px; position: absolute; right: 0; top: 45px; padding: 30px 20px 20px 20px; border-radius: 10px; background: rgb(0 0 0 / 85%); text-align: center; z-index: 5; }
.search-toolbar .search-box .row { margin-bottom: initial; }
.search-toolbar .search-box .input-field > label { top: 1px; }
.search-toolbar .search-box .input-field { margin-bottom: 24px; }
.search-toolbar .search-box .input-field > input[type=text] { /*width: 180px;*/ color: #4ef354; }
/* .search-toolbar .btn-action { } */

.search-toolbar .search-box .datepicker-table td:not(.is-selection-disabled) { color: #000; }
.search-toolbar .search-box .select-dropdown, .search-toolbar .search-box input.select-dropdown:focus { color: #4ef354 }
.search-toolbar .search-box .select-wrapper .caret { fill: #4ef354 }
/*====E:列表页面 折叠查询栏=========================================*/




/*====B:详情页、编辑页============================================*/
.details-header { padding: 16px 30px; color: #fff; position: relative; height: initial; z-index: 2; }
.details-header h6 { font-weight: bold; font-size: 1.25rem; }
.details-header .title { font-size: 18px; text-align: center; }
.details-header .title h4 { font-weight: bold; }

.details-header-menu { padding: 20px 30px 0px 30px; color: #fff; background: url(images/header-bg.png) var(--primary-color); background-size: cover; }
.details-header-menu h6 { font-weight: bold; font-size: 1.25rem; }
.details-header-menu .tab { background: #0d7cb3; }
.details-header-menu .tab a { color: #fff; }
.details-header-menu .tab a.active { color: #0095db; font-weight: bold; background: #f5f5f5 !important; }
.details-header-menu .indicator { bottom: initial; top: 0px; height: 3px; background: #ff8400 }

.details-header .btn-floating { position: absolute; top: 30px; right: 20px; }


.details-info { background: #fff; padding: 20px 30px 10px 30px; border-bottom: 1px solid #eee; box-shadow: 0 1px 20px 0 rgb(0 0 0 / 20%); }
.details-content { padding: 30px; background-color: #f5f5f5; z-index: 1; }

/* ul tab 样式 */
.details-info-tabs { text-align: center; line-height: 14px; }
.details-info-tabs li { display: inline-block; padding: 0 12px; border-right: 1px solid #ddd; transition: all var(--transition-normal); cursor: pointer; }
.details-info-tabs li:hover { color: var(--primary-color); }
.details-info-tabs li:last-child { border: none }



/* 没有用到 */
/* .edit-body{padding: 30px 30px 90px 30px;height: 100%;}
.edit-bottom{text-align: center; background: #fff; padding: 20px; position: absolute; bottom: 0; left: 0; width: 100%; border-top: 1px solid #e1e1e1; z-index: 999} */

/*====E:详情页、编辑页============================================*/

/*====B:page-modal 页面中弹出内容======================================= */
.page-model { display: none; background: #f5f5f5; }
.page-model .page-modal-header { padding: 10px 30px; color: #fff; background: url(images/header-bg.png) var(--primary-color); background-size: cover; font-weight: bold; }
.page-model .page-modal-content { padding: 20px; }
.page-model .page-modal-footer { text-align: center; padding: 20px; border-top: 1px solid #e1e1e1; background: #fff; }
/*====E:page-modal 页面中弹出内容======================================= */

/*====B:登录页面=========================================*/
.login-bg { background: linear-gradient(to bottom, var(--primary-color), #f48d23) !important; display: table; width: 100% }
.login-bg2 { display: table; width: 100%; height: 100%; position: relative; }
.login-container { display: table-cell; vertical-align: middle }
.login { max-width: 350px; background: #fff; padding: 40px; margin: 0 auto; box-shadow: 0 0 50px rgba(0,0,0,.15); border-radius: 20px }
.login .logo { text-align: center; margin: 0 auto; position: relative }
.login .logo img { width: 160px; }
.login .version { position: absolute; top: 0; left: 70%; background: #40cf6c; color: #fff; font-size: 12px; padding: 0 4px; border-radius: 4px }
.login .title { text-align: center; font-size: 24px; font-weight: bold; color: var(--primary-color); text-shadow: 0px 0px 8px #ff9898; margin: 10px 0 20px; position: relative }
.form-login input { box-shadow: 0 0 0 50px #fff inset !important }
.form-login .btn { width: 100%; }
.form-login .text-danger { color: #F44336; text-align: center; }
.form-login .text-danger::before { content: "！"; }
.copyright { text-align: center; color: #fff; font-size: 12px; padding: 50px 0 25px }
/*====E:登录页面=========================================*/



/*====B:scrollbar================*/
/* .scrollbar{ overflow-y:auto}
.scrollbar::-webkit-scrollbar{ width:8px; height:8px}
.scrollbar::-webkit-scrollbar-button{ background-color:#f5f5f5}
.scrollbar::-webkit-scrollbar-track{ background-color:#f5f5f5}
.scrollbar::-webkit-scrollbar-track-piece{}
.scrollbar::-webkit-scrollbar-thumb{ background:#c8c8c8; border-radius:6px} */
/*====B:scrollbar================*/


/* 响应式滚动条 */
@media (max-width: 768px) {
    .scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
}
/*====E:scrollbar================*/

/*====B:响应式设计===========================================*/


@media (max-width: 768px) {

    header { height: auto; flex-direction: column; }
    header .user-info { display: none; }


    .page-container { margin: 0 15px; }
    .page-top { padding: 15px 0; flex-direction: column; gap: 15px; }
    .page-top h6.title { font-size: 1.1rem; text-align: center; }


    .btn { padding: 0 12px; height: 32px; line-height: 32px; font-size: 0.85rem; }

    .login { padding: 30px 20px; max-width: 100%; }
}

@media (max-width: 576px) {
    header .logo img { height: 48px; }
    header .logo span { font-size: 18px; }


    .page-container { margin: 0 10px; }
    .page-content { padding: 10px; }

    table.default { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table.default thead, table.default tbody, table.default th, table.default td, table.default tr { display: block; }
    table.default thead tr { position: absolute; top: -9999px; left: -9999px; }
    table.default tr { border: 1px solid var(--border-color); margin-bottom: 10px; border-radius: var(--radius-md); padding: 10px; }
    table.default td { border: none; border-bottom: 1px solid #f0f0f0; position: relative; padding-left: 50%; height: auto; text-align: right; }
    table.default td:before { position: absolute; top: 6px; left: 6px; width: 45%; padding-right: 10px; white-space: nowrap; font-weight: 600; color: var(--text-primary); text-align: left; content: attr(data-label); }


    .btn { padding: 0 10px; height: 28px; line-height: 28px; font-size: 0.8rem; }

    .details-header { padding: 12px 15px; }
    .details-content { padding: 15px; }
}
/*====E:响应式设计===========================================*/

