/* ============================================
   蓝工招聘 - 主样式
   主色：深蓝 #1a4fba / 亮蓝 #2563eb / 浅蓝背景 #f0f6ff
   ============================================ */

:root {
  --primary: #2563eb;
  --primary-dark: #1a4fba;
  --primary-light: #3b82f6;
  --primary-pale: #dbeafe;
  --primary-bg: #f0f6ff;
  --accent: #f59e0b;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --shadow-sm: 0 1px 3px rgba(37,99,235,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(37,99,235,0.12), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 40px rgba(37,99,235,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- 通用 ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; font-family: var(--font);
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); text-decoration: none; white-space: nowrap;
  gap: 6px;
}
.btn-lg { padding: 13px 32px; font-size: 16px; border-radius: var(--radius); }
.btn-full { width: 100%; }
.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn-danger { background: #ef4444; color: #fff; border-color: #ef4444; }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: #10b981; color: #fff; border-color: #10b981; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 6px; }
.btn-ghost { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-light); color: var(--text-primary); }
.btn-company {
  background: linear-gradient(135deg, #1a4fba, #7c3aed);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}
.btn-company:hover { background: linear-gradient(135deg, #1e3a8a, #6d28d9); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.45); }

.section { padding: 72px 0; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-size: clamp(26px, 4vw, 38px); font-weight: 800;
  color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-title span { color: var(--primary); }
.section-desc { font-size: 16px; color: var(--text-secondary); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(37,99,235,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 900; flex-shrink: 0;
}
.logo-icon.small { width: 30px; height: 30px; font-size: 14px; border-radius: 7px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.logo-sub { font-size: 11px; color: var(--text-muted); }
.main-nav { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-pale); }
.nav-admin {
  background: var(--primary); color: #fff !important;
  border-radius: 8px;
}
.nav-admin:hover { background: var(--primary-dark) !important; color: #fff !important; }
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px; transition: var(--transition);
}
/* 汉堡 → X 动画 */
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none; padding: 12px 0; border-top: 1px solid var(--border);
  flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 10px 12px; }

/* ---- Hero ---- */
.hero {
  position: relative; padding: 80px 0 0;
  background: linear-gradient(155deg, #1a4fba 0%, #2563eb 40%, #3b82f6 70%, #60a5fa 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 640px; padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.95);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3); margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 60px); font-weight: 900;
  color: #fff; line-height: 1.15; margin-bottom: 18px; letter-spacing: -1px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 32px; line-height: 1.7;
}
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 36px;
}
.stat-item { text-align: center; }
.stat-num {
  display: block; font-size: 32px; font-weight: 900; color: #fff;
  line-height: 1; margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.75); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-primary {
  background: #fff; color: var(--primary); border-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero-actions .btn-primary:hover { background: #f0f6ff; transform: translateY(-2px); }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.7); color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.15); }
.hero-wave { line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* ---- Jobs Section ---- */
.jobs-section { background: var(--primary-bg); }

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(37,99,235,0.06);
  border: 1px solid #e8f0ff;
}

/* 两行布局 */
.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.filter-row-tags {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.filter-row-tags::-webkit-scrollbar {
  display: none;
}

.filter-row-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.filter-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

/* 分类标签筛选 */
.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 8px 16px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
}

.filter-tag:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--primary-pale);
}

.filter-tag.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

.filter-select-hidden {
  display: none;
}

/* 右侧区域 */
.filter-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 薪资筛选 */
.salary-filter {
  position: relative;
}

.salary-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
}

.salary-btn:hover {
  border-color: var(--primary-light);
  background: var(--primary-pale);
}

.salary-btn svg:first-child {
  color: var(--primary);
}

.salary-btn .chevron {
  transition: transform 0.2s ease;
  color: #94a3b8;
}

.salary-filter.active .salary-btn {
  border-color: var(--primary);
  background: var(--primary-pale);
}

.salary-filter.active .chevron {
  transform: rotate(180deg);
}

.salary-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 6px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.salary-filter.active .salary-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.salary-option {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: none;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font);
}

.salary-option:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

.salary-option.selected {
  background: var(--primary);
  color: #fff;
}

/* 现代搜索框 */
.search-wrapper {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 4px;
  transition: all 0.2s ease;
  min-width: 240px;
}

.search-wrapper:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.search-icon {
  margin-left: 10px;
  color: #94a3b8;
  flex-shrink: 0;
}

.search-input-new {
  flex: 1;
  padding: 8px 10px;
  border: none;
  background: none;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  font-family: var(--font);
}

.search-input-new::placeholder {
  color: #94a3b8;
}

.search-btn-new {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-btn-new:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

/* 视图切换按钮 */
.view-switch {
  display: flex;
  gap: 4px;
  background: var(--bg-light);
  padding: 4px;
  border-radius: 10px;
  flex-shrink: 0;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.view-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.8);
}

.view-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.view-btn svg {
  flex-shrink: 0;
}

/* 视图切换按钮 */
.view-switch {
  display: flex;
  gap: 4px;
  background: var(--bg-light);
  padding: 4px;
  border-radius: 8px;
  flex-shrink: 0;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.view-btn:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.05);
}

.view-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.view-btn svg {
  flex-shrink: 0;
}
/* 已由新的 filter-tag 和 search-wrapper 替代 */

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* 简约列表视图 */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-list-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.job-list-item:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(37,99,235,0.1);
  transform: translateX(4px);
}

.job-list-main {
  min-width: 0;
}

.job-list-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-urgent-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  flex-shrink: 0;
}

.job-list-company {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-list-salary {
  font-size: 16px;
  font-weight: 800;
  color: #e85d04;
  white-space: nowrap;
}

.job-list-salary span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.job-list-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.job-tag-sm {
  padding: 3px 8px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.job-list-location {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-list-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.job-list-stat {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.job-list-date {
  font-size: 11px;
  color: var(--text-muted);
}

.job-list-action {
  flex-shrink: 0;
}

.job-list-btn {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s;
}

.job-list-item:hover .job-list-btn {
  background: var(--primary-dark);
}

.job-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1.5px solid transparent;
  transition: var(--transition); overflow: hidden;
  cursor: pointer;
}
.job-card:hover {
  border-color: var(--primary-light); box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.job-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 20px; position: relative; overflow: hidden;
}
.job-card-header::after {
  content: ''; position: absolute; right: -20px; top: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.job-title { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.job-company { font-size: 13px; color: rgba(255,255,255,0.85); }
.job-card-body { padding: 18px 20px; }
.job-salary {
  font-size: 22px; font-weight: 900; color: #e85d04; margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.job-salary span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.job-tag {
  padding: 4px 10px; background: var(--primary-pale); color: var(--primary);
  border-radius: 4px; font-size: 12px; font-weight: 500;
}
.job-tag.urgent { background: #fff3cd; color: #b45309; }
.job-meta {
  display: flex; gap: 16px; font-size: 13px; color: var(--text-muted);
  border-top: 1px solid var(--border); padding-top: 14px;
}
.job-meta-item { display: flex; align-items: center; gap: 4px; }

/* 卡片报名统计 */
.job-stats-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--primary-bg);
  border-radius: 8px;
  font-size: 13px;
  border-left: 3px solid var(--primary);
}
.job-stat-item { color: var(--text-secondary); }
.job-stat-num { font-weight: 800; color: var(--primary); margin-right: 2px; }
.job-stat-sep { color: var(--border); }
.job-stat-item.pending .job-stat-num { color: #f59e0b; }
.job-stat-item.hired .job-stat-num { color: #16a34a; }

.job-card-footer {
  padding: 14px 20px; background: var(--bg-light);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.job-date { font-size: 12px; color: var(--text-muted); }
.job-status {
  font-size: 12px; padding: 3px 10px; border-radius: 12px; font-weight: 600;
}
.job-status.active { background: #dcfce7; color: #16a34a; }
.job-status.urgent { background: #fff3cd; color: #b45309; }

.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
}
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 16px; }

/* ---- Apply Section ---- */
.apply-section { background: #fff; }
.apply-wrapper {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 60px; align-items: start;
}
.apply-badge {
  display: inline-block; background: #dcfce7; color: #16a34a;
  padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.apply-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--text-primary);
  margin-bottom: 16px; letter-spacing: -0.5px;
}
.apply-desc { font-size: 15px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7; }
.apply-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.apply-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-secondary); }
.feature-icon {
  width: 22px; height: 22px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.contact-icon { font-size: 18px; }

.apply-form-wrap {
  background: var(--bg-light); border-radius: var(--radius-lg);
  padding: 36px; border: 1.5px solid var(--border);
}
.apply-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
}
.form-label.required::after { content: ' *'; color: #ef4444; }
.form-control {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font);
  color: var(--text-primary); background: #fff;
  transition: var(--transition); outline: none;
  appearance: none; -webkit-appearance: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; cursor: pointer;
}
textarea.form-control { resize: vertical; min-height: 80px; }

/* ---- Modal ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,23,42,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: #fff; border-radius: var(--radius-lg);
  padding: 40px; max-width: 480px; width: 100%; text-align: center;
  box-shadow: var(--shadow-lg); position: relative;
  animation: modalIn 0.25s cubic-bezier(.34,1.56,.64,1);
}
.modal-lg { max-width: 560px; text-align: left; }
/* ---- Job Detail Modal Close Button ---- */
.job-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
}

.job-modal-close svg {
  width: 20px;
  height: 20px;
  color: #475569;
  transition: color 0.22s ease;
}

.job-modal-close:hover {
  background: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.job-modal-close:hover svg {
  color: #1e293b;
}

.job-modal-close:active {
  transform: scale(0.95);
}

/* 通用 modal-close（保留用于其他弹窗） */
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-light); border: none; cursor: pointer;
  font-size: 18px; color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--text-primary); }
.modal-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 20px;
}
.modal-icon.success { background: #dcfce7; color: #16a34a; }
.modal h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.modal p { color: var(--text-secondary); margin-bottom: 24px; }

@keyframes modalIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ---- Job Detail Modal ---- */
.job-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--primary-bg);
  border-radius: 10px;
  border: 1.5px solid #bfdbfe;
}
.job-stat-card {
  text-align: center;
  padding: 8px 4px;
}
.job-stat-card-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.job-stat-card-num.pending { color: #f59e0b; }
.job-stat-card-num.contacted { color: #6366f1; }
.job-stat-card-num.hired { color: #16a34a; }
.job-stat-card-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.job-detail-header { margin-bottom: 24px; }
.job-detail-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.job-detail-company { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; }
.job-detail-salary { font-size: 28px; font-weight: 900; color: #e85d04; margin-bottom: 20px; }
.job-detail-section { margin-bottom: 20px; }
.job-detail-section h4 { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.job-detail-section p, .job-detail-section li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.job-detail-section ul { padding-left: 20px; }
.job-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.btn-full { width: 100%; margin-top: 8px; }

/* ---- 公告栏 ---- */
.notice-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 12px 0;
}

.notice-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.notice-label {
  font-size: 13px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.notice-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* 滚动公告样式 */
.notice-scroll-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  height: 24px;
}

.notice-scroll-wrapper::before,
.notice-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.notice-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.9), transparent);
}

.notice-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
}

.notice-scroll-content {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  height: 100%;
  will-change: transform;
}

.notice-scroll-item {
  font-size: 14px;
  color: #1f2937;
  cursor: pointer;
  transition: color 0.2s;
  flex-shrink: 0;
}

.notice-scroll-item:hover {
  text-decoration: underline;
}

.notice-scroll-item.notice-urgent {
  color: #dc2626;
  font-weight: 600;
}

.notice-scroll-item.notice-important {
  color: #ea580c;
  font-weight: 500;
}

.notice-scroll-item.notice-normal {
  color: #4b5563;
}

.notice-scroll-separator {
  color: #d1d5db;
  flex-shrink: 0;
}

.notice-text {
  font-size: 14px;
  color: #1f2937;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.notice-text:hover {
  text-decoration: underline;
}

.notice-text.notice-urgent {
  color: #dc2626;
  font-weight: 600;
}

.notice-text.notice-important {
  color: #ea580c;
  font-weight: 500;
}

.notice-text.notice-normal {
  color: #4b5563;
}

.notice-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}

.notice-close:hover {
  color: #6b7280;
}

/* 公告弹窗 */
.notice-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.notice-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.notice-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.notice-modal-type {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.notice-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.notice-modal-close:hover {
  background: #f3f4f6;
  color: #4b5563;
}

.notice-modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(80vh - 70px);
}

.notice-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  line-height: 1.4;
}

.notice-modal-content {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 20px;
}

.notice-modal-content p {
  margin-bottom: 12px;
}

.notice-modal-time {
  font-size: 13px;
  color: #9ca3af;
  text-align: right;
}

@media (max-width: 768px) {
  .notice-section { padding: 10px 0; }
  .notice-bar { padding: 8px 12px; }
  .notice-label { font-size: 12px; padding: 3px 8px; }
  .notice-text { font-size: 13px; }
  .notice-modal { max-height: 85vh; }
  .notice-modal-body { padding: 20px; }
  .notice-modal-title { font-size: 18px; }
}

/* ---- 广告横幅 ---- */
.ads-section {
  background: #fff;
  padding: 16px 0;
}

.ads-swiper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: var(--shadow-md);
}

.ads-track {
  position: relative;
}

.ads-item {
  display: none;
  width: 100%;
  animation: adsFadeIn 0.4s ease;
}
.ads-item.active {
  display: block;
}

@keyframes adsFadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 图片广告 - 优化尺寸，纯图片展示 */
.ad-image-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 16px;
}
.ad-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ad-image-wrap:hover .ad-image {
  transform: scale(1.02);
}

/* 纯文字广告 */
.ad-text-card {
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--primary-bg), #e0eaff);
  border-radius: 16px;
  border-left: 4px solid var(--primary);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ad-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.ad-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.ad-link-hint {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

/* 轮播控件 */
.ads-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(0,0,0,0.2);
  border-radius: 20px;
}
.ads-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.ads-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

.ads-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  color: var(--text-primary);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ads-arrow:hover { 
  background: #fff; 
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.ads-arrow-prev { left: 16px; }
.ads-arrow-next { right: 16px; }

/* 广告区域响应式 */
@media (max-width: 768px) {
  .ads-section { padding: 12px 0; }
  .ad-image-wrap { height: 200px; }
  .ads-arrow { 
    width: 36px; 
    height: 36px; 
    font-size: 18px;
  }
  .ads-arrow-prev { left: 10px; }
  .ads-arrow-next { right: 10px; }
}

@media (max-width: 480px) {
  .ad-image-wrap { height: 160px; border-radius: 12px; }
  .ads-swiper { border-radius: 12px; }
}

/* ---- Footer ---- */
.site-footer-bottom {
  background: var(--text-primary); padding: 24px 0;
}
.footer-content {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 15px; }
.footer-copy { font-size: 13px; color: #64748b; }
.footer-admin-link { font-size: 13px; color: #64748b; text-decoration: none; }
.footer-admin-link:hover { color: var(--primary-light); }

/* ---- Admin Common ---- */
.admin-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.badge-green { background: #dcfce7; color: #16a34a; }
.badge-yellow { background: #fff3cd; color: #b45309; }
.badge-red { background: #fee2e2; color: #dc2626; }
.badge-blue { background: var(--primary-pale); color: var(--primary); }
.badge-gray { background: #f1f5f9; color: #64748b; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Header */
  .header-inner { height: 56px; }
  .logo-main { font-size: 16px; }
  .logo-sub { font-size: 10px; }
  .logo-icon { width: 34px; height: 34px; font-size: 15px; }

  /* Hero */
  .hero { padding: 48px 0 0; }
  .hero-content { padding-bottom: 60px; }
  .hero-badge { font-size: 12px; padding: 5px 14px; }
  .hero-title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 14px; }
  .hero-desc { font-size: 14px; margin-bottom: 24px; }
  .hero-stats { gap: 12px; margin-bottom: 28px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 12px; }
  .stat-divider { height: 32px; }
  .hero-actions { gap: 10px; }
  .btn-lg { padding: 12px 24px; font-size: 15px; }

  /* Section */
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-desc { font-size: 14px; }

  /* Filter bar - 两行布局 */
  .filter-bar {
    gap: 12px;
    padding: 14px;
  }

  .filter-row {
    gap: 10px;
  }

  .filter-row-tags {
    gap: 8px;
  }

  .filter-tag {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .filter-row-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .search-wrapper {
    width: 100%;
  }

  .salary-filter {
    width: 100%;
  }

  .salary-btn {
    width: 100%;
    justify-content: center;
  }

  .view-switch {
    width: 100%;
    justify-content: center;
  }

  /* 简约列表响应式 */
  .job-list-item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 12px 14px;
  }
  
  .job-list-main {
    grid-column: 1;
    grid-row: 1;
  }
  
  .job-list-salary {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
    text-align: right;
  }
  
  .job-list-tags {
    grid-column: 1;
    grid-row: 2;
  }
  
  .job-list-location {
    display: none;
  }
  
  .job-list-meta {
    grid-column: 2;
    grid-row: 2;
    align-items: flex-end;
  }
  
  .job-list-action {
    display: none;
  }

  /* Jobs grid */
  .jobs-grid { grid-template-columns: 1fr; gap: 14px; }
  .job-title { font-size: 16px; }
  .job-salary { font-size: 20px; }
  .job-detail-stats { grid-template-columns: repeat(2, 1fr); }

  /* Modal */
  .modal { padding: 28px 20px; }
  .modal-lg { max-width: calc(100vw - 32px); margin: 16px; }
  
  /* Job detail modal full screen on mobile */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-lg {
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding-bottom: 24px;
  }

  /* Apply section */
  .apply-wrapper { grid-template-columns: 1fr; gap: 36px; }
  .apply-form-wrap { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-content { flex-direction: column; text-align: center; gap: 10px; }
  .footer-copy { font-size: 12px; }

  /* Touch targets - make buttons bigger */
  .btn { min-height: 44px; }
  .nav-link { padding: 12px 14px; }
  .mobile-nav .nav-link { min-height: 48px; display: flex; align-items: center; font-size: 15px; }

  /* Filter select touch */
  .filter-select, .search-input { font-size: 16px; padding: 10px 14px; min-height: 44px; }
}

/* ---- 会员导航样式 ---- */
.nav-member {
  color: #10b981 !important;
  font-weight: 600 !important;
  border: 1.5px solid #10b981;
  border-radius: 8px;
  padding: 6px 14px !important;
  margin-left: 8px;
}

.nav-member:hover {
  background: #d1fae5 !important;
  color: #059669 !important;
}

.nav-member-center {
  color: #059669 !important;
  font-weight: 700 !important;
  background: #d1fae5 !important;
  border-radius: 8px;
  padding: 6px 14px !important;
  margin-left: 8px;
}

.nav-member-center:hover {
  background: #a7f3d0 !important;
}

/* ---- 已注册用户表单提示 ---- */
.registered-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  animation: slideIn 0.3s ease;
}

.registered-tip.registered {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.registered-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.form-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.form-hint:has(+ input:focus),
input:focus ~ .form-hint {
  color: var(--primary);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }

  /* Hero compact */
  .hero { padding: 40px 0 0; }
  .hero-content { padding-bottom: 48px; }
  .hero-badge { font-size: 11px; padding: 4px 12px; margin-bottom: 14px; }
  .hero-title { font-size: clamp(24px, 7vw, 32px); letter-spacing: -0.5px; }
  .hero-desc { font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
  .hero-stats { gap: 8px; margin-bottom: 20px; }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 11px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-wave svg { height: 40px; }

  /* Job cards compact */
  .job-card-header { padding: 16px; }
  .job-title { font-size: 15px; }
  .job-company { font-size: 12px; }
  .job-card-body { padding: 14px 16px; }
  .job-salary { font-size: 18px; margin-bottom: 10px; }
  .job-tags { gap: 6px; margin-bottom: 10px; }
  .job-tag { font-size: 11px; padding: 3px 8px; }
  .job-meta { gap: 10px; font-size: 12px; }
  .job-card-footer { padding: 10px 16px; }
  .job-stats-bar { font-size: 12px; padding: 8px 10px; }

  /* Filter compact */
  .filter-bar { padding: 12px; }
  .filter-row { gap: 8px; }
  .filter-tag { padding: 6px 12px; font-size: 12px; }
  .salary-btn { padding: 8px 12px; font-size: 12px; }
  .search-input-new { font-size: 13px; padding: 8px 10px; }
  
  /* Modal full screen */
  .modal { border-radius: 16px 16px 0 0; padding: 24px 16px 20px; }
  /* Job detail modal close button - larger on mobile */
  .job-modal-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
  .job-modal-close svg {
    width: 22px;
    height: 22px;
  }
  .modal-close { top: 12px; right: 12px; }
  .job-detail-title { font-size: 20px; }
  .job-detail-salary { font-size: 24px; }
  .job-detail-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px; }
  .job-stat-card-num { font-size: 22px; }

  /* Button touch size */
  .btn { min-height: 44px; padding: 11px 20px; font-size: 14px; }
  .btn-lg { min-height: 50px; padding: 12px 22px; font-size: 15px; }
  .btn-sm { min-height: 36px; padding: 6px 12px; }
}

/* ---- Loading Skeleton ---- */
.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- 分享功能样式 ---- */
.job-share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-share-bar .btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-share-bar .btn svg {
  flex-shrink: 0;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* 分享弹窗样式优化 */
#shareModal .modal {
  animation: modalIn 0.3s ease;
}

#shareModal textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
}

/* 移动端分享按钮适配 */
@media (max-width: 640px) {
  .job-share-bar {
    justify-content: center;
  }
  .job-share-bar .btn {
    flex: 1;
    min-width: 100px;
    justify-content: center;
  }
}

/* =============================================
   报名 Toast 提示
   ============================================= */
.apply-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 18px 22px;
  min-width: 300px;
  max-width: 90vw;
  z-index: 99999;
  opacity: 0;
  transition: opacity .35s, transform .35s;
  border-left: 5px solid #22c55e;
}
.apply-toast.apply-toast-error {
  border-left-color: #ef4444;
}
.apply-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.apply-toast-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.apply-toast-title {
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 4px;
}
.apply-toast-msg {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}
.apply-toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 20px;
  line-height: 1;
  padding: 0 0 0 10px;
  flex-shrink: 0;
  margin-left: auto;
}
.apply-toast-close:hover { color: #475569; }

/* ============================================
   骨架屏加载占位
   ============================================ */
.job-skeleton-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.sk-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 12px; }
.sk-body { margin-bottom: 12px; }
.sk-footer { display: flex; justify-content: space-between; align-items: center; }
.sk-line {
  background: #e2e8f0;
  border-radius: 4px;
  height: 12px;
  margin-bottom: 8px;
}
.sk-title { width: 60%; height: 16px; margin-bottom: 10px; }
.sk-badge { width: 50px; height: 20px; border-radius: 10px; flex-shrink: 0; margin-bottom: 0; }
.sk-salary { width: 40%; height: 18px; margin-bottom: 10px; }
.sk-tags { display: flex; gap: 8px; margin-bottom: 8px; }
.sk-tag { width: 50px; height: 20px; border-radius: 10px; margin-bottom: 0; }
.sk-meta { width: 70%; }
.sk-date { width: 30%; height: 11px; }
.sk-status { width: 45px; height: 18px; border-radius: 10px; }
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============================================
   分页器样式
   ============================================ */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pagination-info {
  font-size: 14px;
  color: var(--text-muted);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-pale);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 40px;
  color: var(--text-muted);
  font-size: 14px;
}

/* 移动端适配 */
@media (max-width: 640px) {
  .pagination-wrapper {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .pagination-controls {
    justify-content: center;
  }

  .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 6px;
  }

  .pagination-info {
    font-size: 12px;
  }
}
