/* Collaboration page stylesheet based on the supplied Farsisaz CSS URL. */
.fs-hamkari {
	--hk-bg-soft: #f9f9f9;
	--hk-bg-card: #f9fafc;
	--hk-field: #fff;
	--hk-border: #e4e4e4;
	--hk-text: #000;
	--hk-muted: #969696;
	--hk-muted2: #b3b3b3;
	--hk-accent: #e1ff00;
	--hk-btn-bg: #000;
	--hk-btn-text: #fff;
	--hk-focus: #000;
	--hk-icon-box: #f0f0f0;
	--hk-hero-bg: #f9f9f9;
	--hk-hero-text: #000;
	display: block;
	width: min(100% - 32px, 920px);
	margin: 0 auto;
	padding: 60px 0;
	color: var(--hk-text);
}

html.dark .fs-hamkari {
	--hk-bg-soft: #1a1a1a;
	--hk-bg-card: #1a1a1a;
	--hk-field: #000;
	--hk-border: #3a3a3a;
	--hk-text: #fff;
	--hk-muted: #aaa;
	--hk-muted2: #aaa;
	--hk-btn-bg: #fff;
	--hk-btn-text: #000;
	--hk-focus: #fff;
	--hk-icon-box: #2d2d2d;
	--hk-hero-bg: #e1ff00;
	--hk-hero-text: #000;
}

.fs-hk-hero {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 40px;
	padding: 45px 60px;
	overflow: hidden;
	border-radius: 30px;
	background: var(--hk-hero-bg);
	color: var(--hk-hero-text);
	transition: background .3s;
}

.fs-hk-hero h1 {
	margin: 0 0 6px;
	font-size: 38px;
	font-weight: 800;
}

.fs-hk-hero p {
	max-width: 480px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 2;
}

.fs-hk-hero-badge {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	padding: 13px 22px;
	border-radius: 14px;
	background: #000;
	color: #e1ff00;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity .2s;
}

.fs-hk-hero-badge:hover {
	opacity: .85;
}

.fs-hk-hero-badge svg {
	flex-shrink: 0;
}

.fs-hk-card {
	margin-bottom: 60px;
	padding: 40px;
	border-radius: 30px;
	background: var(--hk-bg-card);
	scroll-margin-top: 40px;
	transition: background .3s;
}

.fs-hk-trap {
	position: absolute;
	inset-inline-start: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fs-hk-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-bottom: 38px;
}

.fs-hk-step {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.fs-hk-step-circle {
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--hk-border);
	border-radius: 50%;
	background: var(--hk-field);
	color: var(--hk-muted);
	font-size: 16px;
	font-weight: 800;
	transition: all .3s;
}

.fs-hk-step.active .fs-hk-step-circle {
	border-color: var(--hk-accent);
	background: var(--hk-accent);
	color: #000;
	box-shadow: 0 0 0 5px rgb(225 255 0 / 25%);
}

.fs-hk-step.done .fs-hk-step-circle {
	border-color: var(--hk-btn-bg);
	background: var(--hk-btn-bg);
	color: var(--hk-btn-text);
}

.fs-hk-step-label {
	color: var(--hk-muted);
	font-size: 12px;
	font-weight: 700;
}

.fs-hk-step.active .fs-hk-step-label,
.fs-hk-step.done .fs-hk-step-label {
	color: var(--hk-text);
}

.fs-hk-step-line {
	position: relative;
	width: 90px;
	height: 2px;
	margin: 0 12px 26px;
	overflow: hidden;
	background: var(--hk-border);
}

.fs-hk-step-line::after {
	position: absolute;
	inset: 0;
	transform: scaleX(0);
	transform-origin: right;
	background: var(--hk-accent);
	content: '';
	transition: transform .4s;
}

.fs-hk-step-line.filled::after {
	transform: scaleX(1);
}

.fs-hk-panel {
	display: none;
}

.fs-hk-panel.active {
	display: block;
	animation: fsHkFadeUp .35s ease;
}

@keyframes fsHkFadeUp {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.fs-hk-title {
	margin-bottom: 4px;
	font-size: 19px;
	font-weight: 700;
}

.fs-hk-sub {
	margin-bottom: 24px;
	color: var(--hk-muted2);
	font-size: 12px;
	font-weight: 600;
}

.fs-hk-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.fs-hk-type-card {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 2px solid var(--hk-border);
	border-radius: 20px;
	background: var(--hk-field);
	color: var(--hk-text);
	font: inherit;
	text-align: right;
	user-select: none;
	cursor: pointer;
	transition: all .2s;
}

.fs-hk-type-card:hover {
	border-color: var(--hk-focus);
}

.fs-hk-type-card.selected {
	border-color: var(--hk-accent);
	background: var(--hk-accent);
}

.fs-hk-type-card.selected .fs-hk-type-name,
.fs-hk-type-card.selected .fs-hk-type-desc {
	color: #000;
}

.fs-hk-type-icon {
	display: flex;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	background: var(--hk-icon-box);
	color: var(--hk-text);
	transition: all .2s;
}

.fs-hk-type-card.selected .fs-hk-type-icon {
	background: #000;
	color: #e1ff00;
}

.fs-hk-type-name,
.fs-hk-type-desc {
	display: block;
}

.fs-hk-type-name {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.9;
}

.fs-hk-type-desc {
	margin-top: 2px;
	color: var(--hk-muted);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.8;
}

.fs-hk-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fs-hk-row2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.fs-hk-field {
	min-width: 0;
}

.fs-hk-field[hidden] {
	display: none;
}

.fs-hk-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 700;
}

.fs-hk-field input[type="text"],
.fs-hk-field input[type="tel"],
.fs-hk-field input[type="url"],
.fs-hk-field input[type="email"],
.fs-hk-field select,
.fs-hk-field textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--hk-border);
	border-radius: 13px;
	outline: none;
	background: var(--hk-field);
	color: var(--hk-text);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	appearance: none;
	transition: border-color .2s;
}

.fs-hk-field textarea {
	min-height: 112px;
	resize: vertical;
	line-height: 2;
}

.fs-hk-field input:focus,
.fs-hk-field select:focus,
.fs-hk-field textarea:focus {
	border-color: var(--hk-focus);
}

.fs-hk-field select:invalid {
	color: var(--hk-muted);
	font-size: 13px;
}

.fs-hk-field select option {
	background: var(--hk-field);
	color: var(--hk-text);
}

.fs-hk-err {
	display: none;
	margin-top: 5px;
	color: #ef4444;
	font-size: 12px;
	font-weight: 600;
}

.fs-hk-field.has-err input,
.fs-hk-field.has-err select,
.fs-hk-field.has-err textarea {
	border-color: #ef4444;
}

.fs-hk-field.has-err .fs-hk-err,
.fs-hk-err.show {
	display: block;
}

.fs-hk-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 30px;
}

.fs-hk-btn {
	padding: 15px 34px;
	border: 0;
	border-radius: 15px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .2s, background .2s, border-color .2s;
}

.fs-hk-btn-primary {
	background: var(--hk-btn-bg);
	color: var(--hk-btn-text);
}

.fs-hk-btn-primary:hover {
	opacity: .8;
}

.fs-hk-btn-ghost {
	border: 1px solid var(--hk-border);
	background: transparent;
	color: var(--hk-text);
}

.fs-hk-btn-ghost:hover {
	border-color: var(--hk-focus);
}

.fs-hk-btn:focus-visible,
.fs-hk-type-card:focus-visible,
.fs-hk-hero-badge:focus-visible {
	outline: 2px solid var(--hk-focus);
	outline-offset: 3px;
}

.fs-hk-btn:disabled {
	opacity: .4;
	cursor: not-allowed;
}

.fs-hk-success {
	display: none;
	padding: 30px 0 10px;
	text-align: center;
	animation: fsHkFadeUp .4s ease;
}

.fs-hk-success.show {
	display: block;
}

.fs-hamkari[data-submit-state="sent"] .fs-hk-card {
	display: none;
}

.fs-hamkari[data-submit-state="sent"] .fs-hk-success {
	display: block;
}

.fs-hk-check {
	display: flex;
	width: 86px;
	height: 86px;
	align-items: center;
	justify-content: center;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: var(--hk-accent);
	color: #000;
}

.fs-hk-success h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 800;
}

.fs-hk-success p {
	max-width: 400px;
	margin: 0 auto 26px;
	color: var(--hk-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 2.2;
}

.fs-hk-result-error {
	margin: 16px 0 0;
	color: #b91c1c;
	font-size: 14px;
}

html.dark .fs-hk-result-error {
	color: #fecaca;
}

@media (max-width: 768px) {
	.fs-hk-hero {
		flex-direction: column;
		padding: 35px 25px;
		text-align: center;
	}

	.fs-hk-hero h1 {
		font-size: 28px;
	}

	.fs-hk-card {
		padding: 25px 18px;
	}
}

@media (max-width: 700px) {
	.fs-hk-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.fs-hk-row2 {
		grid-template-columns: 1fr;
	}

	.fs-hk-step-line {
		width: 34px;
		margin: 0 6px 26px;
	}

	.fs-hk-step-label {
		font-size: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fs-hk-panel.active,
	.fs-hk-type-card,
	.fs-hk-hero {
		animation: none;
		transition: none;
	}
}
