/* Custom OTP Register – Lost Password OTP modal
   ------------------------------------------------------------------ */

.cor-lp-field-error {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #c62828;
}

.cor-lp-otp-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba( 0, 0, 0, 0.55 );
	backdrop-filter: blur( 2px );
}

.cor-lp-otp-popup-inner {
	position: relative;
	background: #fff;
	border-radius: 10px;
	padding: 32px 28px 24px;
	max-width: 380px;
	width: 90%;
	box-shadow: 0 8px 30px rgba( 0, 0, 0, 0.18 );
	text-align: center;
}

.cor-lp-otp-popup-inner h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.cor-lp-otp-popup-inner p {
	font-size: 14px;
	color: #555;
	margin-bottom: 16px;
}

.cor-lp-otp-popup-inner .input-text {
	width: 100%;
	text-align: center;
	font-size: 22px;
	letter-spacing: 6px;
	padding: 10px;
	margin-bottom: 10px;
	box-sizing: border-box;
}

.cor-lp-status-msg {
	display: block;
	min-height: 18px;
	margin-bottom: 14px;
	font-size: 13px;
}

.cor-lp-status-msg.cor-success { color: #2e7d32; }
.cor-lp-status-msg.cor-error   { color: #c62828; }
.cor-lp-status-msg.cor-info    { color: #1565c0; }

.cor-lp-otp-popup-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.cor-lp-otp-popup-actions .cor-otp-btn {
	padding: 10px 22px;
	font-size: 14px;
}

.cor-lp-otp-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #777;
}

.cor-lp-otp-close:hover {
	color: #1a1a1a;
}

/* ─── Password strength meter (New Password field, reset-password step) ─── */
.cor-pw-meter {
	margin-top: 8px;
	height: 7px;
	width: 100%;
	background: #e6e6e6;
	border-radius: 4px;
	overflow: hidden;
	box-sizing: border-box;
	clear: both;
	float: none;
	display: block;
}

.cor-pw-meter.cor-pw-empty {
	display: none;
}

.cor-pw-meter-fill {
	display: block;
	height: 100%;
	width: 0%;
	background: #e0e0e0;
	border-radius: 4px;
	transition: width 0.25s ease, background-color 0.25s ease;
}

.cor-pw-meter.cor-pw-weak .cor-pw-meter-fill {
	background: #e74c3c; /* red */
}

.cor-pw-meter.cor-pw-medium .cor-pw-meter-fill {
	background: #f1c40f; /* yellow */
}

.cor-pw-meter.cor-pw-strong .cor-pw-meter-fill {
	background: #2ecc71; /* green */
}

.cor-pw-hint {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #757575;
	clear: both;
	float: none;
	display: block;
	width: 100%;
	box-sizing: border-box;
}

/* Visual disabled state for the "Save" button — the disabled attribute
   alone doesn't grey it out since the theme's own button CSS has no
   :disabled rule, so it looked clickable even while blocked. */
form.woocommerce-ResetPassword button[type="submit"]:disabled,
form.woocommerce-ResetPassword button[type="submit"][disabled] {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
	filter: grayscale(40%);
}