/**
 * Order flow, view "login" (canvas SignIn and SignUp; inc/orderflow/login.php): sign in, create account, lost password,
 * "check your email" and reset, and the same two forms on the signed-out checkout (.dvo-auth--compact). Loaded after
 * assets/css/orderflow.css, whose .dvo-wrap, .dvo-h1, .dvo-lede, .dvo-card, .dvo-console, .dvo-label, .dvo-form field
 * rules, .dvo-alert and .dv-btn.dvo-btn--xl it builds on. Colours are tokens (var(--dv-*), var(--dvo-*)): dark mode needs
 * no copy of the rules, except the two small blocks marked below.
 */

/* The tool tiles' category colours (tools-design.css has them only under .dvt). Two dark blocks, identical. */
.dvo-auth {
	--seo-b: #FDE7DE; --seo-f: #B4441F;
	--research-b: #E1EBFB; --research-f: #2457B8;
	--design-b: #EEE3FA; --design-f: #6B3FB0;
	--writing-b: #DFF2E8; --writing-f: #1F7A55;
	--plag-b: #F8EFD3; --plag-f: #8A6500;
	--learn-b: #DDF1F2; --learn-f: #14727A;
	--video-b: #FBE1EA; --video-f: #B02A5B;
	--ai-b: #E9E6DF; --ai-f: #221F1A;
	--dvo-seg-bg: var(--dv-bg-subtle);
}

:root[data-theme="dark"] .dvo-auth {
	--seo-b: #33201C; --seo-f: #FF8A65;
	--research-b: #1C2633; --research-f: #7FB2FF;
	--design-b: #2B1E33; --design-f: #C99BFF;
	--writing-b: #1D2B24; --writing-f: #6FD3A0;
	--plag-b: #2E2A1B; --plag-f: #E8C35A;
	--learn-b: #1B2B2E; --learn-f: #5FD0D8;
	--video-b: #331C26; --video-f: #FF7FA8;
	--ai-b: #262830; --ai-f: #E5E2D9;
	--dvo-seg-bg: var(--dv-bg-canvas);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .dvo-auth {
		--seo-b: #33201C; --seo-f: #FF8A65;
		--research-b: #1C2633; --research-f: #7FB2FF;
		--design-b: #2B1E33; --design-f: #C99BFF;
		--writing-b: #1D2B24; --writing-f: #6FD3A0;
		--plag-b: #2E2A1B; --plag-f: #E8C35A;
		--learn-b: #1B2B2E; --learn-f: #5FD0D8;
		--video-b: #331C26; --video-f: #FF7FA8;
		--ai-b: #262830; --ai-f: #E5E2D9;
		--dvo-seg-bg: var(--dv-bg-canvas);
	}
}

/* Page frame (the logged-out My account page) ----------------------------------------------------------------------- */

/* Astra prints the page title ("My account") above the content; the canvas draws its own h1. */
body.dvo--login .entry-header { display: none; }

/* The slim header carries both logos; the design shell shows one by theme only inside a .dv wrapper, which it lacks (the checkout view does the same in its own file). */
body.dvo--login .dvo-head .dv-logo-dark { display: none; }
:root[data-theme="dark"] body.dvo--login .dvo-head .dv-logo-light { display: none; }
:root[data-theme="dark"] body.dvo--login .dvo-head .dv-logo-dark { display: block; }

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) body.dvo--login .dvo-head .dv-logo-light { display: none; }
	:root:not([data-theme="light"]) body.dvo--login .dvo-head .dv-logo-dark { display: block; }
}

body.dvo--login #page #content > .ast-container {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.dvo--login #content #primary {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.dvo--login .entry-content,
body.dvo--login .entry-content > .woocommerce,
body.dvo--login article.page {
	max-width: none;
	margin: 0;
	padding: 0;
}

.dvo-auth [hidden] { display: none !important; }

/* Astra gives every paragraph in the content a bottom margin (1.7em); spacing here is gap and margin-top. */
body .dvo-auth p { margin-bottom: 0; }

/* A link inside running text is told apart by its underline, not only by colour (WCAG 1.4.1). Astra strips link underlines. */
body .dvo-auth a,
body.ast-single-post .entry-content .woocommerce .dvo-auth a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

body .dvo-auth a.dv-btn,
body .dvo-auth .dvo-seg__item a,
body.ast-single-post .entry-content .woocommerce .dvo-auth a.dv-btn,
body.ast-single-post .entry-content .woocommerce .dvo-auth .dvo-seg__item a {
	text-decoration: none;
}

/* WooCommerce's .form-row classes (the email-code row carries them from accounts.php): no float, no padding. */
body .dvo-auth .form-row {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.dvo-auth {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-start;
	padding-top: clamp(32px, 5vw, 56px);
}

.dvo-auth--compact {
	display: block;
	padding: 0;
	margin: 0 0 32px;
}

.dvo-auth__main {
	flex: 999 1 460px;
	min-width: 0;
	max-width: 560px;
}

.dvo-auth--signup .dvo-auth__main { flex-basis: 480px; max-width: 600px; }

.dvo-auth__aside {
	flex: 1 1 340px;
	min-width: 290px;
	max-width: 420px;
}

.dvo-auth--signup .dvo-auth__aside {
	flex-basis: 320px;
	max-width: 400px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (max-width: 480px) {
	.dvo-auth { gap: 32px; }
	.dvo-auth__aside { min-width: 0; }
}

.dvo-auth .dvo-lede { max-width: 46ch; }

.dvo-auth__card {
	margin-top: 28px;
	padding: 28px;
}

@media (max-width: 480px) {
	.dvo-auth__card { padding: 20px; }
}

.dvo-auth__card-title { margin-bottom: 14px; }

.dvo-auth__switch {
	margin: 20px 0 0;
	font-size: .9375rem;
	color: var(--dv-ink-2);
}

.dvo-auth__switch a {
	font-weight: 600;
	color: var(--dv-ink);
	text-decoration: underline;
}

.dvo-auth__switch a:hover { color: var(--dv-brand); }

/* The steps of one sign-in (the canvas's tab strip) -------------------------------------------------------------- */

/* Astra's list rules (.entry-content ol: margin, padding) are more specific than a bare class: lists get one more. */
.dvo-auth ol.dvo-seg {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	margin: 0;
	padding: 4px;
	list-style: none;
	border-radius: 12px;
	background: var(--dvo-seg-bg);
}

.dvo-seg__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border-radius: 9px;
	font-size: .875rem;
	font-weight: 600;
	color: var(--dv-ink-2);
	text-align: center;
}

.dvo-seg__item.is-current {
	background: var(--dv-bg-surface);
	color: var(--dv-ink);
	box-shadow: 0 1px 2px rgba(34, 31, 26, .12), 0 0 0 1px var(--dv-border);
}

.dvo-seg__item.is-done .dvo-ico { color: var(--dvo-ok-ink); }

.dvo-seg__item a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 44px;
	border-radius: 9px;
	color: inherit;
	text-decoration: none;
}

.dvo-seg__item a:hover { text-decoration: underline; }

/* Alerts --------------------------------------------------------------------------------------------------------- */

.dvo-auth__alerts { margin: 0; }
.dvo-auth__alerts > .dvo-alert { margin-top: 20px; }
.dvo-auth__alerts > .dvo-alert + .dvo-alert { margin-top: 8px; }
.dvo-auth__alerts .dvo-alert { scroll-margin-top: 24px; }
.dvo-auth__alerts .dvo-alert .dvo-ico { flex: none; margin-top: 1px; }
.dvo-auth__alerts .dvo-alert span { min-width: 0; overflow-wrap: anywhere; }
/* The alert takes focus (by script) so a screen reader reads it; it is not a control, so it draws no ring. */
.dvo-auth__alerts .dvo-alert[tabindex="-1"]:focus,
.dvo-auth__alerts .dvo-alert[tabindex="-1"]:focus-visible { outline: 0 !important; } /* theme.css sets the ring with !important */

/* Wordfence Login Security draws its own messages (a CAPTCHA or 2FA answer) as WooCommerce notice lists at the top of #primary. */
body.dvo--login .wfls-login-message ul {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 0;
	border-radius: 12px;
	background: var(--dvo-err-bg);
	color: var(--dvo-err-ink);
	list-style: none;
	font-size: .875rem;
}

body.dvo--login .wfls-login-message ul.woocommerce-info { background: var(--dvo-info-bg); color: var(--dvo-info-ink); }
body.dvo--login .wfls-login-message ul li { margin: 0; padding: 0; }
body.dvo--login .wfls-login-message ul::before { content: none; }

/* Form rows ------------------------------------------------------------------------------------------------------ */

/* WooCommerce frames form.login and form.register (border, padding, margin); the card is the frame here. */
body form.dvo-form.dvo-form.dvo-auth__form,
body form.dvo-form.dvo-form.dvo-su__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 22px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	text-align: left;
}

body form.dvo-form.dvo-form.dvo-su__form { margin: 0; gap: 0; }

/* The lost-password card has no step strip above its form. */
body .dvo-auth--lost form.dvo-form.dvo-form.dvo-auth__form,
body .dvo-auth--reset form.dvo-form.dvo-form.dvo-auth__form { margin-top: 0; }

body .dvo-auth--lost .dvo-auth__alerts > .dvo-alert:last-child,
body .dvo-auth--reset .dvo-auth__alerts > .dvo-alert:last-child { margin-bottom: 16px; }

.dvo-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.dvo-row .dvo-label { margin: 0; }

.dvo-row__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

/* Small stand-alone links keep their drawn size but take 44 px of input: padding and the opposite margin. */
.dvo-link {
	display: inline-block;
	margin: -12px 0;
	padding: 12px 0;
	font-size: .8125rem;
	font-weight: 500;
	color: var(--dv-link);
	text-decoration: underline;
}

.dvo-link:hover { color: var(--dv-brand); }

.dvo-hint {
	margin: 0;
	font-size: .8125rem;
	line-height: 1.45;
	color: var(--dv-ink-2);
}

.dvo-hint a { color: var(--dv-link); text-decoration: underline; }

/* Central sign-in (dv-core/checkout/central-login.php): one sentence, one button, one link. */
.dvo-auth__central { display: flex; flex-direction: column; gap: 16px; margin: 4px 0 0; }
.dvo-auth__central .dvo-hint { font-size: .9375rem; line-height: 1.5; text-align: left; }
.dvo-auth__central .dv-btn.dvo-btn--xl { display: flex; width: 100%; align-items: center; justify-content: center; }
.dvo-auth__central .dvo-auth__alt { text-align: center; }
.dvo-auth__hint { margin-top: -4px; text-align: center; }
.dvo-auth__intro { font-size: .9375rem; }

.dvo-form input[readonly] {
	background: var(--dv-bg-subtle);
	color: var(--dv-ink-2);
}

/* WooCommerce wraps a password input in .password-input and adds its eye button: drawn as the canvas's "Show / Hide". */
.dvo-form .password-input {
	position: relative;
	display: block;
	width: 100%;
}

.dvo-form .password-input .show-password-input.show-password-input {
	position: absolute;
	top: 2px;
	right: 2px;
	translate: none;
	transform: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 60px;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: var(--dv-ink-2);
	font-family: var(--dv-font-body);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.dvo-form .password-input .show-password-input.show-password-input::after {
	content: "Show";
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	background: none;
	font-family: inherit;
	font-size: inherit;
	line-height: 1;
	color: inherit;
}

.dvo-form .password-input .show-password-input.display-password::after { content: "Hide"; }
.dvo-form .password-input .show-password-input.show-password-input:hover { background: var(--dv-bg-subtle); color: var(--dv-ink); }
.dvo-form .password-input input[type="password"],
.dvo-form .password-input input[type="text"] { padding-right: 76px; }

.dvo-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
	font-size: .875rem;
	font-weight: 400;
	color: var(--dv-ink-2);
	cursor: pointer;
}

.dvo-check input[type="checkbox"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--dv-brand);
}

.dvo-check a { color: var(--dv-link); text-decoration: underline; }

/* The email code: six boxes drawn over the one field that is posted (login.js). */

.dvo-code { position: relative; }
.dvo-code__help { display: block; margin: 2px 0 0; font-size: .8125rem; line-height: 1.45; color: var(--dv-ink-2); }
.dvo-code { display: flex; flex-direction: column; gap: 6px; }

.dvo-form input.dvo-code__input {
	font-family: var(--dv-font-mono);
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: .4em;
	text-align: center;
}

.dvo-code.is-boxed input.dvo-code__input {
	position: absolute;
	width: 1px;
	height: 1px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	opacity: 0;
	pointer-events: none;
}

.dvo-code__boxes {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
}

.dvo-su .dvo-code__boxes { max-width: 380px; }

/* On a 360 px phone six boxes and five 8 px gaps leave 41 px a box; 4 px gaps keep each box at 44 px. */
@media (max-width: 400px) {
	.dvo-code__boxes { gap: 4px; }
}

.dvo-form input.dvo-code__box {
	width: 100%;
	height: 56px;
	min-height: 56px;
	padding: 0;
	border-radius: 12px;
	font-family: var(--dv-font-mono);
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: 0;
	text-align: center;
}

.dvo-code.is-error input.dvo-code__box { border-color: var(--dv-brand); }

/* "Didn't get the email?": a new code needs the password again. */
.dvo-resend {
	margin: 0;
	border: 1px solid var(--dv-border);
	border-radius: 12px;
}

.dvo-resend summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 0 14px;
	list-style: none;
	font-size: .875rem;
	font-weight: 600;
	color: var(--dv-ink);
	cursor: pointer;
}

.dvo-resend summary::-webkit-details-marker { display: none; }
.dvo-resend summary::after { content: "+"; font-family: var(--dv-font-mono); font-size: 1.125rem; color: var(--dv-ink-2); }
.dvo-resend[open] summary::after { content: "\2212"; }

.dvo-resend__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 14px 14px;
}

/* Create account: the two steps -------------------------------------------------------------------------------------- */

.dvo-su__form { margin: 0; }

.dvo-auth ol.dvo-su__steps {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.dvo-su__card {
	margin: 0;
	padding: 24px;
}

@media (max-width: 480px) {
	.dvo-su__card { padding: 20px; }
}

.dvo-su.is-js[data-step="details"] #dvo-su-2 { opacity: .6; }
.dvo-su.is-js:not([data-step="details"]) #dvo-su-2 { box-shadow: var(--dv-shadow-card); }

.dvo-su__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.dvo-su__badge {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--dv-radius-full);
	background: var(--dv-brand);
	color: var(--dv-on-brand);
	font-family: var(--dv-font-mono);
	font-size: .8125rem;
}

.dvo-su.is-js[data-step="details"] #dvo-su-2 .dvo-su__badge { background: var(--dv-bg-subtle); color: var(--dv-ink-2); }
.dvo-su__card.is-done .dvo-su__badge { background: var(--dvo-ok-bg); color: var(--dvo-ok-ink); }

.dvo-su__title { flex: 1 1 auto; min-width: 0; }

.dvo-su__h {
	margin: 0;
	font-family: var(--dv-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--dv-ink);
}

.dvo-su__done {
	margin: 2px 0 0;
	font-size: .875rem;
	color: var(--dv-ink-2);
	overflow-wrap: anywhere;
}

.dvo-su__change.dvo-su__change {
	flex: none;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: var(--dv-link);
	font-family: var(--dv-font-body);
	font-size: .875rem;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.dvo-su__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 18px;
}

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

@media (max-width: 400px) {
	.dvo-su__pair { grid-template-columns: minmax(0, 1fr); }
}

.dvo-inline {
	display: flex;
	gap: 8px;
}

.dvo-inline input { flex: 1 1 auto; min-width: 0; }

.dv-btn.dvo-inline__btn {
	flex: none;
	--dv-btn-height: 48px;
	padding: 0 16px;
	border-radius: 12px;
	border-color: var(--dv-ink);
	white-space: normal;
}

.dv-btn.dvo-inline__btn:disabled { border-color: var(--dv-border); }

.dv-btn.dvo-su__next {
	align-self: flex-start;
	--dv-btn-height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	border-color: var(--dv-ink);
	background-color: var(--dv-ink);
	color: var(--dv-bg-canvas);
}

.dv-btn.dvo-su__next:hover { background-color: var(--dv-ink); color: var(--dv-bg-canvas); opacity: .88; }
.dv-btn.dvo-su__next:disabled { opacity: .45; }

/* The country of the mobile number: a native select (the phone's own picker, search by typing), under the sign-up card's
   field rules. A long name ("St. Vincent and Grenadines (+1)") is cut with an ellipsis, never wider than the card. */
.dvo-su select[data-dvo-cc-select] {
	min-width: 0;
	max-width: 100%;
	text-overflow: ellipsis;
}

/* The mobile number: the country's code (+880, +91, +1) in front of the field. */
.dvo-tel {
	display: flex;
	overflow: hidden;
	border: 1px solid var(--dvo-field-border);
	border-radius: 12px;
	background: var(--dv-bg-surface);
}

.dvo-tel:focus-within {
	border-color: var(--dv-ink);
	outline: 2px solid var(--dv-brand);
	outline-offset: 2px;
}

.dvo-tel__cc {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	min-width: 3.25rem;
	padding: 0 12px;
	border-right: 1px solid var(--dvo-field-border);
	background: var(--dv-bg-subtle);
	color: var(--dv-ink-2);
	font-size: .9375rem;
}

.dvo-form .dvo-tel input[type="tel"],
.dvo-form .dvo-tel input[type="tel"]:focus {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	outline: 0;
}

/* The password's four bars (login.js reads the strength WooCommerce's meter reads). */
.dvo-pw { display: flex; flex-direction: column; }
.dvo-pw > .dvo-label { order: 0; }
.dvo-pw > .password-input { order: 1; }

.dvo-pw__bars {
	order: 2;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	margin-top: 8px;
}

.dvo-pw__bars i {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: var(--dv-border);
}

.dvo-pw__bars[data-level="1"] i:nth-child(-n+1) { background: var(--dv-brand); }
.dvo-pw__bars[data-level="2"] i:nth-child(-n+2) { background: var(--dvo-warn-ink); }
.dvo-pw__bars[data-level="3"] i:nth-child(-n+3),
.dvo-pw__bars[data-level="4"] i { background: var(--dvo-ok-ink); }

.dvo-pw .woocommerce-password-strength.woocommerce-password-strength {
	order: 3;
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--dv-ink-2);
}

.dvo-pw .woocommerce-password-strength.short,
.dvo-pw .woocommerce-password-strength.bad { color: var(--dvo-err-ink); }
.dvo-pw .woocommerce-password-strength.good,
.dvo-pw .woocommerce-password-strength.strong { color: var(--dvo-ok-ink); }

.dvo-pw .woocommerce-password-hint {
	order: 4;
	margin: 2px 0 0;
	font-size: .8125rem;
	color: var(--dv-ink-2);
}

.dvo-pw__hint { order: 5; margin-top: 2px; }

.dvo-terms { margin: 0; }

.dvo-check.dvo-check--terms {
	align-items: flex-start;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--dv-bg-canvas);
	line-height: 1.45;
}

.dvo-check--terms input[type="checkbox"] { margin-top: 2px; }

.dvo-su .woocommerce-privacy-policy-text,
.dvo-su .woocommerce-privacy-policy-text p {
	margin: 0;
	font-size: .8125rem;
	line-height: 1.45;
	color: var(--dv-ink-2);
}

.dvo-su .woocommerce-privacy-policy-text a { color: var(--dv-link); text-decoration: underline; }

.dvo-form button[aria-disabled="true"].dvo-btn--xl.dv-btn,
.dvo-form .dv-btn.dvo-btn--xl[aria-disabled="true"] {
	border-color: var(--dv-border);
	background-color: var(--dv-bg-subtle);
	color: var(--dv-ink-2);
	opacity: 1; /* components.css dims [aria-disabled] to .45: the label says what is missing, so it stays readable. */
	cursor: not-allowed;
}

.dvo-form .dv-btn.dvo-btn--xl:disabled { cursor: not-allowed; }

/* Create account while it works (28 Oct 2026): a spinner before the label, readable (not dimmed), no second press. Wordfence's
   script disables the button for a moment during its check, so :disabled gets the same look. */
.dvo-form .dv-btn.dvo-btn--xl.is-loading,
.dvo-form .dv-btn.dvo-btn--xl.is-loading:disabled {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	opacity: 1;
	cursor: progress;
	pointer-events: none;
}

.dvo-form .dv-btn.dvo-btn--xl.is-loading::after {
	/* ::after, ordered first: components.css keeps ::before for the button's invisible 44 px touch target. */
	content: "";
	order: -1;
	flex: none;
	width: 1.05em;
	height: 1.05em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: dvo-spin .7s linear infinite;
}

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

/* Wordfence's script takes this form for a sign-in form and adds "or Log In with a Passkey" under the button: a sign-up has none. */
.dvo-su #wfls-passkey-container { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	.dvo-form .dv-btn.dvo-btn--xl.is-loading::after { animation: none; border-right-color: currentColor; opacity: .55; }
}

/* Lost password: "check your email" ---------------------------------------------------------------------------------- */

.dvo-sent {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.dvo-sent__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--dv-radius-full);
	background: var(--dvo-ok-bg);
	color: var(--dvo-ok-ink);
}

.dvo-sent__ico .dvo-ico { width: 22px; height: 22px; }
.dvo-sent__text { margin: 0; font-size: .9375rem; color: var(--dv-ink-2); }
.dvo-sent__actions { align-self: stretch; margin: 8px 0 0; }
.dvo-sent__actions .dv-btn { width: 100%; }

/* The side panels ------------------------------------------------------------------------------------------------- */

.dvo-order__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.dvo-order__title {
	margin: 0;
	font-family: var(--dv-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--dv-ink);
}

.dvo-order__edit {
	display: inline-block;
	margin: -12px 0;
	padding: 12px 0;
	font-size: .8125rem;
	color: var(--dv-ink-2);
	text-decoration: underline;
}

.dvo-order__edit:hover { color: var(--dv-ink); }

.dvo-order__line {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
}

.dvo-order__line + .dvo-order__line { margin-top: 12px; }

.dvo-order__what { flex: 1 1 auto; min-width: 0; }
.dvo-order__name { margin: 0; font-weight: 600; color: var(--dv-ink); overflow-wrap: anywhere; }
.dvo-order__sub { margin: 0; font-size: .8125rem; color: var(--dv-ink-2); }
.dvo-order__price { flex: none; margin: 0 0 0 auto; font-weight: 600; color: var(--dv-ink); }

.dvo-tiles {
	display: grid;
	grid-template-columns: repeat(3, 28px);
	gap: 4px;
	flex: none;
}

.dvo-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	overflow: hidden;
	border-radius: 7px;
	background: #FFFFFF;
	font-family: var(--dv-font-display);
	font-size: .625rem;
	font-weight: 700;
	line-height: 1;
}

.dvo-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dvo-tile--big { width: 44px; height: 44px; border-radius: 11px; font-size: .875rem; }
.dvo-tile--more { background: var(--dv-console-3); color: var(--dv-console-ink-2); }

.dvo-order__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--dv-border);
}

.dvo-order__cycle { font-size: .875rem; color: var(--dv-ink-2); }
.dvo-order__sum { text-align: right; }
.dvo-order__amount { display: block; font-size: 1.5rem; font-weight: 600; color: var(--dv-ink); }
/* Geist Mono has no taka sign: the site's taka-only face (fonts.css) draws it. */
.dvo-order__bdt { font-family: "Geist Mono", "Noto Sans Bengali", ui-monospace, Menlo, monospace; font-size: .75rem; color: var(--dv-ink-2); }
.dvo-order__note { margin: 8px 0 0; font-size: .75rem; color: var(--dv-ink-2); }

.dvo-auth ol.dvo-order__steps {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 22px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--dv-border);
	list-style: none;
	font-size: .875rem;
}

.dvo-order__steps li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	color: var(--dv-ink-2);
}

.dvo-order__steps li.is-now { color: var(--dv-ink); }

.dvo-order__n {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 1px solid var(--dv-border);
	border-radius: var(--dv-radius-full);
	font-family: var(--dv-font-mono);
	font-size: .6875rem;
}

.dvo-order__steps li.is-now .dvo-order__n {
	border-color: var(--dv-brand);
	background: var(--dv-brand);
	color: var(--dv-on-brand);
}

.dvo-auth__help {
	margin: 14px 4px 0;
	font-size: .8125rem;
	color: var(--dv-ink-2);
}

.dvo-auth__help a { color: var(--dv-link); text-decoration: underline; }

/* "One login, two places" */
.dvo-two__text { margin: 10px 0 0; font-size: .875rem; color: var(--dv-ink-2); }

.dvo-two__map {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	margin-top: 20px;
	color: var(--dv-brand);
}

.dvo-two__map svg { align-self: center; flex: none; transform: rotate(90deg); }

.dvo-two__box {
	padding: 14px;
	border: 1px solid var(--dv-border);
	border-radius: 14px;
	background: var(--dv-bg-subtle);
	text-align: center;
}

.dvo-two__box p { margin: 0; font-size: .75rem; color: var(--dv-ink-2); }
.dvo-two__box strong { display: block; margin-top: 2px; font-size: .875rem; font-weight: 600; color: var(--dv-ink); overflow-wrap: anywhere; }

/* The cart under it on the sign-up page */
.dvo-mini { padding: 20px; }
.dvo-mini__label { margin: 0; font-size: .8125rem; color: var(--dv-ink-3); }

.dvo-mini__line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-top: 6px;
}

.dvo-mini__what { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.dvo-mini__price { flex: none; font-weight: 600; }

.dvo-mini__edit {
	display: inline-block;
	margin: -4px 0 -12px;
	padding: 12px 0;
	font-size: .8125rem;
	color: var(--dv-ink-2);
	text-decoration: underline;
}

/* The signed-out checkout: the same two cards, side by side ------------------------------------------------------------ */

.dvo-auth__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 24px;
	align-items: start;
}

.dvo-auth--compact .dvo-auth__card { margin-top: 0; }
.dvo-auth--compact .dvo-auth__alerts > .dvo-alert:first-child { margin-top: 0; margin-bottom: 16px; }
.dvo-auth--compact .dvo-auth__alerts > .dvo-alert + .dvo-alert { margin-bottom: 16px; }
.dvo-auth--compact .dvo-su__card { padding: 20px; }
.dvo-auth--compact .dvo-su ol.dvo-su__steps { margin-top: 0; }

/* Phones: no horizontal scroll, long words wrap */
.dvo-auth { overflow-wrap: break-word; }
.dvo-auth img { max-width: 100%; }

/* Create account by emailed link (28 Oct 2026; signup-link.php, login.js): one card, a refusal under its field, and the
   "Check your email" dialog. Colours are tokens, so light and dark need no copy of the rules except the scrim. */

.dvo-su--link .dvo-su__single { margin: 28px 0 0; }
.dvo-auth--compact .dvo-su--link .dvo-su__single { margin-top: 0; }

.dvo-su__err {
	margin: 6px 0 0;
	font-size: .8125rem;
	line-height: 1.45;
	color: var(--dvo-err-ink);
	overflow-wrap: anywhere;
}

.dvo-su__general { margin: 0; }
.dvo-su__general[hidden] { display: none; }
.dvo-su__general .dvo-ico { flex: none; margin-top: 1px; }
.dvo-su__general span { min-width: 0; overflow-wrap: anywhere; }
.dvo-su__general:focus,
.dvo-su__general:focus-visible { outline: 0 !important; } /* theme.css sets the ring with !important, as for the alerts above */

body .dvo-su__form .input-text[aria-invalid="true"],
body .dvo-su__form select[aria-invalid="true"] { border-color: var(--dvo-err-ink); }

.dvo-linkbox {
	position: fixed;
	inset: 0;
	z-index: 1000; /* Above the sticky header (z-index 99). */
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 16px;
	background: rgba(34, 31, 26, .5);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.dvo-linkbox[hidden] { display: none; }

:root[data-theme="dark"] .dvo-linkbox { background: rgba(0, 0, 0, .66); }

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .dvo-linkbox { background: rgba(0, 0, 0, .66); }
}

/* The page behind does not scroll while the dialog is open (login.js sets and removes the class). */
html.dvo-link-open { overflow: hidden; }

.dvo-linkbox__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	max-width: 440px;
	margin: auto;
	box-shadow: var(--dv-shadow-lift);
	animation: dvo-link-in .2s ease-out;
}

@keyframes dvo-link-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.dvo-linkbox__h { outline: 0; }
.dvo-linkbox__h:focus-visible { outline: 2px solid var(--dv-link); outline-offset: 4px; border-radius: 4px; }
.dvo-linkbox__text { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--dv-ink); overflow-wrap: anywhere; }
.dvo-linkbox__addr { font-weight: 700; }
.dvo-linkbox__status { min-height: 1.45em; }

.dvo-linkbox__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-self: stretch;
	margin-top: 4px;
}

.dv-btn.dvo-linkbox__btn {
	flex: 1 1 160px;
	--dv-btn-height: 48px;
	padding: 0 16px;
	border-radius: 12px;
	border-color: var(--dv-ink);
}

.dv-btn.dvo-linkbox__btn:disabled { border-color: var(--dv-border); }

@media (prefers-reduced-motion: reduce) {
	.dvo-linkbox__card { animation: none; }
}

html[data-motion="reduce"] .dvo-linkbox__card { animation: none; }

/* Create account in two steps, one at a time; one card on the checkout (13 Nov 2026; signup-steps.php, compact.php, login.js
   signupSteps() and the auth switch; design canvas 4yHFZWbqhkV93Z8Vz5g4XU). Colours are tokens: dark mode needs no copy. */

.dvo-auth--one { max-width: 600px; }
.dvo-auth--one .dvo-auth__view + .dvo-auth__view { margin-top: 24px; }
.dvo-auth--one.is-js .dvo-auth__view + .dvo-auth__view { margin-top: 0; }
.dvo-auth--one .dvo-auth__view.dvo-card { padding: 28px; }

@media (max-width: 480px) {
	.dvo-auth--one .dvo-auth__view.dvo-card { padding: 20px; }
}

.dvo-ss { display: flex; flex-direction: column; }
.dvo-ss__pane { display: flex; flex-direction: column; gap: 16px; }
.dvo-su--steps:not(.is-js) .dvo-ss__pane + .dvo-ss__pane { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--dv-border); }
.dvo-auth--signup .dvo-su--steps .dvo-ss { margin-top: 28px; padding: 24px; border: 1px solid var(--dv-border); border-radius: 20px; background: var(--dv-bg-surface); box-shadow: var(--dv-shadow-card); }

.dvo-ss__progress { display: flex; flex-direction: column; gap: 8px; }
.dvo-auth p.dvo-ss__eyebrow { margin: 0; font-family: var(--dv-font-mono); font-size: .75rem; letter-spacing: var(--dv-tracking-eyebrow); text-transform: uppercase; color: var(--dv-ink-2); }
.dvo-ss__bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dvo-ss__bars i { height: 4px; border-radius: 4px; background: var(--dv-bg-subtle); }
.dvo-ss__bars i.is-on { background: var(--dv-brand); }

.dvo-ss__h { margin: 0; font-family: var(--dv-font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--dv-ink); }
.dvo-ss__h:focus, .dvo-auth__card-title:focus { outline: none; }
.dvo-auth p.dvo-ss__switch, .dvo-auth p.dvo-ss__lede { margin: -6px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--dv-ink-2); }
.dvo-auth p.dvo-ss__switch--end { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--dv-border); }
.dvo-ss__switch a { font-weight: 600; }

/* The username: Available inside the field, a refusal under it. */
.dvo-ss__user { position: relative; display: block; }
.dvo-ss__ok { position: absolute; top: 0; right: 12px; bottom: 0; display: flex; align-items: center; gap: 4px; font-size: .8125rem; font-weight: 600; color: var(--dvo-ok-ink); pointer-events: none; }
.dvo-ss__ok[hidden] { display: none; }
.dvo-form input.is-good { padding-right: 104px; border-color: var(--dvo-ok-ink); }
.dvo-form input.is-bad { border-color: var(--dv-brand); }
.dvo-ss__err { font-size: .8125rem; line-height: 1.45; color: var(--dvo-err-ink); }
.dvo-ss__err:empty { display: none; }

/* The mobile number: the country picker and the number on one line (stacked on narrow phones). */
.dvo-ss__tel { display: flex; gap: 8px; }
.dvo-ss__tel > select { flex: 0 1 150px; min-width: 0; }
.dvo-ss__tel > .dvo-tel { flex: 1 1 auto; min-width: 0; }

@media (max-width: 360px) {
	.dvo-ss__tel { flex-direction: column; }
	.dvo-ss__tel > select { flex-basis: auto; }
}

/* The security check: the widget's own box when Cloudflare asks; our box when it fails. */
.dvo-ss__guard:empty { display: none; }
.dvo-ss__guard .cf-turnstile-br { display: none; }
.dvo-ss__check { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--dvo-warn-bg); color: var(--dvo-warn-ink); font-size: .9375rem; line-height: 1.45; }
.dvo-ss__check[hidden] { display: none; }
.dvo-ss__check:focus { outline: 2px solid var(--dvo-warn-ink); outline-offset: 2px; }
.dvo-ss__check p { margin: 0; }
.dvo-form .dv-btn.dvo-ss__retry { --dv-btn-height: 40px; padding: 0 16px; border-color: currentColor; color: inherit; }
.dvo-auth p.dvo-ss__msg { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--dv-bg-subtle); font-size: .9375rem; line-height: 1.45; color: var(--dv-ink); }
.dvo-auth p.dvo-ss__msg[hidden] { display: none; }
.dvo-form .dv-btn.dvo-ss__next, .dvo-ss .dv-btn[data-dvo-submit] { width: 100%; justify-content: center; }
.dvo-ss__next[hidden] { display: none; }
.dvo-auth p.dvo-ss__note { margin: -6px 0 0; text-align: center; }

/* Step 2. */
.dvo-ss__back, .dvo-ss__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; color: var(--dv-link); cursor: pointer; }
.dvo-ss__back { align-self: flex-start; font-size: .875rem; }
.dvo-ss__link { min-height: 0; text-decoration: underline; text-underline-offset: 2px; }
.dvo-ss__back[hidden], .dvo-ss__link[hidden] { display: none; }
.dvo-ss__lede strong { color: var(--dv-ink); overflow-wrap: anywhere; }
.dvo-ss__resend { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 14px; border-top: 1px solid var(--dv-border); }
.dvo-auth p.dvo-ss__status { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--dv-ink-2); }
.dvo-form .dv-btn.dvo-ss__again { --dv-btn-height: 44px; padding: 0 16px; }
.dvo-ss__again[hidden] { display: none; }
