.dayforce-job {
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	margin-bottom: 2rem;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.dayforce-job-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: flex-start;
	gap: 1.5rem;
}

.dayforce-job-content {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dayforce-job-title {
	margin: 0;
	flex: 1 1 auto;
}

.dayforce-job-button {
	display: block;
	padding: 0.5rem 2rem;
	border: 2px solid #005295;
	border-radius: 0;
	background-color: transparent;
	color: #005295;
	text-decoration: none;
	font-weight: 700;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
		border-color 0.2s ease-in-out;
	text-align: center;
	width: 100%;
}

.dayforce-job-button:hover {
	background-color: #005295;
	color: #fff;
}

.dayforce-job-button:focus,
.dayforce-job-button:active {
	background-color: #00477a;
	color: #fff;
}

.dayforce-job-apply {
	white-space: nowrap;
}

.dayforce-job-details {
	white-space: nowrap;
}

.dayforce-job-meta {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dayforce-job-date {
	margin: 0;
	color: #374151;
	font-weight: 400;
}

.dayforce-job-location-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.dayforce-job-location-label {
	font-style: italic;
	font-weight: 400;
}

.dayforce-job-date-label {
	font-style: italic;
	font-weight: 400;
}

.dayforce-job-location-value {
	font-weight: 500;
}

.dayforce-job-map-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.dayforce-job-map-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: #005295;
	text-decoration: none;
	font-weight: 600;
}

.dayforce-job-map-link:hover {
	text-decoration: underline;
}

.dayforce-job-actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: stretch;
	min-width: 12rem;
}

.dayforce-jobs-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
	text-align: center;
}

.dayforce-jobs-fallback-button {
	max-width: 16rem;
	width: 100%;
	flex: 0 1 16rem;
}

.dayforce-jobs-feed {
        position: relative;
}

.dayforce-jobs-feed [hidden] {
        display: none !important;
}

.dayforce-jobs-loading-container {
        width: 100%;
}

.dayforce-jobs-loading {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	padding: 2rem 0;
	text-align: center;
}

.dayforce-jobs-display {
	display: flex;
	flex-direction: column;
}

.dayforce-jobs-loading-icon {
	width: 3rem;
	height: 3rem;
	object-fit: contain;
}

.dayforce-jobs-loading-text {
	font-weight: 600;
	color: #374151;
}

.dayforce-jobs-messages {
	margin-bottom: 2rem;
}

.dayforce-job-landing-link {
	color: #005295;
	font-weight: 600;
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.dayforce-job-layout {
		grid-template-columns: 1fr;
	}

	.dayforce-job-actions {
		width: 100%;
		margin-top: 0.5rem;
		min-width: auto;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
	}

	.dayforce-job-actions .dayforce-job-button {
		width: auto;
		flex: 1 1 auto;
	}
}

@media (max-width: 640px) {
	.dayforce-job-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		margin-top: 0.5rem;
		min-width: auto;
		width: 100%;
	}

	.dayforce-job-actions .dayforce-job-button {
		min-width: auto;
		width: 100%;
		flex: 1 1 auto;
	}
}
