/**
 * 具象人事通 - 前台样式 (极致透明版)
 * 完全无背景限制，高端玻璃效果
 * 不限制任何文字颜色、大小、字体
 * 链接完全继承主题样式
 * 
 * @package NexJobListing
 */

/* ============================================================
   全局 - 完全无背景，无文字限制
   ============================================================ */
.nex-job-listing-wrapper,
.nex-job-detail-wrapper {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.nex-job-listing-wrapper *,
.nex-job-detail-wrapper * {
    box-sizing: border-box;
}

/* ============================================================
   布局
   ============================================================ */
.nex-job-listing-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* ============================================================
   左侧边栏 - 极致透明玻璃
   ============================================================ */
.nex-job-sidebar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border-radius: 20px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 24px;
}

/* 搜索框 */
.nex-job-search {
    margin-bottom: 24px;
}

.nex-job-search .nex-search-form {
    display: flex;
    gap: 8px;
}

.nex-job-search .nex-search-form input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    outline: none;
    min-width: 0;
}

.nex-job-search .nex-search-form input[type="text"]:focus {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
    background: rgba(255, 255, 255, 0.15);
}

.nex-job-search .nex-search-form button {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nex-job-search .nex-search-form button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* 筛选模块 */
.nex-job-filters {
    margin-top: 4px;
}

.nex-job-filters h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.4;
    margin: 20px 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nex-job-filters h4:first-of-type {
    margin-top: 0;
}

.nex-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nex-filter-list li {
    margin: 2px 0;
}

.nex-filter-list li a {
    display: block;
    padding: 6px 12px;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
}

.nex-filter-list li a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nex-filter-list li a.active {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

/* 统计信息 */
.nex-stats {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.nex-stats p {
    font-size: 12px;
    opacity: 0.4;
    margin: 0;
}

/* ============================================================
   右侧 - 职位列表
   ============================================================ */
.nex-job-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 单个职位卡片 - 极致透明玻璃 */
.nex-job-item {
    background: rgba(255, 255, 255, 0.15);  /* 从 0.06 改为 0.15 */
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);  /* 从 0.04 改为 0.12 */
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.04),  /* 从 0.02 改为 0.04 */
        inset 0 1px 0 rgba(255, 255, 255, 0.08);  /* 从 0.04 改为 0.08 */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nex-job-item:hover {
    background: rgba(255, 255, 255, 0.20);  /* 从 0.10 改为 0.20 */
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),  /* 从 0.04 改为 0.08 */
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);  /* 从 0.08 改为 0.16 */
}

/* 职位头部 */
.nex-job-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.nex-job-header h3 {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.nex-job-header h3 a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.nex-job-header h3 a:hover {
    opacity: 0.6;
}

/* 紧急标签 - 半透明 */
.nex-urgent-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 12px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 过期标签 - 半透明 */
.nex-expired-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 12px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 职位元信息 */
.nex-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

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

.nex-job-meta .nex-job-type {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

/* 职位摘要 */
.nex-job-excerpt {
    line-height: 1.7;
    margin-bottom: 14px;
    opacity: 0.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 薪资 */
.nex-job-salary {
    font-weight: 700;
    margin-bottom: 14px;
}

/* 操作按钮 - 极致透明 */
.nex-job-actions {
    display: flex;
    gap: 10px;
}

.nex-job-actions .nex-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.nex-job-actions .nex-btn:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

/* ============================================================
   分页 - 极致透明
   ============================================================ */
.nex-pagination {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.nex-pagination .nex-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.nex-pagination .nex-page:hover:not(.disabled):not(.dots) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.nex-pagination .nex-page.active {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-color: rgba(255, 255, 255, 0.06);
}

.nex-pagination .nex-page.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.nex-pagination .nex-page.dots {
    border: none;
    cursor: default;
    background: transparent;
}

/* ============================================================
   空状态 - 极致透明
   ============================================================ */
.nex-no-jobs {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.nex-no-jobs p {
    opacity: 0.5;
    margin: 0;
}

/* ============================================================
   职位详情页 - 极致透明
   ============================================================ */
.nex-job-detail-wrapper {
    max-width: 860px;
    margin: 40px auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.nex-job-detail-wrapper * {
    box-sizing: border-box;
}

.nex-job-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.nex-job-detail-header h1 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* 元信息 - 极致透明 */
.nex-job-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 24px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    padding: 20px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 32px;
}

.nex-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nex-meta-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.3;
}

.nex-meta-value {
    font-weight: 500;
}

/* ============================================================
   职位详情页 - 高端玻璃态加深
   ============================================================ */

/* 内容区块 - 多层级玻璃 */
.nex-job-section {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(60px) saturate(1.6);
    -webkit-backdrop-filter: blur(60px) saturate(1.6);
    border-radius: 24px;
    padding: 28px 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.03),
        0 2px 8px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

/* 元信息区块 - 更通透的玻璃 */
.nex-job-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 24px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(60px) saturate(1.6);
    -webkit-backdrop-filter: blur(60px) saturate(1.6);
    padding: 24px 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    margin-bottom: 32px;
}

/* 应聘表单 - 半透明玻璃 */
.nex-application-section {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(60px) saturate(1.6);
    -webkit-backdrop-filter: blur(60px) saturate(1.6);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* 公司信息区块 */
.nex-company-detail {
    background: rgba(255, 255, 255, 0.04);
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 表单输入框 - 极简透明 */
.nex-application-form .nex-form-group input,
.nex-application-form .nex-form-group textarea,
.nex-application-form .nex-form-group select {
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.nex-application-form .nex-form-group input:focus,
.nex-application-form .nex-form-group textarea:focus,
.nex-application-form .nex-form-group select:focus {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.04);
    outline: none;
    background: rgba(255, 255, 255, 0.60);
}

/* 提交按钮 - 玻璃按钮 */
.nex-application-form .nex-submit-btn {
    padding: 14px 36px;
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.nex-application-form .nex-submit-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

.nex-job-section h2 {
    font-weight: 700;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nex-job-content {
    line-height: 1.8;
}

.nex-job-content h3,
.nex-job-content h4 {
    margin: 20px 0 10px 0;
}

.nex-job-content ul,
.nex-job-content ol {
    padding-left: 24px;
}

.nex-job-content li {
    margin-bottom: 6px;
}

/* 公司信息 - 极致透明 */
.nex-company-detail {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.nex-company-logo {
    flex-shrink: 0;
}

.nex-company-logo img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 4px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.nex-company-content h3 {
    margin: 0 0 8px 0;
}

.nex-company-content p {
    margin: 6px 0;
}

.nex-company-content a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.nex-company-content a:hover {
    opacity: 0.6;
}

/* 应聘表单 - 极致透明 */
.nex-application-section {
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
}

/* 表单样式 - 极致透明 */
.nex-application-form .nex-form-row {
    margin-bottom: 16px;
}

.nex-application-form .nex-form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nex-application-form .nex-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nex-application-form .nex-form-group label {
    font-weight: 600;
}

.nex-application-form .nex-form-group .nex-required {
    opacity: 0.4;
}

.nex-application-form .nex-form-group input,
.nex-application-form .nex-form-group textarea,
.nex-application-form .nex-form-group select {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.nex-application-form .nex-form-group input:focus,
.nex-application-form .nex-form-group textarea:focus,
.nex-application-form .nex-form-group select:focus {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.02);
    outline: none;
    background: rgba(255, 255, 255, 0.06);
}

.nex-application-form .nex-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.nex-application-form .nex-form-group input[type="file"] {
    padding: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    cursor: pointer;
}

.nex-application-form .nex-form-group input[type="file"]:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.nex-application-form .nex-description {
    font-size: 11px;
    opacity: 0.3;
    margin-top: 2px;
}

.nex-application-form .nex-submit-btn {
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nex-application-form .nex-submit-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

/* 表单错误状态 - 极致透明 */
.nex-application-form .nex-form-group.nex-has-error input,
.nex-application-form .nex-form-group.nex-has-error textarea {
    border-color: rgba(255, 255, 255, 0.08);
}

.nex-field-error {
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.6;
}

/* 表单消息 - 极致透明 */
.nex-form-message.nex-success {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.nex-form-message.nex-error {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* 返回链接 - 完全继承主题 */
.nex-back-link {
    margin-top: 8px;
}

.nex-back-link a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.nex-back-link a:hover {
    opacity: 0.6;
}

/* 过期消息 - 极致透明 */
.nex-expired-message {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* ============================================================
   文件预览 - 完全透明，不限制背景
   ============================================================ */

/* 文件预览容器 - 透明，无背景限制 */
.nex-file-preview {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 单个文件预览项 - 透明玻璃效果 */
.nex-file-preview .nex-preview-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    transition: all 0.3s ease;
}

.nex-file-preview .nex-preview-item:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(0, 0, 0, 0.10);
}

/* 预览图片 - 无背景限制 */
.nex-file-preview .nex-preview-item img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 6px;
    display: block;
    background: transparent;
}

/* 预览文件名 */
.nex-file-preview .nex-preview-item span {
    font-size: 11px;
    opacity: 0.6;
    display: block;
    text-align: center;
    margin-top: 2px;
}

/* 加载状态 - 极致透明 */
.nex-loading-state,
.nex-error-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.nex-loading-state p,
.nex-error-state p {
    opacity: 0.4;
    margin: 0;
}

/* ============================================================
   响应式 - 保持极致透明
   ============================================================ */
@media (max-width: 992px) {
    .nex-job-listing-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .nex-job-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .nex-job-listing-wrapper,
    .nex-job-detail-wrapper {
        padding: 0 16px;
        margin: 20px auto;
    }
    
    .nex-job-item {
        padding: 18px 16px;
    }
    
    .nex-job-meta {
        gap: 10px;
    }
    
    .nex-job-search .nex-search-form {
        flex-direction: column;
    }
    
    .nex-job-search .nex-search-form button {
        width: 100%;
        justify-content: center;
    }
    
    .nex-pagination .nex-page {
        min-width: 36px;
        height: 36px;
    }
    
    .nex-job-sidebar {
        padding: 16px;
    }
    
    .nex-job-detail-meta {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
    }
    
    .nex-job-section {
        padding: 18px 16px;
    }
    
    .nex-application-form .nex-form-row.two-col {
        grid-template-columns: 1fr;
    }
    
    .nex-company-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================================
   侧边栏计数徽章 - 高端透明风格
   ============================================================ */

.nex-filter-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
}

.nex-filter-label {
    flex: 1;
}

.nex-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    transition: all 0.3s ease;
}

.nex-filter-list li a:hover .nex-filter-count {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(1.05);
}

.nex-filter-list li a.active .nex-filter-count {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.02);
}

/* 清除搜索按钮 */
.nex-search-form {
    position: relative;
}

.nex-clear-search {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none !important;
    opacity: 0.3;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
}

.nex-clear-search:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.05);
}

/* 搜索信息提示 */
.nex-search-info {
    padding: 10px 16px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.nex-search-info p {
    margin: 0;
    opacity: 0.6;
    font-size: 14px;
}

.nex-job-search .nex-search-form {
    display: flex;
    gap: 8px;
    position: relative;
}

.nex-job-search .nex-search-form input[type="text"] {
    flex: 1;
    padding: 10px 50px 10px 14px;  /* 右侧留出清除按钮空间 */
    min-width: 0;
}

.nex-job-search .nex-search-form button {
    padding: 10px 18px;
    flex-shrink: 0;
}

/* ============================================================
   截止日期样式
   ============================================================ */
.nex-job-deadline {
    font-size: 12px;
    opacity: 0.6;
    margin-left: 4px;
    font-weight: 400;
}

/* 如果截止日期已过期，显示红色提示 */
.nex-job-deadline.expired {
    color: #e74c3c;
    opacity: 0.8;
}

/* 如果即将到期（3天内），显示橙色提示 */
.nex-job-deadline.soon {
    color: #f39c12;
    opacity: 0.8;
}

