/* Shchunati OTP Login. On the AdForest pages the form sits inside .adt-signup-right-content and
   uses the theme's own .field-box / .adt-button-dark, so only what the theme lacks is styled here.
   wp-login.php has no theme CSS: the .login rules give it a plain card. */
body.shchunati-otp-active #loginform,
body.shchunati-otp-active #nav { display: none !important; }

.shchunati-otp { box-sizing: border-box; direction: rtl; text-align: right; }
.shchunati-otp * { box-sizing: border-box; }
.shchunati-otp [hidden] { display: none !important; }

.shchunati-otp-title { margin: 0 0 12px; font-size: 18px; line-height: 1.3; font-weight: 600; }
.shchunati-otp p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; }

.shchunati-otp-msg { margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
.shchunati-otp-msg:empty { display: none; }
.shchunati-otp-msg.is-err { color: #d63638; }
.shchunati-otp-msg.is-ok { color: #00a32a; }

/* The email reads left to right inside the RTL page. */
.shchunati-otp input[type="email"] { direction: ltr; text-align: right; width: 100%; }
.shchunati-otp-to { direction: ltr; unicode-bidi: isolate; font-weight: 600; }

/* The theme sizes every input in its sign-up card (100% x 42px), checkboxes included. */
.shchunati-otp input[type="checkbox"] {
	-webkit-appearance: checkbox; appearance: auto;
	width: 18px !important; height: 18px !important; min-width: 0; min-height: 0;
	margin: 2px 0 0 !important; padding: 0 !important; flex: 0 0 18px; position: static; opacity: 1;
}
.shchunati-otp-terms { margin: 0 0 14px; }
.shchunati-otp-terms label { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; line-height: 1.5; font-weight: normal; cursor: pointer; }

/* Honeypot: clipped, not display:none (some bots skip hidden fields). No off-screen offset - in an
   RTL page an element pushed left widens the scroll area. */
.shchunati-otp-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.shchunati-otp .shchunati-otp-btn { width: 100%; }
.shchunati-otp .shchunati-otp-btn:disabled { opacity: .6; cursor: not-allowed; }

.shchunati-otp-boxes { display: flex; justify-content: space-between; gap: 6px; margin: 0 0 14px; direction: ltr; }
.shchunati-otp-box {
	flex: 1 1 0;
	min-width: 0;
	max-width: 48px;
	height: 50px;
	margin: 0;
	padding: 0;
	font-size: 22px;
	text-align: center;
	color: #1d2327;
	background: #f6f6f6;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	box-shadow: none;
}
.shchunati-otp-box:focus { background: #fff; border-color: #ff002e; outline: none; }

.shchunati-otp-remember { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; font-size: 14px; font-weight: normal; cursor: pointer; }
.shchunati-otp-remember input { margin: 0; }

.shchunati-otp-links,
.shchunati-otp-switch { margin: 14px 0 0; font-size: 14px; text-align: center; }
.shchunati-otp-links a.is-waiting { opacity: .5; cursor: default; pointer-events: none; }
.shchunati-otp-sep { margin: 0 6px; opacity: .5; }

/* wp-login.php (admin) - no theme styles there. */
.login .shchunati-otp {
	max-width: 400px;
	margin: 20px auto;
	padding: 26px 24px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	color: #1d2327;
}
.login .shchunati-otp label { display: block; margin: 0 0 6px; }
.login .shchunati-otp input[type="email"] { padding: 10px 12px; font-size: 16px; margin: 0 0 14px; }
.login .shchunati-otp .adt-button-dark {
	display: block; padding: 10px 16px; font-size: 15px; font-weight: 600; color: #fff;
	background: #2271b1; border: 1px solid #2271b1; border-radius: 4px; cursor: pointer;
}
