/* Pricing and Updates pages: checkout button states, offer states, Update Pass form. */

#buy,
#update-pass {
	scroll-margin-top: 24px;
}

/* Launch Offer text is the default; body.tl-launch-closed swaps in the regular offer. */
.tl-offer-regular,
body.tl-launch-closed .tl-offer-launch {
	display: none !important;
}

body.tl-launch-closed .tl-offer-regular {
	display: revert !important;
}

.tl-buy a[aria-busy="true"],
.tl-up-form button[aria-busy="true"] {
	opacity: .7;
	pointer-events: none;
}

.tl-buy a:focus-visible,
.tl-up-form button:focus-visible,
.tl-up-form input:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-blue);
	outline-offset: 3px;
}

.tl-buy-seller {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
	color: var(--wp--preset--color--text-mid);
}

.tl-buy-seller.is-dark {
	color: var(--wp--preset--color--text-dimmed);
}

.tl-buy-seller a {
	color: inherit;
	text-decoration: underline;
}

.tl-buy-msg {
	box-sizing: border-box;
	width: 100%;
	margin: 16px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 10px;
	background: var(--wp--preset--color--bg-light);
	font-size: 14.5px;
	line-height: 1.55;
	text-align: left;
	color: var(--wp--preset--color--text-dark);
	overflow-wrap: anywhere;
}

.tl-buy-msg.is-error {
	border-color: var(--wp--preset--color--check-red);
}

.tl-buy-msg.is-done {
	border-color: var(--wp--preset--color--brand-green);
}

.tl-buy-msg a {
	color: var(--wp--preset--color--brand-blue);
}

.tl-up-card {
	box-sizing: border-box;
	margin: 24px 0;
	padding: 28px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 14px;
	background: var(--wp--preset--color--bg-white);
}

.tl-up-card h3 {
	margin: 0 0 8px;
	color: var(--wp--preset--color--text-dark);
}

.tl-up-card p {
	margin: 0 0 16px;
	color: var(--wp--preset--color--text-mid);
}

.tl-up-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--text-dark);
}

.tl-up-row {
	display: flex;
	gap: 12px;
}

.tl-up-form input {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	padding: 13px 14px;
	border: 1px solid var(--wp--preset--color--text-dimmed);
	border-radius: 10px;
	background: var(--wp--preset--color--bg-white);
	font-family: var(--wp--preset--font-family--font-mono);
	font-size: 16px;
	color: var(--wp--preset--color--text-dark);
}

.tl-up-form button {
	flex: 0 0 auto;
	padding: 13px 24px;
	border: 0;
	border-radius: 9999px;
	background: var(--wp--preset--color--brand-green);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #05210F;
	cursor: pointer;
}

.tl-up-form button:hover {
	background: var(--wp--preset--color--brand-green-dim);
}

.tl-up-card .tl-buy-seller {
	margin: 16px 0 0;
	text-align: left;
}

@media (max-width: 600px) {
	.tl-up-card {
		padding: 22px 18px;
	}

	.tl-up-row {
		flex-direction: column;
	}

	.tl-up-form button {
		width: 100%;
	}
}
