.wc-email-otp{max-width:460px;margin:32px auto;padding:28px;border:1px solid rgba(0,0,0,.12);border-radius:14px;background:#fff}.wc-email-otp label{display:block;margin:12px 0 6px;font-weight:600}.wc-email-otp input[type=email],.wc-email-otp input[type=text]{width:100%;min-height:48px;padding:0 12px}.wc-email-otp .button{width:100%;margin-top:14px;min-height:48px}.wc-email-otp__remember{font-weight:400!important}.wc-email-otp__remember input{width:auto}.wc-email-otp__message{display:none;margin-bottom:14px;padding:10px;border-radius:7px}.wc-email-otp__message.is-error,.wc-email-otp__message.is-success{display:block}.wc-email-otp__message.is-error{color:#8a1f1f;background:#fff0f0}.wc-email-otp__message.is-success{color:#17662a;background:#edf9f0}.wc-email-otp__link{display:block;margin:12px auto 0;border:0;background:transparent;text-decoration:underline}.wc-email-otp--change{max-width:none}.woocommerce-EditAccountForm>p:has(#account_email){display:none}@media(max-width:600px){.wc-email-otp{margin:20px auto;padding:20px}}

/*
 * CheckoutWC visual alignment.
 * Presentation only: no OTP logic, markup, fields, or checkout behaviour changes.
 * Scoped to CheckoutWC so the My Account OTP form remains unchanged.
 */
.wc-email-otp [hidden] { display:none !important; }
body.checkout-wc .wc-email-otp {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 20px 0 32px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
}

body.checkout-wc .wc-email-otp[data-modal-context="1"] {
	margin: 8px 0 0;
}

body.checkout-wc .wc-email-otp[data-modal-context="1"] p {
	margin-bottom: 18px;
}

body.checkout-wc .wc-email-otp h2 {
	margin: 0 0 6px;
	color: #1a1a1a;
	font: inherit;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.3;
}

body.checkout-wc .wc-email-otp p {
	margin: 0 0 16px;
	color: #535353;
	font: inherit;
	font-size: 15px;
	line-height: 1.45;
}

body.checkout-wc .wc-email-otp label {
	display: block;
	margin: 0 0 7px;
	color: #333;
	font: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
}

body.checkout-wc .wc-email-otp input[type="email"],
body.checkout-wc .wc-email-otp input[type="text"] {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #d9d9d9;
	border-radius: 12px;
	outline: 0;
	background: #fff;
	box-shadow: none;
	color: #333;
	font: inherit;
	font-size: 15px;
	line-height: 48px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.checkout-wc .wc-email-otp input[type="email"]:focus,
body.checkout-wc .wc-email-otp input[type="text"]:focus {
	border-color: #1773ea;
	box-shadow: 0 0 0 1px #1773ea;
}

body.checkout-wc .wc-email-otp .wc-email-otp__remember {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 13px 0 0;
	font: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
}

body.checkout-wc .wc-email-otp .wc-email-otp__remember input[type="checkbox"] {
	box-sizing: border-box;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #111;
}

body.checkout-wc .wc-email-otp .button {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 50px;
	min-height: 50px;
	margin: 18px 0 0;
	padding: 0 18px;
	border: 1px solid #111;
	border-radius: 12px;
	background: #111;
	box-shadow: none;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 48px;
	text-align: center;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

body.checkout-wc .wc-email-otp .button:hover,
body.checkout-wc .wc-email-otp .button:focus-visible {
	border-color: #292929;
	background: #292929;
}

body.checkout-wc .wc-email-otp .button:focus-visible {
	outline: 2px solid #1773ea;
	outline-offset: 2px;
}

body.checkout-wc .wc-email-otp .button:disabled {
	border-color: #8a8a8a;
	background: #8a8a8a;
	cursor: not-allowed;
	opacity: .75;
}

body.checkout-wc .wc-email-otp .wc-email-otp__link {
	display: block;
	width: auto;
	margin: 13px auto 0;
	padding: 2px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #0675c1;
	font: inherit;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}

body.checkout-wc .wc-email-otp .wc-email-otp__link:hover,
body.checkout-wc .wc-email-otp .wc-email-otp__link:focus-visible {
	text-decoration: underline;
}

body.checkout-wc .wc-email-otp .wc-email-otp__message {
	box-sizing: border-box;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.45;
}

body.checkout-wc .wc-email-otp .wc-email-otp__message.is-error {
	border-color: #efc5c5;
	background: #fff5f5;
	color: #8a1f1f;
}

body.checkout-wc .wc-email-otp .wc-email-otp__message.is-success {
	border-color: #bfe0c7;
	background: #f1faf3;
	color: #17662a;
}

@media (max-width: 600px) {
	body.checkout-wc .wc-email-otp {
		margin: 18px 0 28px;
	}

	body.checkout-wc .wc-email-otp h2 {
		font-size: 20px;
	}
}
