/**
* ============== Job Board Content ==============
*
* @format
*/

/* Container and department blocks */
#tcp-job-list {
	margin: 0 auto;
}
.tcp-department-block {
	margin-bottom: 2rem;
}
.tcp-department-title {
	margin: 1rem 0;
	font-size: 1.5rem;
	color: #02182e;
}
.tcp-job-item {
	padding: 1rem 0;
	border-bottom: 1px solid #e9e9e9;
}
.tcp-job-title a {
	text-decoration: none;
	color: #085dd4;
	font-weight: bold;
}
#tcp-job-list ul {
	list-style: none;
	padding-left: 0px;
}
.tcp-job-location {
	font-size: 0.95rem;
	color: #777;
}

/*  ============== Job Detail ==============  */
#tcp-job-detail-container {
	margin: 0 auto;
}
.tcp-job-detail {
	border: none;
	padding: 1.5rem;
	background-color: #fff;
}
.tcp-back-to-list {
	color: #085dd4;
	padding-bottom: 32px;
	text-decoration: none;
	cursor: pointer;
}
.tcp-job-detail-title {
	font-size: 1.75rem;
	color: #161f2e;
	margin-bottom: 1rem;
}
.tcp-job-content {
	margin-bottom: 2rem;
	line-height: 1.6;
	color: #333;
}
.content-intro {
	margin-bottom: 20px;
}
/* Classes we added to <strong>, <ul>, <li> etc. */
.job-content-strong {
	font-weight: bold;
}
.job-content-ul {
	list-style: disc;
	margin-left: 2rem;
	margin-top: 20px;
	margin-bottom: 20px;
}
.job-content-li {
	margin-bottom: 0.5rem;
}
p:has(strong.job-content-strong) {
	padding-bottom: 0px;
}
.tcp-compliance-description h3 {
	padding-top: 16px;
	padding-bottom: 0px;
	font-size: 20px;
}
.tcp-compliance-description br {
	display: none;
}
.tcp-compliance-description p {
	margin-top: 16px;
}

/*  ============== Application Form ==============  */
.tcp-apply-title {
	font-size: 1.3rem;
	margin: 2rem 0 2rem 0;
	color: #161f2e;
}
.tcp-application-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.application-field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.tcp-form-label {
	font-weight: bold;
	font-size: 0.95rem;
	color: #333;
}
input#cover_letter_file,
input#resume {
	display: none;
}
/* .application-field:has(#cover_letter_text) {
display: none;
} */
.application-field select {
	padding: 12px;
	border-radius: 8px;
	display: block;
	width: 100%;
	font-size: 14px;
	line-height: 1.428571429;
	color: #757575;
	background-color: #fcfcfc;
	background-image: none;
	border: 1px solid #e6e6e6;
}
.tcp-compliance-description:nth-of-type(4n) h3:first-of-type {
	display: none;
}
.tcp-compliance-description:nth-of-type(4n) br {
	display: none;
}

/* The "Attach" style for file inputs */
.file-upload-group {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* Hide the real file input */
.custom-file-input {
	display: none;
}

/* Label that acts as a styled button */
button#cover-manual-btn,
button#resume-manual-btn,
.btn-attach-file {
	display: inline-block;
	max-width: 240px;
	width: 100%;
	padding: 0.5rem 1.25rem;
	border-radius: 24px;
	border: 1px solid #085dd4;
	color: #085dd4;
	background-color: #fff;
	font-size: 16px;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease;
	line-height: 20px;
	margin: 10px 0px;
}
:is(button#cover-manual-btn, button#resume-manual-btn, .btn-attach-file):hover {
	background-color: #02182e;
	border: 1px solid #02182e;
	color: #fff;
}
div#resume-file-name,
div#cover-letter-file-name {
	margin-bottom: 10px;
	color: #20a6f1;
}
.custom-file-input {
	position: absolute; /* Move it offscreen (or set display: none) */
	left: -9999px; /* so it’s not visible */
	opacity: 0; /* optional: also make invisible */
	width: 0; /* remove any width or height */
	height: 0;
	overflow: hidden;
}
/* Submit Button */
.tcp-application-submit {
	max-width: 200px;
	width: 100%;
	background-color: #085dd4;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	border-radius: 8px;
	padding: 12px 16px 12px 16px;
	border: 1px solid currentColor;
	border-color: var(--global-palette1);
	box-shadow: 0px 0px 0px -7px rgba(0, 0, 0, 0);
}
.tcp-application-submit:hover {
	background-color: #1e1d1a;
	border-color: var(--global-palette4);
	box-shadow: 0px 15px 25px -7px rgba(0, 0, 0, 0);
}
.tcp-application-message {
	margin-top: 0.5rem;
	font-weight: bold;
}
.application-field input[type="text"] {
	padding: 12px;
	border-radius: 8px;
}
/*  ============== Filters ==============  */
.tcp-filters-container {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-bottom: 1rem;
	justify-content: space-between;
}
.tcp-filter-item {
	display: flex;
	flex-direction: column;
	max-width: 350px;
	width: 100%;
}
.tcp-filter-item label {
	font-weight: 600;
	margin-bottom: 0.25rem;
	/* Hidden if needed, you can remove or comment this out if you want it displayed */
	display: none;
}
.tcp-filter-item input[type="text"],
.tcp-filter-item select {
	min-width: 160px;
	padding: 0.4rem;
	height: 48px;
	border-radius: 8px;
	border: 1px solid #555555;
	color: #555555;
	font-size: 16px;
}
.tcp-filter-item input[type="text"]::placeholder,
.tcp-filter-item select::placeholder {
	color: #555555;
}
.tcp-filter-item label {
	display: none;
}
@media (max-width: 1023px) {
	.tcp-filters-container {
		align-items: center;
		flex-direction: column;
		padding: 0 24px;
	}
	.tcp-filter-item {
		max-width: 100%;
		width: 100%;
	}
}
