/* ============ Hero 区域 ============ */
.job-hero {
    position: relative;
    background: linear-gradient(135deg, #00255e 0%, #00317d 55%, #1a4fa3 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding-bottom: 80px;
}

.job-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('banner.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
}

.job-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 48px;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.hero-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #6ea8fe;
    border-radius: 50%;
}

.job-hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.job-hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ 统计数字 ============ */
.stats-grid {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 28px 16px;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}
.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    gap: 24px;
}
/* ============ 筛选区域 ============ */
.filter-section {
    background: #fff;
    /* border: 1px solid var(--border);
     border-radius: var(--radius-lg);*/
    padding: 20px;
    /*margin-bottom: 20px;*/
}

.filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    min-width: 40px;
    padding-top: 4px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.filter-tag {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.filter-tag:hover {
    color: var(--primary);
    background: var(--primary-lighter);
}

.filter-tag.active {
    background: var(--primary);
    color: #fff;
}
.filter-tag.active a {
    color: #fff;
}

.filter-tag .count {
    color: var(--text-muted);
    margin-left: 4px;
}

.filter-tag.active .count {
    color: rgba(255,255,255,0.8);
}

/* ============ 用户卡片 ============ */
.user-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    height: auto;
    background: unset;
    padding: 0;
}
.user-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    float: left;
}
.user-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.user-links {
    font-size: 13px;
    color: var(--text-muted);
}

.user-links a {
    color: var(--primary);
    text-decoration: none;
}

.user-links a:hover {
    text-decoration: underline;
}

.user-links .divider {
    margin: 0 6px;
    color: var(--border);
}

.user-logout {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.user-logout:hover {
    color: var(--text-secondary);
}

/* ============ 排行榜 ============ */
.ranking-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.ranking-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.ranking-num {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--primary-lighter);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.ranking-num.top {
    background: var(--primary);
    color: #fff;
}

/* ============ 职位列表 ============ */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}
.job-list .job-list-title{
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.job-list .job-list-title .job-list-title-more{
    font-size: 13px;
    color: var(--text-muted);
    font-weight: normal;
}
.job-card {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border);
}

.job-card:last-child {
    border-bottom: none;
}

.job-card:hover {
    background: var(--primary-lighter);
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.job-location svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.job-salary {
    font-size: 15px;
    font-weight: 600;
    color: #d92d20;
    white-space: nowrap;
    margin-right: 24px;
}

.job-date {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

/* ============ 详情布局 ============ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============ 职位标题卡 ============ */
.job-header-card {
    background: linear-gradient(135deg, #00255e 0%, #00317d 55%, #1a4fa3 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 34px 38px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.job-header-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.job-header-card > * {
    position: relative;
    z-index: 1;
}

.job-header-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.job-header-tag {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.job-header-tag.tag-hot {
    background: rgba(217, 45, 32, 0.85);
    border-color: rgba(217, 45, 32, 0.9);
}

.job-header-tag.tag-new {
    background: rgba(29, 78, 216, 0.8);
    border-color: rgba(29, 78, 216, 0.9);
}

.job-header-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.job-header-meta {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.job-header-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

.job-header-meta-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    flex-shrink: 0;
}

.job-header-salary {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 34px;
    font-weight: 700;
    color: #ffd66b;
    margin-bottom: 16px;
}

.job-header-salary small {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.job-header-welfare {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.welfare-tag {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============ 内容区块 ============ */
.content-section {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 26px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--primary);
    border-radius: 2px;
}

.section-body {
    padding: 22px 26px;
}

.job-desc p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 14px;
}

.job-desc p:last-child {
    margin-bottom: 0;
}

.job-desc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.job-desc ul li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.job-desc ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

/* ============ 任职要求 ============ */
.requirement-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.req-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.req-num {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.req-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ 加分项 ============ */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--primary-lighter);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.bonus-item::before {
    content: '✨';
    font-size: 14px;
    flex-shrink: 0;
}

/* ============ 侧栏 ============ */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 88px;
}

.apply-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 26px 24px;
    text-align: center;
}

.apply-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.job-apply-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.job-apply-btn:hover {
    background: var(--primary-dark);
    border: none;
}

.apply-extra {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.apply-extra-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.apply-extra-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ============ 公司信息卡 ============ */
.company-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 22px;
}

.company-header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border);
}

.company-logo {
    width: 54px;
    height: 54px;
    border-radius: var(--radius);
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.company-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.company-industry {
    font-size: 12px;
    color: var(--text-muted);
}

.company-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.company-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.company-info-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.company-profile-link {
    margin-top: 16px;
    padding-top: 16px;
    text-align: center;
}

.company-profile-link a {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.company-profile-link a:hover {
    text-decoration: underline;
}

/* ============ 职位信息卡 ============ */
.job-mini-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 20px 22px;
}

.job-mini-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.job-mini-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.job-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.job-mini-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.job-mini-label {
    color: var(--text-muted);
}

.job-mini-value {
    color: var(--text);
    font-weight: 500;
}

.job-mini-divider {
    height: 1px;
    background: var(--bg);
}

/* ============ 相关职位 ============ */
.related-section {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.related-title {
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.related-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.related-list {
    list-style: none;
}

.related-item {
    border-bottom: 1px solid var(--bg);
}

.related-item:last-child {
    border-bottom: none;
}

.related-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    text-decoration: none;
    transition: background 0.2s ease;
    gap: 12px;
}

.related-item a:hover {
    background: var(--primary-lighter);
}

.related-job-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 4px;
}

.related-job-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.related-salary {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}
/* ============ 主内容区 ============ */
.resume-main-content {
    display: block;
}

/* ============ 简历区域 ============ */
.content-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.resume-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 简历头部（标题 + 操作） */
.resume-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.resume-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

.resume-actions {
    display: flex;
    gap: 10px;
}

.resume-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    background: #fff;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.resume-action-btn:hover {
    color: var(--primary);
    border-color: var(--primary-light);
    background: var(--primary-lighter);
}

.resume-action-btn svg {
    width: 14px;
    height: 14px;
}

/* 信息表（基本资料） */
.info-table {
    display: grid;
    grid-template-columns: 90px 1fr 90px 1fr 120px;
}

.info-cell {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.info-cell.label {
    color: var(--text-muted);
    background: var(--bg);
    justify-content: center;
}

.info-cell.value {
    color: var(--text);
}

.info-cell.avatar {
    grid-row: span 10;
    border-right: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 16px 8px;
    gap: 8px;
}

.avatar-box {
    width: 90px;
    height: 110px;
    border: 1px dashed var(--border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--bg);
}

.avatar-box svg {
    width: 40px;
    height: 40px;
    color: var(--border);
    margin-bottom: 6px;
}

.avatar-box span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Section 通用（自我鉴定、联系方式） */
.resume-block {
    padding: 20px 24px 24px;
}

.block-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.block-title svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* 自我鉴定 */
.self-intro {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
    padding: 8px 0 4px;
}

/* 联系方式 */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.contact-item .label {
    width: 80px;
    color: var(--text-muted);
    text-align: right;
    flex-shrink: 0;
}

.contact-item .value {
    color: var(--text);
    font-weight: 500;
}

.contact-item .value.mono {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
}