/* Fullscreen dashboard: nessun chrome tema */
html.orm-blank-app,
body.orm-blank-app,
body.orm-no-theme-chrome {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 100%;
	background: var(--orm-bg, #eef0f3);
	overflow-x: hidden;
	max-width: 100%;
}

body.orm-blank-app #wpadminbar,
body.orm-blank-app .site-header,
body.orm-blank-app header,
body.orm-blank-app .wp-block-template-part,
body.orm-blank-app footer,
body.orm-blank-app .site-footer,
body.orm-blank-app .entry-header,
body.orm-blank-app .page-title,
body.orm-blank-app .wp-block-post-title {
	display: none !important;
}

body.orm-blank-app .orm-app {
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 100vh;
}

.orm-auth {
	max-width: 480px;
	margin: 40px auto;
	padding: 28px;
}

.orm-auth h1 {
	margin-top: 0;
	font-family: var(--orm-font);
}

body.orm-auth-surface {
	background: #1f2937;
}

.orm-auth-page {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
	box-sizing: border-box;
	background-color: #1f2937;
	background-image: var(--orm-auth-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	max-width: none;
	margin: 0;
}

.orm-auth-page__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.35));
	pointer-events: none;
}

.orm-auth-page__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.orm-auth-page__title {
	font-family: var(--orm-font);
	font-weight: 800;
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.orm-auth-page__subtitle {
	margin: 0 0 8px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1rem;
}

.orm-auth-page__eyebrow {
	margin: 0 0 6px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.orm-auth-page__footer {
	margin: 18px 0 0;
	text-align: center;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
}

.orm-auth-page__footer a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.orm-auth-page__footer a:hover {
	border-bottom-color: #fff;
}

.orm-auth-panel {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	text-align: center;
}

.orm-auth-card {
	margin-top: 18px;
	text-align: left;
}

.orm-auth-card #orm-loginform,
.orm-auth-card .login-username,
.orm-auth-card .login-password,
.orm-auth-card .login-remember,
.orm-auth-card .login-submit {
	display: block;
	width: 100%;
	margin: 0 0 14px;
}

.orm-auth-card label {
	display: grid;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--orm-muted);
}

.orm-auth-card .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--orm-ink);
}

.orm-auth-card input[type="text"],
.orm-auth-card input[type="password"] {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 14px;
	padding: 12px 14px;
	font: inherit;
	color: var(--orm-ink);
	background: #fff;
}

.orm-auth-card .orm-pass-wrap {
	position: relative;
	display: block;
	width: 100%;
}

.orm-auth-card .orm-pass-wrap input[type="password"],
.orm-auth-card .orm-pass-wrap input[type="text"] {
	padding-right: 48px;
}

.orm-auth-card .orm-pass-toggle {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #6b7280;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
}

.orm-auth-card .orm-pass-toggle:hover {
	color: #111;
	background: rgba(17, 17, 17, 0.06);
}

.orm-auth-card .orm-pass-toggle svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.orm-auth-card .orm-pass-toggle .orm-eye-off {
	display: none;
}

.orm-auth-card .orm-pass-toggle.is-on .orm-eye-on {
	display: none;
}

.orm-auth-card .orm-pass-toggle.is-on .orm-eye-off {
	display: block;
}

.orm-auth-card input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 0;
	cursor: pointer;
	border-radius: 999px;
	padding: 12px 18px;
	font-weight: 700;
	font-family: inherit;
	font-size: 0.95rem;
	background: var(--orm-lime);
	color: #111;
}

.orm-auth-card input[type="submit"]:hover {
	opacity: 0.92;
}

.orm-auth-card .login-remember {
	margin-bottom: 8px;
}
