/* ==============================
   校园招聘信息发布系统 - 前台样式
   参考风格: offer.playoffer.cn + 会员墙机制
   ============================== */

/* ---------- 变量 ---------- */
:root {
    --color-primary: #31BE88;
    --color-primary-dark: #28a373;
    --color-primary-light: #e8f8f0;
    --color-blue: #4A90E2;
    --color-red: #E74C3C;
    --color-bg: #F5F6F8;
    --color-card: #FFFFFF;
    --color-border: #E8E8E8;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.10);
    --radius-card: 10px;
    --radius-tag: 20px;
    --radius-btn: 6px;
}

/* ---------- 重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

body.pc-mode {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- 顶部导航 ---------- */
.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: 99%;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-area i {
    font-size: 26px;
    color: var(--color-primary);
}

.site-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.header-nav {
    display: flex;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: 14px;
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: var(--radius-btn);
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
    font-weight: 600;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

/* 认证按钮 */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    height: 34px;
    padding: 0 16px;
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-btn);
    background: transparent;
    color: var(--color-primary);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--color-primary-light);
}

.btn-primary-sm {
    height: 34px;
    padding: 0 16px;
    border: none;
    border-radius: var(--radius-btn);
    background: var(--color-primary);
    color: white;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
    font-weight: 600;
}

.btn-primary-sm:hover {
    background: var(--color-primary-dark);
}

.btn-outline-sm {
    height: 30px;
    padding: 0 12px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-btn);
    background: transparent;
    color: var(--color-text-light);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline-sm:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* 用户信息 */
.user-info-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-greet {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--color-text-light);
}

.user-greet i {
    color: var(--color-primary);
}

/* ---------- 搜索框 ---------- */
.header-search {
    display: flex;
    align-items: center;
    background: #F5F6F8;
    border: 1.5px solid var(--color-border);
    border-radius: 24px;
    padding: 0 6px 0 16px;
    width: 300px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(49, 190, 136, 0.1);
}

.header-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-text);
    outline: none;
}

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

.header-search button {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.header-search button:hover {
    background: var(--color-primary-dark);
}

/* ---------- 主体区域 ---------- */
.site-main {
    flex: 1;
    padding: 24px 0 40px;
}

.main-inner {
    max-width: 99%;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 筛选区 ---------- */
.filter-section {
    background: var(--color-card);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
    margin-bottom: 16px;
}

.filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-search {
    display: flex;
    align-items: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 0 12px;
    flex: 1;
    max-width: 320px;
}

.filter-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: var(--color-text);
    padding: 8px 4px;
}

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

.filter-search-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.filter-label {
    font-size: 13px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.filter-select {
    height: 34px;
    padding: 0 12px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-btn);
    font-size: 13px;
    color: var(--color-text);
    background: white;
    cursor: pointer;
    outline: none;
    min-width: 120px;
    transition: border-color 0.2s;
}

.filter-select:focus {
    border-color: var(--color-primary);
}

.search-btn {
    height: 34px;
    padding: 0 14px;
    border: none;
    border-radius: var(--radius-btn);
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    transition: all 0.2s;
}

.search-btn:hover {
    background: var(--color-primary-dark);
}

/* ---------- 统计栏 ---------- */
.stats-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px 14px;
    font-size: 13px;
    color: var(--color-text-light);
}

.stats-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stats-left i { color: var(--color-primary); font-size: 16px; }
.stats-left strong { color: var(--color-primary); font-size: 16px; font-weight: 700; }

.free-tip {
    font-size: 12px;
    color: var(--color-text-muted);
    background: var(--color-primary-light);
    padding: 2px 8px;
    border-radius: 20px;
    color: var(--color-primary);
}

/* ---------- 表格列表 ---------- */
.job-table-section {
    background: var(--color-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.job-table {
    width: 100%;
    overflow-x: auto;
}

/* 表头 - 10列顺序：公司名称、公司类型、工作地点、岗位、更新时间、截止日期、招聘类型、招聘对象、投递、招聘公告 */
.job-table-head {
    display: grid;
    grid-template-columns: 160px 85px 150px 1fr 90px 100px 75px 80px 50px 55px 50px;
    gap: 0;
    background: #f8f9fa;
    border-bottom: 2px solid var(--color-border);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.job-table-head span {
    padding: 12px 8px;
    text-align: center;
}

.job-table-head .col-company { text-align: left; padding-left: 16px; }

.job-table-head .col-favorite { text-align: center; }

/* 表格行 */
.job-table-body {
    display: flex;
    flex-direction: column;
}

/* 11列grid */
.job-row {
    display: grid;
    grid-template-columns: 160px 85px 150px 1fr 90px 100px 75px 80px 50px 55px 50px;
    gap: 0;
    border-bottom: 1px solid #f0f1f3;
    font-size: 13px;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
    align-items: stretch;
}

.job-row:hover {
    background: #fafcfb;
}

.job-row:last-child {
    border-bottom: none;
}

.job-row.is-top {
    background: linear-gradient(90deg, rgba(49,190,136,0.04), transparent);
}

.job-row > span {
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.job-row .col-company {
    text-align: left;
    padding-left: 16px;
    justify-content: flex-start;
    font-weight: 600;
    color: var(--color-text);
    gap: 6px;
    white-space: normal;
    word-break: break-all;
    font-size: 13px;
}

.col-locations {
    justify-content: center;
    font-size: 12px;
    color: var(--color-text-light);
    flex-wrap: wrap;
    word-break: break-all;
}

.col-positions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 3px;
    align-content: flex-start;
    font-size: 11px;
    color: var(--color-text-light);
    word-break: break-all;
    white-space: normal;
    padding: 8px 6px;
    align-items: flex-start;
}

/* 岗位标签 */
.pos-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    background: #EEF2FF;
    color: #4A56E2;
    border-radius: 4px;
    font-size: 11px;
    white-space: normal;
    word-break: break-all;
    line-height: 1.4;
}

.col-deadline {
    font-size: 12px;
    color: var(--color-text-muted);
    word-break: break-all;
}

.col-deadline.deadline-urgent {
    color: var(--color-red);
    font-weight: 600;
}

.col-update {
    font-size: 11px;
    color: var(--color-text-muted);
    word-break: break-all;
}

.col-graduation {
    font-size: 11px;
    color: var(--color-text-muted);
    word-break: break-all;
    justify-content: center;
}

.col-links,
.col-notice {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
}

.col-notice {
    gap: 4px;
    justify-content: center;
}

.col-favorite {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #ccc;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s, transform 0.2s;
    border-radius: 4px;
}

.fav-btn:hover {
    color: #ff6b6b;
    transform: scale(1.15);
}

.fav-btn.active {
    color: #ff4757;
}

.fav-btn.active i {
    fill: #ff4757;
}

.empty-cell {
    color: #ccc;
    font-size: 11px;
}

/* 投递/公告标签 */
.tag-apply {
    background: #2277da;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    font-weight: 500;
}

.tag-apply:hover {
    background: #1a5fb4;
    text-decoration: none;
}

.tag-notice {
    background: #e67e22;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    font-weight: 500;
}

.tag-notice:hover {
    background: #d35400;
    text-decoration: none;
}

/* 置顶标记 */
.top-flag {
    display: inline-flex;
    align-items: center;
    padding: 1px 5px;
    background: var(--color-primary);
    color: white;
    font-size: 10px;
    border-radius: 3px;
    font-weight: 600;
    flex-shrink: 0;
}

/* 标签 */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-tag);
    font-size: 11px;
    color: white;
    font-weight: 500;
    white-space: nowrap;
}

.year-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-tag);
    font-size: 11px;
    color: white;
    font-weight: 500;
    margin: 1px 2px;
}

/* 表格内链接按钮 */
.tbl-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.tbl-link-btn i { font-size: 12px; }

.tbl-link-btn.apply-link {
    background: var(--color-primary);
    color: white;
}

.tbl-link-btn.apply-link:hover {
    background: var(--color-primary-dark);
}

.tbl-link-btn.notice-link {
    background: var(--color-blue);
    color: white;
}

.tbl-link-btn.notice-link:hover {
    background: #3a7bc8;
}

.tbl-link-btn.detail-link {
    background: #f0f0f0;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
}

.tbl-link-btn.detail-link:hover {
    background: #e4e4e4;
    color: var(--color-text);
}

/* 空状态 */
.table-empty-wrap {
    padding: 80px 20px;
    text-align: center;
}

.table-empty-wrap i {
    font-size: 56px;
    color: #d1d5db;
    margin-bottom: 16px;
    display: block;
}

.table-empty-wrap p {
    color: var(--color-text-muted);
    font-size: 15px;
}

.table-empty {
    padding: 80px 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ---------- 会员墙提示条 ---------- */
.paywall-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #e8f8f0, #f0fdf8);
    border-top: 2px solid var(--color-primary);
    margin-top: 0;
}

.paywall-icon {
    font-size: 36px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.paywall-text {
    flex: 1;
}

.paywall-text h3 {
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 4px;
}

.paywall-text p {
    font-size: 13px;
    color: var(--color-text-light);
}

.paywall-actions {
    flex-shrink: 0;
}

/* ---------- 统计栏（表格上方） ---------- */
.stats-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 6px;
}
.stats-main {
    font-size: 14px;
    color: var(--color-text-light);
}
.stats-main i { color: var(--color-primary); font-size: 16px; }
.stats-main strong { color: var(--color-primary); font-size: 16px; font-weight: 700; }
.stats-sub {
    font-size: 13px;
    color: var(--color-text-lighter);
    display: flex;
    align-items: center;
    gap: 6px;
}
.stats-sub strong { color: var(--color-primary); font-weight: 600; }
.stats-divider { color: var(--color-border); }
.stats-update-tip { color: var(--color-text-lighter); font-size: 12px; }

/* ---------- 分页 ---------- */
.pagination-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0 0;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-info-label {
    font-size: 13px;
    color: var(--color-text-light);
    margin-right: 8px;
}

.page-btn {
    height: 36px;
    padding: 0 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-btn);
    background: white;
    color: var(--color-text);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-num {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-btn);
    background: white;
    color: var(--color-text);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.page-num:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.page-num.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    font-weight: 600;
}

.page-size-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.page-size-select {
    height: 34px;
    padding: 0 10px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-btn);
    font-size: 13px;
    cursor: pointer;
    outline: none;
    background: white;
}

/* ---------- 弹窗通用 ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 14px;
    width: 100%;
    max-width: 640px;
    max-height: 82vh;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    animation: modalIn 0.25s ease;
}

.auth-modal {
    max-width: 420px;
}

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

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-border);
    background: #fafbfc;
}

.modal-head h3 {
    font-size: 17px;
    color: var(--color-text);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-head h3 i {
    color: var(--color-primary);
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-text-light);
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #e0e0e0;
    color: var(--color-text);
}

.modal-body-content {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(82vh - 70px);
}

/* ---------- 表单样式 ---------- */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-btn);
    font-size: 14px;
    color: var(--color-text);
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(49, 190, 136, 0.1);
}

.form-group input::placeholder {
    color: var(--color-text-muted);
}

.form-error {
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-btn);
    color: var(--color-red);
    font-size: 13px;
    margin-bottom: 12px;
}

.btn-primary-full {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: var(--radius-btn);
    background: var(--color-primary);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
    margin-top: 4px;
}

.btn-primary-full:hover {
    background: var(--color-primary-dark);
}

.btn-primary-full:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading i {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-footer-link {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--color-text-light);
}

.form-footer-link a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.form-footer-link a:hover {
    text-decoration: underline;
}

/* ---------- 激活弹窗 ---------- */
.activate-tip-box {
    text-align: center;
    padding: 20px 0 8px;
}

.activate-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 32px;
    color: var(--color-primary);
}

.activate-tip-box p {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 600;
}

.activate-sub {
    font-size: 13px !important;
    color: var(--color-text-muted) !important;
    font-weight: 400 !important;
    margin-top: 4px;
}

/* ---------- 详情弹窗 ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item.full {
    grid-column: span 2;
}

.detail-item label {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span,
.detail-item a {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
}

.detail-link {
    color: var(--color-blue);
    text-decoration: none;
    word-break: break-all;
}

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

.detail-btns {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.job-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.job-card-btn i { font-size: 14px; }

.job-card-btn.apply-btn {
    background: var(--color-primary);
    color: white;
}

.job-card-btn.notice-btn {
    background: var(--color-blue);
    color: white;
}

/* ---------- 页脚 ---------- */
.site-footer {
    background: white;
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    margin-top: auto;
}

.footer-inner {
    max-width: 99%;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .job-table-head,
    .job-row {
        grid-template-columns: 140px 80px 140px 1fr 85px 95px 70px 75px 50px 50px 45px;
    }
}

@media (max-width: 960px) {
    .job-table-head,
    .job-row {
        grid-template-columns: 130px 75px 130px 1fr 80px 90px 65px 70px 48px 48px 42px;
        font-size: 12px;
    }
    .job-row > span { padding: 10px 6px; }
    .job-table-head span { padding: 10px 6px; }
    .tbl-link-btn { padding: 3px 5px; font-size: 10px; }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
        gap: 12px;
    }
    .header-nav { display: none; }
    .main-inner { padding: 0 12px; }

    /* 移动端横向滚动表格 */
    .job-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .job-table-head,
    .job-table-body {
        min-width: 1000px;
    }

    .filter-row { gap: 8px; }
    .filter-select { min-width: 100px; font-size: 12px; }
}

@media (max-width: 480px) {
    .header-search { width: 140px; }
    .site-title { font-size: 14px; }
    .auth-buttons .btn-outline span,
    .btn-primary-sm span { display: none; }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-item { width: 100%; }
    .filter-select { width: 100%; }
    .search-btn { width: 100%; justify-content: center; margin-left: 0; }
}


/* ---------- 璇曠湅鍊掕鏃?---------- */
.trial-timer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #e67e22;
    background: #fef5e7;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    animation: trialPulse 1s ease-in-out infinite;
}

.trial-timer i {
    font-size: 14px;
}

.trial-timer strong {
    color: #e74c3c;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

@keyframes trialPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ---------- 璇曠湅鎷︽埅寮圭獥 ---------- */
.trial-wall-overlay {
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.trial-wall-box {
    max-width: 400px;
    text-align: center;
    padding: 40px 32px 32px;
    animation: trialWallIn 0.4s ease;
}

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

.trial-wall-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fef5e7, #fde8d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #e67e22;
}

.trial-wall-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.trial-wall-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.trial-wall-btns {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.trial-wall-btns .btn-primary-full {
    font-size: 15px;
    height: 46px;
    border-radius: 8px;
}

.trial-btn-login {
    background: linear-gradient(135deg, #31BE88, #28a373) !important;
}

.trial-btn-login:hover {
    background: linear-gradient(135deg, #28a373, #1f8f63) !important;
}

.trial-btn-register:hover {
    background: #3a7bc8 !important;
}

.trial-wall-hint {
    margin-top: 16px;
    font-size: 12px;
    color: #999;
}

/* ---------- 试看过期 - 表格内提示 ---------- */
.trial-expired-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.trial-expired-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 40px;
    color: #999;
}

.trial-expired-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.trial-expired-desc {
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
    line-height: 1.6;
}

.trial-expired-btns {
    display: flex;
    gap: 12px;
}

.trial-expired-btns .btn-primary-full {
    min-width: 140px;
    font-size: 14px;
    height: 42px;
    border-radius: 8px;
}

.trial-expired-btns .trial-btn-register {
    background: #4A90E2 !important;
    border-color: #4A90E2 !important;
}

.trial-expired-btns .trial-btn-register:hover {
    background: #3a7bc8 !important;
}

