/* 底部客服信息样式（全站通用） */
.footer-contact-box {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 32px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.footer-contact-item {
	font-size: 15px;
	color: #fff;
	background: rgba(52,73,94,0.12);
	border-radius: 6px;
	padding: 6px 16px;
	margin-right: 0;
	display: flex;
	align-items: center;
	box-shadow: 0 2px 8px rgba(44,62,80,0.08);
	transition: background 0.2s;
}
.footer-contact-item:hover {
	background: rgba(52,152,219,0.18);
}
.footer-contact-value {
	font-weight: bold;
	color: #ffe082;
	margin-left: 6px;
	font-size: 16px;
	letter-spacing: 1px;
}
/* 统一通用样式文件 - 减少冗余 */

/* ===== 基础重置和通用样式 ===== */
@charset "utf-8";

* {
box-sizing: border-box;
}

html, body {
overflow-x: hidden;
margin: 0;
padding: 0;
font-size: 12px;
}

body {
background-color: #fff ;
color: #333 ;
font-family: "SimSun", "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
font-size: 12px !important;
line-height: 1.6 ;
}

html {
background-color: #ededed;
-webkit-tap-highlight-color: transparent;
height: 100%;
margin: 0 auto;
}

i {
font-style: normal;
}

/* ===== 通用容器样式 ===== */
.layui-container {
/* max-width: 1200px; */
}

/* ===== 缩小layui列间距 ===== */
.layui-row {
/* margin-left: -5px;
margin-right: -5px; */
}

.layui-row > [class*="layui-col-"] {
padding-left: 5px;
padding-right: 5px;
}

/* ===== 导航栏字体大小保持 ===== */
.layui-nav,
.layui-nav .layui-nav-item,
.layui-nav .layui-nav-item a,
.navbar,
.navbar-nav,
.navbar-nav .nav-link,
.nav,
.nav-link {
font-size: 16px ;
}

/* ===== 主导航链接样式优化 ===== */
.layui-nav .layui-nav-item a {
color: #fff !important;
font-weight: 600 !important;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.layui-nav .layui-nav-item a:hover {
color: #fff !important;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* ===== 标题字体大小保持 ===== */
h1, h2, h3, h4, h5, h6,
.page-title,
.letter-title,
.province-link {
font-size: inherit ;
}

/* ===== 按钮字体大小保持 ===== */
.btn,
.layui-btn,
button {
font-size: 14px ;
}

/* ===== 响应式容器样式 ===== */
@media only screen and (min-width : 1440px) {
.container {
width: 1500px;
}
}

@media (min-width: 1440px) {
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
max-width: 1440px;
}
}

/* ===== 通用重置样式 ===== */
/* 注意：不定义通用的.card样式，避免与layui-card冲突 */

/* ===== Layui Card 样式保护 ===== */
/* .layui-card、.layui-card-header、.layui-card-body 样式已全部移至 unified-style.css 统一管理 */

.dropdown-menu button {
border-radius: 0px;
padding: 0px;
font-weight: bold;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

img {
vertical-align: middle;
border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}

ul,
ol,
li {
list-style: none;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

img {
border: none;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="text"],
input[type="search"],
input[type="password"] {
-webkit-appearance: none;
}

input:focus,
textarea:focus {
outline: none;
}

input:focus {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-user-modify: read-write-plaintext-only;
}

textarea:focus {
outline: 0;
}

a,
a:link {
text-decoration: none;
}

a:visited {
color: #551a8b;
}

a:hover {
color: #ff0000;
}

.fs-16 {
font-size: 16px;
}

.fs-18 {
font-size: 18px;
}

/* ===== 通用颜色 ===== */
.color-base {
color: #386691;
}

.color-primary {
color: var(--company-primary);
}

.color-secondary {
color: var(--primary-color);
}

.color-success {
color: #16b777;
}

.color-warning {
color: #856404;
}

.color-danger {
color: #dc3545;
}

.color-muted {
color: #999;
}

.color-light {
color: #666;
}

/* ===== 通用背景色 ===== */
.bg-primary {
background-color: var(--company-primary);
}

.bg-secondary {
background-color: var(--primary-color);
}

.bg-light {
background-color: #f8f9fa;
}

.bg-white {
background-color: #fff;
}

.bg-gray {
background-color: #f5f5f5;
}

/* ===== 通用文本对齐 ===== */
.text-center {
text-align: center;
}

.text-left {
text-align: left;
}

.text-right {
text-align: right;
}

/* ===== 通用边距和间距 ===== */
.top-bar {
height: 25px;
line-height: 25px;
}

.logo-line-height {
line-height: 80px;
}

.logo-margin {
margin-top: 40px;
margin-bottom: 40px;
}

/* ===== 通用链接样式 ===== */
a {
transition: all 0.3s ease;
}

a:hover {
color: #009688;
}

/* ===== 通用卡片样式 ===== */
.card {
background: white;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
margin-bottom: 20px;
transition: box-shadow 0.3s ease;
}

.card:hover {
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-header {
background: linear-gradient(90deg, var(--company-primary), var(--primary-color));
color: white;
padding: 15px 20px;
}

/* ===== 通用按钮样式 ===== */
.btn-primary {
background: linear-gradient(135deg, var(--company-primary), var(--primary-color));
border-radius: 25px;
padding: 12px 30px;
cursor: pointer;
display: inline-block;
transition: background 0.3s ease;
}

.btn-primary:hover {
background: linear-gradient(135deg, #1e3f73, #2c5aa0);
}

/* ===== 通用搜索框样式 ===== */
.search-box {
background: #f8f9fa;
}

.search-input {
border: 2px solid #3D67AD;
padding: 12px 20px;
width: 100%;
transition: border-color 0.3s ease;
}

.search-input:focus {
border-color: #1e3f73;
}

/* ===== 通用页面头部样式 ===== */
.page-header {
background: linear-gradient(135deg, #3D67AD 0%, #5A7BC8 100%);
color: #fff;
padding: 40px 0;
}

.page-header h1 {
font-size: 32px;
margin-bottom: 10px;
}

.page-header p {
opacity: 0.9;
}

/* ===== 通用页脚样式 ===== */
.footer {
background: #333;
padding: 20px 0;
}

/* ===== 通用空状态样式 ===== */
.no-data {
padding: 60px 0;
}

.no-data i {
font-size: 48px;
}

/* ===== 通用标签样式 ===== */
.tag {
background-color: #f0f8ff;
padding: 2px 8px;
border-radius: 12px;
margin-right: 8px;
margin-bottom: 5px;
}

/* ===== 通用表格样式 ===== */
.table-sm td,
.table-sm th {
padding: .1rem;
}

/* ===== 通用导航样式 ===== */
.layui-nav .layui-nav-item {
line-height: 40px !important ;
}

/* ===== 副导航容器样式 ===== */
.sub-nav-container {
background: linear-gradient(135deg, #b8c6db 0%, #a2b4c7 100%) !important;
/* padding: 8px 0; */
}

/* ===== 副导航表格样式 ===== */
.sub-nav-container .layui-table,
.sub-nav-container .layui-table td,
.sub-nav-container .layui-table th {
background: transparent !important;
color: #2c3e50 !important;
border: none !important;
font-size: 12px !important;
padding: 4px 8px !important;
line-height: 1.4 !important;
}

.sub-nav-container .layui-table a {
color: #422c50ba !important;
text-decoration: none !important;
font-size: 12px !important;
transition: all 0.3s ease !important;
font-weight: 500;
}

.sub-nav-container .layui-table a:hover {
color: #3498db !important;
text-decoration: none !important;
transform: translateY(-1px);
}

.sub-nav-container .layui-table td:not(:last-child)::after,
.sub-nav-container .layui-table th:not(:last-child)::after {
content: "|";
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
color: rgba(44, 62, 80, 0.3) !important;
}

/* ===== 通用背景图片 ===== */
.bg-nav {
background-image: url(__CDN__/assets/images/navbg.png);
background-repeat: repeat-x;
}

/* ===== 通用响应式设计 ===== */
@media (max-width: 768px) {
.layui-container {
padding: 0 10px;
}

.search-input-group {
flex-direction: column;
}
}

@media (max-width: 480px) {

.page-header h1 {
font-size: 20px;
}

.btn-primary {
display: block;
margin: 10px 0;
}
}

/* ===== 通用动画效果 ===== */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.fade-in {
animation: fadeIn 0.5s ease-out;
}