.ea-cv-form {
	--ea-accent: #165a5d;
	--ea-accent-soft: #2a8a8e;
	--ea-input-bg: #ffffff;
	--ea-placeholder: #8b8b8b;
	--ea-text: #3d3d3d;
	--ea-muted: #9a9a9a;
	--ea-heading: #2f2f2f;
	--ea-gap: 16px;
	--ea-radius-pill: 999px;
	--ea-radius-box: 28px;
	box-sizing: border-box;
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	color: var(--ea-text);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.45;
}

.ea-cv-form *,
.ea-cv-form *::before,
.ea-cv-form *::after {
	box-sizing: border-box;
}

.ea-cv-form .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ea-cv-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.ea-cv-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ea-gap);
}

.ea-cv-form__cell {
	min-width: 0;
}

.ea-cv-form__cell--full {
	grid-column: 1 / -1;
}

.ea-cv-form__field {
	display: block;
	position: relative;
	margin: 0;
}

.ea-cv-form input[type="text"],
.ea-cv-form input[type="email"],
.ea-cv-form input[type="tel"],
.ea-cv-form select,
.ea-cv-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	border: 0 !important;
	background-color: var(--ea-input-bg);
	background-image: none;
	color: var(--ea-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	outline: none;
	box-shadow: none !important;
	transition: box-shadow 0.2s ease;
}

.ea-cv-form input[type="text"],
.ea-cv-form input[type="email"],
.ea-cv-form input[type="tel"],
.ea-cv-form select {
	height: 58px;
	padding: 0 26px;
	border-radius: var(--ea-radius-pill);
	-webkit-appearance: none;
	appearance: none;
}

.ea-cv-form select {
	padding-right: 48px;
	cursor: pointer;
}

.ea-cv-form select:invalid {
	color: var(--ea-placeholder);
}

.ea-cv-form select option {
	color: var(--ea-text);
}

.ea-cv-form textarea {
	min-height: 148px;
	padding: 20px 26px;
	border-radius: var(--ea-radius-box);
	resize: vertical;
}

.ea-cv-form input::placeholder,
.ea-cv-form textarea::placeholder {
	color: var(--ea-placeholder);
	opacity: 1;
}

.ea-cv-form input:focus,
.ea-cv-form select:focus,
.ea-cv-form textarea:focus {
	box-shadow: 0 0 0 2px rgba(22, 90, 93, 0.18);
}

.ea-cv-form__chevron {
	position: absolute;
	top: 50%;
	right: 22px;
	width: 12px;
	height: 8px;
	color: var(--ea-accent);
	pointer-events: none;
	transform: translateY(-50%);
}

.ea-cv-form__chevron svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ea-cv-form__upload {
	display: flex;
	align-items: center;
	gap: 22px;
	position: relative;
}

.ea-cv-form__upload-info {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	flex: 1;
}

.ea-cv-form__upload-icon {
	display: flex;
	flex-shrink: 0;
	width: 28px;
	height: 36px;
	color: var(--ea-accent-soft);
}

.ea-cv-form__upload-icon svg,
.ea-cv-form__upload-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ea-cv-form__upload-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ea-cv-form__upload-title {
	color: var(--ea-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ea-cv-form__upload-hint,
.ea-cv-form__file-name {
	color: var(--ea-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.ea-cv-form__file-name {
	color: var(--ea-accent);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ea-cv-form__upload-rule {
	flex-shrink: 0;
	width: 0;
	height: 42px;
	border-left: 1px dashed #cfcfcf;
}

.ea-cv-form__upload-btn {
	flex-shrink: 0;
	margin: 0;
	padding: 11px 22px;
	border: 1.5px solid var(--ea-accent);
	border-radius: var(--ea-radius-pill);
	background: transparent;
	color: var(--ea-accent);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ea-cv-form__upload-btn:hover,
.ea-cv-form__upload-btn:focus-visible {
	background: var(--ea-accent);
	color: #fff;
}

.ea-cv-form__file {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.ea-cv-form__privacy {
	padding-top: 8px;
}

.ea-cv-form__privacy-heading {
	margin: 0 0 12px;
	color: var(--ea-heading);
	font-size: 15px;
	font-weight: 500;
}

.ea-cv-form__privacy-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	cursor: pointer;
}

.ea-cv-form__privacy-row input[type="checkbox"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.ea-cv-form__check {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	border: 1.5px solid #b5b5b5;
	border-radius: 3px;
	background: #fff;
}

.ea-cv-form__privacy-row input:checked + .ea-cv-form__check {
	border-color: var(--ea-accent);
	background: var(--ea-accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1.5 5.2L4.4 8.1 10.5 1.7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px 8px;
}

.ea-cv-form__privacy-row input:focus-visible + .ea-cv-form__check {
	box-shadow: 0 0 0 2px rgba(22, 90, 93, 0.18);
}

.ea-cv-form__privacy-text {
	color: var(--ea-heading);
	font-size: 14.5px;
	line-height: 1.45;
}

.ea-cv-form__privacy-link {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}

.ea-cv-form__privacy-link:hover,
.ea-cv-form__privacy-link:focus-visible {
	text-decoration: underline;
}

.ea-cv-form__actions {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.ea-cv-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 11px 14px 11px 28px;
	border: 0;
	border-radius: var(--ea-radius-pill);
	background: var(--ea-accent);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.15s ease;
}

.ea-cv-form__submit:hover,
.ea-cv-form__submit:focus-visible {
	filter: brightness(1.08);
}

.ea-cv-form__submit:disabled {
	cursor: wait;
	opacity: 0.8;
}

.ea-cv-form__submit-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}

.ea-cv-form__submit-icon svg,
.ea-cv-form__submit-icon img {
	display: block;
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.ea-cv-form__status {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 14px;
	text-align: center;
}

.ea-cv-form__status.is-success {
	background: #e8f4f2;
	color: var(--ea-accent);
}

.ea-cv-form__status.is-error {
	background: #f8ecec;
	color: #8a3030;
}

.ea-cv-form.is-busy .ea-cv-form__submit-label {
	opacity: 0.85;
}

@media (max-width: 767px) {
	.ea-cv-form__grid {
		grid-template-columns: 1fr;
	}

	.ea-cv-form__cell--full,
	.ea-cv-form__cell--half {
		grid-column: 1 / -1;
	}

	.ea-cv-form input[type="text"],
	.ea-cv-form input[type="email"],
	.ea-cv-form input[type="tel"],
	.ea-cv-form select {
		height: 54px;
	}

	.ea-cv-form__upload {
		flex-wrap: wrap;
		gap: 16px;
	}

	.ea-cv-form__upload-rule {
		display: none;
	}

	.ea-cv-form__upload-btn {
		width: 100%;
		text-align: center;
	}
}
