/* OTP Modal Styles */
.otp-modal {
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
}
.otp-modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 90%;
	max-width: 500px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	position: relative;
	text-align: center;
}
.otp-modal-close {
	color: #aaa;
	font-size: 30px;
	line-height: 1em;
	font-weight: bold;
	cursor: pointer;
	position: absolute;
	top: 5px;
	right: 15px;
}
.otp-modal-close:hover,
.otp-modal-close:focus {
	color: #000;
	text-decoration: none;
}
.otp-modal h3 {
	font-size: 24px;
	line-height: 34px;
	color: #333;
}
.otp-modal p {
	font-size: 20px;
	line-height: 25px;
	color: #666;
	margin: 5px 0 20px 0;
}
.otp-input-container {
	text-align: center;
	margin-bottom: 20px;
}
.otp-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.otp-display {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 10px;
}
.otp-digit {
	width: 50px;
	height: 50px;
	border: 2px solid #ddd;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	font-weight: bold;
	color: #333;
	background-color: #f9f9f9;
	transition: all 0.2s ease;
	cursor: pointer;
	user-select: none;
}
.otp-digit:hover {
	border-color: #007cba;
	background-color: #f0f8ff;
}
.otp-digit.active {
    border-color: #007cba;
    background-color: #e6f3ff;
    box-shadow: 0 0 0 1px #007cba;
}
.otp-digit.filled {
	border-color: #007cba;
	background-color: #e6f3ff;
	color: #007cba;
}
.verify-otp-btn,
.resend-otp-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	margin: 5px;
	transition: background-color 0.3s ease;
}
.verify-otp-btn {
	background-color: #007cba;
	color: white;
}
button#verify-otp-btn, button#resend-otp-btn {
	font-size: 18px;
	background: transparent;
	color: #489D90;
	border: 1px solid #489D90;
}
button#verify-otp-btn:hover, button#resend-otp-btn:hover {
	color: #FFF;
	background: #489D90;
}
.verify-otp-btn:hover:not(:disabled) {
	background-color: #005a87;
}
.resend-otp-btn {
	background-color: #f0f0f0;
	color: #333;
}
.resend-otp-btn:hover:not(:disabled) {
	background-color: #e0e0e0;
}
.verify-otp-btn:disabled,
.resend-otp-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
#otp-message {
	text-align: center;
	margin-top: 10px;
	font-size: 18px;
}
/* Send OTP Button */
.send-otp-btn {
	margin-left: 10px;
	padding: 8px 16px;
	background: #007cba;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	gap: 10px;
}
div#field_3_16 #send-otp-btn {
	font-size: 15px;
	line-height: 20px;
	background-color: #FFFFFF;
	color: #489D90;
	border: 1px solid #489D90;
	border-radius: 4px 4px 4px 4px;
	padding: 5px 5px 5px 5px;
	margin: 10px 0 0px 0;
}
div#field_3_16 #send-otp-btn:hover {
	color: #FFFFFF;
	background-color: #1C3D38;
}
div#field_3_16 {
	margin-bottom: -24px;
}

.send-otp-btn:hover:not(:disabled) {
	background: #005a87;
}

.send-otp-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* Spinner Animation */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.spinner {
	animation: spin 1s linear infinite;
}