.wa-otp-modern {
	max-width: 360px;
	margin: 16px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wa-otp-modern__header {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
}
.wa-otp-modern__icon {
	flex: 0 0 auto;
	display: inline-flex;
	opacity: 0.85;
	margin-top: 2px;
}
.wa-otp-modern__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}
.wa-otp-modern__desc {
	margin: 2px 0 0;
	font-size: 13px;
	opacity: 0.75;
}
.wa-otp-modern__body {
	padding: 16px;
	border-radius: 16px;
	background: rgba(127, 127, 127, 0.04);
	border: 1px solid rgba(127, 127, 127, 0.15);
}
.wa-otp-modern__label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	opacity: 0.75;
	margin-bottom: 6px;
}
.wa-otp-modern__input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1.5px solid rgba(127, 127, 127, 0.35);
	font-size: 15px;
	margin-bottom: 10px;
}
/* No custom :focus override — the browser/theme's own focus ring stays, same as any other input on the page. */
.wa-otp-modern .wa-otp-phone-row {
	display: flex;
	gap: 8px;
}
.wa-otp-modern__country-select {
	width: auto;
	flex: 0 0 112px;
	min-width: 0;
}
.wa-otp-phone-row .wa-otp-modern__input.wa-otp-phone {
	flex: 1;
	min-width: 0;
}
.wa-otp-modern__code-boxes .wa-otp-code {
	letter-spacing: 6px;
	font-size: 20px;
	text-align: center;
	font-weight: 700;
}
/* No background/color here on purpose — the button/button-primary core
   classes in the template let the active theme's own button styling
   (or wp-admin's on the login screen) apply untouched. Only layout lives
   here. */
.wa-otp-modern__btn {
	width: 100%;
	padding: 11px 14px;
	border-radius: 10px;
	font-size: 14px;
	transition: transform 0.05s ease;
}
.wa-otp-modern__btn:active {
	transform: scale(0.98);
}
.wa-otp-modern__btn:disabled {
	opacity: 0.6;
	cursor: default;
}
.wa-otp-modern__resend {
	display: block;
	width: 100%;
	background: none;
	border: none;
	font-size: 13px;
	margin-top: 8px;
	cursor: pointer;
	text-align: center;
	text-decoration: underline;
	opacity: 0.8;
}
.wa-otp-modern__resend:disabled {
	opacity: 0.4;
	cursor: default;
}
.wa-otp-status {
	font-size: 13px;
	margin: 10px 0 0;
	color: #16a34a;
	min-height: 16px;
}
.wa-otp-status--error {
	color: #dc2626;
}
.wa-otp-native-toggle-btn {
	display: block;
	margin-top: 12px;
	background: none;
	border: none;
	padding: 0;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
	color: inherit;
	opacity: 0.75;
}
.wa-otp-native-toggle-btn:hover {
	opacity: 1;
}
.wa-otp-logged-in-notice {
	max-width: 360px;
	margin: 16px 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: rgba(127, 127, 127, 0.08);
	font-size: 13px;
}
