.ag360-etn,
.ag360-etn * {
	box-sizing: border-box;
}

.ag360-etn {
	--ag360-ink: #102f2c;
	--ag360-ink-soft: #36534f;
	--ag360-accent: #c6f05a;
	--ag360-accent-dark: #8dbb24;
	--ag360-bone: #f5f1e8;
	--ag360-paper: #fffefb;
	--ag360-line: #d8ddd5;
	--ag360-error: #a93636;
	--ag360-success: #287554;
	width: 100%;
	max-width: 900px;
	margin: 32px auto;
	color: var(--ag360-ink);
	background: var(--ag360-paper);
	border: 1px solid var(--ag360-line);
	border-radius: 20px;
	box-shadow: 0 24px 70px rgba(16, 47, 44, 0.1);
	overflow: hidden;
	font-family: inherit;
	line-height: 1.5;
}

.ag360-etn[aria-busy="true"] {
	min-height: 280px;
}

.ag360-etn__header {
	padding: clamp(30px, 5vw, 52px);
	color: #fff;
	background: var(--ag360-ink);
}

.ag360-etn__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ag360-etn__title,
.ag360-etn__header h2 {
	max-width: 680px;
	margin: 0;
	color: inherit;
	font-size: clamp(30px, 5vw, 52px);
	font-weight: 650;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.ag360-etn__intro,
.ag360-etn__event {
	max-width: 650px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
}

.ag360-etn__event {
	color: var(--ag360-accent);
	font-weight: 700;
}

.ag360-etn__loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 180px;
	padding: 36px;
	color: var(--ag360-ink-soft);
}

.ag360-etn__spinner {
	width: 20px;
	height: 20px;
	border: 2px solid var(--ag360-line);
	border-top-color: var(--ag360-ink);
	border-radius: 50%;
	animation: ag360-etn-spin 0.8s linear infinite;
}

@keyframes ag360-etn-spin {
	to {
		transform: rotate(360deg);
	}
}

.ag360-etn__form {
	padding: 0 clamp(18px, 4vw, 42px) clamp(26px, 4vw, 42px);
}

.ag360-etn__section {
	padding: clamp(22px, 4vw, 36px) 0;
	border-bottom: 1px solid var(--ag360-line);
}

.ag360-etn__section:last-of-type {
	border-bottom: 0;
}

.ag360-etn__section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	margin-bottom: 18px;
}

.ag360-etn__section-heading h3,
.ag360-etn__attendee h4,
.ag360-etn__checkout h3,
.ag360-etn__success h3 {
	margin: 0;
	color: var(--ag360-ink);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ag360-etn__section-heading p,
.ag360-etn__checkout-heading p,
.ag360-etn__success p {
	margin: 7px 0 0;
	color: var(--ag360-ink-soft);
}

.ag360-etn__ticket-grid,
.ag360-etn__fields--two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ag360-etn__fields {
	margin-top: 14px;
}

.ag360-etn__field {
	min-width: 0;
}

.ag360-etn__field label,
.ag360-etn__choice-label {
	display: block;
	margin: 0 0 8px;
	color: var(--ag360-ink);
	font-size: 14px;
	font-weight: 700;
}

.ag360-etn__field label span {
	color: var(--ag360-error);
}

.ag360-etn input:not([type="checkbox"]):not([type="radio"]),
.ag360-etn select,
.ag360-etn textarea {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 9px 12px;
	color: var(--ag360-ink);
	background: #fff;
	border: 1px solid #bcc7c2;
	border-radius: 8px;
	box-shadow: none;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.ag360-etn textarea {
	min-height: 110px;
	resize: vertical;
}

.ag360-etn input:focus,
.ag360-etn select:focus,
.ag360-etn textarea:focus,
.ag360-etn button:focus-visible {
	outline: 0;
	border-color: var(--ag360-accent-dark);
	box-shadow: 0 0 0 3px rgba(141, 187, 36, 0.2);
}

.ag360-etn input:disabled,
.ag360-etn select:disabled,
.ag360-etn textarea:disabled {
	opacity: 0.68;
	cursor: not-allowed;
}

.ag360-etn__help,
.ag360-etn__fine-print,
.ag360-etn__privacy,
.ag360-etn__additional {
	margin: 8px 0 0;
	color: var(--ag360-ink-soft);
	font-size: 13px;
}

.ag360-etn__quantity {
	display: grid;
	grid-template-columns: 44px minmax(66px, 1fr) 44px;
	border: 1px solid #bcc7c2;
	border-radius: 8px;
	overflow: hidden;
}

.ag360-etn__quantity input:not([type="checkbox"]):not([type="radio"]) {
	min-height: 42px;
	padding-inline: 4px;
	border: 0;
	border-inline: 1px solid #d7dfdb;
	border-radius: 0;
	text-align: center;
	-moz-appearance: textfield;
}

.ag360-etn__quantity input::-webkit-inner-spin-button,
.ag360-etn__quantity input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.ag360-etn__quantity button {
	min-height: 42px;
	padding: 0;
	color: var(--ag360-ink);
	background: var(--ag360-bone);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	font-size: 22px;
	font-weight: 700;
}

.ag360-etn__quantity button:hover:not(:disabled) {
	background: #e8e3d8;
}

.ag360-etn__quantity button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.ag360-etn__summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin-top: 16px;
	background: #d7ded8;
	border: 1px solid #d7ded8;
	border-radius: 12px;
	overflow: hidden;
}

.ag360-etn__summary > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	background: var(--ag360-bone);
}

.ag360-etn__summary span {
	color: var(--ag360-ink-soft);
	font-size: 13px;
}

.ag360-etn__summary strong {
	font-size: 17px;
}

.ag360-etn__attendees {
	display: grid;
	gap: 12px;
}

.ag360-etn__attendee {
	padding: clamp(14px, 3vw, 20px);
	background: var(--ag360-bone);
	border: 1px solid #e1ddd3;
	border-radius: 14px;
}

.ag360-etn__attendee-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

.ag360-etn__attendee h4 {
	font-size: 18px;
}

.ag360-etn__attendee-ticket {
	color: var(--ag360-ink-soft);
	font-size: 12px;
	font-weight: 700;
	text-align: right;
}

.ag360-etn__copy-purchaser,
.ag360-etn__choice {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	font-size: 14px;
}

.ag360-etn__copy-purchaser {
	margin-bottom: 14px;
}

.ag360-etn__copy-purchaser input,
.ag360-etn__choice input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	accent-color: var(--ag360-ink);
}

.ag360-etn__choice-group {
	display: grid;
	gap: 8px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.66);
	border: 1px solid #d5dbd5;
	border-radius: 8px;
}

.ag360-etn__payment-methods {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ag360-etn__payment-option {
	position: relative;
}

.ag360-etn__payment-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ag360-etn__payment-option label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	margin: 0;
	padding: 13px 14px;
	background: #fff;
	border: 1px solid #bcc7c2;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 750;
}

.ag360-etn__payment-option label::after {
	content: "";
	width: 15px;
	height: 15px;
	border: 2px solid #9aaba4;
	border-radius: 50%;
}

.ag360-etn__payment-option input:checked + label {
	background: #f5fadf;
	border-color: var(--ag360-accent-dark);
	box-shadow: 0 0 0 2px rgba(141, 187, 36, 0.14);
}

.ag360-etn__payment-option input:checked + label::after {
	background: var(--ag360-accent-dark);
	border-color: var(--ag360-accent-dark);
	box-shadow: inset 0 0 0 3px #fff;
}

.ag360-etn__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin-top: 20px;
	padding: 12px 20px;
	color: var(--ag360-ink);
	background: var(--ag360-accent);
	border: 1px solid var(--ag360-accent);
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	transition: background-color 150ms ease, transform 150ms ease;
}

.ag360-etn__submit:hover:not(:disabled) {
	background: #b8e346;
	transform: translateY(-1px);
}

.ag360-etn__submit:disabled {
	opacity: 0.58;
	cursor: wait;
}

.ag360-etn__privacy {
	text-align: center;
}

.ag360-etn__status,
.ag360-etn-notice {
	margin-top: 22px;
	padding: 13px 15px;
	color: var(--ag360-ink);
	background: #f3f5f2;
	border-left: 4px solid var(--ag360-ink-soft);
	border-radius: 6px;
	font-size: 14px;
}

.ag360-etn__status[data-type="error"],
.ag360-etn-notice {
	color: #7d2929;
	background: #fff1f1;
	border-left-color: var(--ag360-error);
}

.ag360-etn__status[data-type="success"] {
	color: #17543b;
	background: #edf8f1;
	border-left-color: var(--ag360-success);
}

.ag360-etn__checkout,
.ag360-etn__success {
	padding: clamp(32px, 6vw, 60px);
}

.ag360-etn-modal-open {
	overflow: hidden;
}

.ag360-etn__modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: clamp(18px, 4vw, 40px);
}

.ag360-etn__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 28, 18, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.ag360-etn__modal .ag360-etn__checkout {
	position: relative;
	z-index: 1;
	width: min(100%, 640px);
	max-height: min(760px, calc(100vh - 36px));
	overflow: auto;
	background: var(--ag360-paper);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 20px;
	box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.ag360-etn__modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--ag360-ink);
	background: var(--ag360-bone);
	border: 1px solid var(--ag360-line);
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 24px;
	line-height: 1;
}

.ag360-etn__checkout-heading {
	margin-bottom: 28px;
}

.ag360-etn__payment-element {
	padding: 18px;
	background: #fff;
	border: 1px solid var(--ag360-line);
	border-radius: 10px;
}

.ag360-etn__paypal {
	max-width: 520px;
	margin: 0 auto;
}

.ag360-etn__success {
	text-align: center;
}

.ag360-etn__success-mark {
	display: inline-grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: 20px;
	color: #fff;
	background: var(--ag360-success);
	border-radius: 50%;
	font-size: 30px;
	font-weight: 800;
}

.ag360-etn__success .ag360-etn__eyebrow {
	color: var(--ag360-success);
}

.ag360-etn__success-next {
	max-width: 520px;
	margin-inline: auto;
}

.ag360-etn [hidden] {
	display: none !important;
}

@media (max-width: 680px) {
	.ag360-etn {
		margin-block: 20px;
		border-radius: 14px;
	}

	.ag360-etn__ticket-grid,
	.ag360-etn__fields--two,
	.ag360-etn__summary,
	.ag360-etn__payment-methods {
		grid-template-columns: 1fr;
	}

	.ag360-etn__attendee-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.ag360-etn__attendee-ticket {
		text-align: left;
	}

	.ag360-etn__modal {
		padding: 10px;
	}

	.ag360-etn__modal .ag360-etn__checkout {
		max-height: calc(100vh - 20px);
		border-radius: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ag360-etn *,
	.ag360-etn *::before,
	.ag360-etn *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
