/* Auth — pagina premium sotto navbar, stile Studio Diretta */
body.osk-auth-page,
body[data-osk-page="login"],
body[data-osk-page="register"],
body[data-osk-page="forgot_password"],
body[data-osk-page="reset-password"],
body[data-osk-page="two_factor_login"] {
	background: #05060a !important;
	color: #e8eaf0;
}

body.osk-auth-page .osk-mobile-bottom-nav,
body.osk-auth-page #footer_ad_,
body.osk-auth-page .ads-placment,
body.osk-auth-page .osk-music-bar,
body.osk-auth-page #oskMusicBar,
body[data-osk-page="login"] .ads-placment,
body[data-osk-page="register"] .ads-placment {
	display: none !important;
}

body.osk-auth-page .main-content,
body[data-osk-page="login"] .main-content,
body[data-osk-page="register"] .main-content,
body[data-osk-page="forgot_password"] .main-content,
body[data-osk-page="reset-password"] .main-content,
body[data-osk-page="two_factor_login"] .main-content {
	background: transparent !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
	min-height: calc(100vh - var(--osk-page-top, 64px)) !important;
	height: auto !important;
	overflow: visible !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}
body.osk-auth-page .main-content > .container,
body.osk-auth-page .main-content > .container-fluid,
body.osk-auth-page .main-content .container-fluid.px-md-4,
body[data-osk-page="login"] .main-content > .container-fluid,
body[data-osk-page="register"] .main-content > .container-fluid,
body.osk-auth-page .empty_state_center,
body.osk-auth-page #container_content {
	max-width: none !important;
	width: 100% !important;
	min-height: 0;
	padding: 0 !important;
	margin: 0 auto !important;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
}

.osk-auth,
.tag_auth.osk-auth {
	position: relative;
	max-width: none !important;
	width: 100%;
	min-height: 0;
	margin: 0 auto;
	padding: 32px 24px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	font-family: Inter, system-ui, -apple-system, sans-serif;
}
.osk-auth > svg.circle,
.tag_auth > svg,
.tag_auth_side .bg_ico,
.tag_auth_side:before {
	display: none !important;
}

.osk-auth__bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: #05060a;
}
.osk-auth__ambient {
	position: absolute;
	inset: -18%;
	background:
		radial-gradient(ellipse 58% 46% at 8% 8%, rgba(230, 0, 0, 0.34), transparent 58%),
		radial-gradient(ellipse 48% 42% at 92% 12%, rgba(124, 92, 255, 0.26), transparent 56%),
		radial-gradient(ellipse 42% 36% at 78% 92%, rgba(230, 0, 0, 0.16), transparent 62%),
		radial-gradient(ellipse 38% 32% at 18% 88%, rgba(124, 92, 255, 0.14), transparent 60%),
		radial-gradient(ellipse 70% 50% at 50% 48%, rgba(255, 255, 255, 0.03), transparent 70%);
}
.osk-auth__wash {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 90% 70% at 50% 120%, rgba(0, 0, 0, 0.55), transparent 58%),
		linear-gradient(180deg, rgba(5, 6, 10, 0.18) 0%, transparent 22%, transparent 70%, rgba(5, 6, 10, 0.55) 100%);
}

.osk-auth__shell {
	position: relative;
	z-index: 1;
	width: min(1120px, 100%);
	display: grid;
	grid-template-columns: minmax(300px, 1.05fr) minmax(320px, 0.95fr);
	background: #11131a;
	border-radius: 22px;
	overflow: hidden;
	align-items: stretch;
}
.osk-auth__stage {
	background: #0a0c12;
	padding: 36px 32px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	min-width: 0;
}
.osk-auth__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 2px;
}
.osk-auth__mark {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e60000;
	box-shadow: 0 0 0 4px rgba(230, 0, 0, 0.2);
	flex-shrink: 0;
}
.osk-auth__kicker {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e60000;
}
.osk-auth__stage h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.55rem, 2.8vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}
.osk-auth__title-accent {
	color: #e60000;
}
.osk-auth__stage-lead {
	margin: 0 0 6px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.92rem;
	line-height: 1.55;
}
.osk-auth__stage-lead strong {
	color: #fff;
	font-weight: 700;
}
.osk-auth__benefits {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.osk-auth__benefits li {
	margin: 0;
	padding: 0;
}
.osk-auth__stage .osk-hero-card,
.osk-auth__stage .osk-freedom__hero-card {
	min-height: 104px;
	background: #11131a;
	border: none;
	box-shadow: none;
}
.osk-auth__stage .osk-hero-card__art,
.osk-auth__stage .osk-freedom__hero-art {
	flex-basis: 104px;
	width: 104px;
	min-height: 104px;
	border-right: none;
	padding: 8px;
}
.osk-auth__stage .osk-hero-card__asset,
.osk-auth__stage .osk-freedom__asset {
	max-width: 88px;
	max-height: 88px;
	filter: none;
}

.osk-auth__panel {
	padding: 36px 36px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}
.osk-auth__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	background: #0a0c12;
	border-radius: 999px;
	padding: 6px;
	margin: 0 0 22px;
	width: fit-content;
	max-width: 100%;
}
.osk-auth__chips a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: transparent;
	color: rgba(255, 255, 255, 0.68) !important;
	font-size: 0.86rem;
	font-weight: 600;
	padding: 9px 18px;
	text-decoration: none !important;
	border: none;
	letter-spacing: 0;
}
.osk-auth__chips a:hover {
	background: #1a1012;
	color: #fff !important;
}
.osk-auth__chips a.is-active {
	background: #1a1630;
	color: #fff !important;
}

.osk-auth__title,
.osk-auth h1 {
	margin: 0 0 6px;
	color: #e8eaf0 !important;
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
}
.osk-auth__lead {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.9rem;
	line-height: 1.45;
}

.osk-auth form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.osk-auth .form-group,
.tag_auth .form-group {
	position: relative;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
}
.osk-auth .form-group > label,
.tag_auth .form-group > label {
	position: static !important;
	display: block;
	height: auto;
	padding: 0;
	margin: 0 0 7px;
	transform: none !important;
	pointer-events: auto;
	overflow: visible;
	white-space: normal;
	font-size: 11px !important;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.58) !important;
	max-width: none;
	border: none;
}
.osk-auth .form-group > .form-control,
.tag_auth .form-group > .form-control,
.osk-auth .form-group > select.form-control {
	background: #181a22 !important;
	border: none !important;
	border-radius: 12px !important;
	color: #fff !important;
	height: 48px;
	padding: 12px 14px;
	box-shadow: none !important;
	font-size: 0.95rem;
}
.osk-auth .form-group > textarea.form-control {
	height: auto;
	min-height: 88px;
}
.osk-auth .form-group > .form-control:focus {
	background: #1c1f29 !important;
	box-shadow: none !important;
}
.osk-auth .form-group > .form-control::placeholder {
	color: rgba(255, 255, 255, 0.32);
}
.osk-auth .helper-text {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.78rem;
}
.osk-auth .helper-text .text-success {
	color: #8dffc0 !important;
}

.osk-auth .errors {
	background: #3a1518;
	color: #ff8a8a;
	border: none;
	border-radius: 12px;
	padding: 10px 14px;
	margin: 0;
	font-size: 0.86rem;
}
.osk-auth .errors:empty {
	display: none;
}
.osk-auth .errors.success {
	background: #163522;
	color: #8dffc0;
}

.osk-auth .custom-control-label {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.86rem;
}
.osk-auth .custom-control-label a,
.osk-auth a.main {
	color: #b9a6ff !important;
}
.osk-auth .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #7c5cff !important;
	border-color: #7c5cff !important;
}

.osk-auth__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin: 2px 0 4px;
}

.osk-auth .btn-main,
.osk-auth input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	margin-top: 6px;
	border: none !important;
	border-radius: 999px !important;
	background: #e60000 !important;
	color: #fff !important;
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 0;
	box-shadow: none !important;
}
.osk-auth .btn-main:hover,
.osk-auth input.button:hover {
	background: #c40000 !important;
}

.osk-auth hr {
	border: none;
	height: 1px;
	margin: 8px 0 2px;
	background: #181a22;
}

.tag_auth_social {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0 !important;
}
.tag_auth_social > [class*="col-"] {
	max-width: none;
	width: auto;
	padding: 0 !important;
	flex: none;
}
.tag_auth_social .btn,
.tag_auth_social a.btn {
	background: #181a22 !important;
	border: none !important;
	border-radius: 12px !important;
	color: #e8eaf0 !important;
	height: 46px;
	line-height: 46px;
	padding: 0 14px !important;
	justify-content: flex-start;
	gap: 10px;
	font-size: 0.84rem;
	font-weight: 600;
}
.tag_auth_social .btn:hover,
.tag_auth_social a.btn:hover {
	background: #1a1012 !important;
	color: #fff !important;
}

.tag_auth_side { display: none !important; }
.recaptcha { margin: 4px 0; }

.osk-auth__legal {
	position: relative;
	z-index: 1;
	width: min(1120px, 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding: 4px 8px 0;
	text-align: center;
}
.osk-auth__copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.78rem;
}
.osk-auth__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}
.osk-auth__legal-links a {
	color: rgba(255, 255, 255, 0.58) !important;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none !important;
}
.osk-auth__legal-links a:hover {
	color: #fff !important;
}

@media (max-width: 900px) {
	.osk-auth {
		padding: 20px 12px 28px;
		justify-content: flex-start;
	}
	body.osk-auth-page .main-content {
		justify-content: flex-start !important;
	}
	.osk-auth__shell {
		grid-template-columns: 1fr;
	}
	.osk-auth__stage {
		padding: 24px 20px 18px;
	}
	.osk-auth__stage h2 { font-size: 1.5rem; }
	.osk-auth__panel {
		padding: 22px 20px 26px;
	}
	.osk-auth__legal {
		flex-direction: column;
		align-items: center;
	}
	.tag_auth_social { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.osk-auth__chips {
		width: 100%;
	}
	.osk-auth__chips a {
		flex: 1;
	}
	.osk-auth__stage .osk-hero-card__art,
	.osk-auth__stage .osk-freedom__hero-art {
		flex-basis: 88px;
		width: 88px;
		min-height: 88px;
	}
}
