.folksrh-job-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.folksrh-job-item {
	padding: 0;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	background: #e5e9eb;
	overflow: hidden;
	cursor: pointer;
}

.folksrh-job-item:hover {
	background-color: #ccd3d7;
}

.folksrh-job-item .date {
	padding: 14px 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 170px;
}

.folksrh-job-item .date .date-month-year {
	font-weight: 700;
	color: #333;
}

.folksrh-job-item .title {
	padding: 14px 20px;
	flex: 1;
	display: flex;
	align-items: center;
}

.folksrh-job-item .title h3 {
	margin: 0;
	font-size: 1.05rem;
}

.folksrh-job-item .actions {
	padding: 14px 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 70px;
}

.folksrh-job-item .actions button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
	background: transparent;
	color: #333;
	font-weight: 700;
	cursor: pointer;
}

.folksrh-job-item .actions .arrow svg {
	color: #333;
}

.folksrh-job-open:hover {
	background: #0073aa;
	color: #fff;
}

/* Accordion-like card summary style */
.folksrh-job-item .summary {
	display: flex;
	gap: 12px;
	align-items: center;
}

.folksrh-job-item h3 {
	font-size: 1.05rem;
}

.folksrh-job-item .meta {
	color: #6b6b6b;
	font-size: 0.9rem;
}

.folksrh-job-item .actions {
	margin-left: 16px;
}

.folksrh-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	z-index: 999999999;
	align-items: center;
	justify-content: center;
}

.folksrh-modal-content {
	background: #fff;
	width: 90%;
	max-width: 720px;
	max-height: 80vh;
	overflow: auto;
	padding: 20px;
	border-radius: 6px;
	position: relative;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Modern scrollbar styling for the modal content */
/* Firefox */
.folksrh-modal-content {
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.03);
}

/* WebKit (Chrome, Edge, Safari) */
.folksrh-modal-content::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.folksrh-modal-content::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.03);
	border-radius: 10px;
}

.folksrh-modal-content::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.18);
	border-radius: 10px;
	border: 2px solid rgba(0, 0, 0, 0.03);
}

.folksrh-modal-content::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.28);
}

/* Ensure inner scrollable lists look consistent */
.folksrh-job-details ul {
	padding-left: 1.15rem;
}

/* Modal header */
#folksrh-job-title {
	margin: 0 0 8px 0;
	font-size: 1.25rem;
}

#folksrh-job-description {
	margin-bottom: 14px;
	color: #333;
	line-height: 1.5;
}

/* Form styling (inspired by the requested page) */
#folksrh-apply-form p {
	margin: 0 0 12px 0;
}

#folksrh-apply-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	color: #222;
	font-size: 0.95rem;
}

#folksrh-apply-form input[type="text"],
#folksrh-apply-form input[type="email"],
#folksrh-apply-form input[type="tel"],
#folksrh-apply-form input[type="file"],
#folksrh-apply-form textarea {
	width: 100%;
	padding: 10px 12px;
	border-bottom: 1px solid #202020;
	box-sizing: border-box;
	font-size: 0.95rem;
	margin-top: 20px;
}

#folksrh-apply-form input[type="file"] {
	padding: 6px 8px;
}

#folksrh-apply-form button[type="submit"] {
	display: inline-block;
	background: #a6cf1f;
	color: #fff;
	border: none;
	padding: 10px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 700;
	margin-top: 50px;
}

#folksrh-apply-form button[type="submit"]:hover {
	background: #005f86;
}

#folksrh-form-status {
	margin-top: 12px;
	font-weight: 700;
	color: #0073aa;
}

/* File upload drop area */
.file-upload-wrapper {
	margin: 10px 0 0 0;
}

.file-drop {
	border: 2px dashed rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	padding: 26px 18px;
	text-align: center;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.file-drop:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.08);
}

.file-drop-text {
	margin: 0;
	color: #333;
	font-weight: 600;
}

.file-select-btn {
	background: #bfe22a;
	/* bright green */
	color: #111;
	border: none;
	padding: 10px 18px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 700;
}

.file-select-btn:hover {
	background: #a6cf1f;
}

.file-input {
	display: none;
}

.file-selected {
	margin-top: 10px;
	padding: 10px 12px;
	background: #f1f9f1;
	border: 1px solid #d7f0d7;
	color: #0b6623;
	border-radius: 4px;
	font-weight: 600;
}

/* make sure lists inside modal have breathing room */
.folksrh-job-details ul {
	margin: 8px 0 16px 1.15rem;
}

/* Small responsive tweaks */
@media (max-width: 480px) {
	.folksrh-job-item {
		padding: 10px;
	}

	.folksrh-job-open {
		padding: 6px 8px;
	}

	.folksrh-modal-content {
		padding: 16px;
	}
}

.folksrh-modal-close {
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	border: none;
	background: transparent;
	font-size: 22px;
}

#folksrh-form-status {
	margin-top: 10px;
	font-weight: bold;
}

/* Small responsive tweaks */
@media (max-width: 480px) {
	.folksrh-job-item {
		padding: 10px;
	}

	.folksrh-job-open {
		padding: 6px 8px;
	}
}

.folksrh-form-heading {
	margin-top: 50px;
}