/**
 * استایل پایه فرم ورود پیامکی (OTP)
 * این استایل‌ها به عنوان مقادیر پیش‌فرض عمل می‌کنند؛ کنترل‌های ویجت المنتور
 * (رنگ، تایپوگرافی، حاشیه و ...) با تزریق CSS اختصاصی هر نمونه، این مقادیر را بازنویسی می‌کنند.
 */

.otple-form-wrapper {
	width: 100%;
	margin: 0 auto;
	font-family: inherit;
}

.otple-message {
	display: none;
	margin-bottom: 16px;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.6;
}

.otple-msg-success {
	background-color: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.otple-msg-error {
	background-color: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.otple-msg-info {
	background-color: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.otple-field {
	margin-bottom: 14px;
}

.otple-input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 15px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background-color: #f9fafb;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.otple-submit-btn {
	display: block;
	width: 100%;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
	background-color: #2563eb;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.otple-submit-btn:hover {
	background-color: #1d4ed8;
}

.otple-submit-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.otple-resend-btn {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 8px 12px;
	font-size: 13px;
	color: #6b7280;
	background: none;
	border: none;
	cursor: pointer;
	text-decoration: underline;
}

.otple-resend-btn:disabled {
	color: #9ca3af;
	cursor: not-allowed;
	text-decoration: none;
}

.otple-already-logged-in {
	padding: 14px;
	text-align: center;
	border-radius: 8px;
	background-color: #f3f4f6;
	color: #374151;
	font-size: 14px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
