/* Custom Job Manager Styles */

.cjm-jobs-container {
	max-width: 100%;
}

.cjm-jobs-filter-form label {
	margin-right: 5px;
	font-weight: bold;
}

.cjm-jobs-filter-form select {
	margin-right: 15px;
	padding: 5px;
}

.cjm-job-list-ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cjm-job-item {
	padding: 10px;
	border-bottom: 1px solid #eee;
}

.cjm-pagination {
	margin-top: 20px;
	text-align: center;
}

.cjm-pagination .page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px;
	border: 1px solid #ddd;
	text-decoration: none;
}

.cjm-pagination .page-numbers.current {
	background-color: #eee;
	font-weight: bold;
}

.cjm-jobs-filter-form {
	margin-bottom: 5rem;
}

.cjm-jobs-filter-form-wrapper {
	max-width: 680px;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(1, 1fr);
}

@media screen and (min-width: 768px) {
	.cjm-jobs-filter-form-wrapper {
		grid-template-columns: repeat(3, 1fr);
	}
}

.cjm-jobs-filter-form button {
	display: none;
}

.cjm-jobs-filter-form-wrapper span {
	font-size: 14px;
	font-family: "Neue", sans-serif;
}

.cjm-jobs-filter-form-wrapper select {
	margin-top: 0.5rem;
	background-color: #f9fafb;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	padding: 0.875rem 1rem;
}

.cjm-job-list-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 1.5rem;
}

@media screen and (min-width: 768px) {
	.cjm-job-list-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.cjm-job-grid-item {
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

@media screen and (min-width: 768px) {
	.cjm-job-grid-item {
		padding: 40px;
		flex-direction: row;
	}
}

.cjm-job-grid-item-title {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 8px;
}

.cjm-job-grid-item-content {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 1.5rem;
	font-size: 14px;
}

.cjm-job-grid-item-cta {
	flex-shrink: 0;
}

.cjm-job-requirements-title {
	color: #9ca0a5;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-top: 8px;
	margin-bottom: 8px;
}

.cjm-job-requirements ul {
	list-style: none;
	padding: 0;
	padding-left: 24px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cjm-job-requirements li {
	position: relative;
}

.cjm-job-requirements li::before {
	position: absolute;
	left: -24px;
	top: 4px;
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url("assets/images/check-circle-icon.svg");
	background-size: contain;
	background-repeat: no-repeat;
}

.cjm-job-grid-item-cta-button {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	border-radius: 2rem;
	font-family: "Neue", sans-serif;
	color: #111;
	border: 1px solid #9ca0a5;
	transition: all 0.3s ease;
}

.cjm-job-grid-item-cta-button:hover {
	background-color: #9f9f9f;
}

.cjm-job-grid-item-cta-button img {
	width: 24px;
	height: 24px;
}

.cjm-company-logo {
	height: 24px !important;
	width: auto;
}

.cjm-job-terms {
	display: flex;
	gap: 1rem;
}

.cjm-term-area,
.cjm-term-ubicacion {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #9ca0a5;
}

.cjm-term-area img,
.cjm-term-ubicacion img {
	width: 16px;
	width: 16px;
}

/* Single Job Listing Styles */
.cjm-single-job-container {
	max-width: 992px;
	margin: 0 auto;
	padding: 40px 16px;
	display: flex;
	flex-direction: column;
}

.cjm-single-company-logo {
	max-height: 50px;
	width: auto;
	margin-bottom: 20px;
}

.cjm-single-job-meta {
	display: flex;
	gap: 8px;
	color: #666;
	font-size: 14px;
	flex-wrap: wrap;
	flex-direction: column;
}

@media screen and (min-width: 768px) {
	.cjm-single-job-meta {
		flex-direction: row;
		gap: 20px;
	}
}

.cjm-single-job-meta span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cjm-single-job-meta img {
	width: 16px;
	height: 16px;
}

.cjm-single-job-body h2 {
	font-size: 20px;
	margin-bottom: 15px;
	border-bottom: 2px solid #eee;
	padding-bottom: 10px;
	display: inline-block;
}

.cjm-single-job-short-desc {
	font-size: 18px;
	line-height: 1.6;
	color: #444;
	margin-bottom: 30px;
	font-style: italic;
}

.cjm-single-job-content {
	margin-bottom: 40px;
	line-height: 1.8;
}

.cjm-single-job-requirements {
	background-color: #f9f9f9;
	padding: 16px;
	border-radius: 6px;
	margin-top: 40px;
	margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
	.cjm-single-job-requirements {
		padding: 30px;
		border-radius: 8px;
	}
}

.cjm-single-job-requirements-title {
	color: #9ca0a5;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.cjm-single-job-footer {
	text-align: center;
}

.cjm-single-job-apply-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: #111;
	color: #fff;
	padding: 15px 40px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.cjm-single-job-apply-button:hover {
	background-color: #333;
}

.cjm-single-job-apply-button img {
	filter: invert(1);
	width: 20px;
	height: 20px;
}

.cjm-single-job-header {
	padding-right: 1rem;
	padding-left: 1rem;
	background-color: #a40d26;
}

.cjm-single-job-header-content {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	padding-top: 7rem;
	padding-bottom: 2rem;
}

.cjm-single-job-header-back-button {
	color: #fff;
	padding: 0 !important;
	font-family: "Neue", sans-serif;
	border: 0;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 12px;
}

.cjm-single-job-header-back-button:hover {
	background-color: unset !important;
	text-decoration: underline;
}

.cjm-single-job-header-back-button::before {
	content: "";
	background-image: url("assets/images/left-arrow-white-icon.svg");
	width: 20px;
	height: 20px;
	display: inline-block;
}

.cjm-single-job-header-title {
	max-width: 490px;
	color: #fff;
	font-size: 40px;
	font-weight: 600;
	font-family: "Neue", sans-serif;
}

@media screen and (min-width: 768px) {
	.cjm-single-job-header-title {
		font-size: 72px;
	}
}

.cjm-single-job-header-description {
	color: #e3e5e8;
	font-size: 18px;
	max-width: 620px;
}

.cjm-single-job-tabs {
	background-color: #f5f6f7;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	margin: 0 auto 4rem;
	list-style: none;
	width: 100%;
}
.cjm-single-job-tab {
	color: #4b4f55;
	border-radius: 6px;
	padding: 8px;
	background-color: #fff;
	cursor: pointer;
	white-space: nowrap;
	text-align: center;
	width: 100%;
	font-size: 16px !important;
}
@media screen and (min-width: 768px) {
	.cjm-single-job-tabs {
		width: auto;
	}

	.cjm-single-job-tab {
		padding: 8px 32px;
		font-size: 14px;
		white-space: normal;
		width: auto;
	}
}
.cjm-single-job-tab.active {
	background-color: #c8102e;
	color: #fff;
}

.cjm-single-company-logo-wrapper {
	margin-bottom: 1rem;
}

.cjm-single-company-logo-wrapper img {
	height: 40px;
}

.cjm-single-job-title {
	font-size: 40px;
	font-weight: 600;
	font-family: "Neue", sans-serif;
	margin-top: 0;
	margin-bottom: 0.75rem;
}

@media screen and (min-width: 768px) {
	.cjm-single-job-title {
		font-size: 72px;
	}
}

.cjm-single-job-apply-button {
	font-family: "Neue", sans-serif;
	font-weight: 400;
	color: #fff;
	background-color: #c8102e;
	padding: 0.7rem 2rem !important;
	text-decoration: none !important;
	justify-content: center;
	width: 100%;
}

@media screen and (min-width: 768px) {
	.cjm-single-job-apply-button {
		padding: 1rem 2rem !important;
		width: auto;
	}
}

.cjm-single-job-apply-button:hover {
	color: #fff;
}

.cjm-single-job-overview {
	display: flex;
	gap: 1rem;
	flex-direction: column;
}

.cjm-single-job-overview-header {
	width: 100%;
}

@media screen and (min-width: 768px) {
	.cjm-single-job-overview {
		flex-direction: row;
	}

	.cjm-single-job-overview-header {
		margin-bottom: 3rem;
	}
}

.cjm-single-job-action {
	flex-shrink: 0;
}

.cjm-single-job-description {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.cjm-single-job-main-content,
.cjm-single-job-form {
	display: none;
}

.cjm-single-job-main-content.active,
.cjm-single-job-form.active {
	display: block;
}

.cjm-single-job-form small {
	font-size: 14px;
	line-height: 1.2;
}

.cjm-single-job-form .wpcf7-form-control.wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	color: #9CA0A5;
}

.cjm-single-job-form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
	margin-left: 0;
}

.cjm-single-job-form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
	text-transform: none;
	font-size: 14px;
	letter-spacing: normal;
	line-height: 1.2;
}

.cjm-single-job-form .wpcf7-text,
.cjm-single-job-form .wpcf7-select {
	border-radius: 8px;
	border: 1px solid #9CA0A5;
	height: 36px;
	padding: 4px 12px;
}

.cjm-single-job-form .wpcf7-submit {
	background-color: #C8102E;
	color: #fff;
	padding: 1rem 2rem !important;
	border-radius: 2rem;
	font-family: 'Neue', sans-serif;
	border: 0;
}

.cjm-single-job-form .codedropz-upload-handler {
	border: 1px solid #4B4F55;
	background-color: #F5F6F7;
}

.cjm-single-job-form .codedropz-upload-wrapper {
	text-transform: none;
	letter-spacing: normal;
}

.cjm-single-job-form .codedropz-upload-container {
	padding: 2rem 1rem;
}

.cjm-single-job-form .wpcf7-not-valid-tip {
	letter-spacing: normal;
}

.cjm-single-job-form .wpcf7-response-output {
	border-width: 1px !important;
	border-radius: 4px;
	padding: 1rem !important;
	font-size: 14px;
	margin: 1rem !important;
}

.cjm-single-job-form .invalid .wpcf7-response-output {
	color: #d48806;
	border-color: #ffe58f !important;
	background-color: #fffbe6;
}

.cjm-single-job-form .sent .wpcf7-response-output {
	color: #237804;
	border-color: #b7eb8f !important;
	background-color: #f6ffed;
}