/* Glastbury registration form */

.glastbury-reg-mount {
	box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	align-self: stretch;
	height: auto;
	min-height: auto;
	--glastbury-reg-chrome-offset: 90px;
}

.elementor-widget-shortcode:has(.glastbury-reg-mount) > .elementor-widget-container,
.elementor-widget.elementor-widget-shortcode:has(.glastbury-reg-mount) > .elementor-widget-container {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	width: 100% !important;
	align-self: stretch !important;
}

.elementor-widget-shortcode:has(.glastbury-reg-mount) .elementor-shortcode {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	width: 100% !important;
	align-self: stretch !important;
}

.elementor-widget-shortcode:has(.glastbury-reg-mount) .glastbury-reg-mount,
.elementor-element.elementor-widget-shortcode:has(> .glastbury-reg-mount) > .glastbury-reg-mount {
	flex: 1 1 auto !important;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	align-self: stretch !important;
	min-height: unset !important;
	height: auto !important;
}

.elementor-element.elementor-widget-shortcode:has(> .glastbury-reg-mount) {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	width: 100% !important;
	align-self: stretch !important;
}

.elementor-widget:has(.glastbury-reg-mount) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	align-self: stretch;
	width: 100%;
	min-height: 0;
	height: auto;
}

.elementor-widget-container:has(.glastbury-reg-mount) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	align-self: stretch;
	min-height: 0;
	width: 100%;
	height: auto;
}

.elementor-shortcode:has(.glastbury-reg-mount) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	align-self: stretch;
	min-height: 0;
	width: 100%;
	height: auto;
}

.elementor-widget-wrap:has(.glastbury-reg-mount) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	align-self: stretch;
	min-height: 0;
	height: auto;
}

.elementor-column:has(.glastbury-reg-mount) {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	min-height: 0;
	height: auto;
	flex: 1 1 auto;
}

.elementor-column:has(.glastbury-reg-mount) > .elementor-widget-wrap {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: auto;
}

.elementor-section:has(.glastbury-reg-mount) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	height: auto;
	align-self: stretch;
}

.elementor-section:has(.glastbury-reg-mount) > .elementor-container {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	align-items: stretch;
	min-height: 0;
	height: auto;
}

.elementor-section:has(.glastbury-reg-mount) .elementor-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
}

.elementor-section:has(.glastbury-reg-mount) .elementor-column-wrap {
	height: auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	flex: 1 1 auto;
}

.e-con:has(.glastbury-reg-mount),
.e-flex:has(.glastbury-reg-mount) {
	flex: 1 1 auto;
	align-self: stretch;
	height: auto;
}

.e-con.e-child:has(.glastbury-reg-mount),
.e-flex.e-con.e-child:has(.glastbury-reg-mount) {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	align-self: stretch !important;
	width: 100%;
	height: auto !important;
}

.e-con:has(.glastbury-reg-mount) .e-con-inner:has(.glastbury-reg-mount),
.e-con-inner:has(.glastbury-reg-mount) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: auto;
	width: 100%;
	align-self: stretch;
	min-height: 0;
}

.glastbury-reg-root {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 100%;
	height: 100%;
	max-height: none;
	align-self: stretch;
	box-sizing: border-box;
}

.glastbury-reg-root > .glastbury-reg {
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 100%;
}

.glastbury-reg {
	--glastbury-reg-accent: #ff7515;
	--glastbury-reg-font-heading: "Host Grotesk", system-ui, -apple-system, sans-serif;
	--glastbury-reg-font-ui: "Poppins", system-ui, -apple-system, sans-serif;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	flex: 1 1 auto;
	height: 100%;
	min-height: 100%;
	align-self: stretch;
	font-family: var(--glastbury-reg-font-ui);
	color: #111;
	box-sizing: border-box;
}

.glastbury-reg *,
.glastbury-reg *::before,
.glastbury-reg *::after {
	box-sizing: border-box;
}

.elementor-widget-container:has(.glastbury-reg-mount) .glastbury-reg-root,
.elementor-shortcode:has(.glastbury-reg-mount) .glastbury-reg-root,
.elementor-element.elementor-widget-shortcode:has(> .glastbury-reg-mount) > .glastbury-reg-mount .glastbury-reg-root {
	flex: 1 1 auto;
	min-height: 0;
	height: auto;
	width: 100%;
	align-self: stretch;
}

.elementor-widget-container:has(.glastbury-reg-mount) .glastbury-reg-root > .glastbury-reg,
.elementor-shortcode:has(.glastbury-reg-mount) .glastbury-reg-root > .glastbury-reg,
.elementor-element.elementor-widget-shortcode:has(> .glastbury-reg-mount) > .glastbury-reg-mount .glastbury-reg-root > .glastbury-reg {
	flex: 1 1 auto;
	min-height: 0;
	height: auto;
	align-self: stretch;
}

.glastbury-reg__visual {
	flex: 1 1 50%;
	align-self: stretch;
	min-height: 0;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.glastbury-reg__panel {
	flex: 1 1 50%;
	align-self: stretch;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(1.5rem, 4vw, 3.5rem);
	background: #fff;
}

.glastbury-reg__form {
	width: 100%;
	max-width: 420px;
	flex: 0 0 auto;
}

.glastbury-reg__steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-bottom: 1.75rem;
}

.glastbury-reg__step-dot {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	font-weight: 600;
	border: 2px solid #121212;
	color: #121212;
	background: #fff;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.glastbury-reg__step-dot.is-active {
	border-color: #121212;
	background: #121212;
	color: #fff;
}

.glastbury-reg__step-line {
	width: 48px;
	height: 2px;
	background: #121212;
	margin: 0;
	flex-shrink: 0;
	align-self: center;
}

.glastbury-reg__title {
	margin: 0 0 1.5rem;
	font-family: var(--glastbury-reg-font-heading);
	font-style: normal;
	font-weight: 700;
	font-size: clamp(1.625rem, 2.5vw + 1rem, 2.5rem);
	line-height: 110%;
	text-align: center;
	letter-spacing: -0.02em;
	color: #121212;
}

.glastbury-reg__field {
	display: block;
	position: relative;
	margin-bottom: 0.85rem;
}

.glastbury-reg__req-asterisk {
	font-family: var(--glastbury-reg-font-ui);
	color: var(--glastbury-reg-accent);
	font-style: normal;
	font-weight: 700;
	font-size: 18px;
	line-height: 150%;
}

.glastbury-reg__input-wrap {
	position: relative;
	display: block;
	width: 100%;
}

.glastbury-reg__input-wrap .glastbury-reg__text-input-ph {
	position: relative;
	z-index: 1;
}

.glastbury-reg__input-wrap:not(.has-value):not(.is-focused) .glastbury-reg__text-input-ph {
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.glastbury-reg__select-wrap:not(.has-value):not(.is-focused) select {
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.glastbury-reg__select-wrap select:focus,
.glastbury-reg__select-wrap.has-value select {
	color: #111;
	-webkit-text-fill-color: currentColor;
}

.glastbury-reg__select-wrap select option {
	color: #111;
}

.glastbury-reg__select-wrap select {
	width: 100%;
}

.glastbury-reg__field--full {
	width: 100%;
}

.glastbury-reg__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.glastbury-reg__row .glastbury-reg__field {
	margin-bottom: 0;
}

.glastbury-reg__field input:not([type="date"]),
.glastbury-reg__field select {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid #d4d4d4;
	border-radius: 10px;
	font-family: var(--glastbury-reg-font-ui);
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 150%;
	background: #fff;
	color: #111;
	-webkit-appearance: none;
	appearance: none;
}

.glastbury-reg__field input[type="date"].glastbury-reg__date-input {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 0.85rem 1rem;
	padding-right: 2.75rem;
	border: 1px solid #d4d4d4;
	border-radius: 10px;
	font-family: var(--glastbury-reg-font-ui);
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 150%;
	background: #fff;
	color: #111;
	min-height: 2.85rem;
}

.glastbury-reg__date-input:invalid:not(:focus)::-webkit-datetime-edit,
.glastbury-reg__date-input:invalid:not(:focus)::-webkit-datetime-edit-fields-wrapper,
.glastbury-reg__date-input:invalid:not(:focus)::-webkit-datetime-edit-text,
.glastbury-reg__date-input:invalid:not(:focus)::-webkit-datetime-edit-month-field,
.glastbury-reg__date-input:invalid:not(:focus)::-webkit-datetime-edit-day-field,
.glastbury-reg__date-input:invalid:not(:focus)::-webkit-datetime-edit-year-field {
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.glastbury-reg__date-input:valid::-webkit-datetime-edit,
.glastbury-reg__date-input:valid::-webkit-datetime-edit-fields-wrapper {
	color: inherit;
	-webkit-text-fill-color: currentColor;
}

.glastbury-reg__date-input:invalid:not(:focus) {
	color: transparent;
}

.glastbury-reg__date-input:valid,
.glastbury-reg__date-input:focus {
	color: #111;
}

.glastbury-reg__field input[type="date"].glastbury-reg__date-input::-webkit-calendar-picker-indicator {
	position: absolute;
	right: 0.65rem;
	top: 50%;
	left: auto;
	transform: translateY(-50%);
	cursor: pointer;
	width: 1.35rem;
	height: 1.35rem;
	padding: 0;
	margin: 0;
	opacity: 1;
	z-index: 3;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' stroke='%23ff7515' stroke-width='2'/%3E%3Cpath d='M3 10h18' stroke='%23ff7515' stroke-width='2'/%3E%3Cpath d='M8 3v4M16 3v4' stroke='%23ff7515' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
		center / contain no-repeat;
}

.glastbury-reg__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='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.25rem;
}

.glastbury-reg__field input::placeholder {
	font-family: var(--glastbury-reg-font-ui);
	font-style: normal;
	font-weight: 300;
	font-size: 18px;
	line-height: 150%;
	leading-trim: both;
	text-edge: cap;
	color: #717171;
	opacity: 1;
}

.glastbury-reg__field input::-webkit-input-placeholder {
	font-family: var(--glastbury-reg-font-ui);
	font-style: normal;
	font-weight: 300;
	font-size: 18px;
	line-height: 150%;
	color: #717171;
}

.glastbury-reg__field input::-moz-placeholder {
	font-family: var(--glastbury-reg-font-ui);
	font-style: normal;
	font-weight: 300;
	font-size: 18px;
	line-height: 150%;
	color: #717171;
	opacity: 1;
}

.glastbury-reg__field--date {
	margin-bottom: 0.85rem;
}

.glastbury-reg__date-wrap {
	position: relative;
	display: block;
	width: 100%;
}

.glastbury-reg__date-placeholder {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: inline-flex;
	align-items: baseline;
	gap: 0;
	pointer-events: none;
	font-family: var(--glastbury-reg-font-ui);
	font-style: normal;
	font-weight: 300;
	font-size: 18px;
	line-height: 150%;
	leading-trim: both;
	text-edge: cap;
	transition: opacity 0.15s ease;
	opacity: 1;
	max-width: calc(100% - 3.25rem);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.glastbury-reg__date-placeholder-txt {
	color: #717171;
	overflow: hidden;
	text-overflow: ellipsis;
}

.glastbury-reg__date-wrap .glastbury-reg__req-asterisk {
	flex-shrink: 0;
}

.glastbury-reg__date-wrap.has-value .glastbury-reg__date-placeholder,
.glastbury-reg__date-wrap.is-focused .glastbury-reg__date-placeholder,
.glastbury-reg__input-wrap.has-value .glastbury-reg__date-placeholder,
.glastbury-reg__input-wrap.is-focused .glastbury-reg__date-placeholder {
	opacity: 0;
}

.glastbury-reg__field input:focus,
.glastbury-reg__field select:focus {
	outline: none;
	border-color: #111;
}

.glastbury-reg__field input.is-invalid,
.glastbury-reg__field select.is-invalid {
	border-color: #b00020;
}

.glastbury-reg__field-error {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	line-height: 1.35;
	color: #b00020;
}

.glastbury-reg__field-error:empty,
.glastbury-reg__field-error[hidden] {
	display: none;
	margin: 0;
}

.glastbury-reg__input-readonly {
	background: #f7f7f7 !important;
	color: #444;
}

.glastbury-reg__btn-primary {
	display: block;
	width: 100%;
	margin-top: 1.25rem;
	padding: 0.95rem 1.25rem;
	border: none;
	border-radius: 999px;
	background: #111;
	font-family: var(--glastbury-reg-font-ui);
	font-style: normal;
	font-weight: 700;
	font-size: 18px;
	line-height: 150%;
	color: #fff;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.05s;
}

.glastbury-reg__btn-primary:hover {
	opacity: 0.92;
}

.glastbury-reg__btn-primary:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.glastbury-reg__privacy {
	margin: 1rem 0 0;
	font-size: 0.75rem;
	line-height: 1.45;
	color: #666;
}

.glastbury-reg__privacy a {
	color: #111;
	text-decoration: underline;
}

.glastbury-reg__messages {
	margin-bottom: 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: 8px;
	font-size: 0.9rem;
	background: #fde8e8;
	color: #7f1d1d;
	border: 1px solid #f5c2c2;
}

.glastbury-reg__messages:empty,
.glastbury-reg__messages[hidden] {
	display: none !important;
}

.glastbury-reg__step.is-hidden {
	display: none !important;
}

@media (min-width: 783px) {
	.glastbury-reg-root {
		min-height: calc(100vh - var(--glastbury-reg-chrome-offset));
		min-height: calc(100dvh - var(--glastbury-reg-chrome-offset));
	}

	.glastbury-reg {
		min-height: calc(100vh - var(--glastbury-reg-chrome-offset));
		min-height: calc(100dvh - var(--glastbury-reg-chrome-offset));
	}

	.glastbury-reg__visual {
		min-height: calc(100vh - var(--glastbury-reg-chrome-offset));
		min-height: calc(100dvh - var(--glastbury-reg-chrome-offset));
	}

	.elementor-widget-container:has(.glastbury-reg-mount) .glastbury-reg-root,
	.elementor-shortcode:has(.glastbury-reg-mount) .glastbury-reg-root,
	.elementor-element.elementor-widget-shortcode:has(> .glastbury-reg-mount)
		> .glastbury-reg-mount
		.glastbury-reg-root {
		min-height: calc(100vh - var(--glastbury-reg-chrome-offset));
		min-height: calc(100dvh - var(--glastbury-reg-chrome-offset));
	}

	.elementor-widget-container:has(.glastbury-reg-mount) .glastbury-reg-root > .glastbury-reg,
	.elementor-shortcode:has(.glastbury-reg-mount) .glastbury-reg-root > .glastbury-reg,
	.elementor-element.elementor-widget-shortcode:has(> .glastbury-reg-mount)
		> .glastbury-reg-mount
		.glastbury-reg-root
		> .glastbury-reg {
		min-height: calc(100vh - var(--glastbury-reg-chrome-offset));
		min-height: calc(100dvh - var(--glastbury-reg-chrome-offset));
	}
}

@media (max-width: 782px) {
	.elementor-widget:has(.glastbury-reg-mount),
	.elementor-widget-container:has(.glastbury-reg-mount),
	.elementor-shortcode:has(.glastbury-reg-mount) {
		flex: 0 1 auto;
		height: auto;
		min-height: 0;
	}

	.glastbury-reg-mount {
		min-height: 0 !important;
		flex: 0 1 auto !important;
		height: auto !important;
	}

	.glastbury-reg-root {
		min-height: auto;
		height: auto;
		flex: 0 1 auto;
	}

	.glastbury-reg {
		flex-direction: column;
		min-height: auto;
		height: auto;
	}

	.glastbury-reg__visual {
		min-height: clamp(11rem, 36vw, 15rem);
		height: auto;
		flex: 0 0 auto;
		flex-basis: auto;
		align-self: stretch;
		width: 100%;
	}

	.glastbury-reg__panel {
		height: auto;
		min-height: auto;
		justify-content: flex-start;
		padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
		padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
		padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
	}

	.glastbury-reg__step-dot {
		width: 32px;
		height: 32px;
		font-size: 0.875rem;
	}

	.glastbury-reg__step-line {
		width: 40px;
	}

	.glastbury-reg__row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.glastbury-reg__field input:not([type="date"]),
	.glastbury-reg__field select {
		font-size: 1rem;
	}

	.glastbury-reg__field input[type="date"].glastbury-reg__date-input {
		font-size: 1rem;
	}

	.glastbury-reg__date-placeholder,
	.glastbury-reg__field input::placeholder,
	.glastbury-reg__field input::-webkit-input-placeholder,
	.glastbury-reg__field input::-moz-placeholder {
		font-size: 1rem;
	}

	.glastbury-reg__step-dot {
		width: 30px;
		height: 30px;
		font-size: 0.8125rem;
	}

	.glastbury-reg__step-line {
		width: 28px;
	}

	.glastbury-reg__btn-primary {
		font-size: 1rem;
		padding: 0.9rem 1.15rem;
	}
}
