/* Footer Styling - Layout moderno e ordinato */
#footer-outer {
	background: #1a2b3d !important; /* Blu scuro */
	padding: 60px 0 20px !important;
	color: #ffffff !important;
}

#footer-widgets {
	padding-bottom: 40px !important;
}

#footer-widgets .widget {
	margin-bottom: 30px !important;
}

#footer-widgets h4 {
	font-size: 16px !important;
	font-weight: 700 !important;
	margin-bottom: 20px !important;
	color: #ffffff !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

/* Footer Company Info - Layout logo e dati societari */
.footer-company-info {
	display: flex !important;
	flex-direction: column !important;
	gap: 25px !important;
}

.footer-logos {
	display: flex !important;
	flex-direction: column !important;
	gap: 20px !important;
	margin-bottom: 10px !important;
}

.footer-logo-wrapper {
	background: #ffffff !important;
	border-radius: 50% !important;
	padding: 15px !important;
	width: 120px !important;
	height: 120px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.footer-logo-cambiafacile,
.footer-logo-easycontact {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.footer-company-details h4 {
	margin-top: 0 !important;
	margin-bottom: 15px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
}

.footer-company-details p {
	margin-bottom: 10px !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	color: #e0e0e0 !important;
}

.footer-company-details p strong {
	color: #ffffff !important;
	font-weight: 600 !important;
}

.footer-company-details a {
	color: #0CEBE2 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.footer-company-details a:hover {
	color: #ffffff !important;
}

/* Footer Menu Links */
#footer-widgets .menu {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

#footer-widgets .menu li {
	margin-bottom: 12px !important;
}

#footer-widgets .menu li a {
	color: #e0e0e0 !important;
	text-decoration: none !important;
	font-size: 14px !important;
	transition: all 0.2s ease !important;
	display: inline-block !important;
}

#footer-widgets .menu li a:hover {
	color: #0CEBE2 !important;
	padding-left: 5px !important;
}

/* App Store Links */
.footer-app-links {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
}

.img-footer {
	display: block !important;
	max-width: 160px !important;
	width: 160px !important;
	height: auto !important;
	transition: transform 0.2s ease !important;
}

.img-footer:hover {
	transform: translateY(-2px) !important;
}

/* Custom HTML Widget */
.custom-html-widget {
	display: flex !important;
	flex-direction: column !important;
}

.custom-html-widget h4 {
	margin-bottom: 20px !important;
}

/* Trustpilot Widget - Testo bianco per leggibilità */
.trustpilot-widget,
.trustpilot-widget *,
.trustpilot-widget a,
.trustpilot-widget a:link,
.trustpilot-widget a:visited,
.trustpilot-widget a:hover,
.trustpilot-widget a:active,
.trustpilot-widget span,
.trustpilot-widget div,
.trustpilot-widget p,
.trustpilot-widget strong,
.trustpilot-widget em,
.trustpilot-widget [class*="trustpilot"],
.trustpilot-widget [id*="trustpilot"],
#custom_html-5 .textwidget,
#custom_html-5 .custom-html-widget,
#custom_html-5 *,
#custom_html-5 .trustpilot-widget,
#custom_html-5 .trustpilot-widget *,
#custom_html-5 .trustpilot-widget a,
#custom_html-5 .trustpilot-widget span,
#custom_html-5 .trustpilot-widget div,
#custom_html-5 .trustpilot-widget p,
#footer-widgets .textwidget,
#footer-widgets .custom-html-widget,
#footer-widgets p:not(#copyright p),
#footer-widgets .menu-item {
	color: #ffffff !important;
}

/* Forza testo bianco per tutti gli elementi dentro il widget Trustpilot */
#custom_html-5 .trustpilot-widget *,
#custom_html-5 .trustpilot-widget a *,
#custom_html-5 .trustpilot-widget span *,
#custom_html-5 .trustpilot-widget div *,
#custom_html-5 .trustpilot-widget p * {
	color: #ffffff !important;
}

/* Selettori specifici per elementi Trustpilot caricati dinamicamente */
[data-businessunit-id="61792a5099b0db28c16c2b47"],
[data-businessunit-id="61792a5099b0db28c16c2b47"] *,
[data-businessunit-id="61792a5099b0db28c16c2b47"] a,
[data-businessunit-id="61792a5099b0db28c16c2b47"] span,
[data-businessunit-id="61792a5099b0db28c16c2b47"] div,
[data-businessunit-id="61792a5099b0db28c16c2b47"] p {
	color: #ffffff !important;
}

#footer-widgets .textwidget a:not(.img-footer):not(.trustpilot-widget a),
#footer-widgets .custom-html-widget a:not(.img-footer):not(.trustpilot-widget a),
#footer-widgets .menu-item a {
	color: #e0e0e0 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

/* Assicura che i link Trustpilot siano sempre bianchi */
#footer-widgets .trustpilot-widget a,
#footer-widgets .trustpilot-widget a:link,
#footer-widgets .trustpilot-widget a:visited,
#footer-widgets .trustpilot-widget a:hover,
#footer-widgets .trustpilot-widget a:active,
#custom_html-5 .trustpilot-widget a,
#custom_html-5 .trustpilot-widget a:link,
#custom_html-5 .trustpilot-widget a:visited,
#custom_html-5 .trustpilot-widget a:hover,
#custom_html-5 .trustpilot-widget a:active {
	color: #ffffff !important;
}

#footer-widgets .textwidget a:not(.img-footer):hover,
#footer-widgets .custom-html-widget a:not(.img-footer):hover {
	color: #0CEBE2 !important;
}

/* Copyright */
#copyright {
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
	padding-top: 20px !important;
	margin-top: 20px !important;
}

#copyright p {
	color: #e0e0e0 !important;
	font-size: 13px !important;
	margin: 0 !important;
}

/* Regole aggiuntive per Trustpilot - forzare testo bianco anche dopo caricamento dinamico */
#footer-outer [data-template-id="5419b6a8b0d04a076446a9ad"],
#footer-outer [data-template-id="5419b6a8b0d04a076446a9ad"] *,
#footer-outer [data-template-id="5419b6a8b0d04a076446a9ad"] a,
#footer-outer [data-template-id="5419b6a8b0d04a076446a9ad"] span,
#footer-outer [data-template-id="5419b6a8b0d04a076446a9ad"] div,
#footer-outer [data-template-id="5419b6a8b0d04a076446a9ad"] p {
	color: #ffffff !important;
}

/* Selettori universali per Trustpilot nel footer */
#footer-outer a[href*="trustpilot"],
#footer-outer a[href*="trustpilot"] *,
#footer-outer span:contains("Trustpilot"),
#footer-outer div:contains("recensioni") {
	color: #ffffff !important;
}

