.tpmo-auth {
	--tpmo-accent: var(--wd-primary-color, #f6931f);
	--tpmo-accent-dark: #de7810;
	--tpmo-ink: #242424;
	--tpmo-muted: #727272;
	--tpmo-line: #e8e8e8;
	--tpmo-soft: #fff8ef;
	box-sizing: border-box;
	direction: rtl;
	font-family: inherit;
	margin: 28px auto;
	max-width: 560px;
	width: 100%;
}

.tpmo-auth *,
.tpmo-auth *::before,
.tpmo-auth *::after {
	box-sizing: border-box;
}

.tpmo-auth-card {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .07);
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(36, 36, 36, .08);
	padding: 36px 42px 28px;
}

.tpmo-brand-mark {
	align-items: center;
	background: var(--tpmo-soft);
	border-radius: 50%;
	color: var(--tpmo-accent);
	display: flex;
	height: 58px;
	justify-content: center;
	margin: 0 auto 14px;
	width: 58px;
}

.tpmo-brand-mark svg {
	fill: currentColor;
	height: 31px;
	width: 31px;
}

.tpmo-title {
	color: var(--tpmo-ink);
	font-family: inherit;
	font-size: clamp(22px, 4vw, 28px);
	font-weight: 800;
	line-height: 1.5;
	margin: 0;
	text-align: center;
}

.tpmo-subtitle {
	color: var(--tpmo-muted);
	font-size: 14px;
	margin: 5px 0 24px;
	text-align: center;
}

.tpmo-tabs {
	background: #f5f5f5;
	border-radius: 11px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 24px;
	padding: 4px;
}

.tpmo-tab {
	background: transparent;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	color: #666;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	min-height: 42px;
	padding: 8px 15px;
	transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.tpmo-tab:hover {
	color: var(--tpmo-ink);
}

.tpmo-tab.is-active {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
	color: var(--tpmo-accent);
}

.tpmo-register-fields[hidden],
.tpmo-request-form[hidden],
.tpmo-verify-form[hidden],
.tpmo-message[hidden] {
	display: none !important;
}

.tpmo-field-row {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr 1fr;
}

.tpmo-field {
	display: block;
	margin: 0 0 17px;
}

.tpmo-field > span {
	color: #3d3d3d;
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin: 0 2px 7px;
}

.tpmo-auth input[type="text"],
.tpmo-auth input[type="tel"] {
	appearance: none;
	background: #fff;
	border: 1px solid #dcdcdc;
	border-radius: 10px;
	box-shadow: none;
	color: var(--tpmo-ink);
	direction: rtl;
	font-family: inherit;
	font-size: 15px;
	height: 49px;
	line-height: 49px;
	margin: 0;
	outline: none;
	padding: 0 14px;
	transition: border-color .2s ease, box-shadow .2s ease;
	width: 100%;
}

.tpmo-auth input:focus {
	border-color: var(--tpmo-accent);
	box-shadow: 0 0 0 3px rgba(246, 147, 31, .13);
}

.tpmo-phone-wrap {
	position: relative;
}

.tpmo-phone-wrap svg {
	fill: #949494;
	height: 21px;
	pointer-events: none;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 21px;
}

.tpmo-phone-wrap input[type="tel"] {
	direction: ltr;
	padding-left: 14px;
	padding-right: 44px;
	text-align: left;
}

.tpmo-consent {
	align-items: center;
	color: #666;
	display: flex;
	font-size: 12px;
	gap: 7px;
	margin: -1px 1px 18px;
}

.tpmo-consent input {
	accent-color: var(--tpmo-accent);
	height: 15px;
	margin: 0;
	width: 15px;
}

.tpmo-primary {
	align-items: center;
	background: var(--tpmo-accent);
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	height: 50px;
	justify-content: center;
	padding: 0 22px;
	transition: background .2s ease, transform .2s ease;
	width: 100%;
}

.tpmo-primary:hover,
.tpmo-primary:focus {
	background: var(--tpmo-accent-dark);
	color: #fff;
}

.tpmo-primary:active {
	transform: translateY(1px);
}

.tpmo-primary:disabled {
	cursor: wait;
	opacity: .7;
}

.tpmo-primary i {
	animation: tpmo-spin .7s linear infinite;
	border: 2px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	border-top-color: #fff;
	display: none;
	height: 17px;
	margin-right: 9px;
	width: 17px;
}

.tpmo-primary.is-loading i {
	display: block;
}

@keyframes tpmo-spin {
	to { transform: rotate(360deg); }
}

.tpmo-message {
	background: #f3f8ff;
	border: 1px solid #cfe2ff;
	border-radius: 9px;
	color: #245a91;
	font-size: 13px;
	line-height: 1.8;
	margin: 0 0 17px;
	padding: 10px 13px;
}

.tpmo-message.is-error {
	background: #fff4f3;
	border-color: #ffd2cd;
	color: #a52c21;
}

.tpmo-message.is-success {
	background: #effaf3;
	border-color: #c8ead4;
	color: #22733f;
}

.tpmo-code-sent {
	color: #555;
	font-size: 13px;
	line-height: 1.8;
	margin: 0 0 17px;
	text-align: center;
}

.tpmo-code-sent strong {
	direction: ltr;
	display: inline-block;
}

.tpmo-otp-field input {
	direction: ltr !important;
	font-size: 23px !important;
	font-weight: 800;
	letter-spacing: 8px;
	text-align: center;
}

.tpmo-code-actions {
	display: flex;
	justify-content: space-between;
	margin: 15px 2px 0;
}

.tpmo-code-actions button {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--tpmo-accent);
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	padding: 4px 0;
}

.tpmo-code-actions button:disabled {
	color: #999;
	cursor: default;
}

.tpmo-secure-note {
	align-items: center;
	color: #929292;
	display: flex;
	font-size: 11px;
	gap: 5px;
	justify-content: center;
	margin: 22px 0 0;
}

.tpmo-secure-note svg {
	fill: currentColor;
	height: 16px;
	width: 16px;
}

.tpmo-hp {
	left: -10000px !important;
	opacity: 0 !important;
	position: absolute !important;
	top: auto !important;
}

.tpmo-noscript,
.tpmo-already-logged {
	background: #fff8e7;
	border: 1px solid #f1d895;
	border-radius: 8px;
	padding: 12px 15px;
}

@media (max-width: 600px) {
	.tpmo-auth {
		margin: 16px auto;
	}

	.tpmo-auth-card {
		border-radius: 14px;
		padding: 27px 20px 22px;
	}

	.tpmo-field-row {
		gap: 0;
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tpmo-auth * {
		scroll-behavior: auto !important;
		transition-duration: 0s !important;
	}
}
