/* =========================
   MPS INTERESTS
========================= */

.mps-interests {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}


/* =========================
   SEZIONI
========================= */

.mps-interests-section {
	width: 100%;
	padding: 11px;
	background: #fff;
	border: 1px solid #E7DDF0;
	border-radius: 12px;
}

.mps-interests-section-title {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	color: #7B3FC6;
}

.mps-interests-empty {
	font-size: 11px;
	line-height: 1.35;
	color: #777;
}


/* =========================
   SORGENTI
========================= */

.mps-interests-sources {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mps-interests-source {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.mps-interests-source-title {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 2px 0 4px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
}


/* Smarriti */

.mps-interests-source:has(.is-lost-pets)
	.mps-interests-source-title {
	color: #D62828;
}


/* Messaggi */

.mps-interests-source:has(.is-messages)
	.mps-interests-source-title {
	color: #9C27B0;
}


/* Snoots */

.mps-interests-source:has(.is-snoots)
	.mps-interests-source-title {
	color: #9C27B0;
}


/* PetCare */

.mps-interests-source:has(.is-petcare)
	.mps-interests-source-title {
	color: #087A4B;
}


/* Chiedi al Vet */

.mps-interests-source:has(.is-chiedi-al-vet)
	.mps-interests-source-title {
	color: #9C27B0;
}


/* Animali Magici */

.mps-interests-source:has(.is-animali-magici)
	.mps-interests-source-title {
	color: #9C27B0;
}


/* In Memoriam */

.mps-interests-source:has(.is-in-memoriam)
	.mps-interests-source-title {
	color: #6F4778;
}


/* =========================
   NOTIZIE / INTERESSI
========================= */

.mps-interests-news-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mps-interests-news-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	padding: 8px;
	border: 1px solid #E7DDF0;
	border-radius: 9px;
	background: #FBF9FF;
	color: inherit;
	text-decoration: none !important;
}

.mps-interests-news-icon {
	flex: 0 0 28px;
	width: 28px;
	font-size: 19px;
	line-height: 1.2;
	text-align: center;
}

.mps-interests-news-content {
	flex: 1 1 auto;
	min-width: 0;
}

.mps-interests-news-title {
	margin-bottom: 3px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	color: #333;
}

.mps-interests-news-text {
	font-size: 11px;
	line-height: 1.3;
	color: #666;
}


/* =========================
   COLORI NOTIFICHE
========================= */

/* Smarriti */

.mps-interests-news-item.is-lost-pets {
	border-color: #E58A8A;
	background:
		linear-gradient(
			135deg,
			#FFF9F9 0%,
			#FCECEC 100%
		);
}


/* Snoots */

.mps-interests-news-item.is-snoots {
	border-color: #C77BD4;
	background:
		linear-gradient(
			135deg,
			#FBF7FC 0%,
			#F3E9F7 100%
		);
}


/* Messaggi */

.mps-interests-news-item.is-messages {
	border-color: #C77BD4;
	background:
		linear-gradient(
			135deg,
			#FBF7FC 0%,
			#F3E9F7 100%
		);
}


/* PetCare */

.mps-interests-news-item.is-petcare {
	border-color: #A7E8CF;
	background:
		linear-gradient(
			135deg,
			#F8FFFC 0%,
			#EAFBF4 100%
		);
}


/* Chiedi al Vet */

.mps-interests-news-item.is-chiedi-al-vet {
	border-color: #C77BD4;
	background: #FCF8FD;
}


/* Animali Magici */

.mps-interests-news-item.is-animali-magici {
	border-color: #D5A6DD;
	background: #FCF8FD;
}


/* In Memoriam */

.mps-interests-news-item.is-in-memoriam {
	border-color: #C9A8D0;
	background:
		linear-gradient(
			135deg,
			#F1E8F3 0%,
			#E4D3E8 100%
		);
}


/* Livelli di urgenza
   Manteniamo questi override per eventuali notifiche
   che richiedano una segnalazione più forte.
*/

.mps-interests-news-item.level-danger {
	border-color: #E58A8A;
	background:
		linear-gradient(
			135deg,
			#FFF9F9 0%,
			#FCECEC 100%
		);
}

.mps-interests-news-item.level-warning {
	border-color: #EEDFA8;
	background: #FFFDF5;
}


/* =========================
   I TUOI PROFESSIONISTI
========================= */

.mps-interests-professionals {
	border-color: #C59AFF;
	background: #fff;
}

.mps-interests-professionals-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mps-interests-professional {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 6px;
	background: #fff;
	border: 1px solid #C59AFF;
	border-radius: 9px;
	color: inherit;
	text-decoration: none !important;
}

.mps-interests-professional-image {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	overflow: hidden;
	border-radius: 8px;
	background: #F1EBFF;
}

.mps-interests-professional-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mps-interests-professional-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 17px;
	font-weight: 800;
	color: #7B3FC6;
}

.mps-interests-professional-content {
	flex: 1 1 auto;
	min-width: 0;
}

.mps-interests-professional-name {
	font-size: 11.5px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mps-interests-professional-link {
	margin-top: 3px;
	font-size: 10px;
	font-weight: 700;
	color: #9C27B0;
}

/* =========================================================
   GUEST TEASER
========================================================= */

.mps-interests-guest-card {
	width: 100%;
	padding: 13px;
	border: 1px solid #E3D5EF;
	border-radius: 14px;
	background:
		linear-gradient(
			145deg,
			#FFFFFF 0%,
			#FBF8FF 55%,
			#F5EEFF 100%
		);
}


/* =========================
   HEADER
========================= */

.mps-interests-guest-heading {
	margin-bottom: 12px;
}

.mps-interests-guest-kicker {
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.2px;
	color: #9C27B0;
}

.mps-interests-guest-title {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.15;
	color: #533064;
}

.mps-interests-guest-intro {
	margin-top: 5px;
	font-size: 11px;
	line-height: 1.35;
	color: #666;
}


/* =========================
   TILE
========================= */

.mps-interests-guest-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.mps-interests-guest-tile {
	position: relative;
	min-width: 0;
	min-height: 92px;
	padding: 11px 9px;
	border: 1px solid transparent;
	border-radius: 11px;
	overflow: hidden;
}


/* Smarriti */

.mps-interests-guest-tile.is-lost {
	background:
		linear-gradient(
			145deg,
			#FFF9F9 0%,
			#FCECEC 100%
		);
	border-color: #E58A8A;
}


/* PetCare */

.mps-interests-guest-tile.is-care {
	background:
		linear-gradient(
			145deg,
			#F8FFFC 0%,
			#EAFBF4 100%
		);
	border-color: #A7E8CF;
}


/* Snoots */

.mps-interests-guest-tile.is-share {
	background:
		linear-gradient(
			145deg,
			#FBF7FC 0%,
			#F3E9F7 100%
		);
	border-color: #C77BD4;
}


/* Community */

.mps-interests-guest-tile.is-community {
	background:
		linear-gradient(
			145deg,
			#FBF7FC 0%,
			#F3E9F7 100%
		);
	border-color: #D5A6DD;
}


.mps-interests-guest-icon {
	margin-bottom: 8px;
	font-size: 26px;
	line-height: 1;
}

.mps-interests-guest-tile-title {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.15;
	color: #423747;
}

.mps-interests-guest-tile-text {
	font-size: 10.5px;
	line-height: 1.3;
	color: #625B66;
}


/* =========================
   TESTO
========================= */

.mps-interests-guest-copy {
	margin: 13px 2px 10px;
	font-size: 11px;
	line-height: 1.4;
	color: #5F5962;
}


/* =========================
   CTA
========================= */

.mps-interests-guest-actions {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 7px;
}

.mps-interests-guest-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 10px;
	border-radius: 9px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	text-decoration: none !important;
}

.mps-interests-guest-button.is-login {
	border: 1px solid #D5B8E4;
	background: #FFFFFF;
	color: #8C3FA1;
}

.mps-interests-guest-button.is-register {
	border: 1px solid #9C27B0;
	background:
		linear-gradient(
			135deg,
			#9C27B0 0%,
			#A259FF 100%
		);
	color: #FFFFFF;
}


/* =========================
   TAGLINE
========================= */

.mps-interests-guest-tagline {
	margin-top: 11px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	letter-spacing: 0.3px;
	color: #927E99;
}