/* ===== 全局基础 ===== */
:root {
  --primary: #1a3c6e;
  --primary-light: #2a5298;
  --accent: #c0392b;
  --gold: #d4a017;
  --text: #2c3e50;
  --text-light: #666;
  --bg-light: #f4f6fa;
  --border: #e0e6ed;
  --white: #ffffff;
  --success: #27ae60;
  --danger: #e74c3c;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 10px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary { background: var(--primary-light); color: white; border-color: var(--primary-light); }
.btn-primary:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42,82,152,0.4); }
.btn-outline { background: transparent; color: var(--primary-light); border-color: var(--primary-light); }
.btn-outline:hover { background: var(--primary-light); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.8); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-white { background: white; color: var(--primary); font-weight: 600; }
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); }
.btn-large { padding: 15px 36px; font-size: 16px; border-radius: 8px; }
.btn-danger { background: var(--danger); color: white; border-color: var(--danger); }
.btn-danger:hover { background: #c0392b; }
.btn-success { background: var(--success); color: white; border-color: var(--success); }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 4px; }

/* ===== 顶部通知栏 ===== */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: white; }

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 50px; }
.logo-text-fallback { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 32px; }
.logo-title { font-size: 20px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--text-light); letter-spacing: 1px; }
.nav-menu { display: flex; gap: 5px; }
.nav-menu li a {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}
.nav-menu li a:hover, .nav-menu li a.active {
  color: var(--primary-light);
  background: rgba(42,82,152,0.08);
}
.nav-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* ===== 英雄区域 ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1e6b9e 100%);
  color: white;
  padding: 100px 0 140px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/img/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-title { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero-subtitle { font-size: 18px; opacity: 0.9; margin-bottom: 36px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ===== 统计数据 ===== */
.stats { padding: 60px 0; background: white; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number { font-size: 48px; font-weight: 700; color: var(--primary); display: inline-block; }
.stat-plus { font-size: 24px; font-weight: 700; color: var(--accent); display: inline-block; vertical-align: top; margin-top: 12px; }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 8px; }

/* ===== 区块标题 ===== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; color: var(--primary); margin-bottom: 12px; }
.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-header p { font-size: 16px; color: var(--text-light); }

/* ===== 服务卡片 ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  background: white;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); border-color: var(--primary-light); }
.service-icon { font-size: 40px; margin-bottom: 16px; }
.service-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.service-link { color: var(--primary-light); font-size: 14px; font-weight: 500; }
.service-link:hover { color: var(--accent); }

/* ===== 查询横幅 ===== */
.query-banner { background: linear-gradient(135deg, var(--accent), #e74c3c); color: white; padding: 60px 0; }
.query-banner-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.query-banner h2 { font-size: 28px; margin-bottom: 8px; }
.query-banner p { opacity: 0.9; font-size: 16px; }

/* ===== 优势 ===== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-item { text-align: center; padding: 30px 20px; }
.adv-icon { font-size: 48px; margin-bottom: 16px; }
.adv-item h3 { font-size: 18px; color: var(--primary); margin-bottom: 12px; }
.adv-item p { font-size: 14px; color: var(--text-light); }

/* ===== 流程 ===== */
.process-steps { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.process-step { text-align: center; padding: 20px; flex: 1; min-width: 140px; max-width: 200px; }
.step-num { font-size: 36px; font-weight: 700; color: var(--primary-light); opacity: 0.3; line-height: 1; margin-bottom: 12px; }
.step-content h3 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.step-content p { font-size: 13px; color: var(--text-light); }
.process-arrow { font-size: 28px; color: var(--primary-light); opacity: 0.4; }

/* ===== 新闻 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-date { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.news-card h3 { font-size: 16px; color: var(--text); margin-bottom: 12px; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.news-link { font-size: 14px; color: var(--primary-light); font-weight: 500; }
.news-link:hover { color: var(--accent); }

/* ===== 合作伙伴 ===== */
.partners-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.partner-logo {
  width: 160px; height: 70px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-light);
  background: white;
  transition: var(--transition);
}
.partner-logo:hover { border-color: var(--primary-light); color: var(--primary); box-shadow: var(--shadow); }

/* ===== 页脚 ===== */
.footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer h3 { font-size: 20px; color: white; margin-bottom: 16px; }
.footer h4 { font-size: 15px; color: white; margin-bottom: 16px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: white; }

/* ===== 页面顶部横幅 ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.page-banner h1 { font-size: 36px; margin-bottom: 12px; }
.page-banner p { font-size: 16px; opacity: 0.85; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; margin-top: 16px; font-size: 14px; opacity: 0.7; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }

/* ===== 通用卡片 ===== */
.card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; margin-bottom: 24px; }
.card-title { font-size: 20px; color: var(--primary); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ===== 表单 ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.form-label .required { color: var(--accent); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  transition: var(--transition);
  background: white;
  font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(42,82,152,0.1); }
.form-control::placeholder { color: #adb5bd; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }

/* ===== 提示框 ===== */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.alert-icon { font-size: 18px; flex-shrink: 0; }

/* ===== 保函查询页 ===== */
.query-box {
  background: white;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
}
.query-box-title { font-size: 24px; color: var(--primary); text-align: center; margin-bottom: 8px; }
.query-box-sub { text-align: center; color: var(--text-light); margin-bottom: 36px; font-size: 15px; }
.query-tip { background: var(--bg-light); border-left: 4px solid var(--primary-light); padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 14px; color: var(--text-light); margin-top: 20px; }
.query-btn { width: 100%; padding: 16px; font-size: 17px; border-radius: 8px; border: none; cursor: pointer; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; font-weight: 600; transition: var(--transition); margin-top: 8px; }
.query-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(42,82,152,0.4); }

/* 查询结果 */
.result-section { max-width: 800px; margin: 40px auto; }
.result-valid {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.result-status-banner {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border-radius: 12px;
  margin-bottom: 30px;
}
.result-status-icon { font-size: 36px; }
.result-status-text h2 { font-size: 20px; color: var(--success); margin-bottom: 4px; }
.result-status-text p { font-size: 13px; color: #155724; }
.result-invalid {
  background: white;
  border-radius: 16px;
  padding: 60px 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  text-align: center;
}
.result-invalid .icon { font-size: 64px; margin-bottom: 20px; }
.result-invalid h2 { font-size: 22px; color: var(--danger); margin-bottom: 12px; }
.result-invalid p { font-size: 15px; color: var(--text-light); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.detail-item { padding: 14px 20px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.detail-item:nth-child(even) { border-right: none; }
.detail-item:nth-last-child(-n+2) { border-bottom: none; }
.detail-label { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.detail-value { font-size: 15px; color: var(--text); font-weight: 500; }
.detail-value.amount { color: var(--accent); font-size: 18px; font-weight: 700; }
.detail-value.number { color: var(--primary); font-family: monospace; font-size: 14px; }

/* ===== 公司简介页 ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 30px; color: var(--primary); margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.about-img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); background: var(--bg-light); height: 400px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.honors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-item { text-align: center; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.honor-item:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.honor-icon { font-size: 40px; margin-bottom: 12px; }
.honor-item h4 { font-size: 14px; color: var(--text); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 30px 20px; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--bg-light); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 36px; overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.team-card .role { font-size: 13px; color: var(--primary-light); margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--text-light); }

/* ===== 成功案例页 ===== */
.cases-filter { display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border: 1.5px solid var(--border); border-radius: 25px; font-size: 14px; cursor: pointer; background: white; color: var(--text); transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--primary-light); color: white; border-color: var(--primary-light); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); background: white; }
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.case-img { height: 200px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 60px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 24px; }
.case-tag { display: inline-block; padding: 3px 10px; background: rgba(42,82,152,0.1); color: var(--primary-light); border-radius: 20px; font-size: 12px; margin-bottom: 12px; }
.case-body h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; line-height: 1.5; }
.case-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; }
.case-meta { display: flex; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--text-light); }

/* ===== 招聘页 ===== */
.job-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; transition: var(--transition); }
.job-card:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.job-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.job-title { font-size: 18px; color: var(--primary); font-weight: 600; }
.job-salary { font-size: 16px; color: var(--accent); font-weight: 600; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.job-tag { padding: 4px 12px; background: var(--bg-light); border-radius: 20px; font-size: 12px; color: var(--text-light); }
.job-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.job-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; flex-wrap: wrap; gap: 12px; }
.job-date { font-size: 13px; color: var(--text-light); }
.welfare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.welfare-item { text-align: center; padding: 24px 16px; background: white; border-radius: var(--radius); border: 1px solid var(--border); }
.welfare-icon { font-size: 36px; margin-bottom: 10px; }
.welfare-item h4 { font-size: 14px; color: var(--text); }

/* ===== 联系我们页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info { }
.contact-item { display: flex; gap: 16px; margin-bottom: 30px; align-items: flex-start; }
.contact-icon-wrap { width: 50px; height: 50px; border-radius: 12px; background: rgba(42,82,152,0.1); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-detail h4 { font-size: 15px; color: var(--text); margin-bottom: 4px; font-weight: 600; }
.contact-detail p { font-size: 14px; color: var(--text-light); }
.map-placeholder { background: var(--bg-light); border-radius: var(--radius); height: 200px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-light); margin-top: 20px; border: 1px dashed var(--border); }
.contact-form-section { }

/* ===== 后台管理 ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--primary);
  color: white;
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: var(--transition);
}
.admin-sidebar-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-logo h2 { font-size: 16px; color: white; }
.admin-sidebar-logo p { font-size: 12px; opacity: 0.6; margin-top: 4px; }
.admin-nav { padding: 16px 0; flex: 1; overflow-y: auto; }
.admin-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; font-size: 14px; color: rgba(255,255,255,0.75);
  cursor: pointer; transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover, .admin-nav-item.active { color: white; background: rgba(255,255,255,0.1); border-left-color: var(--gold); }
.admin-nav-item .nav-icon { font-size: 18px; width: 24px; flex-shrink: 0; }
.admin-sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; }
.admin-main { margin-left: 240px; flex: 1; display: flex; flex-direction: column; background: var(--bg-light); min-height: 100vh; }
.admin-header { background: white; padding: 16px 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.admin-title { font-size: 18px; color: var(--primary); font-weight: 600; }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.admin-content { padding: 30px; flex: 1; }
.stats-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card { background: white; border-radius: var(--radius); padding: 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.stat-card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.stat-card-icon.blue { background: rgba(42,82,152,0.1); }
.stat-card-icon.green { background: rgba(39,174,96,0.1); }
.stat-card-icon.red { background: rgba(231,76,60,0.1); }
.stat-card-icon.gold { background: rgba(212,160,23,0.1); }
.stat-card-info h3 { font-size: 26px; font-weight: 700; color: var(--text); }
.stat-card-info p { font-size: 13px; color: var(--text-light); }

/* 表格 */
.table-wrap { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.table-header { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.table-title { font-size: 16px; font-weight: 600; color: var(--text); }
.table-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--bg-light); padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 600; color: var(--text-light); white-space: nowrap; border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 16px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(42,82,152,0.03); }
.badge { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-info { background: #d1ecf1; color: #0c5460; }
.table-search { display: flex; gap: 8px; align-items: center; }
.table-search .form-control { width: 220px; padding: 8px 12px; font-size: 14px; }
.pagination { display: flex; gap: 6px; align-items: center; padding: 16px 24px; justify-content: flex-end; border-top: 1px solid var(--border); }
.page-btn { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; transition: var(--transition); background: white; color: var(--text); }
.page-btn:hover, .page-btn.active { background: var(--primary-light); color: white; border-color: var(--primary-light); }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; }

/* 模态框 */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; align-items: center; justify-content: center; }
.modal-overlay.show { display: flex; }
.modal { background: white; border-radius: 12px; width: 90%; max-width: 680px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: modalIn 0.2s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-20px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-size: 17px; font-weight: 600; color: var(--text); }
.modal-close { width: 32px; height: 32px; border-radius: 8px; border: none; background: var(--bg-light); cursor: pointer; font-size: 18px; color: var(--text-light); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { background: var(--border); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 12px; }

/* 登录页 */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.login-card { background: white; border-radius: 16px; padding: 50px 44px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.login-logo { text-align: center; margin-bottom: 36px; }
.login-logo .icon { font-size: 52px; display: block; margin-bottom: 12px; }
.login-logo h1 { font-size: 22px; color: var(--primary); }
.login-logo p { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.login-btn { width: 100%; padding: 14px; font-size: 16px; border: none; border-radius: 8px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; cursor: pointer; font-weight: 600; transition: var(--transition); }
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(42,82,152,0.4); }

/* 用户管理 */
.role-badge { padding: 3px 10px; border-radius: 20px; font-size: 12px; }
.role-admin { background: rgba(42,82,152,0.1); color: var(--primary-light); }
.role-operator { background: rgba(39,174,96,0.1); color: var(--success); }
.role-viewer { background: rgba(212,160,23,0.1); color: var(--gold); }

/* Toast通知 */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 99999; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 14px 20px; border-radius: 8px; font-size: 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); animation: toastIn 0.3s ease; min-width: 280px; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.toast-success { background: white; border-left: 4px solid var(--success); color: var(--text); }
.toast-error { background: white; border-left: 4px solid var(--danger); color: var(--text); }
.toast-info { background: white; border-left: 4px solid var(--primary-light); color: var(--text); }

/* 搜索输入 */
.search-input-wrap { position: relative; }
.search-input-wrap .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-light); }
.search-input-wrap .form-control { padding-left: 36px; }

/* 富文本内容显示 */
.rich-content img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.rich-content p { margin-bottom: 12px; }

/* 文件上传 */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-light);
}
.upload-area:hover, .upload-area.dragover { border-color: var(--primary-light); background: rgba(42,82,152,0.05); }
.upload-icon { font-size: 40px; margin-bottom: 12px; }
.upload-text { font-size: 14px; color: var(--text-light); }
.upload-text strong { color: var(--primary-light); }
.uploaded-images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.uploaded-img { position: relative; width: 100px; height: 100px; }
.uploaded-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.uploaded-img .remove-img { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; background: var(--danger); color: white; border-radius: 50%; border: none; cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* 空状态 */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state .icon { font-size: 60px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* 响应式 */
@media (max-width: 992px) {
  .services-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .honors-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-cards, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .welfare-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; padding: 16px; flex-direction: column; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-title { font-size: 30px; }
  .services-grid, .cases-grid, .news-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .query-box { padding: 30px 20px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-item { border-right: none; }
  .admin-sidebar { width: 0; overflow: hidden; }
  .admin-main { margin-left: 0; }
  .stats-cards { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .honors-grid, .team-grid, .welfare-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-cards { grid-template-columns: 1fr; }
}
