/* ==========================================================================
   招聘模板I - 传统静态新锐招聘平台核心样式
   Style: Contemporary Editorial Craft / Kanso Minimalist Architecture
   ========================================================================== */

:root {
  --bg-canvas: #F7F5F0;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #EFECE5;
  --bg-surface-hover: #FAF9F6;
  --border-light: #E5E0D5;
  --border-medium: #D1CBC0;
  --border-dark: #1C1B19;

  --text-main: #1A1918;
  --text-secondary: #5C5852;
  --text-muted: #8F8A81;
  --text-inverse: #FFFFFF;

  --accent: #E05634;
  --accent-hover: #C84727;
  --accent-soft: #FDF1ED;
  --accent-forest: #1E3B33;
  --accent-forest-soft: #E8F0ED;
  --badge-blue: #234E70;
  --badge-blue-soft: #EAF1F7;

  --shadow-sm: 0 1px 2px rgba(26, 25, 24, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 25, 24, 0.06);
  --shadow-lg: 0 12px 32px rgba(26, 25, 24, 0.08);
  --shadow-hard: 3px 3px 0px #1A1918;
  --shadow-hard-sm: 2px 2px 0px #1A1918;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶通标语条 */
.top-ticker {
  background: var(--text-main);
  color: #E5E0D5;
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.top-ticker .highlight {
  color: #FFA48A;
  font-weight: 600;
  margin-right: 6px;
}

/* 头部 Header */
.site-header {
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  background: var(--text-main);
  color: #FAF8F5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 19px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard-sm);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-main);
  line-height: 1.1;
}

.logo-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--text-muted);
  font-weight: 600;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 4px;
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text-main);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 基础按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--text-main);
  color: #FFFFFF;
  border: 1px solid var(--text-main);
  box-shadow: var(--shadow-hard-sm);
}

.btn-dark:hover {
  background: #2D2B29;
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-hard);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--border-dark);
  background: var(--bg-surface);
}

.btn-subtle {
  background: var(--bg-surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-subtle:hover {
  background: #E5E1D8;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* 标签样式 Tags & Badges */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  font-weight: 500;
}

.tag-accent {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #F8D9CF;
  font-weight: 600;
}

.tag-forest {
  background: var(--accent-forest-soft);
  color: var(--accent-forest);
  border-color: #CFDFDA;
  font-weight: 600;
}

.tag-blue {
  background: var(--badge-blue-soft);
  color: var(--badge-blue);
  border-color: #D3E0EA;
  font-weight: 600;
}

.tag-urgent {
  background: #FFEBEA;
  color: #D32F2F;
  border: 1px solid #FFCDD2;
  font-weight: 700;
}

/* 薪资高亮文字 */
.salary-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  color: var(--accent);
  font-size: 18px;
  letter-spacing: -0.2px;
}

/* ==========================================================================
   首页专用样式 (Home Page)
   ========================================================================== */
.hero-section {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--border-light);
  background: radial-gradient(circle at 80% 20%, rgba(224, 86, 52, 0.05) 0%, transparent 60%);
}

.hero-content {
  max-width: 840px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-medium);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 680px;
  line-height: 1.6;
}

/* 搜索条组件 */
.search-box {
  background: var(--bg-surface);
  border: 2px solid var(--text-main);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  box-shadow: var(--shadow-hard);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 6px 12px;
}

.search-field svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-field input {
  width: 100%;
  background: transparent;
  font-size: 16px;
  color: var(--text-main);
}

.search-field input::placeholder {
  color: var(--text-muted);
}

.search-divider {
  width: 1px;
  height: 28px;
  background: var(--border-medium);
}

.search-city-select {
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 12px;
  cursor: pointer;
}

/* 热门搜索词 */
.hot-searches {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.hot-link {
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  font-weight: 500;
}

.hot-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--bg-surface);
}

/* 首页四~五个核心分类 */
.categories-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover {
  text-decoration: underline;
}

/* 核心分类卡片网格 (5个精选分类) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* min-height: 180px; */
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-main);
  box-shadow: var(--shadow-hard);
}

.cat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.cat-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.cat-sub {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.cat-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 首页职位推荐卡片网格 */
.jobs-featured-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* 单个职位卡片 */
.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.job-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.job-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.job-card-title a:hover {
  color: var(--accent);
}

.job-company-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.job-company-name {
  font-weight: 600;
  color: var(--text-main);
}

.job-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-light);
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.category-card .cat-count,.category-card .cat-sub{
  display: none;
}
.empty-state {
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 42px 20px;
  text-align: center;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.company-logo-lite,
.contact-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  color: var(--accent);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.publish-note,
.pricing-note {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.pricing-page {
  padding: 56px 0 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 330px;
}

.pricing-card.featured {
  border-color: var(--text-main);
  box-shadow: var(--shadow-hard);
}

.pricing-plan {
  font-size: 18px;
  font-weight: 800;
}

.pricing-price {
  font-size: 34px;
  font-weight: 900;
  color: var(--accent);
}

.pricing-price span {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-card p {
  color: var(--text-secondary);
}

.pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-secondary);
  flex: 1;
}

.pricing-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  margin-right: 8px;
}

.page-ellipsis {
  color: var(--text-muted);
  padding: 0 6px;
}

.recruiter-brief {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recruiter-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  border: 1px solid var(--border-medium);
}

.recruiter-meta {
  display: flex;
  flex-direction: column;
}

.recruiter-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.recruiter-status {
  font-size: 11px;
  color: #2B7A5D;
}

/* 首页优势亮点条 */
.ethos-section {
  padding: 60px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.ethos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ethos-item {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
}

.ethos-num {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.ethos-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ethos-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   职位列表页专用样式 (Jobs List Page)
   ========================================================================== */
.jobs-page-header {
  padding: 40px 0 28px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.filter-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  width: 70px;
  flex-shrink: 0;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: transparent;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-main);
  background: var(--bg-surface-alt);
}

.filter-btn.active {
  background: var(--text-main);
  color: #FFFFFF;
}

.jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.jobs-count-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.jobs-count-text strong {
  color: var(--accent);
  font-size: 16px;
}

/* 分页控件 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 48px 0 24px;
}

.page-item {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  background: var(--bg-surface);
  cursor: pointer;
  transition: var(--transition);
}

.page-item:hover,
.page-item.active {
  background: var(--text-main);
  color: #FFFFFF;
  border-color: var(--text-main);
}

/* ==========================================================================
   职位详情页专用样式 (Detail Page)
   ========================================================================== */
.detail-hero {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}

.detail-head-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.detail-main-info {
  flex: 1;
}

.detail-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.2;
}

.detail-salary-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.detail-salary-row .salary-text {
  font-size: 28px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-meta-list {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 40px 0 60px;
}

.detail-content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
}

.card-heading {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text-main);
  display: inline-block;
}

.detail-article {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
  white-space: pre-line;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.benefit-pill {
  background: var(--bg-surface-alt);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  border-left: 3px solid var(--accent);
}

/* 详情页侧边栏 */
.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.company-sidebar-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.company-sidebar-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.recruiter-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-canvas);
  border-radius: var(--radius-sm);
}

.recruiter-panel img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   发布信息页专用样式 (Publish Page)
   ========================================================================== */
.publish-container {
  max-width: 860px;
  margin: 40px auto 60px;
}

.form-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title span {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--text-main);
  color: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.form-row {
  margin-bottom: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--accent);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  color: var(--text-main);
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  background: #FFFFFF;
  border-color: var(--text-main);
  box-shadow: 0 0 0 2px rgba(26, 25, 24, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.tags-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-alt);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  user-select: none;
}

.custom-checkbox-label input {
  accent-color: var(--accent);
}

/* ==========================================================================
   会员中心页面专用样式 (Member Center Page)
   ========================================================================== */
.member-header-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.member-avatar-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  border: 2px solid var(--border-dark);
  box-shadow: var(--shadow-hard-sm);
}

.member-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.member-title {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.member-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-left: 28px;
  border-left: 1px solid var(--border-light);
}

.stat-box {
  text-align: center;
}

.stat-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  display: block;
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.member-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-medium);
  margin-bottom: 24px;
}

.member-tab-btn {
  background: transparent;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.member-tab-btn:hover {
  color: var(--text-main);
}

.member-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.member-tab-pane {
  display: none;
}

.member-tab-pane.active {
  display: block;
}

/* 列表表格风格卡片 */
.record-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition);
}

.record-item:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.record-main h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.record-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* 页脚 Footer */
.site-footer {
  background: #191817;
  color: #9C978F;
  padding: 60px 0 24px;
  margin-top: auto;
  border-top: 1px solid #2B2A28;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2A2826;
}

.footer-brand .logo-symbol {
  background: #FAF8F5;
  color: #191817;
  box-shadow: none;
}

.footer-brand .logo-title {
  color: #FFFFFF;
}

.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #9C978F;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* 弹窗 Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 25, 24, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: var(--bg-canvas);
}

/* 吐司通知 Toast */
.toast-notice {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--text-main);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: none;
  animation: slideToast 0.3s ease;
  border-left: 4px solid var(--accent);
}

@keyframes slideToast {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 响应式调整 */
@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .ethos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-title {
    font-size: 32px;
  }
  .search-box {
    flex-direction: column;
    align-items: stretch;
  }
  .search-divider {
    display: none;
  }
  .member-header-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .member-stats {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    width: 100%;
    justify-content: space-around;
  }
}

/* Member entry uses the existing button style and wraps within the header. */
.toast-notice.show{display:block}
.member-auth-actions{display:flex;align-items:center;gap:8px;min-width:0}
.member-auth-status{font-size:12px;color:var(--text-secondary)}
#btnHeaderUser{max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.publish-auth-message{padding:14px 16px;margin-bottom:20px;border:1px solid var(--border-light);border-radius:var(--radius-sm);color:var(--text-secondary)}
#jobPublishFields{border:0;padding:0;margin:0;min-width:0}
#jobPublishFields[hidden],.publish-auth-message[hidden]{display:none}
@media(max-width:1100px){.header-inner{height:auto;min-height:72px;gap:12px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.logo-text{min-width:0}.logo-title{font-size:18px}.header-actions{flex-wrap:wrap;margin-left:auto;gap:8px}.site-nav{gap:16px}}
@media(max-width:768px){.brand-logo{min-width:0;max-width:100%}.logo-title{max-width:calc(100vw - 110px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-actions{width:100%;justify-content:flex-end}#btnHeaderUser{max-width:150px}}
