.htt-wrap {
	--htt-purple: var(--c-feature, #6E56CF);
	--htt-purple-light: #F4F1FE;
	--htt-dark: #211C33;
	--htt-border: #E4E1EA;
	--htt-text: #211C33;
	--htt-muted: #6B7280;
	--htt-dot: #F5A623;

	display: flex;
	gap: 24px;
	flex-wrap: nowrap;
	align-items: flex-start;
	font-family: var(--ff-primary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	color: var(--htt-text);
	box-sizing: border-box;
}

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

.htt-form-card {
	flex: 1 1 280px;
	min-width: 0;
	max-width: 320px;
}

.htt-result-card {
	flex: 2 1 0;
	background: #fff;
	border: 1px solid var(--htt-border);
	border-radius: 12px;
	padding: 20px 24px 24px;
	min-width: 0;
}

.htt-field { margin-bottom: 18px; }

.htt-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
}
.htt-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--htt-dot);
	flex: 0 0 auto;
}

.htt-date-input {
	width: 100%;
	border: 1px solid var(--htt-border);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	color: var(--htt-text);
	background: #fff;
}

.htt-date-input:valid {
	color: var(--c-dark-purple);
}

.is-dark .htt-date-input:valid {
	color: var(--c-white);
}

.htt-toggle {
	display: flex;
	border: 1px solid var(--htt-border);
	border-radius: 8px;
	overflow: hidden;
}
.htt-toggle-btn {
	flex: 1 1 0;
	border: none;
	background: #fff;
	color: var(--htt-text);
	font-size: 14px;
	padding: 10px 12px;
	cursor: pointer;
	border-left: 1px solid var(--htt-border);
}
/* .htt-toggle-btn:first-child { border-left: none; } */
.htt-toggle-btn.active {
	background: var(--htt-purple);
	color: #fff;
	font-weight: 500;
}

.htt-error {
	font-size: 13px;
	color: #C0362C;
	font-weight: 500;
	margin: 8px 0 0;
}

.htt-arrow-icon { font-size: 15px; }

/* result card */
.htt-tabs-row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
}
.htt-tabs-col {
	min-width: 0;
}
.htt-tabs {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}
.htt-tabs::-webkit-scrollbar { display: none; }
.htt-tab {
	flex: 0 0 auto;
	white-space: nowrap;
	font-size: 13px;
	color: var(--htt-muted);
	cursor: pointer;
	background: none;
	border: none;
	padding: 2px 0;
	font-family: inherit;
	outline-offset: 3px;
}
.htt-tab:focus { outline: none; }
.htt-tab:focus-visible {
	outline: 2px solid var(--htt-purple);
	border-radius: 3px;
}
/* .htt-tab.active {
	color: var(--htt-purple);
	font-weight: 600;
} */

.htt-nav-arrows { display: flex; gap: 8px; }

.htt-progress-track {
	position: relative;
	height: 2px;
	background: #DFDDE1;
	border-radius: 2px;
	margin-top: 12px;
}
.htt-progress-fill {
	position: absolute;
	top: 0; left: 0; bottom: 0;
	width: 0%;
	background: #F6C04B;
	border-radius: 4px;
	transition: width .2s ease-out;
}

.htt-content-row {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}
.htt-content-left { flex: 1 1 260px; min-width: 0; }
.htt-content-right { flex: 1 1 260px; min-width: 0; }

.htt-video-wrapper {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #1a1a1a center / cover no-repeat;
}

.htt-image {
	width: 100%;
	height: 100%;
	max-height: 380px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	background: #F3F2F6;
}

@media (max-width: 720px) {
	.htt-wrap { flex-wrap: wrap; }
	.htt-form-card { flex: 1 1 100%; max-width: 100%; }
	.htt-result-card { flex: 1 1 100%; }
	.htt-content-row { flex-direction: column; }
}

/* Overwrites */

.htt-form-card {
	max-width: 100%;
	width: 100%;
	display: grid;
	grid-template-columns: max-content;
}

.htt-wrap {
	display: grid;
	grid-template-columns: 305fr 847fr;
	gap: 8rem;
}

.htt-field:not(:last-child) {
	margin-bottom: 2.5rem;
}

.htt-dot {
	display: none;
}

.htt-label {
	gap: .9735rem;
	font-size: var(--fs-14-16);
	color: var(--c-dark-purple);
	font-weight: 500;
	position: relative;
	padding-left: 1.375rem;
	display: block;
	margin-bottom: 1.25rem;
}

.htt-label::before {
	width: 0.4375rem;
	height: 0.4375rem;
	border-radius: 100vw;
	background: var(--c-secondary);
	position: absolute;
	content:'';
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.htt-date-input {
	border-radius: 0.25rem;
	border: 1px solid var(--c-dark-15-tint);
	color: var(--c-dark-25-tint);
	font-size: var(--fs-16-17);
	text-transform: uppercase;
	position: relative;
	background-color: var(--c-white);
	cursor: text;
	padding: 0.9625rem 1.25rem;
}

.htt-date-input:focus {
	border: 1px solid var(--c-feature)
}

.htt-date-input::-webkit-calendar-picker-indicator {
	display: none;
}

.htt-date-input::-webkit-datetime-edit-text {
	color: var(--c-dark-50-tint);
	padding-inline: .625rem
}

input::-webkit-datetime-edit-fields-wrapper {
	display: flex;
	height: 15px;
}

input::-webkit-datetime-edit-fields-wrapper * {
	display: flex;
}

.htt-toggle {
	display: flex;
	gap: .9375rem;
	border: none;
	border-radius: unset;
	overflow: unset;
}

.htt-toggle-btn {
    font-size: var(--fs-14-17);
	position: relative;
	padding: 1.125rem 1.25rem 1.125rem 2.4375rem;
	border-radius: .25rem;
	border: 1px solid var(--c-dark-15-tint);
	font-weight: 500;
	font-family: var(--ff-primary);
	flex: 0 0 auto;
}

.htt-toggle-btn::before {
    content: "";
    position: absolute;
    flex: 0 0 0.5625rem;
    width: 0.5625rem;
    height: 0.5625rem;
    left: 1.25rem;
    transform: translateY(-54%);
    top: 50%;
    box-sizing: border-box;
    border: 1px solid var(--c-dark-50-tint);
    border-radius: 100vw;
    background: transparent;
    transition: background-color .2s ease-out, border-color .2s ease-out;
}

.htt-toggle-btn.active {
	border: 1px solid var(--c-feature);
}

.htt-toggle-btn.active::before {
	background: var(--c-white);
	border: 1px solid var(--c-white);
}

.htt-toggle-btn:is(:hover,:focus-visible) {
	border: 1px solid var(--c-feature);
}

.htt-toggle-btn:is(:hover,:focus-visible)::before {
	background: var(--c-feature);
	border: 1px solid var(--c-feature);
}
.htt-toggle-btn.active:is(:hover,:focus-visible)::before {
	background: var(--c-white);
	border: 1px solid var(--c-white);
}

.htt-result-card {
	background: transparent;
	border: none;
	padding: 0;
}

.htt-tabs-row {
	gap: 3.125rem;
	align-items: end;
	margin-bottom: 1.875rem;
}

.htt-tabs {
	display: grid;
	grid-template-columns: repeat(6,1fr);
	gap: 0;
}

.htt-tabs .htt-tab {
	font-size: var(--fs-10-14);
}

.htt-progress-track {
	margin-top: 1.25rem;
	height: 2px;
}

.htt-content-row {
	background: var(--c-white);
	border: 1px solid var(--c-dark-15-tint);
	padding: 1.875rem;
	border-radius: .5rem;
	
	display: grid;
	grid-template-columns: 312fr 400fr;
	gap: 4.6875rem;
}

.htt-content-right,
.htt-content-left {
	flex: auto;
}

.htt-content-right img {
	aspect-ratio: 1;
	width: 100%;
	height: auto;
	object-fit: cover;
	flex: auto;
	border-radius: .25rem;
	max-height: 100%;
	background: transparent;
}

.htt-content-left {
	display: flex;
	flex-direction: column;
}

.htt-text.text-content :is(h4,.h4) {
	--gap: 1.5625rem;
}

.htt-text.text-content :is(h4,.h4) strong {
	color: var(--c-feature);
	font-weight: 500;
}

.htt-text.text-content p {
	color: var(--c-body-dark);
	margin-bottom: 1rem;
}

.htt-video-wrapper {
	aspect-ratio: 1.78061;
	background: transparent;
	position: relative;
	border-radius: .25rem;
	overflow: hidden;
	margin-top: auto;
	background-size: cover;
}

.htt-video-wrapper::after {
	content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(237.67deg, rgba(41, 32, 52, 0) 30.62%, #292034 100%);
    mix-blend-mode: multiply;
}

.htt-play-btn {
	position: absolute;
	left: .9735rem;
	bottom: .9375rem;
	z-index: 2;
}

.htt-play-btn .play-btn {
	width: 1.875rem;
	height: 1.875rem;
}

.htt-play-btn .play-btn svg {
	margin-left: 2px;
}

.htt-submit-btn {
	width: fit-content;
}

/* Is dark */
.is-dark .htt-label {
	color: var(--c-white);
}

.is-dark .htt-tab,
.is-dark .htt-tab.active {
	color: var(--c-white);
	font-weight: 500;
}

.is-dark .htt-text.text-content :is(h4,.h4) {
	color: var(--c-dark-purple);
}

.is-dark .htt-progress-track {
	background: rgb(from var(--c-white) r g b / 0.15);
	height: 2px;
}

.is-dark .htt-date-input {
	background-color: rgb(from var(--c-white) r g b / .25);
	backdrop-filter: blur(50px);
	color: rgb(from var(--c-white) r g b / .25);
	outline-color: rgb(from var(--c-white) r g b / .25);
	transition-property: background-color, outline-color;
	border: 1px solid rgb(from var(--c-white) r g b / .25);
    outline-offset: -1px;
}

.is-dark .htt-toggle-btn {
	background-color: rgb(from var(--c-white) r g b / .15);
	backdrop-filter: blur(50px);
	color: var(--c-body-light);
	border: 1px solid rgb(from var(--c-white) r g b / .25);
}

.is-dark .htt-toggle-btn.active {
	background: var(--c-white);
    border: 1px solid var(--c-white);
	color: var(--c-dark-purple);
}

.is-dark .htt-toggle-btn.active::before {
	background: var(--c-feature);
	border: 1px solid var(--c-feature)
}

.is-dark .htt-date-input::-webkit-calendar-picker-indicator {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><mask id='m0' fill='white'><path d='M0 7H20V17C20 18.6569 18.6569 20 17 20H3C1.34315 20 0 18.6569 0 17V7Z'/></mask><path d='M0 7H20V17C20 18.6569 18.6569 20 17 20H3C1.34315 20 0 18.6569 0 17V7Z' stroke-width='2' stroke='%23F6C04B' mask='url(%23m0)'/><mask id='m1' fill='white'><path d='M0 8H20V5C20 3.34315 18.6569 2 17 2H3C1.34315 2 0 3.34315 0 5V8Z'/></mask><path d='M0 8H20V5C20 3.34315 18.6569 2 17 2H3C1.34315 2 0 3.34315 0 5V8Z' stroke-width='2' stroke='%23F6C04B' mask='url(%23m1)'/><g fill='%23F6C04B'><rect x='3' y='10' width='2' height='1' rx='0.5'/><rect x='7' y='10' width='2' height='1' rx='0.5'/><rect x='11' y='10' width='2' height='1' rx='0.5'/><rect x='15' y='10' width='2' height='1' rx='0.5'/><rect x='3' y='13' width='2' height='1' rx='0.5'/><rect x='7' y='13' width='2' height='1' rx='0.5'/><rect x='11' y='13' width='2' height='1' rx='0.5'/><rect x='15' y='13' width='2' height='1' rx='0.5'/><rect x='3' y='16' width='2' height='1' rx='0.5'/><rect x='7' y='16' width='2' height='1' rx='0.5'/><rect x='11' y='16' width='2' height='1' rx='0.5'/><rect x='15' y='16' width='2' height='1' rx='0.5'/><rect x='6' width='5' height='1' rx='0.5' transform='rotate(90 6 0)'/><rect x='15' width='5' height='1' rx='0.5' transform='rotate(90 15 0)'/></g></svg>")
}

@media screen and (width <= 920px) {
	.htt-wrap {
		display: flex;
		flex-direction: column;
		gap: 3.125rem;
	}
	.htt-label::before {
		width: 0.375rem;
		height: 0.375rem;
	}
	.htt-label {
		padding-left: 1rem;
		margin-bottom: .9375rem;
	}
	.htt-field:not(:last-child) {
		margin-bottom: 1.5625rem;
	}
	.htt-tabs-row {
		gap: 2.0625rem;
	}
	/* .htt-tab:nth-child(3),
	.htt-tab:nth-child(5) {
		display: none;
		visibility: hidden;
	} */
	.htt-progress-track {
		margin-top: .9375rem;
	}
	.htt-tab {
		margin-right: .75rem;
	}
	.htt-content-row {
		padding: 1.25rem;
		gap: 2.5rem;
	}
	.htt-text.text-content :is(h4,.h4) {
		margin-bottom: 1.25rem;
		/* order:1; */
	}
	.htt-text.text-content p {
		margin-bottom: 1.875rem;
		/* order: 2; */
	}
	.htt-video-wrapper {
		margin-top: .625rem;
		order: 4;
		aspect-ratio: 1.7727;
	}
	/* .htt-content-right {
		order: 3;
	} */
	.htt-play-btn {
		left: 1.25rem;
		bottom: 1.25rem;
	}
	.htt-content-left {
		justify-content: space-between;
	}
}

@media screen and (width <= 620px) {
	.htt-content-row {
		display: flex;
		flex-direction: column;
		gap: 0;
	}
	.htt-content-left {
		display: contents;
	}
	.htt-tabs-row {
		margin-bottom: .9375rem;
	}
	.htt-tab:nth-child(3),
	.htt-tab:nth-child(5) {
		display: none;
	}
	.htt-form-card {
		grid-template-columns: auto;
	}
	.htt-date-input {
		-webkit-appearance: none;
		appearance: none;
		background: none;
		padding-right: 2.75rem;
	}

	.htt-date-input::-webkit-calendar-picker-indicator {
		opacity: 0;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		cursor: pointer;
		background: none;
	}
	
}


