.job-detail-card {
	background: #fff;
	border-radius: 16px;
	/* Slightly more rounded corners */
	padding: 40px;
	/* Increased padding */
	max-width: 900px;
	/* Wider card */
	margin: 50px auto;
	/* More vertical margin */
	box-shadow: 0 10px 30px var(--shadow-light);
	/* More prominent shadow */
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-detail-card:hover {
	transform: translateY(-5px);
	/* Subtle lift on hover */
	box-shadow: 0 15px 40px var(--shadow-strong);
}

.back-section {
	margin-bottom: 30px;
	/* More space */
}

.back-btn {
	display: inline-flex;
	/* Use flexbox for icon alignment */
	align-items: center;
	gap: 8px;
	/* Space between icon and text */
	color: #fff;
	background-color: var(--primary-blue);
	padding: 12px 22px;
	/* Larger padding */
	border-radius: 8px;
	text-decoration: none;
	font-size: 15px;
	border: 1px solid var(--primary-blue);
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.back-btn:hover {
	background-color: var(--dark-pink);
	color: #fff;
}

.back-btn i {
	font-size: 16px;
}

.job-detail-card h2 {
	/* Elegant font for title */
	font-size: 32px;
	/* Larger title */
	margin-bottom: 25px;
	/* More space below title */
	color: var(--primary-blue);
	text-align: center;
	/* Center the job title */
	position: relative;
	padding-bottom: 10px;
}

.job-detail-card h2::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 80px;
	/* Short, elegant underline */
	height: 3px;
	background-color: var(--dark-pink);
	border-radius: 2px;
}

.job-detail-card h3 {
	font-size: 24px;
	/* Larger section titles */
	margin-top: 40px;
	/* More space above sections */
	margin-bottom: 20px;
	/* Space below section titles */
	color: var(--primary-blue);
	border-bottom: 3px solid var(--dark-pink);
	/* Thicker, more prominent underline */
	display: inline-block;
	padding-bottom: 8px;
	/* More padding for underline */
}

.job-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	/* Responsive grid */
	gap: 15px 30px;
	/* Spacing between items */
	margin-bottom: 30px;
	padding: 20px;

	background-color: #fdfdfd;
	border-radius: 10px;
	border: 2px solid var(--primary-blue);
}

.job-meta p {
	margin: 0;
	/* Remove default paragraph margin */
	font-size: 16px;
	/* Slightly larger font */
	color: var(--primary-blue);
	display: flex;
	align-items: center;
	/* Align icon and text */
}

.job-meta p strong {
	color: var(--primary-blue);
	/* Stronger color for labels */
	min-width: 120px;
	/* Ensure labels align */
	margin-right: 10px;
	/* Space between label and value */
	font-weight: 600;
	/* Bolder label */
	display: flex;
	/* Use flex for icon and label */
	align-items: center;
	gap: 8px;
	/* Space between icon and label text */
}

.job-meta p strong i {
	color: var(--dark-pink);
	/* Icon color */
	font-size: 18px;
	width: 20px;
	/* Fixed width for icons */
	text-align: center;
}

.apply-section {
	margin-top: 40px;
	/* More space above button */
	text-align: center;
}

.apply-btn {
	display: inline-block;
	background-color: var(--dark-pink);
	color: #fff;
	padding: 15px 35px;
	/* Larger button */
	font-size: 18px;
	/* Larger font */
	border-radius: 8px;
	/* Slightly more rounded */
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease,
		box-shadow 0.3s ease;
	font-weight: 600;
	letter-spacing: 0.5px;
	box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
	/* Initial shadow */
	cursor: pointer;
}

.apply-btn:hover {
	background-color: #c0392b;
	/* Darker red on hover */
	transform: translateY(-3px);
	/* Lift effect */
	box-shadow: 0 8px 20px rgba(231, 76, 60, 0.45);
	/* Enhanced shadow */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.job-detail-card {
		padding: 30px;
		margin: 30px 15px;
	}

	.job-detail-card h2 {
		font-size: 28px;
	}

	.job-detail-card h3 {
		font-size: 22px;
	}

	.job-meta {
		grid-template-columns: 1fr;
		/* Stack columns on smaller screens */
		padding: 15px;
	}

	.job-meta p strong {
		min-width: unset;
		/* Remove fixed width */
	}

	.apply-btn {
		padding: 12px 25px;
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.job-detail-card {
		padding: 10px;
		margin: 10px 10px;
	}

	.job-detail-card h2 {
		font-size: 24px;
	}

	.job-detail-card h3 {
		font-size: 20px;
	}

	.back-btn {
		font-size: 13px;
		padding: 10px 15px;
	}
}

.parsed-job-text ul {
	list-style-type: disc !important; /* shows solid round bullets */
	padding-left: 20px; /* adds spacing for bullets */
	margin-bottom: 1rem;
	list-style: disc !important;
}

.parsed-job-text li {
	margin-bottom: 0.5rem;
}
#applyJobForm .white-close {
	filter: brightness(0) invert(1); /* Makes SVG white */
}

#applyJobForm .white-close:hover {
	opacity: 0.8;
}
