/* 只添加选中样式 */
.tongdao a.active {
    color:#1093dd;
    font-weight:bold;
    font-size:0.8854166666666667rem;
}
/* 隐藏不需要显示的uwrts */
.uwrts.hidden {
    display: none;
}

/* 职位信息分页样式 */
.pagination {
    margin-top: 20px;
    text-align: center;
    padding: 15px 0;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #337ab7;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #337ab7;
    color: #fff;
    border-color: #337ab7;
}

.pagination .current {
    background-color: #0f93dd;
    color: #fff;
    border-color: #0f93dd;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

.pagination .disabled:hover {
    background-color: #fff;
    color: #ccc;
    border-color: #ddd;
}
.tag {
    display: inline-block;
    width: 30px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    color: white;
    border-radius: 4px;
    margin-right: 8px;
}


.flax {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.left-group {
    display: flex;
    align-items: center;
    flex: 1; /* 占据剩余空间 */
    min-width: 0; /* 关键：允许内容被压缩 */
    gap: 8px;
}

.left-group .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.center-group {
    flex-shrink: 0;
    width: 120px; /* 根据实际内容调整 */
    text-align: center;
}

.right-group {
    flex-shrink: 0;
    width: 100px; /* 根据实际内容调整 */
    text-align: right;
}

.center-group h3,
.right-group h5 {
    margin: 0;
    white-space: nowrap;
}
/* 修复flex布局溢出问题 */
.flax {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;  /* 元素之间的间距 */
    min-width: 0;  /* 关键：允许子项收缩 */
}

/* 左侧：标签 + 标题 */
.flax .tag {
    flex-shrink: 0;  /* 防止标签被压缩 */
}

.flax h3:first-of-type {  /* 宣讲会名称 */
    flex: 0 1 auto;  /* 可以收缩，但不会增长 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;  /* 关键：允许文本溢出省略生效 */
    margin: 0;
    max-width: 300px;  /* 根据需求调整最大宽度 */
}

/* 中间：宣讲会类型 */
.flax h3.center {
    flex-shrink: 0;  /* 防止被压缩 */
    width: 100px;    /* 固定宽度，保证总是显示 */
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

/* 右侧：日期 */
.flax h5.right {
    flex-shrink: 0;  /* 防止被压缩 */
    width: 100px;    /* 固定宽度 */
    text-align: right;
    margin: 0 0 0 auto;  /* 靠右对齐 */
    white-space: nowrap;
}
/* ========== 搜索区域样式 ========== */
.search-header {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.search-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    padding-left: 12px;
    position: relative;
}

.search-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #4361ee;
    border-radius: 2px;
}

.total-count {
    color: #6b7280;
    font-size: 14px;
}

.total-count span {
    color: #4361ee;
    font-weight: 600;
    font-size: 18px;
    margin: 0 4px;
}

/* 搜索框区域 */
.search-boxs {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.search-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 200px;
}

.search-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.search-input,
.search-select {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background: white;
    width: 100%;
}

.search-input:hover,
.search-select:hover {
    border-color: #9ca3af;
}

.search-input:focus,
.search-select:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.search-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.btn {
    height: 40px;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-primary {
    background: #4361ee;
    color: white;
}

.btn-primary:hover {
    background: #3651d4;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-default {
    background: white;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.btn-default:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* ========== 表格样式 ========== */
.table-container {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 20px;
}

.career-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.career-table thead tr {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.career-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    white-space: nowrap;
}

.career-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.career-table tbody tr {
    transition: background 0.2s;
}

.career-table tbody tr:hover {
    background: #eef2ff;
}

.career-table tbody tr:last-child td {
    border-bottom: none;
}

/* 标签样式优化 */
.tag {
    display: inline-block;
    width: 50px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 12px;
    color: white;
    border-radius: 20px;
    margin-right: 0;
    font-weight: 500;
}

.tag.online {
    background-color: #56e158; /* 绿色 */
}


.tag.air {
    background-color: #0f93dd; /* 蓝色 */
}

 .tag.offline {
    background-color: #f9c74f; /* 黄色 */
}

/* 链接样式 */
.career-table a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.career-table a:hover {
    color: #4361ee;
    text-decoration: underline;
}

/* 日期样式 */
.career-table td:last-child {
    color: #6b7280;
}

/* 空状态 */
.empty-message {
    text-align: center;
    padding: 60px 20px !important;
    color: #9ca3af;
    font-size: 14px;
}

.empty-message span {
    display: inline-block;
    padding: 8px 16px;
    background: #f9fafb;
    border-radius: 30px;
}

/* 分页容器 */
#xjh-pagination {
    margin-top: 10px;
}

/* ========== 表格文本溢出修复 ========== */
.career-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;  /* 关键：固定表格布局 */
}

/* 列宽分配 */
.career-table th:nth-child(1) {
    width: 8%;
    min-width: 80px;
}

.career-table th:nth-child(2) {
    width: 35%;
}

.career-table th:nth-child(3) {
    width: 35%;
}

.career-table th:nth-child(4) {
    width: 22%;
    min-width: 120px;
}

/* 表格单元格样式 */
.career-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
    white-space: nowrap;  /* 禁止换行 */
}

/* 宣讲会名称列 - 溢出省略号 */
.career-table td:nth-child(2) {
    max-width: 0;  /* 配合table-layout: fixed使用 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.career-table td:nth-child(2) a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    width: 100%;
}

/* 地点列 - 溢出省略号 */
.career-table td:nth-child(3) {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 日期列 - 不省略 */
.career-table td:nth-child(4) {
    white-space: nowrap;
    color: #6b7280;
    text-align: right;
}

/* 标签列 - 不省略 */
.career-table td:nth-child(1) {
    white-space: nowrap;
}

/* 鼠标悬停时显示完整标题（可选） */
.career-table td:nth-child(2) a:hover {
    color: #4361ee;
    text-decoration: underline;
}

/* 修改现有的career-table样式，添加table-layout: fixed */
.career-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;  /* 添加到现有样式 */
}
/* 极简折叠搜索框 */
.simple-search {
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: visible;
    position: relative;
    z-index: 9997;
}

.simple-search-header {
    padding: 12px 16px;
    background: #f9fafb;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #374151;
    user-select: none;
}

.simple-search-header:hover {
    background: #f3f4f6;
}

.simple-search-toggle {
    transition: transform 0.2s;
    font-size: 12px;
}

.simple-search.collapsed .simple-search-toggle {
    transform: rotate(-90deg);
}

.simple-search.collapsed .simple-search-content {
    display: none;
}

.simple-search-content {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    background: white;
}

.simple-search-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.simple-search-input,
.simple-search-select,
.simple-search-date {
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    flex: 1 1 180px;
}

.simple-search-btn {
    height: 36px;
    padding: 0 16px;
    background: #4361ee;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.simple-search-btn.reset {
    background: white;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.simple-search-btn.reset:hover {
    background: #f9fafb;
}
     /* 分页容器整体样式 */
 .pages {
     display: flex;
     justify-content: center;
     align-items: center;
     margin-top: 20px;
     padding: 10px 0;
 }

/* 分页按钮容器 */
.pages dl {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 分页按钮通用样式 */
.pages dl dd a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* 悬停效果 */
.pages dl dd a:hover {
    background-color: #6767ff;
    color: white;
    border-color: #6767ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 当前页高亮样式 */
.pages dl dd.on a {
    background-color: #6767ff;
    color: white;
    border-color: #6767ff;
    font-weight: bold;
    cursor: default;
}

/* 禁用状态样式（可选） */
.pages dl dd.disabled a {
    color: #aaa;
    background-color: #f0f0f0;
    border-color: #eee;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pages dl dd a {
        padding: 6px 10px;
        font-size: 12px;
    }
}
.pages dl dd span {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    color: #999;
}

 .search-box {
     display: flex;
     align-items: flex-end;
     gap: 8px;
     flex-wrap: wrap;
     margin-bottom: -5px;
     margin-top: -15px;
 }

/* 每个字段容器：标签在上，控件在下 */
.field-group {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    margin-left: 30px;
    flex-grow: 2;
}
.field-group-s {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    margin-left: 30px;
    flex-grow: 0;
}


/* 上方提示字体样式 —— 完全参照图片：招聘公告名称、发布时间 */
.field-label {
    font-size: 15px;
    color: #1e2a3a;
    font-weight: 500;
    margin-bottom: 6px;
    margin-left: 14px;
    letter-spacing: 0.3px;
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 搜索输入框样式 */
.zpgg-input {
    padding: 0 12px;
    border: 1px solid #d0d7dd;
    border-radius: 8px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #fff;
    height: 36px;
}

.zpgg-input:focus {
    border-color: #1e80ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 128, 255, 0.08);
}

.zpgg-input::placeholder {
    color: #8c9aa8;
    font-size: 14px;
}

/* 下拉框样式 —— 完全保留图片风格 */
.zpgg-select {
    padding: 0 12px;
    border: 1px solid #d0d7dd;
    border-radius: 8px;
    font-size: 15px;
    width: 160px;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6c80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    height: 36px;
}

.zpgg-select:focus {
    border-color: #1e80ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 128, 255, 0.08);
}

/* 搜索按钮样式 */
.search-btn {
    height: 36px;
    padding: 0 16px;
    background: #4361ee;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.search-btn:hover {
    background: #4361ee;
}

.search-btn:active {
    background: #0053b3;
}
.reset-btn {
    height: 36px;
    padding: 0 16px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    background:white
}

.reset-btn:hover {
    background:white
}

.reset-btn:active {
    background: #e9ecef;
}

/* 灰色背景列表 — 无内容，仅表头 */
.notice-board {
    display: flex;
    align-items: flex-end;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    width: 100%;
    padding: 0 0px;
    margin-bottom: -35px;
}

/* 表头：只有两列，不加任何多余文字或图标 */
.notice-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 8px;
    border-bottom: 1px solid #c0c0c0;
    color: #374151;
    font-weight: 600;
    font-size: 0.8rem;
}

/* 招聘公告名称列：宽度80% */
.col-title-header {
    width: 87%;
    padding-left: 28px;
}


.col-date-header {
    width: 12%;
    text-align: left;
}



