/**
 * Post a Job wizard styles — enqueued only on the "Post a Job" page template.
 */

.stepper-wrap {
	background: var(--hh-surface-raised);
	border-bottom: 1px solid var(--hh-line);
	position: sticky;
	top: 66px;
	z-index: 30;
}

.stepper {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 20px 0;
	max-width: 640px;
	margin: 0 auto;
}

.s-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	flex: 1;
	position: relative;
}

.s-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1.5px solid var(--hh-line);
	background: var(--hh-surface);
	color: var(--hh-ink-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--hh-font-display);
	font-weight: 700;
	font-size: 13px;
	transition: all 0.2s ease;
	z-index: 1;
}

.s-node .s-line {
	position: absolute;
	top: 15px;
	left: -50%;
	width: 100%;
	height: 1.5px;
	background: var(--hh-line);
	z-index: 0;
}

.s-node:first-child .s-line {
	display: none;
}

.s-label {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--hh-ink-soft);
	text-align: center;
}

.s-node.active .s-circle {
	background: var(--hh-blue);
	border-color: var(--hh-blue);
	color: #fff;
}

.s-node.active .s-label {
	color: var(--hh-blue);
}

.s-node.done .s-circle {
	background: var(--hh-green);
	border-color: var(--hh-green);
	color: #fff;
}

.s-node.done .s-line {
	background: var(--hh-green);
}

.s-node.done .s-label {
	color: var(--hh-ink);
}

@media (max-width: 620px) {
	.s-label {
		display: none;
	}
}

.form-shell {
	padding: 48px 0 90px;
}

.form-panel {
	display: none;
	max-width: 680px;
	margin: 0 auto;
}

.form-panel.active {
	display: block;
}

.panel-head {
	margin-bottom: 28px;
}

.panel-head h2 {
	font-size: clamp(21px, 2.8vw, 25px);
}

.panel-head p {
	margin-top: 8px;
	font-size: 14.5px;
	color: var(--hh-ink-soft);
}

.field {
	margin-bottom: 22px;
}

.field label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	margin-bottom: 7px;
}

.field .hint {
	font-weight: 500;
	color: var(--hh-ink-soft);
	font-size: 12.5px;
	margin-left: 4px;
}

.field input[type="text"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: var(--hh-radius-s);
	border: 1.5px solid var(--hh-line);
	background: var(--hh-surface);
	color: var(--hh-ink);
	font-family: var(--hh-font-body);
	font-size: 15px;
	transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--hh-blue);
}

.field textarea {
	resize: vertical;
	min-height: 110px;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 560px) {
	.field-row {
		grid-template-columns: 1fr;
	}
}

.char-count {
	text-align: right;
	font-size: 12px;
	color: var(--hh-ink-soft);
	margin-top: 5px;
	font-variant-numeric: tabular-nums;
}

.cat-select-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 8px;
}

.cat-select {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 16px;
	border: 1.5px solid var(--hh-line);
	border-radius: var(--hh-radius-m);
	background: var(--hh-surface-raised);
	cursor: pointer;
	text-align: left;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cat-select:hover {
	border-color: var(--hh-blue);
}

.cat-select.selected {
	border-color: var(--hh-blue);
	background: color-mix(in srgb, var(--hh-blue) 6%, transparent);
}

.cat-select .ci {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: color-mix(in srgb, var(--hh-gold) 16%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cat-select .ci svg {
	width: 18px;
	height: 18px;
	color: var(--hh-blue-ink);
}

.cat-select span.name {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.25;
}

.cat-select .check {
	margin-left: auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid var(--hh-line);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cat-select.selected .check {
	background: var(--hh-blue);
	border-color: var(--hh-blue);
}

.cat-select .check svg {
	width: 10px;
	height: 10px;
	color: #fff;
	opacity: 0;
}

.cat-select.selected .check svg {
	opacity: 1;
}

@media (max-width: 560px) {
	.cat-select-grid {
		grid-template-columns: 1fr;
	}
}

.subcat-block {
	margin-top: 26px;
}

.subcat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.chip {
	padding: 9px 15px;
	border-radius: 999px;
	border: 1.5px solid var(--hh-line);
	background: var(--hh-surface-raised);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.chip:hover {
	border-color: var(--hh-blue);
}

.chip.selected {
	background: var(--hh-blue);
	border-color: var(--hh-blue);
	color: #fff;
}

.dropzone {
	border: 1.5px dashed var(--hh-line);
	border-radius: var(--hh-radius-m);
	padding: 30px 20px;
	text-align: center;
	cursor: pointer;
	background: var(--hh-cloud);
	transition: border-color 0.15s ease;
}

.dropzone:hover {
	border-color: var(--hh-blue);
}

.dropzone svg {
	width: 28px;
	height: 28px;
	color: var(--hh-ink-soft);
	margin: 0 auto 10px;
}

.dropzone strong {
	font-size: 14.5px;
}

.dropzone .hint2 {
	font-size: 13px;
	color: var(--hh-ink-soft);
	margin-top: 4px;
}

.photo-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.photo-thumb {
	width: 76px;
	height: 76px;
	border-radius: var(--hh-radius-s);
	overflow: hidden;
	position: relative;
	border: 1.5px solid var(--hh-line);
	background: var(--hh-cloud);
	transition: opacity 0.2s ease;
}

.photo-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tip-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 16px;
	padding: 13px 15px;
	background: color-mix(in srgb, var(--hh-gold) 10%, transparent);
	border-radius: var(--hh-radius-s);
}

.tip-note svg {
	width: 16px;
	height: 16px;
	color: #8A5C00;
	flex-shrink: 0;
	margin-top: 2px;
}

.tip-note p {
	font-size: 13px;
	color: var(--hh-ink);
}

.urgency-row {
	display: flex;
	gap: 10px;
}

.u-pill {
	flex: 1;
	padding: 13px;
	border-radius: var(--hh-radius-s);
	border: 1.5px solid var(--hh-line);
	text-align: center;
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 700;
	transition: all 0.15s ease;
	background: var(--hh-surface-raised);
	color: var(--hh-ink);
}

.u-pill:hover {
	border-color: var(--hh-blue);
}

.u-pill.selected {
	border-color: var(--hh-blue);
	background: color-mix(in srgb, var(--hh-blue) 8%, transparent);
	color: var(--hh-blue);
}

.u-pill.selected[data-u="high"] {
	border-color: var(--hh-red);
	background: color-mix(in srgb, var(--hh-red) 8%, transparent);
	color: var(--hh-red);
}

.review-card {
	background: var(--hh-surface-raised);
	border: 1.5px solid var(--hh-line);
	border-radius: var(--hh-radius-m);
	padding: 24px 26px;
}

.review-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 13px 0;
	border-bottom: 1px solid var(--hh-line);
}

.review-row:last-child {
	border-bottom: none;
}

.review-row .rk {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--hh-ink-soft);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	flex-shrink: 0;
	width: 130px;
}

.review-row .rv {
	font-size: 14.5px;
	text-align: right;
}

.review-row .rv.empty {
	color: var(--hh-ink-soft);
	font-style: italic;
}

.response-note {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 24px;
	padding: 16px 18px;
	background: color-mix(in srgb, var(--hh-green) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--hh-green) 25%, transparent);
	border-radius: var(--hh-radius-m);
}

.response-note svg {
	width: 18px;
	height: 18px;
	color: var(--hh-green);
	flex-shrink: 0;
	margin-top: 1px;
}

.response-note p {
	font-size: 13.5px;
	color: var(--hh-ink);
}

.step-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 36px;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.step-nav .left {
	display: flex;
	gap: 14px;
	align-items: center;
}
