.ebe-simple-tax,
.ebe-simple-tax * {
	box-sizing: border-box;
}

.ebe-simple-tax {
	--ebe-blue: #0900c8;
	--ebe-button-blue: var(--e-global-color-primary, #0003b3);
	--ebe-button-blue-hover: var(--e-global-color-3d7d2a8, #002fa4);
	--ebe-button-white: var(--e-global-color-1e39658, #fff);
	--ebe-black: #050505;
	--ebe-text: #252525;
	--ebe-muted: #6d6d6d;
	--ebe-line: #e7e7ef;
	--ebe-soft: #f7f7fb;
	--ebe-red: #b42318;
	--ebe-red-soft: #fff4f2;
	--ebe-red-line: #f0aca5;
	--ebe-green: #087443;
	--ebe-green-soft: #effaf4;
	--ebe-green-line: #8fd8ad;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	max-width: 920px;
	margin: 0 auto 20px;
	color: var(--ebe-text);
	background: #fff;
}

.ebe-simple-tax button,
.ebe-simple-tax input {
	font: inherit;
}

.ebe-simple-tax__box {
	border: 1px solid var(--ebe-line);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
}

.ebe-simple-tax__head {
	padding: clamp(28px, 4vw, 46px);
	background: var(--ebe-blue);
	color: #fff;
	text-align: center;
}

.ebe-simple-tax .ebe-simple-tax__logo {
	display: block;
	width: 100%;
	max-width: 200px;
	height: auto;
	margin: 0 auto clamp(22px, 3vw, 32px);
}

.ebe-simple-tax .ebe-simple-tax__eyebrow {
	max-width: 680px;
	margin: 0 auto !important;
	color: #fff !important;
	font-size: clamp(15px, 1.8vw, 18px);
	font-weight: 900;
	letter-spacing: 0;
	opacity: 0.78;
}

.ebe-simple-tax .ebe-simple-tax__title {
	margin: 0 auto !important;
	color: #fff !important;
	font-family: "Playfair Display", Sans-serif;
	font-size: 40px;
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: 0;
}

.ebe-simple-tax__body {
	--ebe-body-pad: clamp(22px, 4vw, 38px);
	--ebe-body-gap: 24px;
	padding: var(--ebe-body-pad) var(--ebe-body-pad) var(--ebe-body-gap);
	display: grid;
	gap: var(--ebe-body-gap);
}

.ebe-simple-tax__label {
	display: block;
	margin-bottom: 8px;
	color: var(--ebe-black);
	font-size: clamp(15px, 1.6vw, 17px);
	font-weight: 900;
}

.ebe-simple-tax__field {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	align-items: center;
	width: 100%;
	min-height: 66px;
	border: 1px solid #d9d9e6;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ebe-simple-tax__field:focus-within {
	border-color: var(--ebe-blue);
	box-shadow: 0 0 0 4px rgba(9, 0, 200, 0.12);
}

.ebe-simple-tax__currency {
	display: grid;
	place-items: center;
	width: 46px;
	height: 100%;
	min-height: 66px;
	border-right: 1px solid var(--ebe-line);
	background: #f7f7fb;
	color: var(--ebe-muted);
	font-weight: 900;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1;
}

.ebe-simple-tax__input {
	width: 100%;
	min-width: 0;
	min-height: 64px !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 10px 16px !important;
	color: var(--ebe-black) !important;
	background: #fff !important;
	font-size: clamp(24px, 3vw, 32px) !important;
	line-height: 1.1 !important;
	font-weight: 900 !important;
	outline: none !important;
	text-indent: 0 !important;
	text-align: left !important;
	appearance: none;
}

.ebe-simple-tax__input:focus {
	border: 0 !important;
	box-shadow: none !important;
}

.ebe-simple-tax__hint {
	margin: 8px 0 0;
	color: var(--ebe-muted);
	font-size: 13px;
	line-height: 1.45;
}

.ebe-simple-tax__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ebe-simple-tax__card {
	min-height: 150px;
	border: 1px solid var(--ebe-red-line);
	border-radius: 8px;
	padding: 20px;
	background: var(--ebe-red-soft);
	text-align: center;
}

.ebe-simple-tax__card--green {
	border-color: var(--ebe-green-line);
	background: var(--ebe-green-soft);
}

.ebe-simple-tax__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: fit-content;
	margin: 0 auto 16px;
	border-radius: 999px;
	padding: 7px 12px;
	background: var(--ebe-red);
	color: #fff !important;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.ebe-simple-tax__badge-flag {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.ebe-simple-tax__badge .emoji,
.ebe-simple-tax__badge img.emoji {
	width: 1.15em !important;
	height: 1.15em !important;
	margin: 0 !important;
}

.ebe-simple-tax__card--green .ebe-simple-tax__badge {
	background: var(--ebe-green);
}

.ebe-simple-tax__card-label,
.ebe-simple-tax__tax-rate {
	display: block;
	color: var(--ebe-muted);
	font-size: clamp(11px, 1.2vw, 12px);
	font-weight: 900;
	line-height: 1.25;
	text-transform: uppercase;
}

.ebe-simple-tax__card strong {
	display: block;
	margin-top: 10px;
	color: var(--ebe-black);
	font-size: clamp(28px, 3.6vw, 38px);
	line-height: 1.05;
	font-weight: 950;
	overflow-wrap: anywhere;
}

.ebe-simple-tax__tax-rate {
	margin-top: 14px;
	color: var(--ebe-red);
}

.ebe-simple-tax__card--green .ebe-simple-tax__tax-rate {
	color: var(--ebe-green);
}

.ebe-simple-tax__saving {
	padding: 20px;
	border-radius: 8px;
	background: var(--ebe-blue);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ebe-simple-tax__saving span {
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.84;
}

.ebe-simple-tax__saving strong {
	color: #fff;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1;
	font-weight: 950;
	white-space: nowrap;
}

.ebe-simple-tax .ebe-simple-tax__note {
	margin: 0 !important;
	color: var(--ebe-muted);
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

.ebe-simple-tax__separator {
	height: 1px;
	margin: 0 calc(var(--ebe-body-pad) * -1);
	background: var(--ebe-line);
}

.ebe-simple-tax__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.ebe-simple-tax__button-wrap {
	display: block;
}

.ebe-simple-tax .ebe-simple-tax__button {
	display: inline-block;
	border: 0;
	border-radius: 200px;
	padding: 20px 40px;
	font-family: "JetBrains Mono", Sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ebe-simple-tax .ebe-simple-tax__button-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-width: 0;
}

.ebe-simple-tax .ebe-simple-tax__button-icon {
	display: inline-flex;
	flex: 0 0 auto;
	transition: transform 0.3s ease;
}

.ebe-simple-tax .ebe-simple-tax__button-icon svg {
	display: block;
	width: 1em;
	height: auto;
}

.ebe-simple-tax .ebe-simple-tax__button-icon path {
	transition: stroke 0.2s ease;
}

.ebe-simple-tax .ebe-simple-tax__button-text {
	min-width: 0;
	line-height: 1;
}

.ebe-simple-tax .ebe-simple-tax__button--contact {
	background: var(--ebe-button-white);
	box-shadow: inset 0 0 0 1px #d9d9e6;
	color: var(--ebe-button-blue) !important;
}

.ebe-simple-tax .ebe-simple-tax__button--contact:hover,
.ebe-simple-tax .ebe-simple-tax__button--contact:focus {
	background: var(--ebe-button-blue);
	color: var(--ebe-button-white) !important;
	text-decoration: none !important;
}

.ebe-simple-tax .ebe-simple-tax__button--contact:hover .ebe-simple-tax__button-icon,
.ebe-simple-tax .ebe-simple-tax__button--contact:focus .ebe-simple-tax__button-icon {
	transform: translateX(25%);
}

.ebe-simple-tax .ebe-simple-tax__button--contact:hover .ebe-simple-tax__button-icon path,
.ebe-simple-tax .ebe-simple-tax__button--contact:focus .ebe-simple-tax__button-icon path {
	stroke: var(--ebe-button-white);
}

.ebe-simple-tax .ebe-simple-tax__button--primary {
	background: var(--ebe-button-blue);
	color: var(--ebe-button-white) !important;
}

.ebe-simple-tax .ebe-simple-tax__button--primary:hover,
.ebe-simple-tax .ebe-simple-tax__button--primary:focus {
	background: var(--ebe-button-blue-hover);
	color: var(--ebe-button-white) !important;
	text-decoration: none !important;
}

.ebe-simple-tax .ebe-simple-tax__button:focus-visible {
	outline: 3px solid rgba(0, 3, 179, 0.25);
	outline-offset: 3px;
}

@media (max-width: 760px) {
	.ebe-simple-tax__grid {
		grid-template-columns: 1fr;
	}

	.ebe-simple-tax__saving {
		display: grid;
		justify-items: center;
		text-align: center;
	}

	.ebe-simple-tax__saving strong {
		white-space: normal;
	}

	.ebe-simple-tax__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ebe-simple-tax__button-wrap {
		display: block;
		width: 100%;
	}

	.ebe-simple-tax .ebe-simple-tax__button {
		width: 100%;
		padding: 15px 30px;
		font-size: 14px;
	}
}

@media (max-width: 520px) {
	.ebe-simple-tax__body {
		--ebe-body-pad: 16px;
		padding: 20px var(--ebe-body-pad) var(--ebe-body-gap);
	}

	.ebe-simple-tax__input {
		min-height: 62px;
	}
}
