.wa-otp-field {
	max-width: 320px;
	margin: 8px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wa-otp-field .wa-otp-phone,
.wa-otp-field .wa-otp-code,
.wa-otp-field .wa-otp-country-code {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 11px;
	border-radius: 8px;
	border: 1.5px solid #e2e8f0;
	font-size: 14px;
	margin-bottom: 8px;
	/* Stay white and legible even on dark themes that restyle inputs. */
	background-color: #ffffff;
	color: #1e293b;
}
.wa-otp-field .wa-otp-country-code {
	-webkit-appearance: menulist;
	-moz-appearance: menulist;
	appearance: menulist;
}
.wa-otp-field .wa-otp-phone-row {
	display: flex;
	gap: 6px;
}
.wa-otp-field .wa-otp-phone-row .wa-otp-country-code {
	width: auto;
	flex: 0 0 100px;
	min-width: 0;
}
.wa-otp-field .wa-otp-phone-row .wa-otp-phone {
	flex: 1;
	min-width: 0;
}
.wa-otp-field .wa-otp-phone:focus,
.wa-otp-field .wa-otp-code:focus {
	outline: none;
	border-color: #25D366;
}
.wa-otp-field .wa-otp-send-btn,
.wa-otp-field .wa-otp-verify-btn {
	padding: 9px 14px;
	border: none;
	border-radius: 8px;
	background: linear-gradient(135deg, #25D366, #128C7E);
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}
.wa-otp-field .wa-otp-send-btn:disabled,
.wa-otp-field .wa-otp-verify-btn:disabled {
	opacity: 0.6;
	cursor: default;
}
.wa-otp-field .wa-otp-resend-btn {
	background: none;
	border: none;
	color: #128C7E;
	font-size: 12px;
	margin-left: 8px;
	cursor: pointer;
}
.wa-otp-field .wa-otp-resend-btn:disabled {
	color: #94a3b8;
	cursor: default;
}
.wa-otp-field .wa-otp-status {
	font-size: 12px;
	margin: 6px 0 0;
	color: #16a34a;
	min-height: 14px;
}
.wa-otp-field .wa-otp-status--error {
	color: #dc2626;
}
.wa-otp-field__verified {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	font-size: 13px;
}
.wa-otp-field__check {
	color: #16a34a;
	font-weight: 700;
}
.wa-otp-field__verified-number {
	flex: 1;
	color: #166534;
	font-weight: 600;
}
.wa-otp-field__change-btn {
	background: none;
	border: none;
	color: #128C7E;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
}
.wa-otp-modal:not([hidden]) {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: none;
	margin: 0;
	padding: 20px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wa-otp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.62);
}
.wa-otp-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	padding: 28px;
	box-sizing: border-box;
	border-radius: 14px;
	background: #fff;
	color: #1e293b;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.28);
}
.wa-otp-modal__title {
	margin: 0 32px 8px 0;
	color: #1e293b;
	font-size: 20px;
	line-height: 1.35;
}
.wa-otp-modal__message {
	margin: 0 0 18px;
	color: #475569;
	font-size: 14px;
}
.wa-otp-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	padding: 2px 8px;
	border: 0;
	background: transparent;
	color: #64748b;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.wa-otp-modal__dialog .wa-otp-step[data-step="code"] {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	align-items: center;
	gap: 8px;
}
.wa-otp-modal__dialog .wa-otp-code,
.wa-otp-modal__code-label {
	grid-column: 1 / -1;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.wa-otp-modal__dialog .wa-otp-code {
	margin-bottom: 4px;
}
.wa-otp-modal__dialog .wa-otp-verify-btn {
	grid-column: 1;
	width: 100%;
	min-width: 0;
	padding: 9px 6px !important;
	font-size: 11px !important;
	letter-spacing: 1px !important;
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
	line-height: 1.3 !important;
	box-sizing: border-box;
	text-align: center !important;
}
.wa-otp-modal__dialog .wa-otp-resend-btn {
	grid-column: 1 / -1;
	justify-self: center;
	margin-left: 0;
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: #128C7E;
	font-size: 11px !important;
	white-space: nowrap !important;
	letter-spacing: 0.5px !important;
	cursor: pointer;
	text-align: center;
}
.wa-otp-modal__dialog .wa-otp-modal__change-btn {
	grid-column: 1 / -1;
	justify-self: start;
	margin-left: 0;
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: #128C7E;
	font-size: 13px;
	letter-spacing: normal;
	cursor: pointer;
}
.wa-otp-modal__code-label {
	color: #334155;
	font-size: 13px;
	font-weight: 600;
}
.wa-otp-modal__dialog .wa-otp-status {
	min-height: 0;
	margin-top: 14px;
}
/* Steps toggle with the hidden attribute; don't let display rules above show them. */
.wa-otp-field [hidden] {
	display: none !important;
}

.wpcf7 form .wpcf7-form-control-wrap.wa-otp-control-wrap {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	width: 100% !important;
}
.wpcf7 form .wpcf7-form-control-wrap.wa-otp-control-wrap > .wa-otp-field {
	order: 1 !important;
	width: 100% !important;
	max-width: none !important;
}
.wpcf7 form .wpcf7-form-control-wrap.wa-otp-control-wrap > .wpcf7-not-valid-tip {
	position: static !important;
	order: 2 !important;
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 6px 0 0 !important;
}
