:root {
	--ade-seller-accent: #d8b45d;
	--ade-seller-bg: #070908;
	--ade-seller-panel: rgba(18, 21, 20, 0.78);
	--ade-seller-line: rgba(255, 255, 255, 0.13);
	--ade-seller-text: #f6f4ef;
	--ade-seller-muted: rgba(246, 244, 239, 0.68);
}

.ade-customer-hub,
.ade-customer-registration {
	box-sizing: border-box;
	color: var(--ade-seller-text);
}

.ade-customer-hub *,
.ade-customer-registration * {
	box-sizing: border-box;
}

.ade-customer-hub {
	display: grid;
	gap: 2rem;
	padding: clamp(1.5rem, 3vw, 3rem);
	background: var(--ade-seller-bg);
	background:
		radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--ade-seller-accent) 18%, transparent), transparent 36rem),
		var(--ade-seller-bg);
	border: 1px solid var(--ade-seller-line);
	border-radius: 6px;
	box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.3);
}

.ade-customer-hub__header {
	max-width: 52rem;
}

.ade-customer-hub__header h1,
.ade-customer-hub__subscription h2,
.ade-customer-hub__empty h2,
.ade-customer-registration h2 {
	margin: 0 0 0.75rem;
	color: var(--ade-seller-text);
	font-weight: 400;
	letter-spacing: 0;
}

.ade-customer-hub__header h1 {
	font-size: clamp(2.5rem, 5vw, 5rem);
}

.ade-customer-hub p,
.ade-customer-registration p,
.ade-customer-registration small {
	color: var(--ade-seller-muted);
	line-height: 1.65;
}

.ade-customer-hub__eyebrow {
	margin: 0 0 0.5rem;
	color: var(--ade-seller-accent) !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14rem;
	text-transform: uppercase;
}

.ade-customer-hub__quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ade-customer-hub__quick-links a,
.ade-customer-hub a.button,
.ade-customer-registration a.button,
.ade-customer-registration button {
	min-height: 2.75rem;
	padding: 0.75rem 1rem;
	color: var(--ade-seller-text) !important;
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(216, 180, 93, 0.55) !important;
	border-color: color-mix(in srgb, var(--ade-seller-accent) 55%, transparent) !important;
	border-radius: 4px !important;
	box-shadow: 0 0 1.4rem rgba(216, 180, 93, 0.12);
	box-shadow: 0 0 1.4rem color-mix(in srgb, var(--ade-seller-accent) 12%, transparent);
	text-decoration: none !important;
	transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ade-customer-hub__quick-links a:hover,
.ade-customer-hub a.button:hover,
.ade-customer-registration a.button:hover,
.ade-customer-registration button:hover {
	background: rgba(216, 180, 93, 0.1) !important;
	background: color-mix(in srgb, var(--ade-seller-accent) 10%, transparent) !important;
	border-color: var(--ade-seller-accent) !important;
	box-shadow: 0 0 2rem rgba(216, 180, 93, 0.22);
	box-shadow: 0 0 2rem color-mix(in srgb, var(--ade-seller-accent) 22%, transparent);
	transform: translateY(-1px);
}

.ade-customer-hub__subscriptions {
	display: grid;
	gap: 1rem;
}

.ade-customer-hub__subscription,
.ade-customer-hub__empty {
	padding: clamp(1.25rem, 2.5vw, 2rem);
	background: var(--ade-seller-panel);
	border: 1px solid var(--ade-seller-line);
	border-radius: 6px;
	backdrop-filter: blur(24px) saturate(125%);
	-webkit-backdrop-filter: blur(24px) saturate(125%);
}

.ade-customer-hub__subscription-header,
.ade-customer-hub__billing-summary,
.ade-customer-registration__links,
.ade-customer-registration__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.ade-customer-hub__subscription-header,
.ade-customer-hub__billing-summary {
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--ade-seller-line);
}

.ade-customer-hub__status {
	padding: 0.4rem 0.75rem;
	color: var(--ade-seller-muted);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--ade-seller-line);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.ade-customer-hub__status--active {
	color: #8ff0b4;
	border-color: rgba(86, 230, 139, 0.45);
}

.ade-customer-hub__billing-summary {
	padding-top: 1.25rem;
}

.ade-customer-hub__billing-summary p {
	display: grid;
	gap: 0.2rem;
	margin: 0;
}

.ade-customer-hub__billing-summary strong {
	color: var(--ade-seller-text);
}

.ade-customer-hub__billing-summary a,
.ade-customer-registration__legal a {
	color: var(--ade-seller-accent) !important;
}

.ade-customer-registration {
	margin-top: 1.5rem;
	padding: 1.25rem;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid var(--ade-seller-line);
	border-radius: 6px;
}

.ade-customer-registration code {
	display: block;
	max-width: 100%;
	padding: 1rem;
	overflow-wrap: anywhere;
	color: var(--ade-seller-text);
	background: rgba(0, 0, 0, 0.38);
	border: 1px solid var(--ade-seller-line);
	border-radius: 4px;
}

.ade-customer-registration form {
	display: grid;
	gap: 0.75rem;
	margin-top: 1rem;
}

.ade-customer-registration input[type="text"] {
	width: min(100%, 24rem);
	min-height: 2.75rem;
	padding: 0.7rem 0.8rem;
	color: var(--ade-seller-text);
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid var(--ade-seller-line);
	border-radius: 4px;
}

.ade-customer-registration__legal {
	justify-content: flex-start;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ade-seller-line);
}

@media (max-width: 48rem) {
	.ade-customer-hub {
		padding: 1rem;
	}

	.ade-customer-hub__quick-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ade-customer-hub__quick-links a {
		display: grid;
		place-items: center;
		text-align: center;
	}

	.ade-customer-registration {
		padding: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ade-customer-hub *,
	.ade-customer-registration * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
