.erd-otp {
	margin: 0.15rem 0 0.95rem;
}

.erd-otp-row {
	padding: 0 !important;
	margin: 0 0 0.35rem !important;
}

.erd-otp-row label,
.erd-otp-row .optional {
	display: none;
}

.erd-otp__send {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
}

.erd-otp__hint {
	font-size: 0.75rem;
	color: #6b7280;
}

.erd-otp__label {
	display: block;
	margin: 0.7rem 0 0.4rem;
	font-size: 0.8rem;
	font-weight: 700;
	color: #374151;
}

.erd-otp__label .req {
	color: #ef4444;
}

.erd-otp__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
}

.erd-otp__boxes {
	display: flex;
	gap: 0.45rem;
}

.erd-otp__digit {
	width: 2.65rem;
	height: 2.75rem;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	text-align: center;
	font-size: 1.15rem;
	font-weight: 750;
	color: #111827;
	background: #fff;
}

.erd-otp__digit:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.erd-otp__btn {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 0.62rem 1.15rem;
	background: #2563eb;
	color: #fff;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 750;
	cursor: pointer;
}

.erd-otp__btn:hover {
	background: #1d4ed8;
}

.erd-otp__btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.erd-otp__btn--confirm {
	border-radius: 10px;
}

.erd-otp__resend {
	display: inline-block;
	margin: 0.45rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: #2563eb;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
}

.erd-otp__resend:disabled {
	color: #9ca3af;
	cursor: default;
}

.erd-otp__ok {
	margin: 0.55rem 0 0;
	padding: 0.55rem 0.75rem;
	border-radius: 10px;
	background: #ecfdf5;
	color: #047857;
	font-size: 0.82rem;
	font-weight: 750;
}

.erd-otp__msg {
	display: none;
	margin: 0.5rem 0 0;
	padding: 0.45rem 0.65rem;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1.35;
}
.erd-otp__msg:not([hidden]) {
	display: block;
}

.erd-otp__msg.is-err {
	color: #b91c1c;
}

.erd-otp__msg.is-ok {
	color: #047857;
}

.erd-otp.is-verified .erd-otp__send,
.erd-otp.is-verified .erd-otp__verify {
	display: none;
}
