/* Pagine FE UNIVPM non ancora ridisegnate: chrome Event al posto del hero viola UNIPV. */

body.frontend {
	--univpm-home-primary: #b50b2d;
	--univpm-home-primary-dark: #89171f;
	--univpm-home-extra: #f3f3f3;
	--primary-color: #b50b2d;
}

body.frontend .page-container {
	background: #fff;
}

/* Hero UNIPV → titolo Event (bianco, niente gradient/cerchi). */
body.frontend .hero-section {
	width: auto !important;
	max-width: none !important;
	left: auto !important;
	right: auto !important;
	margin: 0 !important;
	padding: 28px 0 8px !important;
	background: #fff !important;
	background-image: none !important;
	color: #212529 !important;
	position: relative !important;
}

body.frontend .hero-section::before,
body.frontend .hero-section::after,
body.frontend .hero-decorations {
	display: none !important;
}

body.frontend .hero-section h1,
body.frontend .hero-content h1 {
	color: #212529 !important;
	font-size: 28px !important;
	font-weight: 600 !important;
	text-shadow: none !important;
	margin: 0 0 8px !important;
}

body.frontend .hero-section .lead,
body.frontend .hero-section p,
body.frontend .hero-content .lead,
body.frontend .hero-content p {
	color: #555 !important;
	opacity: 1 !important;
	font-size: 1.05rem !important;
	text-shadow: none !important;
}

body.frontend .hero-section .breadcrumb-custom {
	display: none !important;
}

body.frontend .registration-card {
	margin-top: 0 !important;
	border-radius: 0 !important;
	border: 1px solid #e5e5e5;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.frontend .step-indicator.active .step-circle {
	background: #b50b2d !important;
	box-shadow: 0 4px 15px rgba(181, 11, 45, 0.3) !important;
}

body.frontend .step-title,
body.frontend .text-primary {
	color: #b50b2d !important;
}

body.frontend .bg-primary {
	background-color: #b50b2d !important;
}

body.frontend .btn-success,
body.frontend .btn-primary,
body.frontend .btn-unifare,
body.frontend .unifare-btn-azione-diretta,
body.frontend .btn-hero-slide-link {
	background: #b50b2d !important;
	background-image: none !important;
	border-color: #b50b2d !important;
	color: #fff !important;
	border-radius: 30px !important;
	box-shadow: 0 8px 18px rgba(181, 11, 45, 0.25);
}

body.frontend .btn-success:hover,
body.frontend .btn-primary:hover,
body.frontend .btn-unifare:hover,
body.frontend .unifare-btn-azione-diretta:hover,
body.frontend .btn-success:focus,
body.frontend .btn-primary:focus {
	background: #89171f !important;
	border-color: #89171f !important;
	color: #fff !important;
}

body.frontend .btn-outline-primary {
	color: #b50b2d !important;
	border-color: #b50b2d !important;
}

body.frontend .btn-outline-primary:hover {
	background: #b50b2d !important;
	color: #fff !important;
}

body.frontend .form-control:focus,
body.frontend .custom-select:focus {
	border-color: #b50b2d;
	box-shadow: 0 0 0 0.15rem rgba(181, 11, 45, 0.15);
}

body.frontend .form-control-password {
	padding: 0.375rem 0.75rem;
	height: auto;
}

body.frontend .form-control-password > .form-control {
	padding: 0;
	height: auto;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.frontend .login-form-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	border-radius: 0;
}

body.frontend main a:not(.btn):not(.univpm-home-btn):not(.univpm-auth-row):not(.list-group-item):not([class*="btn-"]),
body.frontend .univpm-auth a:not(.btn):not(.univpm-home-btn):not(.univpm-auth-row):not([class*="btn-"]) {
	color: #b50b2d;
}

body.frontend main a:not(.btn):not(.univpm-home-btn):not(.univpm-auth-row):not(.list-group-item):not([class*="btn-"]):hover,
body.frontend .univpm-auth a:not(.btn):not(.univpm-home-btn):not(.univpm-auth-row):not([class*="btn-"]):hover {
	color: #89171f;
}

body.frontend .list-group-item {
	color: #333;
}

body.frontend .list-group-item-action:hover,
body.frontend .list-group-item-action:focus {
	color: #89171f;
}

body.frontend main a.list-group-item.active,
body.frontend .list-group-item.active,
body.frontend .list-group-item.active:hover,
body.frontend .list-group-item.active:focus {
	color: #fff !important;
	background-color: #b50b2d;
	border-color: #b50b2d;
}

.univpm-auth-form--wide {
	max-width: 960px;
	margin: 0 auto 40px;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	padding: 28px 32px 32px;
}

.univpm-auth-form--wide:has(.registration-card),
.univpm-auth-form--wide:has(.card) {
	border: 0;
	box-shadow: none;
	padding: 0;
	background: transparent;
}

.univpm-pagina-title {
	margin: 28px 0 20px;
}

.univpm-pagina-title h1 {
	font-size: 28px;
	font-weight: 600;
	color: #212529;
	margin: 0 0 8px;
}

.univpm-pagina-title p {
	margin: 0;
	color: #555;
	font-size: 1.05rem;
}

@media (max-width: 767.98px) {
	.univpm-auth-form--wide {
		padding: 20px 16px 24px;
	}
}
