/* Arkan Properties — Frontend Submit Form */

.arkan-submit-wrap {
	--arkan-accent: #68a774;
	--arkan-accent-dark: #3f7a4c;
	--arkan-accent-soft: rgba(104, 167, 116, 0.14);
	--arkan-accent-line: rgba(104, 167, 116, 0.28);
	--arkan-text: #1c2434;
	--arkan-muted: #7f86a2;
	--arkan-soft: #f3f5f8;
	--arkan-line: rgba(28, 36, 52, 0.08);
	--arkan-surface: #ffffff;
	--arkan-danger: #c23b3b;
	--arkan-radius: 20px;
	--arkan-radius-sm: 14px;
	--arkan-shadow: 0 12px 40px rgba(28, 36, 52, 0.08);
	--arkan-font: 'YekanFanum', 'B-yekan', 'pelak', Tahoma, sans-serif;
	--arkan-display: 'bakh', 'YekanFanum', Tahoma, sans-serif;
	max-width: 760px;
	margin: 0 auto 2.5rem;
	font-family: var(--arkan-font);
	color: var(--arkan-text);
	direction: rtl;
	text-align: right;
	isolation: isolate;
}

.arkan-submit-shell {
	position: relative;
	border-radius: var(--arkan-radius);
	overflow: hidden;
	background: var(--arkan-surface);
	box-shadow: var(--arkan-shadow);
	border: 1px solid var(--arkan-line);
}

/* ── Hero ── */
.arkan-submit-hero {
	position: relative;
	padding: 2.25rem 1.75rem 2rem;
	overflow: hidden;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(104, 167, 116, 0.35) 0%, transparent 55%),
		radial-gradient(80% 70% at 0% 100%, rgba(28, 36, 52, 0.55) 0%, transparent 50%),
		linear-gradient(155deg, #1c2434 0%, #2a3548 48%, #24352a 100%);
	color: #fff;
}

.arkan-submit-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
	pointer-events: none;
	animation: arkanGridDrift 18s linear infinite;
}

.arkan-submit-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	max-width: 32rem;
}

.arkan-submit-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.9);
	animation: arkanFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.arkan-submit-hero-kicker::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--arkan-accent);
	box-shadow: 0 0 0 3px rgba(104, 167, 116, 0.35);
	animation: arkanPulseDot 2s ease-in-out infinite;
}

.arkan-submit-hero-title {
	margin: 0;
	font-family: var(--arkan-display);
	font-size: clamp(1.55rem, 3.2vw, 2rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
	animation: arkanFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.arkan-submit-hero-desc {
	margin: 0;
	opacity: 0.86;
	font-size: 0.95rem;
	line-height: 1.75;
	font-weight: 500;
	animation: arkanFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.arkan-submit-hero-note {
	margin: 0.35rem 0 0;
	opacity: 0.72;
	font-size: 0.82rem;
	line-height: 1.6;
	animation: arkanFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.arkan-submit-login .arkan-submit-btn {
	margin-top: 0.35rem;
	animation: arkanFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

/* ── Progress ── */
.arkan-submit-progress {
	padding: 1.35rem 1.5rem 0.25rem;
	background: var(--arkan-surface);
}

.arkan-submit-progress-bar {
	height: 5px;
	background: var(--arkan-soft);
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 1.1rem;
}

.arkan-submit-progress-fill {
	display: block;
	height: 100%;
	width: 25%;
	background: linear-gradient(90deg, var(--arkan-accent-dark), var(--arkan-accent));
	border-radius: 999px;
	transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	box-shadow: 0 0 12px rgba(104, 167, 116, 0.45);
}

.arkan-submit-steps {
	display: flex;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0 0 0.35rem;
	gap: 0.35rem;
}

.arkan-submit-steps li {
	flex: 1;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--arkan-muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	transition: color 0.25s ease;
}

.arkan-submit-steps li span {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--arkan-soft);
	color: var(--arkan-muted);
	font-weight: 800;
	font-size: 0.82rem;
	border: 1.5px solid transparent;
	transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.arkan-submit-steps li.is-active {
	color: var(--arkan-accent-dark);
}

.arkan-submit-steps li.is-active span {
	background: var(--arkan-accent);
	color: #fff;
	border-color: var(--arkan-accent);
	box-shadow: 0 6px 16px rgba(104, 167, 116, 0.35);
	transform: scale(1.08);
}

.arkan-submit-steps li.is-done {
	color: var(--arkan-accent-dark);
}

.arkan-submit-steps li.is-done span {
	background: var(--arkan-accent-soft);
	color: var(--arkan-accent-dark);
	border-color: var(--arkan-accent-line);
}

.arkan-submit-steps li.is-done span::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 5px;
	border-right: 2px solid var(--arkan-accent-dark);
	border-bottom: 2px solid var(--arkan-accent-dark);
	transform: rotate(45deg) translateY(-1px);
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.arkan-submit-steps li.is-done span {
	font-size: 0;
}

/* ── Form shell ── */
.arkan-submit-form {
	padding: 1.5rem 1.75rem 1.75rem;
	background: var(--arkan-surface);
}

.arkan-submit-panels {
	position: relative;
	min-height: 220px;
}

.arkan-submit-panel {
	display: none;
	opacity: 0;
}

.arkan-submit-panel.is-active {
	display: block;
	animation: arkanPanelIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.arkan-submit-panel.is-leaving {
	display: block;
	animation: arkanPanelOut 0.22s ease both;
	pointer-events: none;
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
}

.arkan-submit-panel-title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 900;
	color: var(--arkan-text);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.arkan-submit-panel-title::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--arkan-accent);
	flex: 0 0 auto;
	box-shadow: 0 0 0 4px var(--arkan-accent-soft);
}

.arkan-submit-panel-title + .arkan-submit-panel-title,
.arkan-submit-cards + .arkan-submit-panel-title {
	margin-top: 0.35rem;
}

/* ── Selection cards ── */
.arkan-submit-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
	gap: 12px;
	margin-bottom: 1.65rem;
}

.arkan-submit-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 1.35rem 0.75rem 1.2rem;
	border: 1.5px solid var(--arkan-line);
	border-radius: var(--arkan-radius-sm);
	background: #fff;
	cursor: pointer;
	transition:
		transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
		border-color 0.2s ease,
		box-shadow 0.25s ease,
		background 0.2s ease;
}

.arkan-submit-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.arkan-submit-card:hover {
	border-color: rgba(104, 167, 116, 0.45);
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(28, 36, 52, 0.07);
}

.arkan-submit-card.is-selected {
	border-color: var(--arkan-accent);
	background: linear-gradient(165deg, rgba(104, 167, 116, 0.12), rgba(104, 167, 116, 0.03));
	box-shadow: 0 0 0 3px var(--arkan-accent-soft), 0 10px 24px rgba(104, 167, 116, 0.12);
	transform: translateY(-2px);
}

.arkan-submit-card-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--arkan-soft);
	transition: background 0.25s, transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.arkan-submit-card.is-selected .arkan-submit-card-icon-wrap {
	background: var(--arkan-accent-soft);
	transform: scale(1.06);
}

.arkan-submit-card-icon {
	font-size: 1.55rem;
	width: 1.55rem;
	height: 1.55rem;
	color: var(--arkan-muted);
	transition: color 0.2s;
}

.arkan-submit-card.is-selected .arkan-submit-card-icon,
.arkan-submit-card:hover .arkan-submit-card-icon {
	color: var(--arkan-accent-dark);
}

.arkan-submit-card-label {
	font-weight: 800;
	font-size: 0.88rem;
	color: var(--arkan-text);
}

.arkan-submit-card.is-selected .arkan-submit-card-label {
	color: var(--arkan-accent-dark);
}

/* Stagger cards on panel enter */
.arkan-submit-panel.is-active .arkan-submit-card {
	animation: arkanFadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.arkan-submit-panel.is-active .arkan-submit-card:nth-child(1) { animation-delay: 0.04s; }
.arkan-submit-panel.is-active .arkan-submit-card:nth-child(2) { animation-delay: 0.08s; }
.arkan-submit-panel.is-active .arkan-submit-card:nth-child(3) { animation-delay: 0.12s; }
.arkan-submit-panel.is-active .arkan-submit-card:nth-child(4) { animation-delay: 0.16s; }
.arkan-submit-panel.is-active .arkan-submit-card:nth-child(5) { animation-delay: 0.2s; }
.arkan-submit-panel.is-active .arkan-submit-card:nth-child(6) { animation-delay: 0.24s; }

/* ── Fields ── */
.arkan-submit-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem 1.25rem;
}

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

.arkan-submit-field label {
	display: block;
	margin-bottom: 0.45rem;
	font-weight: 800;
	font-size: 0.86rem;
	color: #3a4254;
}

.arkan-submit-field .req {
	color: var(--arkan-danger);
}

.arkan-submit-field .unit {
	font-weight: 600;
	color: var(--arkan-muted);
	font-size: 0.78rem;
}

.arkan-submit-field input[type="text"],
.arkan-submit-field input[type="tel"],
.arkan-submit-field input[type="email"],
.arkan-submit-field select,
.arkan-submit-field textarea {
	width: 100%;
	padding: 0.78rem 0.95rem;
	border: 1.5px solid var(--arkan-line);
	border-radius: 12px;
	font-size: 0.95rem;
	font-family: inherit;
	color: var(--arkan-text);
	background: #fff;
	transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
	box-sizing: border-box;
	appearance: none;
}

.arkan-submit-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237f86a2' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 0.95rem center;
	padding-left: 2.25rem;
}

.arkan-submit-field input::placeholder,
.arkan-submit-field textarea::placeholder {
	color: #a8aec0;
	font-weight: 500;
}

.arkan-submit-field input:hover,
.arkan-submit-field select:hover,
.arkan-submit-field textarea:hover {
	border-color: rgba(104, 167, 116, 0.4);
}

.arkan-submit-field input:focus,
.arkan-submit-field select:focus,
.arkan-submit-field textarea:focus {
	outline: none;
	border-color: var(--arkan-accent);
	box-shadow: 0 0 0 4px var(--arkan-accent-soft);
	background: #fff;
}

.arkan-submit-field.is-invalid input,
.arkan-submit-field.is-invalid select,
.arkan-submit-field.is-invalid textarea {
	border-color: var(--arkan-danger);
	box-shadow: 0 0 0 4px rgba(194, 59, 59, 0.12);
	animation: arkanShake 0.4s ease;
}

.arkan-submit-check,
.arkan-submit-checks label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 600 !important;
	cursor: pointer;
	padding: 0.45rem 0.75rem;
	border-radius: 10px;
	background: var(--arkan-soft);
	border: 1px solid transparent;
	transition: background 0.15s, border-color 0.15s;
}

.arkan-submit-check:hover,
.arkan-submit-checks label:hover {
	border-color: var(--arkan-accent-line);
	background: var(--arkan-accent-soft);
}

.arkan-submit-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.arkan-submit-hint,
.arkan-submit-note {
	padding: 0.95rem 1.1rem;
	background: var(--arkan-soft);
	border-radius: 12px;
	border-right: 3px solid var(--arkan-accent);
	color: var(--arkan-muted);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.7;
	margin: 0;
}

.arkan-submit-note {
	margin-top: 0.35rem;
}

/* ── Upload ── */
.arkan-submit-upload {
	margin-bottom: 1rem;
}

.arkan-submit-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.arkan-submit-upload-zone {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	padding: 2.75rem 1.5rem;
	border: 2px dashed rgba(104, 167, 116, 0.35);
	border-radius: 16px;
	background:
		radial-gradient(circle at 50% 0%, rgba(104, 167, 116, 0.08), transparent 60%),
		var(--arkan-soft);
	cursor: pointer;
	transition: border-color 0.25s, background 0.25s, transform 0.25s;
	text-align: center;
}

.arkan-submit-upload-zone:hover,
.arkan-submit-upload-zone.is-dragover {
	border-color: var(--arkan-accent);
	background:
		radial-gradient(circle at 50% 30%, rgba(104, 167, 116, 0.16), transparent 65%),
		#eef7f0;
	transform: scale(1.01);
}

.arkan-submit-upload-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--arkan-accent-line);
	box-shadow: 0 8px 20px rgba(104, 167, 116, 0.12);
	margin-bottom: 0.25rem;
	transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.arkan-submit-upload-zone:hover .arkan-submit-upload-icon-wrap {
	transform: translateY(-3px) scale(1.05);
}

.arkan-submit-upload-icon {
	font-size: 1.65rem;
	width: 1.65rem;
	height: 1.65rem;
	color: var(--arkan-accent-dark);
}

.arkan-submit-upload-text {
	font-weight: 800;
	color: var(--arkan-text);
	font-size: 0.95rem;
}

.arkan-submit-upload-hint {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--arkan-muted);
}

.arkan-submit-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 0;
}

.arkan-submit-preview li {
	position: relative;
	width: 88px;
	height: 88px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--arkan-line);
	box-shadow: 0 4px 12px rgba(28, 36, 52, 0.06);
	animation: arkanPopIn 0.35s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.arkan-submit-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.arkan-submit-preview li:hover img {
	transform: scale(1.06);
}

.arkan-submit-preview .remove {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 50%;
	background: rgba(28, 36, 52, 0.72);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	backdrop-filter: blur(4px);
	transition: background 0.15s, transform 0.15s;
}

.arkan-submit-preview .remove:hover {
	background: var(--arkan-danger);
	transform: scale(1.08);
}

/* ── Actions ── */
.arkan-submit-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 1.65rem;
	padding-top: 1.35rem;
	border-top: 1px solid var(--arkan-line);
}

/* Keep step chrome honest: "ثبت ملک" / next must respect [hidden]
   even when .arkan-submit-btn sets display:inline-flex. */
.arkan-submit-actions .arkan-submit-btn[hidden] {
	display: none !important;
}

.arkan-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.8rem 1.55rem;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
	border: none;
	transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
	text-decoration: none;
	line-height: 1.2;
}

.arkan-submit-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

.arkan-submit-btn-primary {
	background: linear-gradient(145deg, #74b580, var(--arkan-accent-dark));
	color: #fff;
	box-shadow: 0 8px 22px rgba(104, 167, 116, 0.32);
}

.arkan-submit-btn-primary:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(104, 167, 116, 0.4);
	color: #fff;
}

.arkan-submit-btn-primary:active:not(:disabled) {
	transform: translateY(0);
}

.arkan-submit-btn-ghost {
	background: transparent;
	color: var(--arkan-muted);
	border: 1.5px solid var(--arkan-line);
}

.arkan-submit-btn-ghost:hover:not(:disabled) {
	background: var(--arkan-soft);
	color: var(--arkan-text);
	border-color: rgba(28, 36, 52, 0.14);
}

.arkan-submit-status {
	margin-top: 0.85rem;
	font-size: 0.88rem;
	font-weight: 700;
	min-height: 1.35rem;
	display: flex;
	align-items: center;
	gap: 0.45rem;
	transition: color 0.2s;
}

.arkan-submit-status.is-error {
	color: var(--arkan-danger);
	animation: arkanShake 0.4s ease;
}

.arkan-submit-status.is-loading {
	color: var(--arkan-accent-dark);
}

.arkan-submit-status.is-loading::before {
	content: '';
	width: 14px;
	height: 14px;
	border: 2px solid var(--arkan-accent-soft);
	border-top-color: var(--arkan-accent);
	border-radius: 50%;
	animation: arkanSpin 0.7s linear infinite;
	flex: 0 0 auto;
}

.arkan-submit-form.is-busy {
	opacity: 0.72;
	pointer-events: none;
}

/* ── Success ── */
.arkan-submit-success {
	text-align: center;
	padding: 3.25rem 2rem;
	background: var(--arkan-surface);
	animation: arkanFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.arkan-submit-success[hidden] {
	display: none !important;
}

.arkan-submit-success-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 1.15rem;
	background: linear-gradient(145deg, rgba(104, 167, 116, 0.2), rgba(104, 167, 116, 0.06));
	color: var(--arkan-accent-dark);
	font-size: 2rem;
	line-height: 72px;
	border-radius: 50%;
	font-weight: 700;
	border: 1.5px solid var(--arkan-accent-line);
	box-shadow: 0 10px 28px rgba(104, 167, 116, 0.18);
	animation: arkanPopIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.arkan-submit-success h3 {
	margin: 0 0 0.55rem;
	font-family: var(--arkan-display);
	font-size: 1.35rem;
	color: var(--arkan-text);
	animation: arkanFadeUp 0.45s ease 0.18s both;
}

.arkan-submit-success p {
	color: var(--arkan-muted);
	margin: 0 0 1.65rem;
	font-weight: 600;
	line-height: 1.7;
	animation: arkanFadeUp 0.45s ease 0.24s both;
}

.arkan-submit-success .arkan-submit-btn {
	animation: arkanFadeUp 0.45s ease 0.3s both;
}

/* ── Login gate ── */
.arkan-submit-login .arkan-submit-hero {
	border-radius: var(--arkan-radius);
	text-align: center;
	align-items: center;
}

.arkan-submit-login .arkan-submit-hero-inner {
	align-items: center;
	max-width: none;
	width: 100%;
}

.arkan-submit-login .arkan-submit-btn {
	margin-top: 0.5rem;
}

/* ── Dynamic loading ── */
.arkan-submit-dynamic.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.arkan-submit-dynamic .arkan-submit-fields > .arkan-submit-field {
	animation: arkanFadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.arkan-submit-dynamic .arkan-submit-fields > .arkan-submit-field:nth-child(1) { animation-delay: 0.03s; }
.arkan-submit-dynamic .arkan-submit-fields > .arkan-submit-field:nth-child(2) { animation-delay: 0.06s; }
.arkan-submit-dynamic .arkan-submit-fields > .arkan-submit-field:nth-child(3) { animation-delay: 0.09s; }
.arkan-submit-dynamic .arkan-submit-fields > .arkan-submit-field:nth-child(4) { animation-delay: 0.12s; }
.arkan-submit-dynamic .arkan-submit-fields > .arkan-submit-field:nth-child(5) { animation-delay: 0.15s; }
.arkan-submit-dynamic .arkan-submit-fields > .arkan-submit-field:nth-child(6) { animation-delay: 0.18s; }

.arkan-submit-hero.is-compact {
	padding: 1.35rem 1.75rem;
}

.arkan-submit-hero.is-compact .arkan-submit-hero-desc {
	display: none;
}

.arkan-submit-cards.is-shake {
	animation: arkanShake 0.4s ease;
}

/* ── Keyframes ── */
@keyframes arkanFadeUp {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes arkanPanelIn {
	from { opacity: 0; transform: translateX(-18px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes arkanPanelOut {
	from { opacity: 1; transform: translateX(0); }
	to { opacity: 0; transform: translateX(var(--arkan-out-x, 14px)); }
}

@keyframes arkanPopIn {
	from { opacity: 0; transform: scale(0.72); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes arkanPulseDot {
	0%, 100% { box-shadow: 0 0 0 3px rgba(104, 167, 116, 0.35); }
	50% { box-shadow: 0 0 0 6px rgba(104, 167, 116, 0.12); }
}

@keyframes arkanGridDrift {
	from { background-position: 0 0, 0 0; }
	to { background-position: 28px 28px, 28px 28px; }
}

@keyframes arkanSpin {
	to { transform: rotate(360deg); }
}

@keyframes arkanShake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-5px); }
	40% { transform: translateX(5px); }
	60% { transform: translateX(-3px); }
	80% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
	.arkan-submit-wrap *,
	.arkan-submit-wrap *::before,
	.arkan-submit-wrap *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 600px) {
	.arkan-submit-fields {
		grid-template-columns: 1fr;
	}

	.arkan-submit-steps li {
		font-size: 0;
		gap: 0;
	}

	.arkan-submit-steps li span {
		font-size: 0.78rem;
		width: 30px;
		height: 30px;
	}

	.arkan-submit-steps li.is-done span {
		font-size: 0;
	}

	.arkan-submit-hero {
		padding: 1.75rem 1.15rem 1.5rem;
	}

	.arkan-submit-form,
	.arkan-submit-progress {
		padding-left: 1.15rem;
		padding-right: 1.15rem;
	}

	.arkan-submit-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.arkan-submit-actions {
		flex-direction: column-reverse;
	}

	.arkan-submit-actions .arkan-submit-btn {
		width: 100%;
	}
}

/* My properties / consultant panel styles live in consultant.css */

.arkan-submit-existing-gallery {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 0.65rem;
}

.arkan-submit-existing-gallery li {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.4rem;
	border: 1px solid var(--arkan-line, rgba(28, 36, 52, 0.08));
	border-radius: 12px;
	background: var(--arkan-soft, #f3f5f8);
}

.arkan-submit-existing-gallery img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
}

.arkan-submit-keep {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.72rem;
	color: var(--arkan-muted, #7f86a2);
}

