/* OTP Verify by OF — Light Organic Theme (Al Huda Organics) */
.ovof-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(20, 30, 20, 0.45);
	backdrop-filter: blur(4px);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.ovof-overlay.ovof-active {
	display: flex;
	animation: ovof-fade-in 0.25s ease;
}
@keyframes ovof-fade-in {
	from { opacity: 0; } to { opacity: 1; }
}

.ovof-modal {
	position: relative;
	width: 100%;
	max-width: 380px;
	background: #ffffff;
	border: 1px solid #e3ede3;
	box-shadow: 0 10px 40px rgba(46, 125, 50, 0.18);
	border-radius: 16px;
	padding: 28px 24px;
	text-align: center;
	color: #2b2b2b;
	font-family: 'Segoe UI', 'Hind Siliguri', Arial, sans-serif;
	animation: ovof-pop-in 0.3s ease;
}
@keyframes ovof-pop-in {
	from { transform: scale(0.9); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.ovof-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	color: #8a9a8a;
	font-size: 26px;
	cursor: pointer;
	line-height: 1;
}
.ovof-close:hover { color: #d64545; }

.ovof-icon {
	font-size: 40px;
	margin-bottom: 6px;
}

.ovof-title {
	font-size: 20px;
	margin: 4px 0 6px;
	color: #2e7d32;
	font-weight: 700;
}

.ovof-subtitle {
	font-size: 13px;
	color: #6b7d6b;
	margin-bottom: 18px;
}

.ovof-loader {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 24px 0;
}
.ovof-loader span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #4caf50;
	animation: ovof-bounce 1s infinite ease-in-out;
}
.ovof-loader span:nth-child(2) { animation-delay: 0.15s; }
.ovof-loader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ovof-bounce {
	0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
	40% { transform: scale(1); opacity: 1; }
}

.ovof-sent-info {
	font-size: 13px;
	color: #4c6b4c;
	margin-bottom: 14px;
	font-weight: 600;
}

.ovof-otp-inputs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 14px;
}
.ovof-otp-inputs input {
	width: 44px;
	height: 52px;
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	color: #2e7d32;
	background: #f6faf6;
	border: 2px solid #d5e5d5;
	border-radius: 10px;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
	caret-color: #2e7d32;
	/* prevent any transform/opacity animation from delaying the last digit's paint */
	will-change: auto;
}
.ovof-otp-inputs input:focus {
	border-color: #4caf50;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.18);
}
.ovof-otp-inputs input.ovof-filled {
	border-color: #4caf50;
	background: #eef7ee;
}

.ovof-error-msg {
	color: #d64545;
	font-size: 13px;
	min-height: 18px;
	margin-bottom: 6px;
}

.ovof-verify-btn {
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(90deg, #4caf50, #2e7d32);
	color: #ffffff;
	font-weight: bold;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(46, 125, 50, 0.3);
	transition: transform 0.15s;
}
.ovof-verify-btn:hover { transform: translateY(-1px); }
.ovof-verify-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.ovof-resend-link {
	margin-top: 12px;
	font-size: 13px;
}
.ovof-resend-link a {
	color: #2e7d32;
	text-decoration: none;
	font-weight: 600;
}
.ovof-resend-link a:hover { text-decoration: underline; }

.ovof-success-check {
	font-size: 48px;
	color: #4caf50;
	margin: 10px 0;
	animation: ovof-pop-in 0.3s ease;
}
.ovof-success-msg {
	font-size: 14px;
	color: #3f513f;
}

@media (max-width: 420px) {
	.ovof-modal { padding: 22px 16px; max-width: 92vw; }
	.ovof-otp-inputs input { width: 38px; height: 46px; font-size: 18px; }
}
