.dst-account {
	--dst-account-panel: transparent;
	--dst-account-panel-strong: rgba(254, 250, 239, 0.11);
	--dst-account-cream: #fefaef;
	--dst-account-muted: rgba(254, 250, 239, 0.66);
	--dst-account-line: rgba(254, 250, 239, 0.24);
	--dst-account-soft-line: rgba(254, 250, 239, 0.12);
	--dst-account-accent: #841625;
	--dst-account-gold: #cbbf9b;
	width: min(100%, 760px);
	margin: 0 auto;
	padding: 0 18px 56px;
	color: var(--dst-account-cream);
	font-family: inherit;
}

.dst-account,
.dst-account * {
	box-sizing: border-box;
	letter-spacing: 0;
}

.dst-account a {
	color: inherit;
	text-decoration: none;
}

.dst-account__header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	min-height: 64px;
	margin: 0 -18px 28px;
	padding: 0 18px 18px;
	border-bottom: 1px solid var(--dst-account-soft-line);
}

.dst-account__header h1 {
	margin: 0;
	color: var(--dst-account-cream);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.1;
	text-align: center;
}

.dst-account__back {
	display: grid;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-items: center;
	border: 1px solid transparent;
	border-radius: 8px;
}

.dst-account__back span {
	display: block;
	width: 13px;
	height: 13px;
	border-bottom: 2px solid var(--dst-account-muted);
	border-left: 2px solid var(--dst-account-muted);
	transform: rotate(45deg);
}

.dst-account__back:focus-visible,
.dst-account__row--link:focus-visible,
.dst-account__button:focus-visible,
.dst-account__details summary:focus-visible {
	outline: 2px solid rgba(254, 250, 239, 0.72);
	outline-offset: 3px;
}

.dst-account__section {
	display: grid;
	gap: 12px;
	margin: 0 0 34px;
}

.dst-account__section h2 {
	margin: 0 0 4px;
	padding-left: 30px;
	color: var(--dst-account-muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-style: italic;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.dst-account__panel {
	overflow: hidden;
	border: 1px solid var(--dst-account-line);
	border-radius: 8px;
	background: var(--dst-account-panel);
}

.dst-account__form,
.dst-account__portal-form {
	display: grid;
	gap: 14px;
	margin: 0;
}

.dst-account__fields {
	display: grid;
	gap: 0;
}

.dst-account__field {
	display: grid;
	gap: 7px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--dst-account-soft-line);
}

.dst-account__field:last-child {
	border-bottom: 0;
}

.dst-account__field span {
	color: var(--dst-account-muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	font-style: italic;
	line-height: 1.2;
}

.dst-account__field input {
	width: 100%;
	min-height: 32px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	color: var(--dst-account-cream) !important;
	caret-color: var(--dst-account-cream);
	font: inherit;
	font-size: 18px;
	line-height: 1.35;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-webkit-text-fill-color: var(--dst-account-cream);
}

.dst-account__field input:-webkit-autofill,
.dst-account__field input:-webkit-autofill:hover,
.dst-account__field input:-webkit-autofill:focus {
	box-shadow: 0 0 0 1000px rgba(254, 250, 239, 0.05) inset !important;
	-webkit-text-fill-color: var(--dst-account-cream) !important;
}

.dst-account__field:focus-within {
	background: rgba(254, 250, 239, 0.04);
}

.dst-account__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 72px;
	margin: 0;
	padding: 20px 30px;
	border: 0;
	border-bottom: 1px solid var(--dst-account-soft-line);
	background: transparent;
	color: var(--dst-account-cream);
	font: inherit;
	text-align: left;
}

.dst-account__panel > .dst-account__row:last-child,
.dst-account__panel > a.dst-account__row:last-child,
.dst-account__panel > .dst-account__details:last-child:not([open]) > .dst-account__row {
	border-bottom: 0;
}

.dst-account__panel > .dst-account__details[open] > .dst-account__row {
	border-bottom: 1px solid var(--dst-account-soft-line);
}

.dst-account__row--link {
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.dst-account__row--link:hover {
	background: var(--dst-account-panel-strong);
	color: var(--dst-account-cream);
}

.dst-account__row--disabled {
	color: rgba(254, 250, 239, 0.48);
}

.dst-account__row-main {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.dst-account__row-label {
	min-width: 0;
	color: inherit;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.dst-account__row-icon,
.dst-account__edit-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: currentColor;
	font-size: 24px;
	line-height: 1;
}

.dst-account__edit-icon {
	width: 18px;
	height: 18px;
	color: var(--dst-account-muted);
	font-size: 16px;
}

.dst-account__row-icon svg,
.dst-account__edit-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.dst-account__row-icon svg *[stroke],
.dst-account__edit-icon svg *[stroke] {
	stroke: currentColor;
}

.dst-account__row-icon i,
.dst-account__edit-icon i {
	display: block;
	font-size: 1em;
	line-height: 1;
}

.dst-account__row-value,
.dst-account__row-meta {
	flex: 0 1 auto;
	max-width: 50%;
	color: var(--dst-account-muted);
	font-size: 18px;
	line-height: 1.25;
	text-align: right;
	overflow-wrap: anywhere;
}

.dst-account__status {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 30px;
	padding: 4px 10px;
	border: 1px solid var(--dst-account-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.dst-account__status--active {
	border-color: rgba(203, 191, 155, 0.6);
	color: var(--dst-account-gold);
}

.dst-account__status--trialing {
	border-color: rgba(203, 191, 155, 0.52);
	color: #e6d9ad;
}

.dst-account__status--past_due {
	border-color: rgba(255, 218, 163, 0.52);
	color: #ffd89a;
}

.dst-account__status--inactive {
	color: var(--dst-account-muted);
}

.dst-account__status--canceled {
	border-color: rgba(255, 194, 194, 0.38);
	color: #ffc2c2;
}

/* Payment history */
.dst-account__panel--payments {
	padding: 0;
}

.dst-account__panel--payments > .dst-account__details--payment-history {
	border: 0;
}

.dst-account__payment-details-content {
	padding: 0;
	border: 0;
}

.dst-account__payment-empty {
	margin: 0;
	padding: 24px 20px 28px;
	color: var(--dst-account-muted);
	font-size: 16px;
	line-height: 1.5;
}

.dst-account__payments {
	display: flex;
	flex-direction: column;
}

.dst-account__payments-head {
	display: none;
	padding: 10px 20px;
	border-bottom: 1px solid var(--dst-account-soft-line);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dst-account-muted);
}

.dst-account__payments-row {
	display: grid;
	gap: 10px 16px;
	padding: 20px;
	border-bottom: 1px solid var(--dst-account-soft-line);
}

.dst-account__payments-row:last-child {
	border-bottom: 0;
}

.dst-account__payments-cell--event {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.dst-account__payments-event-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--dst-account-cream);
}

.dst-account__payments-order {
	font-size: 13px;
	color: var(--dst-account-muted);
}

.dst-account__payments-event-link {
	margin-top: 2px;
	font-size: 14px;
	color: var(--dst-account-gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dst-account__payments-event-link:hover {
	color: var(--dst-account-cream);
}

.dst-account__payments-mobile-label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dst-account-muted);
}

.dst-account__status--paid {
	border-color: rgba(168, 212, 168, 0.45);
	color: #a8d4a8;
}

.dst-account__status--pending {
	border-color: rgba(203, 191, 155, 0.45);
	color: var(--dst-account-gold);
}

.dst-account__status--failed {
	border-color: rgba(255, 160, 160, 0.45);
	color: #e8a0a0;
}

.dst-account__status--refunded {
	border-color: rgba(254, 250, 239, 0.28);
	color: var(--dst-account-muted);
}

.dst-account__payments-cell .dst-account__status--canceled,
.dst-account__payments-cell .dst-account__status--cancelled {
	border-color: rgba(254, 250, 239, 0.22);
	color: rgba(254, 250, 239, 0.55);
}

.dst-account__header--sub {
	margin-bottom: 20px;
}

.dst-account--payment-history-page {
	padding-top: 8px;
}

@media (min-width: 640px) {
	.dst-account__payments-head,
	.dst-account__payments-row {
		display: grid;
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.75fr) minmax(0, 1fr);
		align-items: start;
		gap: 12px 16px;
	}

	.dst-account__payments-head {
		display: grid;
	}

	.dst-account__payments-mobile-label {
		display: none;
	}

	.dst-account__payments-cell--amount {
		font-weight: 600;
		text-align: right;
	}

	.dst-account__payments-cell--status {
		text-align: right;
	}
}

.dst-account__chevron {
	display: block;
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--dst-account-muted);
	border-right: 2px solid var(--dst-account-muted);
	transform: rotate(45deg);
}

.dst-account__chevron--edit {
	width: 9px;
	height: 9px;
	opacity: 0.85;
}

.dst-account__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 13px 18px;
	border: 1px solid var(--dst-account-line);
	border-radius: 8px;
	background: transparent;
	color: #841625!important;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
	font-family: 'Gambeta'!important;
    font-size: 1rem!important;
}

.dst-account__button:hover {
	border-color: rgba(254, 250, 239, 0.46);
	background: rgba(254, 250, 239, 0.08);
	color: var(--dst-account-cream);
}

.dst-account__button--primary {
	border-color: var(--dst-account-cream);
	background: var(--dst-account-cream);
	color: var(--dst-account-accent);
}

.dst-account__button--primary:hover {
	border-color: var(--dst-account-cream);
	background: rgba(254, 250, 239, 0.88);
	color: var(--dst-account-accent);
}

.dst-account__button--danger {
	border-color: rgba(255, 194, 194, 0.56);
	background: rgba(132, 22, 37, 0.45);
	color: #ffe8e8;
}

.dst-account__button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.dst-account__details {
	display: grid;
	gap: 0;
}

.dst-account__details > summary {
	list-style: none;
	cursor: pointer;
}

.dst-account__details > summary::-webkit-details-marker {
	display: none;
}

.dst-account__details[open] > summary .dst-account__chevron,
.dst-account__details[open] > summary .dst-account__chevron--edit {
	transform: rotate(135deg);
}

.dst-account__details[open] > summary .dst-account__edit-icon {
	opacity: 1;
}

.dst-account__confirm {
	display: grid;
	gap: 12px;
	margin: 10px 0 0;
	padding: 16px;
	border: 1px solid var(--dst-account-soft-line);
	border-radius: 8px;
	background: rgba(254, 250, 239, 0.05);
}

.dst-account__panel .dst-account__confirm {
	margin: 0;
	border-width: 0;
	border-radius: 0;
	background: rgba(254, 250, 239, 0.04);
}

.dst-account__confirm p {
	margin: 0;
	color: var(--dst-account-muted);
	font-size: 14px;
	line-height: 1.45;
}

.dst-account__confirm-field {
	display: grid;
	gap: 7px;
}

.dst-account__inline-grid {
	display: grid;
	gap: 12px;
}

.dst-account__confirm-field span {
	color: var(--dst-account-muted);
	font-size: 13px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.dst-account__confirm-field input {
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid var(--dst-account-line);
	border-radius: 8px;
	background: rgba(254, 250, 239, 0.05) !important;
	box-shadow: none;
	color: var(--dst-account-cream) !important;
	font: inherit;
	font-size: 15px;
	outline: none;
	-webkit-text-fill-color: var(--dst-account-cream);
}

.dst-account__confirm-field input:focus {
	border-color: rgba(254, 250, 239, 0.58);
}

.dst-account__checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--dst-account-cream);
	font-size: 14px;
	line-height: 1.3;
}

.dst-account__checkbox input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	accent-color: var(--dst-account-accent);
}

.dst-account__notice {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid var(--dst-account-line);
	border-radius: 8px;
	background: rgba(254, 250, 239, 0.06);
	color: var(--dst-account-cream);
	font-size: 14px;
	line-height: 1.4;
}

.dst-account__notice--success {
	border-color: rgba(203, 191, 155, 0.5);
	color: var(--dst-account-gold);
}

.dst-account__notice--error {
	border-color: rgba(255, 194, 194, 0.46);
	color: #ffe1e1;
}

.dst-account--guest,
.dst-account--message {
	display: grid;
	place-items: center;
}

.dst-account__guest-panel {
	display: grid;
	gap: 14px;
	width: min(100%, 420px);
	padding: 24px;
	border: 1px solid var(--dst-account-line);
	border-radius: 8px;
	background: var(--dst-account-panel);
	text-align: center;
}

.dst-account__guest-panel h1 {
	margin: 0;
	color: var(--dst-account-cream);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.1;
}

.dst-account__guest-panel p {
	margin: 0;
	color: var(--dst-account-muted);
	font-size: 15px;
	line-height: 1.45;
}

.dst-account__guest-panel .dst-account__notice {
	margin: 0;
	color: var(--dst-account-cream);
	text-align: left;
}

.dst-account__guest-panel .dst-account__notice--success {
	color: var(--dst-account-gold);
}

.dst-account__guest-panel .dst-account__notice--error {
	color: #ffe1e1;
}

.dst-account__notice--stacked {
	display: grid;
	gap: 8px;
}

.dst-account__notice--stacked p {
	color: inherit;
}

.dst-account__magic-form {
	display: grid;
	gap: 12px;
	margin: 4px 0 0;
	text-align: left;
}

.dst-account__magic-form .dst-account__button {
	margin-top: 2px;
}

.dst-account__guest-divider {
	width: 100%;
	height: 1px;
	margin: 4px 0;
	background: var(--dst-account-soft-line);
}

.dst-account__magic-form--code {
	margin-top: 0;
}

.dst-account__code-option {
	display: grid;
	gap: 12px;
	margin: 2px 0 0;
	text-align: left;
}

.dst-account__resend-form {
	display: flex;
	justify-content: center;
	margin: 0;
}

.dst-account__resend-button {
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: var(--dst-account-muted);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dst-account__resend-button:hover,
.dst-account__resend-button:focus-visible {
	color: var(--dst-account-cream);
}

@media (min-width: 680px) {
	.dst-account {
		padding-bottom: 72px;
	}

	.dst-account__header {
		margin-bottom: 34px;
	}

	.dst-account__inline-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.dst-account {
		padding-right: 14px;
		padding-left: 14px;
	}

	.dst-account__header {
		margin-right: -14px;
		margin-left: -14px;
		padding-right: 14px;
		padding-left: 14px;
	}

	.dst-account__section {
		margin-bottom: 32px;
	}

	.dst-account__section h2 {
		padding-left: 18px;
		font-size: 17px;
	}

	.dst-account__row {
		gap: 12px;
		min-height: 72px;
		padding: 18px 16px;
	}

	.dst-account__row-main {
		gap: 14px;
	}

	.dst-account__row-label {
		font-size: 20px;
	}

	.dst-account__row-icon {
		width: 22px;
		height: 22px;
		font-size: 22px;
	}

	.dst-account__row-value,
	.dst-account__row-meta {
		max-width: 46%;
		font-size: 17px;
	}
}

@media (max-width: 360px) {
	.dst-account__row {
		flex-wrap: wrap;
	}

	.dst-account__row-main {
		flex-basis: calc(100% - 28px);
	}

	.dst-account__row-value,
	.dst-account__row-meta,
	.dst-account__status {
		max-width: 100%;
		margin-left: 36px;
		text-align: left;
	}
}
