/* =============================================
 * 招聘会模块样式
 * ============================================= */

/* ---------- 列表页 ---------- */
.jobfair-container {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
}

/* 筛选栏 */
.jobfair-filter {
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.filter-row {
    line-height: 32px;
    margin-bottom: 5px;
}
.filter-row:last-child {
    margin-bottom: 0;
}
.filter-line {
    border-bottom: 1px dashed #e0e0e0;
    margin: 8px 0;
}
.filter-label {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}
.filter-item {
    display: inline-block;
    padding: 3px 14px;
    margin: 0 4px;
    color: #666;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s;
}
.filter-item:hover {
    color: #2a85d5;
    background: #e8f2fc;
}
.filter-item.cur {
    color: #fff;
    background: #2a85d5;
}

/* 列表项 */
.jobfair-list {
    min-height: 200px;
}
.meeting-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}
.meeting-item:hover {
    background: #f8faff;
}
.meeting-item:last-child {
    border-bottom: none;
}
.meeting-pic {
    width: 150px;
    flex-shrink: 0;
    text-align: center;
}
.meeting-pic img {
    border-radius: 4px;
    border: 1px solid #eee;
}
.meeting-info {
    flex: 1;
    padding: 0 20px;
    min-width: 0;
}
.meeting-title-row {
    margin-bottom: 10px;
}
.meeting-title {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    line-height: 1.4;
}
.meeting-detail {
    font-size: 13px;
    color: #888;
    line-height: 2;
}
.meeting-detail img {
    vertical-align: middle;
    margin-right: 4px;
    width: 14px;
    height: 14px;
}
.meeting-time {
    display: block;
}
.meeting-addr {
    display: block;
}
.meeting-status {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
}

/* 状态标签 */
.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    color: #fff;
}
.status-will {
    background: #ff9900;
}
.status-ing {
    background: #00b050;
}
.status-ed {
    background: #999;
}

/* 类型标签 */
.state-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
    color: #fff;
    margin-right: 6px;
    vertical-align: middle;
}
.tag-real {
    background: #e67e22;
}
.tag-net {
    background: #3498db;
}
.tag-society {
    background: #9b59b6;
}
.tag-school {
    background: #1abc9c;
}

/* 空状态 */
.meeting-empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 15px;
}

/* 分页 */
.jobfair-pager {
    margin-top: 20px;
    text-align: center;
}
.jobfair-pager .pageslect {
    display: inline-block;
}
.jobfair-pager .pageslect a,
.jobfair-pager .pageslect span {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}
.jobfair-pager .pageslect a:hover {
    background: #2a85d5;
    color: #fff;
    border-color: #2a85d5;
}
.jobfair-pager .pageslect span {
    background: #2a85d5;
    color: #fff;
    border-color: #2a85d5;
}
.jobfair-pager .page-a-btn {
    min-width: 50px;
    text-align: center;
}

/* ---------- 详情页 ---------- */
.jobfair-detail {
    max-width: 1200px;
    margin: 20px auto;
}

/* 头部信息 */
.detail-header {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 24px;
    border-radius: 4px;
    position: relative;
    margin-bottom: 16px;
}
.detail-pic {
    width: 150px;
    flex-shrink: 0;
    text-align: center;
}
.detail-pic img {
    border-radius: 4px;
    border: 1px solid #eee;
}
.detail-info {
    flex: 1;
    padding: 0 24px;
    min-width: 0;
}
.detail-title-row {
    margin-bottom: 12px;
}
.detail-title {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    display: inline;
    line-height: 1.5;
}
.detail-line {
    font-size: 14px;
    color: #666;
    line-height: 2;
    margin-bottom: 4px;
}
.detail-line img {
    vertical-align: middle;
    margin-right: 6px;
    width: 16px;
    height: 16px;
}
.detail-num {
    text-align: center;
    padding: 10px 16px;
    flex-shrink: 0;
}
.num-item {
    font-size: 13px;
    color: #666;
    padding: 4px 0;
}
.num-item strong {
    color: #e74c3c;
    font-size: 18px;
    margin: 0 4px;
}
.num-sep {
    color: #ddd;
    margin: 0 4px;
}
.detail-status {
    position: absolute;
    top: 20px;
    right: 24px;
}

/* Tab切换 */
.detail-tabs {
    display: flex;
    background: #fff;
    padding: 0 24px;
    border-bottom: 2px solid #2a85d5;
    border-radius: 4px 4px 0 0;
}
.tab-item {
    display: inline-block;
    padding: 14px 28px;
    font-size: 15px;
    color: #666;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.tab-item:hover {
    color: #2a85d5;
}
.tab-item.cur {
    color: #2a85d5;
    border-bottom-color: #2a85d5;
    font-weight: bold;
}

/* Tab内容 */
.tab-content {
    background: #fff;
    padding: 20px 24px;
    border-radius: 0 0 4px 4px;
    min-height: 300px;
}

/* Tab筛选 */
.tab-filter {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.filter-input {
    width: 180px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    vertical-align: middle;
}
.filter-select {
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-left: 8px;
    font-size: 13px;
    vertical-align: middle;
    min-width: 120px;
}
.filter-form {
    display: inline;
}
.filter-btn {
    height: 32px;
    padding: 0 20px;
    background: #2a85d5;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 13px;
}
.filter-btn:hover {
    background: #2373ba;
}

/* 企业列表项 */
.company-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.company-item:last-child {
    border-bottom: none;
}
.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    border: 1px solid #eee;
    margin-right: 16px;
    object-fit: contain;
}
.company-info {
    flex: 1;
    min-width: 0;
}
.company-name {
    font-size: 15px;
    color: #333;
    font-weight: bold;
    margin-bottom: 6px;
}
.company-meta {
    font-size: 12px;
    color: #999;
}
.company-meta span {
    margin-right: 16px;
}
.company-jobcount {
    color: #2a85d5;
    font-weight: bold;
}

/* 职位列表项 */
.job-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.job-item:last-child {
    border-bottom: none;
}
.job-info {
    flex: 1;
    min-width: 0;
}
.job-name a {
    font-size: 15px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}
.job-name a:hover {
    color: #2a85d5;
}
.job-company {
    font-size: 13px;
    color: #2a85d5;
    margin-bottom: 4px;
}
.job-meta {
    font-size: 12px;
    color: #999;
}
.job-meta span {
    margin-right: 16px;
}
.job-salary {
    color: #e74c3c;
    font-weight: bold;
    margin-right: 10px;
    font-size: 14px;
    white-space: nowrap;
}

/* 分页（Tab内） */
.tab-pager {
    text-align: center;
    margin-top: 20px;
}
.tab-pager .pageslect a,
.tab-pager .pageslect span {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
}
.tab-pager .pageslect a:hover {
    background: #2a85d5;
    color: #fff;
    border-color: #2a85d5;
}
.tab-pager .pageslect span {
    background: #2a85d5;
    color: #fff;
    border-color: #2a85d5;
}

/* 加载动画 */
.tab-loading {
    text-align: center;
    padding: 40px 0;
    color: #999;
}

/* ---------- 职位详情页 ---------- */
.jobdetail-page {
    max-width: 1200px;
    margin: 20px auto;
}
.jobdetail-bread {
    font-size: 13px;
    color: #999;
    padding: 10px 0;
    margin-bottom: 10px;
}
.jobdetail-bread a {
    color: #666;
    text-decoration: none;
}
.jobdetail-bread a:hover {
    color: #2a85d5;
}
.jobdetail-bread span {
    color: #333;
}

/* 职位头部 */
.jobdetail-main {
    background: #fff;
    border-radius: 4px;
    padding: 0 0 20px 0;
}
.jobdetail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.jobdetail-hd-left {
    flex: 1;
    min-width: 0;
}
.jobdetail-jobname {
    font-size: 24px;
    color: #222;
    margin: 0 0 12px 0;
    font-weight: bold;
}
.jobdetail-company {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.jobdetail-clogo {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #eee;
    margin-right: 10px;
    object-fit: contain;
}
.jobdetail-cname {
    font-size: 15px;
    color: #2a85d5;
}
.jobdetail-hd-right {
    text-align: right;
    flex-shrink: 0;
}
.jobdetail-salary {
    font-size: 22px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 8px;
}
.jobdetail-meeting a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
}
.jobdetail-meeting a:hover {
    color: #2a85d5;
}

/* 标签 */
.jobdetail-tags {
    margin-top: 8px;
}
.jdtag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 8px;
}
.jdtag-func {
    background: #e8f2fc;
    color: #2a85d5;
}
.jdtag-edu {
    background: #fef3e6;
    color: #e67e22;
}
.jdtag-exp {
    background: #eaf7ee;
    color: #27ae60;
}

/* 信息区块 */
.jobdetail-section {
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
}
.jobdetail-section:last-child {
    border-bottom: none;
}
.section-title {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin: 0 0 16px 0;
    padding-left: 10px;
    border-left: 3px solid #2a85d5;
}

/* 信息网格 */
.jobdetail-info-grid {
    display: flex;
    flex-wrap: wrap;
}
.info-item {
    width: 50%;
    font-size: 14px;
    color: #555;
    line-height: 2.4;
}
.info-label {
    color: #999;
    margin-right: 4px;
}

/* 内容区 */
.jobdetail-content {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}
