/* Sistemi Uno - Area Riservata: stili di base per login e area riservata */

.sur-box {
	max-width: 420px;
	margin: 2em auto;
	padding: 1.75em 2em;
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

.sur-dashboard {
	max-width: 640px;
}

.sur-field {
	margin-bottom: 1.2em;
}

.sur-field label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 600;
}

.sur-field input[type="text"],
.sur-field input[type="password"] {
	width: 100%;
	padding: 0.6em 0.75em;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.sur-button {
	display: inline-block;
	padding: 0.65em 1.4em;
	background: #1a3e6f;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	font-weight: 600;
}

.sur-button:hover {
	background: #14335c;
	color: #fff;
}

.sur-error {
	background: #fdecea;
	color: #a52424;
	border: 1px solid #f5b5b0;
	padding: 0.6em 0.9em;
	border-radius: 4px;
	margin-bottom: 1em;
}

.sur-lost-password {
	margin-top: 0.5em;
}

.sur-page-list {
	list-style: none;
	margin: 1em 0 0;
	padding: 0;
}

.sur-page-list li {
	padding: 0.6em 0.8em;
	margin-bottom: 0.5em;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
}

.sur-page-list li a {
	text-decoration: none;
	font-weight: 600;
}

/* ==========================================================================
   [sur_area_riservata_hub] - card premium Aziende/Studi, filtrate per
   categoria dell'utente collegato. Stile allineato a sistemiunomilano.it.
   Tutte le variabili e le classi sono "scoped" dentro .sur-hub per non
   interferire con lo stile del tema.
   ========================================================================== */

.sur-hub {
	--su-navy: #22253D;
	--su-teal: #00AAB4;
	--su-coral: #FF0040;
	--su-coral-dark: #D60036;
	--su-grey: #58585A;
	font-family: 'Mulish', Arial, Helvetica, sans-serif;
	color: var(--su-navy);
	max-width: 1080px;
	margin: 0 auto;
	padding: 20px 0 10px;
}

.sur-hub *,
.sur-hub *::before,
.sur-hub *::after {
	box-sizing: border-box;
}

.sur-hub-intro {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 40px;
}

.sur-hub-intro h2 {
	font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
	font-weight: 800;
	font-size: clamp(24px, 3.4vw, 34px);
	color: var(--su-navy);
	margin: 0 0 12px;
}

.sur-hub-intro p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--su-grey);
	margin: 0;
}

.sur-hub-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.sur-hub-grid.sur-hub-single {
	grid-template-columns: 1fr;
	max-width: 460px;
	margin: 0 auto;
}

@media (max-width: 760px) {
	.sur-hub-grid {
		grid-template-columns: 1fr;
	}
}

.sur-hub-card {
	background: #fff;
	border-radius: 20px;
	padding: 40px 34px 36px;
	box-shadow: 0 16px 40px rgba(34, 37, 61, 0.12);
	border: 1px solid rgba(34, 37, 61, 0.06);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sur-hub-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 52px rgba(34, 37, 61, 0.18);
}

.sur-hub-bar {
	width: 48px;
	height: 6px;
	border-radius: 100px;
	margin-bottom: 22px;
}

.sur-hub-card--aziende .sur-hub-bar { background: var(--su-coral); }
.sur-hub-card--studi .sur-hub-bar { background: var(--su-teal); }

.sur-hub-icon {
	width: 58px;
	height: 58px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.sur-hub-card--aziende .sur-hub-icon { background: rgba(255, 0, 64, 0.1); }
.sur-hub-card--studi .sur-hub-icon { background: rgba(0, 170, 180, 0.12); }

.sur-hub-icon svg { width: 28px; height: 28px; }

.sur-hub-card h3 {
	font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 23px;
	color: var(--su-navy);
	margin: 0 0 10px;
}

.sur-hub-card p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--su-grey);
	margin: 0 0 26px;
}

.sur-hub-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 15.5px;
	color: #fff;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 100px;
	border: 2px solid transparent;
	transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
	margin-top: auto;
}

.sur-hub-btn:hover { transform: translateY(-2px); color: #fff; }

.sur-hub-btn--aziende { background: var(--su-coral); border-color: var(--su-coral); }
.sur-hub-btn--aziende:hover { background: var(--su-coral-dark); border-color: var(--su-coral-dark); }

.sur-hub-btn--studi { background: var(--su-teal); border-color: var(--su-teal); }
.sur-hub-btn--studi:hover { background: #00919a; border-color: #00919a; }

.sur-hub-btn svg { width: 17px; height: 17px; }

.sur-hub-empty {
	text-align: center;
	max-width: 480px;
	margin: 0 auto;
	padding: 30px;
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	color: var(--su-grey);
}
