.wlc-otp-wrap,
.wlc-otp-form,
.wlc-otp-form * {
	pointer-events: auto !important;
}

.wlc-otp-wrap {
	position: relative;
	z-index: 50;
	max-width: 520px;
	isolation: isolate;
}

.wlc-otp-form {
	position: relative;
	z-index: 50;
	max-width: 520px;
	font-family: "Segoe UI", system-ui, sans-serif;
}

.wlc-otp-row {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
	align-items: stretch;
}

.wlc-otp-row[hidden] {
	display: none !important;
}

.wlc-otp-form input,
.wlc-otp-form select {
	border: 1px solid var(--wlc-otp-input-border, #d1d5db);
	border-radius: var(--wlc-otp-input-radius, 10px);
	padding: 10px 12px;
	font-size: 14px;
	min-width: 0;
	background: var(--wlc-otp-input-bg, #fff);
	color: var(--wlc-otp-input-text, #111827);
	position: relative;
	z-index: 2;
}

.wlc-otp-form input:focus,
.wlc-otp-form select:focus {
	border-color: var(--wlc-otp-input-focus, #16a34a);
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
	outline: none;
}

.wlc-otp-form select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%23475569' d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
	padding-right: 32px;
	cursor: pointer;
}

.wlc-otp-cc {
	flex: 0 0 180px;
	width: 180px;
	max-width: 42%;
}

.wlc-otp-phone,
.wlc-otp-code,
.wlc-otp-email {
	flex: 1 1 auto;
}

.wlc-otp-phone.is-invalid,
.wlc-otp-form input.is-invalid {
	border-color: var(--wlc-otp-err, #b91c1c);
	box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.wlc-otp-form button {
	border: 0;
	border-radius: var(--wlc-otp-btn-radius, 5px);
	background: var(--wlc-otp-btn, #16a34a);
	color: var(--wlc-otp-btn-text, #fff);
	font-weight: 700;
	padding: 10px 14px;
	cursor: pointer;
	white-space: nowrap;
	position: relative;
	z-index: 2;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.wlc-otp-form button:hover:not(:disabled),
.wlc-otp-form button:focus-visible:not(:disabled) {
	background: var(--wlc-otp-btn-hover, #15803d);
	color: var(--wlc-otp-btn-hover-text, #fff);
}

.wlc-otp-form button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.wlc-otp-msg {
	margin: 0;
	font-size: 13px;
	min-height: 18px;
}

.wlc-otp-msg.is-ok {
	color: var(--wlc-otp-ok, #047857);
}

.wlc-otp-msg.is-err {
	color: var(--wlc-otp-err, #b91c1c);
}

.wlc-otp-form.is-verified {
	opacity: 0.9;
}

.wlc-otp-woo,
.wlc-otp-wp {
	margin: 16px 0 24px;
	padding: 16px;
	border: 1px solid var(--wlc-otp-box-border, #e5e7eb);
	border-radius: 12px;
	background: var(--wlc-otp-box-bg, #f8fafc);
	position: relative;
	z-index: 50;
}

.wlc-otp-wp-title {
	margin: 0 0 10px;
	font-weight: 700;
	font-size: 13px;
}

.wlc-otp-hint {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.45;
	color: #334155;
}

body.login .wlc-otp-wp {
	margin: 0 0 16px;
	padding: 12px;
}

body.login .wlc-otp-wrap,
body.login .wlc-otp-form {
	max-width: 100%;
}

body.login .wlc-otp-row {
	flex-wrap: wrap;
}

body.login .wlc-otp-cc {
	flex: 1 1 100%;
	max-width: 100%;
	width: 100%;
}

@media (max-width: 600px) {
	.wlc-otp-row {
		flex-wrap: wrap;
	}

	.wlc-otp-cc {
		flex: 1 1 100%;
		max-width: 100%;
		width: 100%;
	}

	.wlc-otp-form button {
		flex: 0 0 auto;
	}
}
