/* OVP Dentissimo Widgets — Card Statistici
   Structura e definită aici; culorile (fundal card, cerc icon, text,
   linii despărțitoare) vin din controalele de Stil din Elementor
   (vezi class-stats-widget.php) și au !important — aceeași hibă de
   temă întâlnită la celelalte widgeturi din acest plugin. */

.dvf-stats-card {
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 10px 30px rgba(4, 49, 80, 0.08);
	/* Spațiu vertical standard plugin-wide (v3.0.0): 25px, cu
	   breakpoint-uri mai jos pentru tabletă/mobil. */
	padding: 25px 16px;
	width: 100%;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
}

.dvf-stats-card * {
	box-sizing: border-box;
}

.dvf-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0px, 1fr));
	grid-template-rows: repeat(2, auto);
	gap: 0;
}

.dvf-stats-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	padding: 14px;
	border: 0 solid #e2e6ea;
}

.dvf-stats-item:nth-child(1) {
	border-right-width: 1px;
	border-bottom-width: 1px;
	padding-left: 0;
	padding-top: 0;
}

.dvf-stats-item:nth-child(2) {
	border-bottom-width: 1px;
	padding-right: 0;
	padding-top: 0;
}

.dvf-stats-item:nth-child(3) {
	border-right-width: 1px;
	padding-left: 0;
	padding-bottom: 0;
}

.dvf-stats-item:nth-child(4) {
	padding-right: 0;
	padding-bottom: 0;
}

.dvf-stats-icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #043150;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dvf-stats-icon i {
	font-size: 22px;
	line-height: 1;
}

.dvf-stats-icon svg {
	width: 22px;
	height: 22px;
}

.dvf-stats-icon-img {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.dvf-stats-text {
	/* Fără !important pe font-size/font-weight/line-height — controlul
	   Typography din Elementor țintește aceeași clasă; !important aici
	   ar bloca modificările din Stil (nici live, nici la Publish). */
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #043150 !important;
	margin: 0 !important;
}

/* TABLETĂ + DESKTOP/LAPTOP (≥768px) — un singur rând, fără divizor */
@media (min-width: 768px) {
	.dvf-stats-card {
		/* Spațiu vertical standard plugin-wide (v3.0.0): 25px pe
		   desktop; suprascris mai jos la ≤1024px pentru tabletă. */
		padding: 25px 32px;
	}

	.dvf-stats-grid {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: 1fr;
		gap: 24px;
	}

	.dvf-stats-item {
		border: 0 !important;
		padding: 0 !important;
	}
}

/* Spațiu vertical standard plugin-wide (v3.0.0): 20px pe tabletă
   (suprascrie valoarea de desktop de mai sus în intervalul ≤1024px;
   la ≤767px e suprascris la rândul lui de blocul MOBIL de mai jos). */
@media (max-width: 1024px) {
	.dvf-stats-card {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

/* MOBIL — card aproape cât toată lățimea ecranului */
@media (max-width: 767px) {
	.dvf-stats-card {
		width: calc(100% - 24px);
		margin: 0 auto;
		padding: 16px 12px;
	}

	.dvf-stats-text {
		font-size: 14px;
	}
}
