.bytea-otp {
	--bytea-otp-ink: #172638;
	--bytea-otp-muted: #506074;
	--bytea-otp-border: #dbe3eb;
	--bytea-otp-action: #087456;
	box-sizing: border-box;
	max-width: 26rem;
	margin: 1.25rem auto;
	padding: clamp(1rem, 5vw, 1.75rem);
	background: #fff;
	border: 1px solid var(--bytea-otp-border);
	border-radius: 1.25rem;
	color: var(--bytea-otp-ink);
	font: inherit;
	line-height: 1.6;
}
.bytea-otp *, .bytea-otp *::before, .bytea-otp *::after { box-sizing: border-box; }
.bytea-otp [hidden] { display: none !important; }
.bytea-otp-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-block-end: .75rem; border-radius: .875rem; color: var(--bytea-otp-action); background: #edf4f3; }
.bytea-otp h2 { margin: 0 0 .25rem; font-size: 1.25rem; line-height: 1.5; color: var(--bytea-otp-ink); }
.bytea-otp-description { color: var(--bytea-otp-muted); margin: 0 0 1.125rem; font-size: .925rem; }
.bytea-otp-form { display: grid; gap: .65rem; margin: 0; }
.bytea-otp-form label { color: var(--bytea-otp-ink); font-size: .9rem; font-weight: 600; }
.bytea-otp-form input[type="tel"] {
	width: 100%; min-height: 50px; margin: 0; padding: .625rem .875rem;
	border: 1px solid var(--bytea-otp-border); border-radius: .75rem; background: #fff; color: var(--bytea-otp-ink);
	box-shadow: none; font: inherit; font-size: 16px; text-align: left;
}
.bytea-otp button { font-family: inherit; cursor: pointer; }
.bytea-otp button:disabled { cursor: default; }
.bytea-otp :focus-visible, .bytea-otp-code-wrap:focus-within { outline: 2px solid var(--bytea-otp-action); outline-offset: 2px; }
.bytea-otp input[aria-invalid="true"] { border-color: #a1293a; }
.bytea-otp-primary {
	display: block; width: 100%; min-height: 46px; padding: .65rem 1rem; margin: .25rem 0 0;
	border: 1px solid transparent; border-radius: .75rem; background: var(--bytea-otp-action); color: #fff;
	font-size: .94rem; font-weight: 700; text-align: center;
}
.bytea-otp-primary:hover { background: #065e46; color: #fff; }
.bytea-otp-primary:disabled { opacity: .72; }
.bytea-otp-destination, .bytea-otp-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .2rem .75rem; font-size: .85rem; color: var(--bytea-otp-muted); }
.bytea-otp-destination bdi { color: var(--bytea-otp-ink); font-weight: 650; }
.bytea-otp-link, .bytea-otp-footer a {
	min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0;
	border: 0; background: none; color: var(--bytea-otp-action); font-size: .85rem; text-decoration: underline; text-underline-offset: .2em;
}
.bytea-otp-link:hover { color: #065e46; background: none; }
.bytea-otp-link:disabled { color: var(--bytea-otp-muted); text-decoration: none; }
.bytea-otp-footer { border-top: 1px solid var(--bytea-otp-border); margin-top: .9rem; }
.bytea-otp-code-wrap { position: relative; border-radius: .7rem; }
.bytea-otp-digits { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(3px, 1vw, 8px); }
.bytea-otp-digits span { display: grid; place-items: center; height: 48px; border: 1px solid var(--bytea-otp-border); border-radius: .65rem; background: #f8fafc; color: var(--bytea-otp-ink); font: 650 1.15rem/1 ui-monospace, monospace; }
.bytea-otp-code-wrap input {
	position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
	color: transparent; caret-color: transparent; background: transparent; border: 0; outline: none;
	font-size: 16px; box-shadow: none; text-indent: 1rem;
	opacity: 0 !important; -webkit-text-fill-color: transparent !important;
}
.bytea-otp-code-wrap input:focus { outline: none; box-shadow: none; }
.bytea-otp-code-wrap:has(input[aria-invalid="true"]) .bytea-otp-digits span { border-color: #a1293a; }
.bytea-otp-feedback { margin: .6rem 0 0; color: #a1293a; font-size: .87rem; }
.bytea-otp-feedback[data-kind="success"] { color: var(--bytea-otp-action); }
.bytea-otp-password { margin: 0 auto 1.4rem; }
.bytea-otp-password > summary, .bytea-otp-checkout a { cursor: pointer; text-underline-offset: .2em; }
.bytea-otp-checkout { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.bytea-otp-linked { margin-block: 1rem; }
.bytea-sms-login-page { width: min(100% - 1.5rem, 32rem); margin: clamp(1.5rem, 6vh, 4rem) auto; }
body.bytea-hide-default-auth.woocommerce-account .woocommerce .u-columns#customer_login > .u-column1,
body.bytea-hide-default-auth.woocommerce-account .woocommerce .u-columns#customer_login > .u-column2,
body.bytea-hide-default-auth .woocommerce-form-login-toggle,
body.bytea-hide-default-auth .woocommerce-form-login,
body.bytea-hide-default-auth .woocommerce-form-register,
body.bytea-hide-default-auth .woocommerce-account-fields,
body.bytea-hide-default-auth .wc-block-checkout__login-prompt,
body.bytea-hide-default-auth .wc-block-checkout__create-account { display: none !important; }
@media (max-width: 600px) {
	.bytea-sms-login-page { width: min(100% - 1rem, 32rem); margin-block: 1rem; }
	.bytea-sms-login-page .bytea-otp { margin-block: 0; }
}
