
.yk_bar_root,
.yk_form_card,
.yk_form_unavailable {
	--yk_primary: #6c5ce7;
	--yk_primary_hover: #5b4bd8;
	--yk_primary_active: #4c3bc7;
	--yk_primary_soft: #f2efff;
	--yk_secondary: #00cfef;
	--yk_success: #22c55e;
	--yk_error: #ef4444;
	--yk_text: #171923;
	--yk_text_secondary: #4b5563;
	--yk_text_tertiary: #737b89;
	--yk_border: #e4e7ec;
	--yk_border_strong: #cbd1da;
	--yk_surface: #ffffff;
	--yk_font_boost: var(--yekto-font-size-boost, 0px);
	box-sizing: border-box;
	color: var(--yk_text);
	font-family: "ray", "Vazirmatn", "IRANSansX", Tahoma, Arial, sans-serif;
	text-align: right;
}

.yk_bar_root *,
.yk_bar_root *::before,
.yk_bar_root *::after,
.yk_form_card *,
.yk_form_card *::before,
.yk_form_card *::after,
.yk_form_unavailable *,
.yk_form_unavailable *::before,
.yk_form_unavailable *::after {
	box-sizing: border-box;
}

.yk_form_card [hidden] {
	display: none !important;
}

/* Sticky consultation bar */
.yk_bar_root {
	position: fixed;
	z-index: 99990;
	right: 18px;
	bottom: max(18px, env(safe-area-inset-bottom));
	left: 18px;
	display: flex;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(22px) scale(.985);
	transition: opacity .22s ease, transform .34s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .34s;
}

.yk_bar_root.yk_is_visible {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	transition-delay: 0s;
}

.yk_bar_panel {
	width: min(100%, 860px);
	padding: 1px;
	border-radius: 22px;
	background: linear-gradient(110deg, rgba(108, 92, 231, .94), rgba(255, 255, 255, .35) 50%, rgba(0, 207, 239, .85));
	box-shadow: 0 18px 44px rgba(23, 25, 35, .15), 0 5px 18px rgba(108, 92, 231, .14);
}

.yk_bar_problem_link {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	min-height: 72px;
	padding: 10px 12px;
	overflow: hidden;
	border-radius: 21px;
	color: var(--yk_text) !important;
	background:
		radial-gradient(circle at 8% 0, rgba(108, 92, 231, .11), transparent 34%),
		radial-gradient(circle at 92% 100%, rgba(0, 207, 239, .09), transparent 32%),
		rgba(255, 255, 255, .97);
	text-decoration: none !important;
	transition: background-color .18s ease, transform .18s ease;
}

.yk_bar_problem_link:hover {
	color: var(--yk_text) !important;
	background-color: #fbfbfe;
	transform: translateY(-1px);
}

.yk_bar_ai_orb {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 16px;
	color: #fff;
	background: linear-gradient(135deg, var(--yk_primary), #7c6df1 54%, var(--yk_secondary));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 22px rgba(108, 92, 231, .3);
	transition: transform .2s ease;
}

.yk_bar_problem_link:hover .yk_bar_ai_orb {
	transform: scale(1.04) rotate(-2deg);
}

.yk_bar_ai_orb svg {
	width: 25px;
	height: 25px;
}

.yk_bar_copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.yk_bar_badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 7px;
	margin-bottom: 2px;
	color: var(--yk_primary_active);
	font-size: calc(10px + var(--yk_font_boost));
	font-weight: 700;
	line-height: 1.6;
}

.yk_bar_badge > span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--yk_secondary);
	box-shadow: 0 0 0 3px rgba(0, 207, 239, .12), 0 0 10px rgba(0, 207, 239, .45);
}

.yk_bar_live_line {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 27px;
	overflow: hidden;
	color: var(--yk_text);
	font-size: calc(14px + var(--yk_font_boost));
	font-weight: 750;
	line-height: 1.7;
	white-space: nowrap;
}

.yk_bar_live_line > [data-yk-live-typing] {
	overflow: hidden;
	text-overflow: ellipsis;
}

.yk_bar_typing_cursor {
	width: 2px;
	height: 17px;
	margin-inline-start: 4px;
	flex: 0 0 auto;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--yk_secondary), var(--yk_primary));
	animation: yk_typing_blink .72s step-end infinite;
}

.yk_bar_action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 15px;
	border: 1px solid rgba(108, 92, 231, .18);
	border-radius: 14px;
	color: var(--yk_primary_active);
	background: var(--yk_primary_soft);
	font-size: calc(12px + var(--yk_font_boost));
	font-weight: 800;
	white-space: nowrap;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.yk_bar_action svg {
	width: 17px;
	height: 17px;
	transform: scaleX(-1);
}

.yk_bar_problem_link:hover .yk_bar_action {
	border-color: rgba(108, 92, 231, .34);
	background: #e8fbff;
	transform: translateX(-2px);
}

.yk_screen_reader_text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Consultation form */
.yk_form_card {
	position: relative;
	isolation: isolate;
	width: min(calc(100% - 32px), 760px);
	margin: clamp(20px, 5vw, 56px) auto;
	padding: clamp(24px, 5vw, 44px);
	overflow: hidden;
	border: 1px solid rgba(108, 92, 231, .14);
	border-radius: 24px;
	direction: rtl;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(135deg, rgba(108, 92, 231, .35), rgba(0, 207, 239, .2)) border-box;
	box-shadow: 0 20px 55px rgba(23, 25, 35, .09), 0 4px 16px rgba(108, 92, 231, .07);
}

.yk_form_card::before,
.yk_form_card::after {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.yk_form_card::before {
	top: -120px;
	right: -105px;
	width: 260px;
	height: 260px;
	background: rgba(108, 92, 231, .08);
	filter: blur(2px);
}

.yk_form_card::after {
	bottom: -105px;
	left: -90px;
	width: 220px;
	height: 220px;
	background: rgba(0, 207, 239, .08);
}

.yk_consultation_form,
.yk_success {
	position: relative;
	z-index: 1;
}

.yk_consultation_form {
	margin: 0;
}

.yk_form_grid,
.yk_service_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.yk_field,
.yk_fieldset {
	min-width: 0;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}

.yk_field label,
.yk_fieldset legend {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	color: var(--yk_text);
	font-size: calc(13px + var(--yk_font_boost));
	font-weight: 750;
	line-height: 1.7;
}

.yk_field label span,
.yk_fieldset legend span {
	margin-inline-start: 3px;
	color: var(--yk_error);
}

.yk_field input,
.yk_field select,
.yk_field textarea {
	display: block;
	width: 100%;
	margin: 0;
	border: 1px solid var(--yk_border_strong);
	border-radius: 10px;
	outline: 0;
	color: var(--yk_text);
	background: rgba(255, 255, 255, .94);
	font-family: inherit;
	font-size: calc(14px + var(--yk_font_boost));
	font-weight: 400;
	line-height: 1.7;
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.yk_field input,
.yk_field select {
	height: 50px;
	padding: 0 14px;
}

.yk_field textarea {
	min-height: 132px;
	padding: 13px 14px;
	resize: vertical;
}

.yk_field input::placeholder,
.yk_field textarea::placeholder {
	color: #9299a5;
	opacity: 1;
}

.yk_field input:hover,
.yk_field select:hover,
.yk_field textarea:hover {
	border-color: #a9b0bb;
}

.yk_field input:focus,
.yk_field select:focus,
.yk_field textarea:focus {
	border-color: var(--yk_primary);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(108, 92, 231, .1);
}

.yk_ltr_input {
	direction: ltr;
	text-align: left;
}

.yk_select_wrap,
.yk_description_wrap {
	position: relative;
}

.yk_select_wrap select {
	padding-inline-end: 42px;
	-webkit-appearance: none;
	appearance: none;
}

.yk_select_wrap svg {
	position: absolute;
	top: 50%;
	inset-inline-end: 14px;
	width: 18px;
	height: 18px;
	color: var(--yk_text_tertiary);
	pointer-events: none;
	transform: translateY(-50%);
}

.yk_description_wrap textarea {
	padding-top: 50px;
}

.yk_writing_guide {
	position: absolute;
	top: 11px;
	inset-inline-start: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: calc(100% - 24px);
	padding: 5px 10px;
	overflow: hidden;
	border: 1px solid rgba(108, 92, 231, .2);
	border-radius: 999px;
	color: var(--yk_primary_active);
	background: var(--yk_primary_soft);
	box-shadow: 0 4px 12px rgba(108, 92, 231, .08);
	font-size: calc(11px + var(--yk_font_boost));
	font-weight: 800;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: none;
	animation: yk_guide_float 1.7s ease-in-out infinite;
	transition: opacity .18s ease, transform .18s ease;
}

.yk_writing_guide > span {
	width: 2px;
	height: 14px;
	flex: 0 0 auto;
	border-radius: 2px;
	background: var(--yk_primary);
	animation: yk_typing_blink .72s step-end infinite;
}

.yk_description_wrap.yk_has_content .yk_writing_guide {
	opacity: 0;
	transform: translateY(-5px) scale(.96);
}

.yk_fieldset > p {
	margin: -3px 0 12px;
	color: var(--yk_text_tertiary);
	font-size: calc(12px + var(--yk_font_boost));
	line-height: 1.7;
}

.yk_service_option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	min-height: 50px;
	padding: 9px 11px;
	border: 1px solid var(--yk_border);
	border-radius: 10px;
	color: var(--yk_text_secondary);
	background: rgba(255, 255, 255, .92);
	cursor: pointer;
	font-size: calc(13px + var(--yk_font_boost));
	font-weight: 650;
	line-height: 1.6;
	transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.yk_service_option:hover {
	border-color: #b8aff8;
	background: #faf9ff;
	transform: translateY(-1px);
}

.yk_service_option input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.yk_service_check {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	border: 1px solid var(--yk_border_strong);
	border-radius: 6px;
	color: transparent;
	background: #fff;
	font-size: calc(13px + var(--yk_font_boost));
	transition: border-color .16s ease, color .16s ease, background-color .16s ease, transform .16s ease;
}

.yk_service_option:has(input:checked) {
	border-color: var(--yk_primary);
	color: var(--yk_primary_active);
	background: var(--yk_primary_soft);
	box-shadow: 0 0 0 1px rgba(108, 92, 231, .08);
}

.yk_service_option input:checked + .yk_service_check {
	border-color: var(--yk_primary);
	color: #fff;
	background: var(--yk_primary);
	transform: scale(1.04);
}

.yk_field_error {
	display: block;
	min-height: 0;
	margin-top: 6px;
	color: #c92727;
	font-size: calc(12px + var(--yk_font_boost));
	line-height: 1.6;
}

.yk_has_error input,
.yk_has_error select,
.yk_has_error textarea {
	border-color: var(--yk_error);
	box-shadow: 0 0 0 3px rgba(239, 68, 68, .08);
}

.yk_fieldset.yk_has_error .yk_service_grid {
	padding: 4px;
	margin: -4px;
	border: 1px solid rgba(239, 68, 68, .55);
	border-radius: 12px;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, .07);
}

.yk_field_meta {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 6px;
	color: var(--yk_text_tertiary);
	font-size: calc(11px + var(--yk_font_boost));
	line-height: 1.6;
}

.yk_form_notice {
	margin: 0 0 20px;
	padding: 12px 14px;
	border: 1px solid #fecaca;
	border-radius: 10px;
	color: #991b1b;
	background: #fef2f2;
	font-size: calc(13px + var(--yk_font_boost));
	line-height: 1.8;
}

.yk_form_notice.yk_notice_info {
	border-color: #bfdbfe;
	color: #1e40af;
	background: #eff6ff;
}

.yk_submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 54px;
	padding: 0 24px;
	border: 0;
	border-radius: 11px;
	color: #fff !important;
	background: linear-gradient(135deg, var(--yk_primary), #7564ea);
	box-shadow: 0 9px 22px rgba(108, 92, 231, .25);
	font-family: inherit;
	font-size: calc(15px + var(--yk_font_boost));
	font-weight: 750;
	line-height: 1.5;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.yk_submit > svg {
	width: 18px;
	height: 18px;
	transform: scaleX(-1);
}

.yk_submit:hover {
	color: #fff !important;
	background: linear-gradient(135deg, var(--yk_primary_hover), #6655df);
	box-shadow: 0 12px 26px rgba(108, 92, 231, .31);
	transform: translateY(-1px);
}

.yk_submit:active {
	background: var(--yk_primary_active);
	transform: translateY(0);
}

.yk_submit[disabled] {
	opacity: .72;
	cursor: wait;
	transform: none;
}

.yk_spinner {
	display: none;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: yk_spin .7s linear infinite;
}

.yk_submit.yk_is_loading .yk_spinner {
	display: block;
}

.yk_submit.yk_is_loading > [data-yk-submit-icon] {
	display: none;
}

.yk_form_privacy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 14px 0 0;
	color: var(--yk_text_tertiary);
	font-size: calc(11px + var(--yk_font_boost));
	line-height: 1.7;
	text-align: center;
}

.yk_form_privacy svg {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
}

.yk_honeypot {
	position: absolute !important;
	inset: auto auto auto -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
}

/* Success and unavailable states */
.yk_success {
	display: grid;
	place-items: center;
	min-height: 430px;
	padding: 32px;
	text-align: center;
}

.yk_success_icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: 20px;
	border-radius: 50%;
	color: #15803d;
	background: #ecfdf3;
	box-shadow: 0 0 0 10px rgba(34, 197, 94, .07);
}

.yk_success_icon svg {
	width: 36px;
	height: 36px;
}

.yk_success h3 {
	margin: 0 0 12px;
	color: var(--yk_text);
	font-size: calc(23px + var(--yk_font_boost));
	font-weight: 800;
	line-height: 1.5;
}

.yk_success p {
	max-width: 400px;
	margin: 0;
	color: var(--yk_text_secondary);
	font-size: calc(14px + var(--yk_font_boost));
	line-height: 1.9;
}

.yk_success_reference {
	margin-top: 22px;
	padding: 9px 14px;
	border: 1px dashed #b9b0f8;
	border-radius: 10px;
	direction: ltr;
	color: var(--yk_primary_active);
	background: var(--yk_primary_soft);
	font: 700 calc(13px + var(--yk_font_boost)) / 1.5 Tahoma, Arial, sans-serif;
}

.yk_form_unavailable {
	width: min(calc(100% - 32px), 760px);
	margin: 32px auto;
	padding: 18px 20px;
	border: 1px solid #fecaca;
	border-radius: 12px;
	direction: rtl;
	color: #991b1b;
	background: #fef2f2;
	font-size: calc(14px + var(--yk_font_boost));
	line-height: 1.8;
}

/* Keyboard accessibility */
.yk_bar_problem_link:focus-visible,
.yk_form_card input:focus-visible,
.yk_form_card select:focus-visible,
.yk_form_card textarea:focus-visible,
.yk_service_option:has(input:focus-visible),
.yk_submit:focus-visible {
	outline: 3px solid rgba(108, 92, 231, .34);
	outline-offset: 3px;
}

@keyframes yk_typing_blink {
	50% { opacity: 0; }
}

@keyframes yk_guide_float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-3px); }
}

@keyframes yk_spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 680px) {
	.yk_bar_root {
		right: 10px;
		bottom: max(10px, env(safe-area-inset-bottom));
		left: 10px;
	}

	.yk_bar_panel {
		border-radius: 19px;
	}

	.yk_bar_problem_link {
		grid-template-columns: 42px minmax(0, 1fr) 42px;
		gap: 10px;
		min-height: 66px;
		padding: 8px;
		border-radius: 18px;
	}

	.yk_bar_ai_orb {
		width: 42px;
		height: 42px;
		border-radius: 14px;
	}

	.yk_bar_ai_orb svg {
		width: 22px;
		height: 22px;
	}

	.yk_bar_badge {
		font-size: calc(9px + var(--yk_font_boost));
	}

	.yk_bar_live_line {
		min-height: 24px;
		font-size: calc(12.5px + var(--yk_font_boost));
	}

	.yk_bar_action {
		width: 42px;
		min-height: 42px;
		padding: 0;
		border-radius: 12px;
	}

	.yk_bar_action > span {
		display: none;
	}

	.yk_form_card {
		width: min(calc(100% - 20px), 760px);
		margin: 14px auto;
		padding: 22px 16px;
		border-radius: 18px;
	}

	.yk_form_grid,
	.yk_service_grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.yk_field,
	.yk_fieldset {
		margin-bottom: 19px;
	}

	.yk_field input,
	.yk_field select {
		height: 48px;
	}

	.yk_service_option {
		min-height: 48px;
	}

	.yk_success {
		min-height: 390px;
		padding: 20px 8px;
	}

	.yk_success h3 {
		font-size: calc(21px + var(--yk_font_boost));
	}

	.yk_form_privacy {
		align-items: flex-start;
	}
}

@media (max-width: 370px) {
	.yk_bar_problem_link {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		gap: 8px;
	}

	.yk_bar_ai_orb,
	.yk_bar_action {
		width: 40px;
		height: 40px;
		min-height: 40px;
	}

	.yk_bar_badge {
		display: none;
	}

	.yk_bar_live_line {
		font-size: calc(12px + var(--yk_font_boost));
	}

	.yk_form_card {
		width: min(calc(100% - 12px), 760px);
		padding-inline: 13px;
	}

	.yk_field_meta {
		gap: 8px;
		font-size: calc(10px + var(--yk_font_boost));
	}
}

@media (prefers-reduced-motion: reduce) {
	.yk_bar_root,
	.yk_bar_problem_link,
	.yk_bar_ai_orb,
	.yk_bar_action,
	.yk_submit,
	.yk_field input,
	.yk_field select,
	.yk_field textarea,
	.yk_service_option,
	.yk_service_check {
		transition: none;
	}

	.yk_spinner {
		animation-duration: 1.4s;
	}

	.yk_bar_typing_cursor,
	.yk_writing_guide,
	.yk_writing_guide > span {
		animation: none;
	}
}

@media (forced-colors: active) {
	.yk_service_check,
	.yk_bar_panel,
	.yk_form_card {
		border: 1px solid CanvasText;
	}
}