.mv-copertura {
	--mv-red: #c43026;
	--mv-blue: #61a2d3;
	--mv-teal: #2ec4b6;
	--mv-ink: #111111;
	--mv-muted: #686868;
	--mv-paper: #f5f5f5;
	--mv-cream: #fbfaf3;
	max-width: 980px;
	margin: 0 auto 2.5rem;
	padding: 0 1rem;
	box-sizing: border-box;
	font-family: var(--wp--preset--font-family--inter, Inter, system-ui, sans-serif);
}

.mv-copertura__search {
	background: var(--mv-paper);
	border: 0;
	border-radius: 20px;
	padding: 1.6rem 1.6rem 1.35rem;
}

.mv-copertura__search label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.55rem;
	color: var(--mv-ink);
	letter-spacing: 0.01em;
}

.mv-copertura__field {
	display: flex;
	gap: 0.75rem;
	align-items: stretch;
}

.mv-copertura__field input[type="text"],
.mv-copertura__civico select {
	flex: 1 1 auto;
	width: 100%;
	height: 54px;
	padding: 0 1.1rem;
	border: 1px solid #d9d9d9;
	border-radius: 50px;
	font-size: 1rem;
	background: #fff;
	box-sizing: border-box;
}

.mv-copertura__field input[type="text"]:focus,
.mv-copertura__civico select:focus {
	outline: none;
	border-color: var(--mv-red);
	box-shadow: 0 0 0 3px rgba(196, 48, 38, 0.16);
}

.mv-copertura__field button,
#mv-dettagli-btn {
	flex: 0 0 auto;
	height: 54px;
	padding: 0 1.6rem;
	border: 0;
	border-radius: 50px;
	background: var(--mv-red);
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease;
}

.mv-copertura__field button:hover,
.mv-copertura__field button:focus,
#mv-dettagli-btn:hover,
#mv-dettagli-btn:focus {
	background: #a5261e;
	transform: translateY(-1px);
}

.mv-copertura__field button[disabled] {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.mv-copertura__hint {
	margin: 0.7rem 0 0;
	font-size: 0.92rem;
	color: var(--mv-muted);
}

.mv-copertura__civico {
	margin-top: 1rem;
}

.mv-copertura__status {
	margin: 1.1rem 0 0;
	padding: 1rem 1.15rem;
	border-radius: 16px;
	background: #fff;
	border-left: 5px solid var(--mv-blue);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	color: var(--mv-ink);
	font-weight: 600;
	line-height: 1.45;
}

.mv-copertura__status[hidden] {
	display: none !important;
}

.mv-copertura__status.is-ok {
	border-left-color: var(--mv-teal);
	background: linear-gradient(90deg, rgba(46, 196, 182, 0.12), #fff 42%);
}

.mv-copertura__status.is-error {
	border-left-color: var(--mv-red);
	background: linear-gradient(90deg, rgba(196, 48, 38, 0.1), #fff 42%);
}

.mv-copertura__status-kicker {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mv-red);
	margin-bottom: 0.25rem;
	font-weight: 800;
}

.mv-copertura__circles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	margin-top: 2.5rem;
}

.mv-copertura .cover-item {
	width: 210px;
	height: 210px;
	border-radius: 50%;
	background: #d9d9d9;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mv-copertura .cover-item p {
	color: #fff;
	font-weight: 800;
	font-size: 1.1rem;
	line-height: 1.25;
	margin: 0;
	padding: 12px;
	text-transform: uppercase;
}

.mv-copertura .cover-item p span {
	display: block;
	font-weight: 500;
	font-size: 0.8em;
	text-transform: none;
	margin-top: 0.2em;
	opacity: 0.95;
}

.mv-copertura .cover-item.covered {
	background: var(--mv-teal);
	transform: scale(1.05);
	box-shadow: 0 12px 28px rgba(46, 196, 182, 0.35);
}

.mv-copertura .cover-item.is-off {
	background: #9aa3ad;
}

.mv-copertura__actions {
	display: flex;
	justify-content: center;
	margin-top: 1.75rem;
}

.mv-copertura__actions[hidden],
.mv-copertura__dettagli[hidden],
.mv-dettagli__map-wrap[hidden],
.mv-copertura__status[hidden],
.mv-copertura__civico[hidden] {
	display: none !important;
}

#mv-dettagli-btn[aria-expanded="true"] {
	background: #111;
}

.mv-copertura__dettagli {
	margin-top: 1.4rem;
	background: #161616;
	color: #fff;
	border-radius: 20px;
	padding: 1.5rem 1.5rem 1.7rem;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.mv-dettagli__block + .mv-dettagli__block {
	margin-top: 1.35rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mv-dettagli__block h3 {
	margin: 0 0 0.85rem;
	font-size: 0.82rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--mv-red);
}

.mv-dettagli__body {
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.5;
}

.mv-dettagli__empty {
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

.mv-dettagli__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 0.9rem;
}

.mv-dettagli__card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 1rem 1.05rem 1.05rem;
}

.mv-dettagli__card strong {
	display: block;
	color: #fff;
	margin-bottom: 0.45rem;
	font-size: 1.02rem;
}

.mv-dettagli__card p {
	margin: 0.22rem 0;
	font-size: 0.94rem;
	color: rgba(255, 255, 255, 0.78);
}

.mv-dettagli__metric {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.45rem 0.75rem;
	padding: 0.35rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin-top: 0.35rem;
}

.mv-dettagli__metric b {
	color: var(--mv-blue);
	font-size: 1.05rem;
}

.mv-dettagli__map-wrap {
	position: relative;
	margin-top: 1rem;
}

.mv-dettagli__map {
	width: 100%;
	height: 380px;
	min-height: 380px;
	border-radius: 16px;
	overflow: hidden;
	background: #0f1720;
}

.mv-dettagli__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.1rem;
	margin-top: 0.75rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.8);
}

.mv-legend::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-right: 0.4rem;
	vertical-align: middle;
}

.mv-legend--home::before {
	background: var(--mv-red);
}

.mv-legend--tower::before {
	background: var(--mv-teal);
}

.mv-dettagli__ripetitori {
	list-style: none;
	margin: 0.9rem 0 0;
	padding: 0;
}

.mv-dettagli__ripetitori li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0.85rem;
	margin-bottom: 0.45rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	font-size: 0.95rem;
}

.mv-dettagli__ripetitori strong {
	color: var(--mv-teal);
}

.pac-container {
	z-index: 100000 !important;
	border-radius: 12px;
	border: 1px solid #e4e7ec;
	box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
	font-family: inherit;
}

@media (max-width: 768px) {
	.mv-copertura__field {
		flex-direction: column;
	}

	.mv-copertura__field button,
	#mv-dettagli-btn {
		width: 100%;
	}

	.mv-copertura .cover-item {
		width: 150px;
		height: 150px;
	}

	.mv-copertura .cover-item p {
		font-size: 0.9rem;
	}

	.mv-dettagli__map {
		height: 280px;
		min-height: 280px;
	}
}
