/* Imganva Contact Form – frontend styles (self-contained) */

.icf-wrap {
	--icf-panel-a: #0b1220;
	--icf-panel-b: #080d18;
	--icf-input-bg: rgba(255, 255, 255, 0.035);
	--icf-input-bg-hover: rgba(255, 255, 255, 0.055);
	--icf-border: rgba(148, 163, 184, 0.22);
	--icf-text: #f1f5f9;
	--icf-muted: #94a3b8;
	--icf-placeholder: #7d8aa0;
	--icf-cyan: #22e0f0;
	--icf-violet: #7c6cf5;
	--icf-danger: #ff6b81;
	--icf-success: #34d399;

	position: relative;
	width: 100%;
	max-width: 660px;
	margin: 0 auto;
	color: var(--icf-text);
	font-family: inherit;
	line-height: 1.5;
	box-sizing: border-box;
}

.icf-wrap *,
.icf-wrap *::before,
.icf-wrap *::after {
	box-sizing: border-box;
}

/* Panel with gradient border + glow */
.icf-wrap .icf-panel {
	position: relative;
	padding: 40px 44px 44px;
	border: 1px solid transparent;
	border-radius: 20px;
	background:
		linear-gradient(180deg, var(--icf-panel-a), var(--icf-panel-b)) padding-box,
		linear-gradient(135deg, rgba(34, 224, 240, 0.85), rgba(124, 108, 245, 0.85)) border-box;
	box-shadow:
		0 24px 60px -24px rgba(0, 0, 0, 0.75),
		0 0 60px -14px rgba(34, 224, 240, 0.2),
		0 0 90px -24px rgba(124, 108, 245, 0.3);
	transition: box-shadow 0.35s ease;
	overflow: hidden;
}

.icf-wrap .icf-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 40% at 0% 0%, rgba(34, 224, 240, 0.08), transparent 70%),
		radial-gradient(60% 40% at 100% 100%, rgba(124, 108, 245, 0.1), transparent 70%);
	pointer-events: none;
}

.icf-wrap .icf-panel:hover {
	box-shadow:
		0 24px 60px -24px rgba(0, 0, 0, 0.75),
		0 0 70px -10px rgba(34, 224, 240, 0.28),
		0 0 100px -20px rgba(124, 108, 245, 0.38);
}

.icf-wrap .icf-panel > * {
	position: relative;
}

/* Header */
.icf-wrap .icf-header {
	margin: 0 0 26px;
}

.icf-wrap .icf-title {
	margin: 0 0 8px;
	padding: 0;
	color: var(--icf-text);
	font-size: clamp(26px, 3.4vw, 34px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.icf-wrap .icf-desc {
	margin: 0;
	color: var(--icf-muted);
	font-size: 16px;
}

/* Fields */
.icf-wrap .icf-field {
	margin: 0 0 20px;
}

.icf-wrap .icf-label {
	display: block;
	margin: 0 0 9px;
	color: var(--icf-text);
	font-size: 16px;
	font-weight: 600;
}

.icf-wrap .icf-req {
	color: var(--icf-danger);
	margin-left: 2px;
}

.icf-wrap .icf-control {
	position: relative;
}

.icf-wrap .icf-icon {
	position: absolute;
	left: 18px;
	top: 29px;
	width: 22px;
	height: 22px;
	transform: translateY(-50%);
	color: #8b98ad;
	pointer-events: none;
	transition: color 0.2s ease;
}

.icf-wrap .icf-icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.icf-wrap .icf-field--message .icf-icon {
	top: 20px;
	transform: none;
}

.icf-wrap .icf-control:focus-within .icf-icon,
.icf-wrap .icf-control:hover .icf-icon {
	color: var(--icf-cyan);
}

.icf-wrap .icf-input {
	display: block;
	width: 100%;
	min-height: 58px;
	margin: 0;
	padding: 0 18px 0 54px;
	background: var(--icf-input-bg);
	border: 1px solid var(--icf-border);
	border-radius: 12px;
	box-shadow: none;
	color: var(--icf-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.icf-wrap textarea.icf-input {
	min-height: 150px;
	padding: 16px 18px 16px 54px;
	resize: vertical;
}

.icf-wrap .icf-input::placeholder {
	color: var(--icf-placeholder);
	opacity: 1;
}

.icf-wrap .icf-input:hover {
	background: var(--icf-input-bg-hover);
	border-color: rgba(34, 224, 240, 0.4);
}

.icf-wrap .icf-input:focus {
	background: var(--icf-input-bg-hover);
	border-color: var(--icf-cyan);
	box-shadow: 0 0 0 3px rgba(34, 224, 240, 0.15), 0 0 26px -6px rgba(34, 224, 240, 0.4);
}

/* Select */
.icf-wrap .icf-select {
	padding-right: 52px;
	cursor: pointer;
	text-overflow: ellipsis;
}

.icf-wrap .icf-select[data-empty="true"] {
	color: var(--icf-placeholder);
}

.icf-wrap .icf-select option {
	background: #0d1526;
	color: var(--icf-text);
}

.icf-wrap .icf-chevron {
	position: absolute;
	right: 18px;
	top: 29px;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	color: #b4c0d3;
	pointer-events: none;
	transition: transform 0.2s ease, color 0.2s ease;
}

.icf-wrap .icf-chevron svg {
	display: block;
	width: 20px;
	height: 20px;
}

.icf-wrap .icf-control--select:focus-within .icf-chevron {
	color: var(--icf-cyan);
	transform: translateY(-50%) rotate(180deg);
}

/* Errors */
.icf-wrap .icf-error {
	margin: 8px 0 0;
	color: var(--icf-danger);
	font-size: 14px;
}

.icf-wrap .icf-error[hidden] {
	display: none;
}

.icf-wrap .icf-field.has-error .icf-input {
	border-color: var(--icf-danger);
	box-shadow: 0 0 0 3px rgba(255, 107, 129, 0.12);
}

/* Honeypot: off-screen, not display:none */
.icf-wrap .icf-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Privacy note */
.icf-wrap .icf-privacy {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 4px 0 22px;
	color: var(--icf-muted);
	font-size: 14px;
}

.icf-wrap .icf-privacy__icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: #8b98ad;
}

.icf-wrap .icf-privacy__icon svg {
	display: block;
}

.icf-wrap .icf-privacy p {
	margin: 0;
}

.icf-wrap .icf-privacy a {
	color: var(--icf-cyan);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.icf-wrap .icf-privacy a:hover {
	color: #7df3fb;
}

/* Status message */
.icf-wrap .icf-status {
	margin: 0 0 18px;
	padding: 13px 16px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 15px;
}

.icf-wrap .icf-status[hidden] {
	display: none;
}

.icf-wrap .icf-status--success {
	color: #b7f5dc;
	background: rgba(52, 211, 153, 0.1);
	border-color: rgba(52, 211, 153, 0.4);
}

.icf-wrap .icf-status--error {
	color: #ffc2cb;
	background: rgba(255, 107, 129, 0.1);
	border-color: rgba(255, 107, 129, 0.4);
}

/* Submit button (styled after the Imganva Design System button) */
.icf-wrap .icf-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 60px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(90deg, #22e5f0 0%, #4fb0f5 50%, #7c6cf5 100%);
	color: #07101f;
	font: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 12px 30px -12px rgba(34, 224, 240, 0.55);
	transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.icf-wrap .icf-submit:hover {
	transform: translateY(-2px);
	filter: brightness(1.07);
	box-shadow: 0 16px 36px -10px rgba(34, 224, 240, 0.7), 0 0 40px -8px rgba(124, 108, 245, 0.55);
}

.icf-wrap .icf-submit:active {
	transform: translateY(0);
}

.icf-wrap .icf-submit:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.icf-wrap .icf-submit__icon {
	display: inline-flex;
	transition: transform 0.2s ease;
}

.icf-wrap .icf-submit__icon svg {
	display: block;
	width: 22px;
	height: 22px;
	stroke-width: 2;
}

.icf-wrap .icf-submit:hover .icf-submit__icon {
	transform: translateX(4px);
}

.icf-wrap .icf-submit:disabled,
.icf-wrap .icf-submit.is-loading {
	cursor: progress;
	opacity: 0.75;
	transform: none;
	filter: none;
}

/* Small screens */
@media (max-width: 600px) {
	.icf-wrap .icf-panel {
		padding: 26px 20px 28px;
		border-radius: 16px;
	}
	.icf-wrap .icf-input {
		font-size: 16px; /* avoids iOS zoom */
	}
}

@media (prefers-reduced-motion: reduce) {
	.icf-wrap *,
	.icf-wrap *::before,
	.icf-wrap *::after {
		transition: none !important;
	}
}

/* Captcha */
.icf-wrap .icf-captcha {
	margin: 0 0 20px;
	max-width: 100%;
	overflow: hidden;
	min-height: 0;
}

.icf-wrap .icf-captcha:empty {
	display: none;
}

.icf-wrap .icf-captcha[data-provider="recaptcha_v3"] {
	display: none;
}
