/* "Email me a sign-in code" inside the My Account login form (2026-10-17).
   Same square, hairline, black-ink language as the form around it
   (minimog-child/assets/account.css). The `:not(#aura-none)` tail is the
   house trick for out-ranking the theme's global button rules. */

.aloft-lc[hidden], .aloft-lc [hidden] { display: none !important; }
.aloft-lc { --lc-ink: #0c0c0e; --lc-3: #6b6b73; --lc-line: rgba(12, 12, 14, .22); --lc-bad: #a3262e; --lc-ok: #0a6b3a; margin: 12px 0 0; }

/* While code mode is on, the password half of the form steps aside. */
.aloft-lc-mode > .woocommerce-form-row,
.aloft-lc-mode > .woocommerce-form-login__submit,
.aloft-lc-mode > p.form-row,
.aloft-lc-mode > div.form-row { display: none !important; }

html body .aloft-lc button:not(#aura-none) {
	font-family: inherit; text-transform: uppercase; border-radius: 0; box-shadow: none; cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
html body .aloft-lc .aloft-lc-open:not(#aura-none) {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 50px; margin: 0; padding: 10px 16px;
	background: #fff; color: var(--lc-ink); border: 1px solid var(--lc-line);
	font-size: 12px; letter-spacing: .14em; line-height: 1.2;
}
html body .aloft-lc .aloft-lc-open:not(#aura-none)::before {
	content: ""; flex: 0 0 18px; height: 18px;
	background: center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0c0e' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14'/%3E%3Cpath d='M3 6l9 7 9-7'/%3E%3C/svg%3E");
}
html body .aloft-lc .aloft-lc-open:hover:not(#aura-none) { border-color: var(--lc-ink); }

.aloft-lc-panel { animation: aloft-lc-in .28s cubic-bezier(.22, 1, .36, 1); }
@keyframes aloft-lc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .aloft-lc-panel { animation: none; } }

html body .aloft-lc .aloft-lc-title:not(#aura-none) { margin: 0 0 6px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--lc-ink); }
html body .aloft-lc .aloft-lc-lead:not(#aura-none) { margin: 0 0 18px; font-size: 13.5px; line-height: 1.6; letter-spacing: .02em; text-transform: none; color: var(--lc-3); overflow-wrap: anywhere; }

/* Out-ranks the theme's `.woocommerce-form label` rule (account.css). */
html body .aloft-lc .aloft-lc-step label.aloft-lc-field:not(#aura-none) { display: block; margin: 0 0 14px; font-size: inherit; letter-spacing: normal; text-transform: none; }
html body .aloft-lc .aloft-lc-field > span:not(#aura-none) { display: block; margin: 0 0 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #3a3a40; }
html body .aloft-lc .aloft-lc-field input:not(#aura-none) {
	display: block; width: 100%; min-height: 48px; margin: 0; padding: 10px 14px;
	font: inherit; font-size: 16px; letter-spacing: .04em; text-transform: none; color: var(--lc-ink);
	background: #fff; border: 1px solid var(--lc-line); border-radius: 0; box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
html body .aloft-lc .aloft-lc-field input[data-lc="code"]:not(#aura-none) { font-size: 22px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
html body .aloft-lc .aloft-lc-field input:focus:not(#aura-none) { outline: none; border-color: var(--lc-ink); box-shadow: 0 0 0 3px rgba(12, 12, 14, .08); }

html body .aloft-lc .aloft-lc-go:not(#aura-none) {
	display: flex; align-items: center; justify-content: center;
	width: 100%; min-height: 50px; margin: 0; padding: 10px 16px;
	background: var(--lc-ink); color: #fff; border: 1px solid var(--lc-ink);
	font-size: 12px; letter-spacing: .24em;
}
html body .aloft-lc .aloft-lc-go:hover:not(#aura-none) { background: #fff; color: var(--lc-ink); }
html body .aloft-lc .aloft-lc-go:disabled:not(#aura-none) { opacity: .5; cursor: default; background-color: var(--lc-ink) !important; border-color: var(--lc-ink) !important; color: #fff !important; }
html body .aloft-lc .aloft-lc-go.is-busy:not(#aura-none) { cursor: progress; }

html body .aloft-lc .aloft-lc-links:not(#aura-none) { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 12px 0 0; }
html body .aloft-lc .aloft-lc-links button:not(#aura-none),
html body .aloft-lc .aloft-lc-back:not(#aura-none) {
	display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0;
	background: none; border: 0; color: var(--lc-ink);
	font-size: 11px; letter-spacing: .14em; text-decoration: underline; text-underline-offset: 4px;
}
/* Minimog paints every disabled button with !important (button[disabled]). */
html body .aloft-lc .aloft-lc-links button:disabled:not(#aura-none) { color: var(--lc-3) !important; background-color: transparent !important; border-color: transparent !important; opacity: 1; text-decoration: none; cursor: default; }
html body .aloft-lc .aloft-lc-back:not(#aura-none) { margin-top: 6px; color: var(--lc-3); }
html body .aloft-lc .aloft-lc-back:hover:not(#aura-none) { color: var(--lc-ink); }

html body .aloft-lc .aloft-lc-msg:not(#aura-none) { margin: 12px 0 0; font-size: 13px; line-height: 1.5; text-transform: none; letter-spacing: .02em; color: var(--lc-bad); }
html body .aloft-lc .aloft-lc-msg.is-ok:not(#aura-none) { color: var(--lc-ok); }
