/* 招聘分类卡片 */
.job-category-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 30px 0 40px;
}

.job-category-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 20px;
	background: #e8e8e8;
	border-radius: 12px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	min-height: 100px;
}

.job-category-card:hover {
	background: #ddd;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.job-category-card.active {
	background: #115FAD;
	color: #fff;
}

.job-category-card.active:hover {
	background: #0D4A88;
}

.job-category-name {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
}

.job-category-count {
	font-size: 13px;
	color: #666;
}

.job-category-card.active .job-category-count {
	color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
	.job-category-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		margin: 20px 0 30px;
	}
	
	.job-category-card {
		padding: 18px 15px;
		min-height: 80px;
	}
	
	.job-category-name {
		font-size: 15px;
	}
	
	.job-category-count {
		font-size: 12px;
	}
}

/* ========== 人才招聘页职位详情弹窗（独立样式） ========== */

/* 招聘分类卡片 */
.job-category-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 30px 0 40px;
}

/* 工作地点筛选 */
.job-place-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 30px;
	flex-wrap: wrap;
}

.job-place-filter .job-filter-label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.job-place-filter .job-filter-item {
	padding: 6px 16px;
	background: #f0f0f0;
	border-radius: 6px;
	color: #666;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.job-place-filter .job-filter-item:hover,
.job-place-filter .job-filter-item.active {
	background: #115FAD;
	color: #fff;
}

@media (max-width: 767px) {
	.job-category-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		margin: 20px 0 30px;
	}
	
	.job-place-filter {
		gap: 8px;
	}
	
	.job-place-filter .job-filter-item {
		padding: 5px 12px;
		font-size: 12px;
	}
}

/* 招聘列表项 */
#jobList .item .head.job-item-head {
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	width: 100%;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #ccc;
}

#jobList .item .head.job-item-head:hover .position {
	color: #115FAD;
}

#jobList .item .head .job-info {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

#jobList .item .head .position {
	display: block;
	font-size: 18px !important;
	font-weight: 500;
	color: #333;
	margin-bottom: 8px;
	line-height: 1.4;
	white-space: normal;
	word-break: break-word;
}

#jobList .item .head .attribute {
	display: block !important;
	font-style: normal;
	color: #333;
	font-size: 13px;
	margin: 0;
	width: auto;
}

#jobList .item .head .attribute p {
	display: inline;
	margin: 0;
}

#jobList .item .head .job-date {
	color: #999;
	font-size: 13px;
	white-space: nowrap;
	flex-shrink: 0;
	margin: 0;
}

/* 招聘分类卡片 */
.job-category-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 30px 0 40px;
}

.job-category-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 20px;
	background: #e8e8e8;
	border-radius: 12px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	min-height: 100px;
}

.job-category-card:hover {
	background: #ddd;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.job-category-card.active {
	background: #115FAD;
	color: #fff;
}

.job-category-card.active:hover {
	background: #0D4A88;
}

.job-category-name {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
}

.job-category-count {
	font-size: 13px;
	color: #666;
}

.job-category-card.active .job-category-count {
	color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
	.job-category-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		margin: 20px 0 30px;
	}
	
	.job-category-card {
		padding: 18px 15px;
		min-height: 80px;
	}
	
	.job-category-name {
		font-size: 15px;
	}
	
	.job-category-count {
		font-size: 12px;
	}
}

/* 招聘分类卡片 */
.job-category-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 30px 0 40px;
}

.job-category-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 20px;
	background: #e8e8e8;
	border-radius: 12px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	min-height: 100px;
}

.job-category-card:hover {
	background: #ddd;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.job-category-card.active {
	background: #115FAD;
	color: #fff;
}

.job-category-card.active:hover {
	background: #0D4A88;
}

.job-category-name {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
}

.job-category-count {
	font-size: 13px;
	color: #666;
}

.job-category-card.active .job-category-count {
	color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
	.job-category-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		margin: 20px 0 30px;
	}
	
	.job-category-card {
		padding: 18px 15px;
		min-height: 80px;
	}
	
	.job-category-name {
		font-size: 15px;
	}
	
	.job-category-count {
		font-size: 12px;
	}
}

/* 弹窗遮罩 */
.job-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.job-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	animation: jobModalFadeIn 0.3s ease;
}

.job-modal-dialog {
	position: relative;
	width: 90%;
	max-width: 700px;
	max-height: 85vh;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: jobModalSlideIn 0.4s ease;
	display: flex;
	flex-direction: column;
}

@keyframes jobModalFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes jobModalSlideIn {
	from {
		opacity: 0;
		transform: translateY(40px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* 关闭按钮 */
.job-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	font-size: 28px;
	color: #999;
	cursor: pointer;
	z-index: 10;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s ease;
	line-height: 1;
}

.job-modal-close:hover {
	color: #333;
	background: #f0f0f0;
}

/* 弹窗头部 */
.job-modal-header {
	padding: 30px 35px 20px;
	border-bottom: 1px solid #eee;
}

.job-modal-title {
	font-size: 24px;
	font-weight: 600;
	color: #115FAD;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.job-modal-meta {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.job-modal-meta span {
	font-size: 14px;
	color: #666;
	background: #f5f5f5;
	padding: 4px 12px;
	border-radius: 4px;
}

/* 弹窗内容 */
.job-modal-body {
	padding: 25px 35px;
	overflow-y: auto;
	flex: 1;
}

.job-modal-section {
	margin-bottom: 25px;
}

.job-modal-section:last-child {
	margin-bottom: 0;
}

.job-modal-section h4 {
	font-size: 16px;
	font-weight: 600;
	color: #115FAD;
	margin: 0 0 12px 0;
	padding-bottom: 8px;
	border-bottom: 2px solid #115FAD;
	display: inline-block;
}

.job-modal-section div {
	font-size: 14px;
	line-height: 1.8;
	color: #333;
	white-space: pre-wrap;
	word-break: break-word;
}

/* 弹窗底部 */
.job-modal-footer {
	padding: 20px 35px;
	border-top: 1px solid #eee;
	text-align: center;
}

.job-modal-apply-btn {
	display: inline-block;
	padding: 12px 48px;
	background: #115FAD;
	color: #fff;
	border: none;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.job-modal-apply-btn:hover {
	background: #0D4A88;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(17, 95, 173, 0.3);
}

/* 移动端适配 */
@media (max-width: 767px) {
	#jobList .item .head.job-item-head {
		gap: 12px;
	}
	
	#jobList .item .head .position {
		font-size: 16px !important;
		margin-bottom: 6px;
	}
	
	#jobList .item .head .attribute,
	#jobList .item .head .job-date {
		font-size: 12px;
	}
	
	.job-modal-dialog {
		width: 95%;
		max-height: 90vh;
		border-radius: 12px;
	}
	
	.job-modal-header {
		padding: 24px 20px 16px;
	}
	
	.job-modal-title {
		font-size: 20px;
	}
	
	.job-modal-body {
		padding: 20px;
	}
	
	.job-modal-footer {
		padding: 16px 20px;
	}
	
	.job-modal-apply-btn {
		padding: 10px 32px;
		font-size: 14px;
	}
}
