.tfh-auth-shell,
.entry-content .tfh-auth-shell,
.wp-block-post-content .tfh-auth-shell,
.wp-block-shortcode .tfh-auth-shell,
.elementor-widget-shortcode .tfh-auth-shell {
	--tfh-white: #ffffff;
	--tfh-dark: #151719;
	--tfh-gold: #d4af37;
	--tfh-muted: #6b7178;
	--tfh-line: #ecece8;
	--tfh-soft: #f6f6f4;
	display: block !important;
	width: 100% !important;
	max-width: 400px !important;
	margin: 32px auto !important;
	padding: 0 16px !important;
	float: none !important;
	clear: both;
	flex: 0 1 400px !important;
	align-self: center !important;
	box-sizing: border-box !important;
}

.tfh-auth {
	width: 100% !important;
	max-width: 400px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--tfh-dark, #151719);
	box-sizing: border-box;
}

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

.tfh-auth-tabs {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin: 0 0 16px;
	padding: 5px;
	background: var(--tfh-soft);
	border: 1px solid var(--tfh-line);
	border-radius: 14px;
}

.tfh-auth-tab {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	border: 0 !important;
	background: transparent !important;
	border-radius: 10px;
	padding: 12px 14px !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--tfh-muted) !important;
	cursor: pointer;
	box-shadow: none !important;
}

.tfh-auth-tab.is-active {
	background: #fff !important;
	color: var(--tfh-dark) !important;
	box-shadow: 0 1px 4px rgba(21, 23, 25, 0.1) !important;
}

.tfh-auth-card {
	display: grid;
	gap: 14px;
	width: 100%;
	margin: 0;
	padding: 28px 24px;
	border: 1px solid var(--tfh-line);
	border-radius: 16px;
	background: #fff;
}

.tfh-auth [data-tfh-panel].is-hidden,
.tfh-auth [data-tfh-panel][hidden],
.tfh-auth[data-active="login"] [data-tfh-panel]:not([data-tfh-panel="login"]),
.tfh-auth[data-active="register"] [data-tfh-panel]:not([data-tfh-panel="register"]),
.tfh-auth[data-active="lost"] [data-tfh-panel]:not([data-tfh-panel="lost"]) {
	display: none !important;
}

.tfh-auth-kicker {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tfh-gold);
}

.tfh-auth h2 {
	margin: 0 !important;
	font-family: Outfit, Inter, sans-serif;
	font-size: 28px !important;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--tfh-dark);
}

.tfh-auth-lead {
	margin: 0 0 4px !important;
	color: var(--tfh-muted);
	font-size: 15px;
}

.tfh-auth label {
	display: block;
	margin: 0;
}

.tfh-auth label span {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tfh-dark);
}

.tfh-req {
	display: inline !important;
	color: #b42318;
	font-weight: 700;
	margin: 0;
}

.tfh-pass {
	position: relative;
	display: block;
}

.tfh-pass input {
	padding-right: 48px !important;
}

.tfh-pass-toggle {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 10px;
	background: transparent !important;
	color: var(--tfh-muted) !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
}

.tfh-pass-toggle svg {
	width: 20px;
	height: 20px;
	display: block;
}

.tfh-pass-toggle .tfh-eye-off,
.tfh-pass-toggle.is-on .tfh-eye-on {
	display: none;
}

.tfh-pass-toggle.is-on .tfh-eye-off {
	display: block;
}

.tfh-auth label .tfh-pass {
	margin-bottom: 0;
	font-weight: 400;
}

.tfh-auth input[type="text"],
.tfh-auth input[type="email"],
.tfh-auth input[type="tel"],
.tfh-auth input[type="password"] {
	width: 100% !important;
	max-width: 100%;
	height: auto;
	margin: 0;
	border: 1px solid var(--tfh-line) !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
	font: inherit;
	font-size: 16px;
	color: var(--tfh-dark);
	background: #fff !important;
	box-shadow: none !important;
}

.tfh-auth input:focus {
	outline: 2px solid rgba(212, 175, 55, 0.45);
	outline-offset: 1px;
	border-color: var(--tfh-gold) !important;
}

.tfh-auth-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--tfh-dark);
}

.tfh-auth-btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 4px 0 0;
	border: 0 !important;
	border-radius: 12px !important;
	padding: 13px 18px !important;
	background: var(--tfh-dark) !important;
	color: #fff !important;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
}

.tfh-auth-btn:hover {
	opacity: 0.92;
}

.tfh-auth-btn-outline {
	background: #fff !important;
	color: var(--tfh-dark) !important;
	border: 1px solid var(--tfh-line) !important;
}

.tfh-auth-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin: 4px 0 0 !important;
	font-size: 14px;
}

.tfh-auth-links a,
.tfh-auth-text {
	color: var(--tfh-dark) !important;
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
	font: inherit;
	width: auto;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	box-shadow: none !important;
}

.tfh-auth-note {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 14px;
}

.tfh-auth-note--ok {
	background: #eef7ee;
	color: #1d5a2b;
}

.tfh-auth-note--err {
	background: #fdeeee;
	color: #8a1f1f;
}

.tfh-auth .tfh-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
