/* Login por código OTP (login-otp.php). */

.mepro-otp-wrap {
	position: relative;
	display: block;
	margin-top: 12px;
}

.mepro-otp-separator {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 12px;
	color: #757575;
	font-size: 14px;
	line-height: 1;
}

.mepro-otp-separator::before,
.mepro-otp-separator::after {
	content: "";
	flex: 1;
	border-top: 1px solid #e2e2e2;
}

.mepro-otp-button {
	display: inline-block;
	width: 100%;
	margin-top: 0;
	padding: 10px 14px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	background: #f7f7f7;
	color: #333;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
}

.mepro-otp-button:disabled {
	opacity: 0.6;
	cursor: default;
}

.mepro-otp-error {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-left: 4px solid #d63638;
	border-radius: 4px;
	background: #fcf0f1;
	color: #8a2424;
	font-size: 14px;
	line-height: 1.4;
}

/* Popover centralizado com fundo escurecido. */

.mepro-otp-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999999;
	display: flex;
	padding: 20px;
	background: rgba(0, 0, 0, 0.55);
	overflow-y: auto;
}

/* O display:flex acima vence o [hidden] padrão do navegador. */
.mepro-otp-overlay[hidden] {
	display: none;
}

.mepro-otp-popover {
	position: static;
	margin: auto;
	width: 340px;
	max-width: 100%;
	padding: 20px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
	color: #1a1a1a;
	font-size: 14px;
	text-align: left;
	box-sizing: border-box;
}

.mepro-otp-popover *,
.mepro-otp-wrap * {
	box-sizing: border-box;
}

/* Título e botão de fechar na mesma linha. */

.mepro-otp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 8px;
}

.mepro-otp-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
}

.mepro-otp-close {
	flex: none;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #757575;
	font-family: inherit;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	text-shadow: none;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.mepro-otp-close:hover {
	background: transparent;
	color: #111;
}

.mepro-otp-message {
	margin: 0 0 14px;
	color: #444;
	font-size: 14px;
	line-height: 1.5;
}

.mepro-otp-boxes {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-bottom: 14px;
}

.mepro-otp-box {
	width: 48px;
	height: 56px;
	padding: 0;
	border: 1px solid #c9c9c9;
	border-radius: 8px;
	background: #fff;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 24px;
	font-weight: 600;
	text-align: center;
}

.mepro-otp-box:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.25);
}

.mepro-otp-submit {
	width: 100%;
	cursor: pointer;
}

.mepro-otp-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.mepro-otp-resend {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 10px 14px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	background: #f7f7f7;
	color: #333;
	font-family: inherit;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.mepro-otp-resend:disabled {
	opacity: 0.6;
	cursor: default;
}
