:root {
	--hpm-primary: #4a91ce;
	--hpm-primary-dark: #4a91ce;
	--hpm-primary-soft: #eaf7f1;
	--hpm-heading: #14251f;
	--hpm-text: #5a6b64;
	--hpm-border: #dce7e2;
	--hpm-surface: #ffffff;
	--hpm-surface-soft: #f6faf8;
	--hpm-danger: #b42318;
	--hpm-shadow: 0 18px 50px rgba(20, 37, 31, 0.09);
}

.hpm-jobs-wrap,
.hpm-form-wrap,
.hpm-single-job-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	box-sizing: border-box;
	font-family: inherit;
}

.hpm-form-wrap,
.hpm-single-job-wrap {
	padding: 24px 16px 48px;
}

.hpm-form-shell,
.hpm-single-job {
	background: var(--hpm-surface);
	border: 1px solid var(--hpm-border);
	border-radius: 24px;
	box-shadow: var(--hpm-shadow);
	overflow: hidden;
}

.hpm-form-shell {
	padding: 34px;
}

.hpm-eyebrow,
.hpm-job-type {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	background: var(--hpm-primary-soft);
	color: var(--hpm-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.hpm-eyebrow {
	padding: 8px 13px;
}

.hpm-job-type {
	padding: 6px 10px;
}

.hpm-form-intro {
	max-width: 780px;
	margin-bottom: 34px;
}

.hpm-form-intro h2,
.hpm-section-heading h3,
.hpm-job-card h3,
.hpm-single-job h1,
.hpm-single-job h2,
.hpm-employer-contact-card h2 {
	color: var(--hpm-heading);
	font-family: inherit;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.hpm-form-intro h2 {
	margin: 16px 0 12px;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.08;
}

.hpm-form-intro p,
.hpm-section-heading p,
.hpm-form-note,
.hpm-job-excerpt,
.hpm-empty-state,
.hpm-job-section,
.hpm-employer-contact-card > p {
	color: var(--hpm-text);
	font-size: 15px;
	line-height: 1.75;
}

.hpm-form-intro p,
.hpm-section-heading p,
.hpm-employer-contact-card > p {
	margin: 0;
}

.hpm-form-section + .hpm-form-section {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--hpm-border);
}

.hpm-section-heading {
	margin-bottom: 22px;
}

.hpm-section-heading h3 {
	margin: 0 0 7px;
	font-size: 23px;
}

.hpm-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 21px;
}

.hpm-field {
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-width: 0;
}

.hpm-field-full {
	grid-column: 1 / -1;
}

.hpm-field label,
.hpm-filter-field label {
	color: var(--hpm-heading);
	font-size: 14px;
	font-weight: 750;
}

.hpm-field label span {
	color: var(--hpm-danger);
}

.hpm-job-form input[type="text"],
.hpm-job-form input[type="email"],
.hpm-job-form input[type="url"],
.hpm-job-form input[type="date"],
.hpm-job-form select,
.hpm-job-form textarea,
.hpm-job-filter input[type="text"],
.hpm-job-filter select {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--hpm-border);
	border-radius: 13px;
	background: #fff;
	color: var(--hpm-heading);
	font-family: inherit;
	font-size: 15px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hpm-job-form input[type="text"],
.hpm-job-form input[type="email"],
.hpm-job-form input[type="url"],
.hpm-job-form input[type="date"],
.hpm-job-form select,
.hpm-job-filter input[type="text"],
.hpm-job-filter select {
	height: 52px;
	padding: 0 15px;
}

.hpm-job-form textarea {
	min-height: 140px;
	padding: 14px 15px;
	resize: vertical;
	line-height: 1.6;
}

.hpm-job-form input:focus,
.hpm-job-form select:focus,
.hpm-job-form textarea:focus,
.hpm-job-filter input:focus,
.hpm-job-filter select:focus {
	border-color: var(--hpm-primary);
	box-shadow: 0 0 0 4px rgba(23, 107, 77, 0.12);
}

.hpm-logo-upload {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 18px;
	border: 1px dashed #b8cdc4;
	border-radius: 17px;
	background: var(--hpm-surface-soft);
}

.hpm-logo-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 140px;
	height: 105px;
	box-sizing: border-box;
	border: 1px solid var(--hpm-border);
	border-radius: 13px;
	background: #fff;
	color: var(--hpm-text);
	font-size: 13px;
	text-align: center;
	overflow: hidden;
}

.hpm-logo-preview img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
	box-sizing: border-box;
}

.hpm-logo-upload input[type="file"] {
	width: 100%;
	min-width: 0;
	padding: 10px;
	border: 1px solid var(--hpm-border);
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box;
}

.hpm-logo-upload input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 9px 13px;
	border: 0;
	border-radius: 9px;
	background: var(--hpm-primary);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.hpm-clear-logo {
	padding: 11px 15px;
	border: 1px solid var(--hpm-border);
	border-radius: 10px;
	background: #fff;
	color: var(--hpm-heading);
	font-weight: 700;
	cursor: pointer;
}

.hpm-form-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 32px;
	padding-top: 26px;
	border-top: 1px solid var(--hpm-border);
}

.hpm-form-note {
	flex: 1 1 420px;
	margin: 0;
}

.hpm-submit-button,
.hpm-job-filter button,
.hpm-view-job,
.hpm-contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 12px;
	background: var(--hpm-primary);
	color: #fff;
	font-family: inherit;
	font-weight: 750;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(23, 107, 77, 0.2);
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hpm-submit-button {
	min-height: 50px;
	padding: 0 24px;
	font-size: 15px;
}

.hpm-submit-button:hover,
.hpm-job-filter button:hover,
.hpm-view-job:hover,
.hpm-contact-button:hover {
	background: var(--hpm-primary-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 13px 26px rgba(23, 107, 77, 0.24);
}

.hpm-submit-button:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.hpm-submit-button.is-loading::after {
	content: "";
	width: 15px;
	height: 15px;
	margin-left: 10px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: hpm-spin 0.7s linear infinite;
}

@keyframes hpm-spin {
	to { transform: rotate(360deg); }
}

.hpm-form-message {
	flex: 1 1 100%;
	display: none;
	padding: 13px 15px;
	border-radius: 11px;
	font-size: 14px;
	font-weight: 700;
}

.hpm-form-message.is-success,
.hpm-form-message.is-error {
	display: block;
}

.hpm-form-message.is-success {
	background: #e7f8ef;
	color: #11603f;
	border: 1px solid #bce8d0;
}

.hpm-form-message.is-error {
	background: #fff0ef;
	color: var(--hpm-danger);
	border: 1px solid #f1c4bf;
}

.hpm-job-filter {
	display: grid;
	grid-template-columns: 1.2fr 1fr 0.8fr auto;
	align-items: end;
	gap: 14px;
	margin-bottom: 28px;
	padding: 18px;
	border: 1px solid var(--hpm-border);
	border-radius: 18px;
	background: var(--hpm-surface);
	box-shadow: 0 10px 30px rgba(20, 37, 31, 0.06);
}

.hpm-filter-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.hpm-filter-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hpm-job-filter button {
	height: 52px;
	padding: 0 18px;
	white-space: nowrap;
}

.hpm-filter-actions > a {
	color: var(--hpm-primary);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.hpm-jobs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.hpm-job-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--hpm-border);
	border-radius: 19px;
	background: var(--hpm-surface);
	box-shadow: 0 12px 36px rgba(20, 37, 31, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hpm-job-card:hover {
	transform: translateY(-3px);
	border-color: #b8cdc4;
	box-shadow: var(--hpm-shadow);
}

.hpm-job-card-head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.hpm-company-logo,
.hpm-single-company-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border: 1px solid var(--hpm-border);
	border-radius: 15px;
	background: var(--hpm-surface-soft);
	overflow: hidden;
	text-decoration: none;
}

.hpm-company-logo {
	width: 68px;
	height: 68px;
}

.hpm-company-logo img,
.hpm-single-company-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	box-sizing: border-box;
}

.hpm-company-logo span,
.hpm-single-company-logo span {
	color: var(--hpm-primary);
	font-size: 27px;
	font-weight: 850;
}

.hpm-job-card-title {
	min-width: 0;
}

.hpm-job-card h3 {
	margin: 9px 0 4px;
	font-size: 20px;
	line-height: 1.25;
}

.hpm-job-card h3 a {
	color: inherit;
	text-decoration: none;
}

.hpm-job-card-title > p {
	margin: 0;
	color: var(--hpm-text);
	font-size: 14px;
}

.hpm-job-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
}

.hpm-job-meta span,
.hpm-single-job-meta span {
	display: inline-flex;
	align-items: center;
	padding: 7px 10px;
	border-radius: 9px;
	background: var(--hpm-surface-soft);
	color: #41534c;
	font-size: 12px;
	font-weight: 650;
}

.hpm-job-excerpt {
	margin: 17px 0 20px;
}

.hpm-job-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--hpm-border);
}

.hpm-job-card-footer > span {
	color: #829089;
	font-size: 12px;
}

.hpm-view-job {
	min-height: 40px;
	padding: 0 15px;
	font-size: 13px;
}

.hpm-empty-state {
	padding: 48px 24px;
	border: 1px dashed #b8cdc4;
	border-radius: 18px;
	background: var(--hpm-surface-soft);
	text-align: center;
}

.hpm-empty-state strong {
	display: block;
	margin-bottom: 5px;
	color: var(--hpm-heading);
	font-size: 20px;
}

.hpm-empty-state p {
	margin: 0;
}

.hpm-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 30px;
}

.hpm-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid var(--hpm-border);
	border-radius: 10px;
	background: #fff;
	color: var(--hpm-heading);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.hpm-pagination .page-numbers.current,
.hpm-pagination a.page-numbers:hover {
	border-color: var(--hpm-primary);
	background: var(--hpm-primary);
	color: #fff;
}

.hpm-single-job-header {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 38px;
	background: linear-gradient(135deg, #f4fbf7 0%, #ffffff 70%);
	border-bottom: 1px solid var(--hpm-border);
}

.hpm-single-company-logo {
	width: 116px;
	height: 116px;
}

.hpm-single-company-logo span {
	font-size: 44px;
}

.hpm-single-job-summary {
	min-width: 0;
}

.hpm-single-job h1 {
	margin: 15px 0 6px;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.06;
}

.hpm-company-name {
	margin: 0;
	color: var(--hpm-primary);
	font-size: 19px;
	font-weight: 750;
}

.hpm-single-job-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 20px;
}

.hpm-single-job-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	align-items: start;
	gap: 30px;
	padding: 38px;
}

.hpm-job-section + .hpm-job-section {
	margin-top: 30px;
	padding-top: 28px;
	border-top: 1px solid var(--hpm-border);
}

.hpm-job-section h2,
.hpm-employer-contact-card h2 {
	margin: 0 0 14px;
	font-size: 25px;
}

.hpm-job-section p:first-child {
	margin-top: 0;
}

.hpm-job-section p:last-child {
	margin-bottom: 0;
}

.hpm-employer-contact-card {
	position: sticky;
	top: 24px;
	padding: 22px;
	border: 1px solid var(--hpm-border);
	border-radius: 18px;
	background: var(--hpm-surface-soft);
}

.hpm-contact-button {
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	min-height: 60px;
	margin-top: 12px;
	padding: 12px 15px;
	box-sizing: border-box;
}

.hpm-contact-button span {
	font-size: 14px;
}

.hpm-contact-button small {
	max-width: 100%;
	margin-top: 4px;
	opacity: 0.82;
	font-size: 12px;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.hpm-contact-phone {
	background: #1e5f9d;
	box-shadow: 0 10px 24px rgba(30, 95, 157, 0.18);
}

.hpm-contact-phone:hover {
	background: #164a7b;
}

.hpm-company-website {
	display: block;
	margin-top: 18px;
	color: var(--hpm-primary);
	font-size: 14px;
	font-weight: 750;
	text-align: center;
	text-decoration: none;
}

.hpm-posted-date {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--hpm-border);
	color: #829089;
	font-size: 12px;
	text-align: center;
}

@media (max-width: 1024px) {
	.hpm-jobs-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hpm-job-filter {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hpm-filter-actions {
		align-self: end;
	}

	.hpm-single-job-layout {
		grid-template-columns: minmax(0, 1fr) 290px;
	}
}

@media (max-width: 767px) {
	.hpm-form-wrap,
	.hpm-single-job-wrap {
		padding: 14px 10px 32px;
	}

	.hpm-form-shell {
		padding: 22px 16px;
		border-radius: 18px;
	}

	.hpm-form-grid,
	.hpm-job-filter,
	.hpm-jobs-grid,
	.hpm-single-job-layout {
		grid-template-columns: 1fr;
	}

	.hpm-field-full {
		grid-column: auto;
	}

	.hpm-logo-upload {
		grid-template-columns: 1fr;
	}

	.hpm-logo-preview {
		width: 100%;
		height: 150px;
	}

	.hpm-form-actions {
		align-items: stretch;
	}

	.hpm-submit-button {
		width: 100%;
	}

	.hpm-job-filter {
		padding: 15px;
	}

	.hpm-filter-actions {
		flex-wrap: wrap;
	}

	.hpm-job-filter button {
		flex: 1 1 180px;
	}

	.hpm-single-job-header {
		flex-direction: column;
		padding: 24px 18px;
	}

	.hpm-single-company-logo {
		width: 92px;
		height: 92px;
	}

	.hpm-single-job-layout {
		padding: 24px 18px;
	}

	.hpm-employer-contact-card {
		position: static;
	}
}

@media (max-width: 480px) {
	.hpm-job-card {
		padding: 17px;
	}

	.hpm-job-card-head {
		align-items: center;
	}

	.hpm-company-logo {
		width: 58px;
		height: 58px;
	}

	.hpm-job-card-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.hpm-view-job {
		width: 100%;
	}
}
