/* =========================================================
   VerificaMulte — stili custom sopra il template Deski
   ========================================================= */

:root {
	--vm-primary: #29594b;
	--vm-primary-light: #EBF3EE;
	--vm-dark: #2a2a2a;
	--vm-red: #E4493B;
	--vm-red-bg: #FFF0EE;
	--vm-orange: #E8A33D;
	--vm-orange-bg: #FFF7E8;
	--vm-blue: #3B6FE4;
	--vm-blue-bg: #EEF4FF;
	--vm-green: #11A05A;
	--vm-green-bg: #E9F8F0;
	--vm-gray: #73737b;
	--vm-border: #ececf2;
}

/* ---- Bottoni ---- */
.vm-cta-btn {
	background: var(--vm-primary);
	color: #fff !important;
	padding: 10px 28px;
	border-radius: 8px;
	font-size: 16px;
	transition: all .2s;
	display: inline-block;
}
.vm-cta-btn:hover { background: #19352d; color: #fff; }
.vm-btn {
	display: inline-block;
	border: none;
	cursor: pointer;
	border-radius: 8px;
	padding: 12px 30px;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
	transition: all .2s;
}
.vm-btn-primary { background: var(--vm-primary); color: #fff; }
.vm-btn-primary:hover { background: #19352d; color: #fff; }
.vm-btn-ghost { background: #f1f1f6; color: var(--vm-dark); }
.vm-btn-ghost:hover { background: #e4e4ee; color: var(--vm-dark); }
.vm-btn-danger { background: var(--vm-red); color: #fff; }
.vm-btn-danger:hover { background: #c73a2e; color: #fff; }
.vm-btn-lg { padding: 16px 44px; font-size: 18px; }
.vm-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---- Flash ---- */
.vm-flash {
	max-width: 760px;
	margin: 100px auto -70px;
	padding: 14px 22px;
	border-radius: 10px;
	font-size: 15px;
	position: relative;
	z-index: 50;
}
.vm-flash-success { background: var(--vm-green-bg); color: var(--vm-green); border: 1px solid #bfe8d3; }
.vm-flash-error { background: var(--vm-red-bg); color: var(--vm-red); border: 1px solid #f3c7c2; }
.vm-flash-info { background: var(--vm-blue-bg); color: var(--vm-blue); border: 1px solid #c6d8f7; }

/* ---- Pubblicità ---- */
.vm-ad {
	margin: 30px auto;
	text-align: center;
	max-width: 970px;
	min-height: 90px;
}
.vm-ad-label {
	display: block;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #b4b4c0;
	margin-bottom: 4px;
}
.vm-ad-label a { color: #9db8ab; text-decoration: underline; }
.vm-ad-result { margin: 24px auto; }

/* popup */
.vm-ad-popup {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 40, .72);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.vm-ad-popup-box {
	background: #fff;
	border-radius: 14px;
	max-width: 560px;
	width: 100%;
	padding: 22px;
	position: relative;
	box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.vm-ad-popup-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: none;
	background: #f1f1f6;
	border-radius: 20px;
	padding: 6px 14px;
	cursor: pointer;
	font-size: 14px;
}
.vm-ad-popup-close[disabled] { cursor: wait; color: #999; }

/* banner ancorato */
.vm-ad-anchor {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	background: #fff;
	border-top: 1px solid var(--vm-border);
	z-index: 9000;
	padding: 4px 36px 4px 8px;
	box-shadow: 0 -6px 24px rgba(0,0,0,.08);
}
.vm-ad-anchor-close {
	position: absolute;
	top: 6px; right: 8px;
	border: none;
	background: #f1f1f6;
	border-radius: 50%;
	width: 26px; height: 26px;
	cursor: pointer;
	font-size: 12px;
}
@media (min-width: 992px) { .vm-ad-anchor { display: none !important; } }

/* ---- Banner consenso ---- */
.vm-consent {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 11000;
	padding: 16px;
	display: flex;
	justify-content: center;
}
.vm-consent-box {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0,0,0,.25);
	max-width: 680px;
	padding: 22px 26px;
	border: 1px solid var(--vm-border);
}
.vm-consent-box h5 { margin-bottom: 8px; font-size: 18px; }
.vm-consent-box p { font-size: 14px; color: var(--vm-gray); margin-bottom: 14px; }
.vm-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Hero / upload ---- */
.vm-hero-form { margin-top: 35px; }
/* neutralizza gli stili del form email del template Deski nella hero */
.hero-banner-two form.vm-upload-form {
	max-width: 620px;
	height: auto;
	position: static;
}
.hero-banner-two form.vm-upload-form input {
	background: none;
	width: auto;
	height: auto;
	padding: 0;
	font-size: inherit;
}
.hero-banner-two form.vm-upload-form button {
	position: static;
	width: auto;
	right: auto;
	top: auto;
	bottom: auto;
}
.hero-banner-two form.vm-upload-form button.vm-btn-primary { background: var(--vm-primary); }
.hero-banner-two form.vm-upload-form button.vm-btn-primary:hover { background: #19352d; color: #fff; }
.vm-upload {
	border: 2px dashed #b9d3c6;
	background: #f6faf7;
	border-radius: 16px;
	padding: 34px 26px;
	text-align: center;
	transition: all .2s;
	cursor: pointer;
}
.vm-upload:hover, .vm-upload.dragover { border-color: var(--vm-primary); background: var(--vm-primary-light); }
.vm-upload input[type=file] { display: none; }
.vm-upload .vm-upload-icon { font-size: 40px; margin-bottom: 8px; display: block; }
.vm-upload .vm-upload-main { font-size: 18px; color: var(--vm-dark); font-weight: 500; }
.vm-upload .vm-upload-sub { font-size: 13px; color: var(--vm-gray); margin-top: 6px; }
.vm-upload .vm-upload-file { margin-top: 10px; font-size: 15px; color: var(--vm-primary); font-weight: 500; }
.vm-check-line { font-size: 13px; color: var(--vm-gray); margin-top: 14px; text-align: left; }
.vm-check-line a { text-decoration: underline; }
.vm-or {
	text-align: center;
	color: #b4b4c0;
	margin: 16px 0;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* ---- Wizard ---- */
.vm-wizard {
	max-width: 860px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--vm-border);
	border-radius: 18px;
	padding: 36px 34px;
	box-shadow: 0 15px 50px rgba(30, 30, 80, .06);
}
.vm-wizard h1 { font-size: 30px; margin-bottom: 6px; }
.vm-wizard .vm-sub { color: var(--vm-gray); margin-bottom: 26px; }
.vm-field { margin-bottom: 22px; }
.vm-field > label { display: block; font-weight: 500; color: var(--vm-dark); margin-bottom: 8px; font-size: 16px; }
.vm-field .vm-help { font-size: 13px; color: var(--vm-gray); margin-top: 6px; }
.vm-field input[type=text], .vm-field input[type=date], .vm-field input[type=number],
.vm-field input[type=email], .vm-field input[type=password], .vm-field select, .vm-field textarea {
	width: 100%;
	border: 1px solid #d9d9e3;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 16px;
	background: #fff;
	color: var(--vm-dark);
}
.vm-field input:focus, .vm-field select:focus, .vm-field textarea:focus { border-color: var(--vm-primary); outline: none; }
.vm-radio-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.vm-radio-cards label {
	border: 1px solid #d9d9e3;
	border-radius: 10px;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 15px;
	color: var(--vm-dark);
	background: #fff;
	transition: all .15s;
	margin: 0;
}
.vm-radio-cards input { display: none; }
.vm-radio-cards label:has(input:checked), .vm-radio-cards label.checked {
	border-color: var(--vm-primary);
	background: var(--vm-primary-light);
	color: var(--vm-primary);
	font-weight: 500;
}
.vm-section-title {
	font-size: 20px;
	font-weight: 500;
	border-top: 1px solid var(--vm-border);
	padding-top: 24px;
	margin: 28px 0 18px;
}
.vm-prefill-note {
	background: var(--vm-blue-bg);
	border: 1px solid #c6d8f7;
	color: #2b56b5;
	border-radius: 10px;
	padding: 12px 18px;
	font-size: 14px;
	margin-bottom: 24px;
}
[data-show-when] { display: none; }
[data-show-when].vm-visible { display: block; }

/* ---- Report ---- */
.vm-report { max-width: 920px; margin: 0 auto; }
.vm-score-box {
	display: flex;
	gap: 28px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--vm-border);
	border-radius: 18px;
	padding: 28px 32px;
	box-shadow: 0 15px 50px rgba(30,30,80,.06);
	flex-wrap: wrap;
}
.vm-score-dial {
	--p: 0;
	width: 128px; height: 128px;
	border-radius: 50%;
	background: conic-gradient(var(--sc, var(--vm-green)) calc(var(--p) * 1%), #ececf2 0);
	display: flex; align-items: center; justify-content: center;
	flex: 0 0 auto;
}
.vm-score-dial > div {
	background: #fff;
	width: 96px; height: 96px;
	border-radius: 50%;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
}
.vm-score-dial strong { font-size: 30px; line-height: 1; color: var(--vm-dark); }
.vm-score-dial span { font-size: 11px; color: var(--vm-gray); }
.vm-level { font-size: 14px; padding: 4px 14px; border-radius: 20px; display: inline-block; font-weight: 500; }
.vm-level-alta { background: var(--vm-green-bg); color: var(--vm-green); }
.vm-level-media { background: var(--vm-orange-bg); color: var(--vm-orange); }
.vm-level-bassa { background: #f1f1f6; color: var(--vm-gray); }

.vm-finding {
	border: 1px solid var(--vm-border);
	border-left: 5px solid var(--vm-gray);
	background: #fff;
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 14px;
}
.vm-finding h4 { font-size: 18px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vm-finding p { font-size: 15px; color: #4a4a55; margin-bottom: 6px; }
.vm-finding .vm-norma { font-size: 13px; color: var(--vm-gray); font-style: italic; }
.vm-finding-critico { border-left-color: var(--vm-red); background: #fffafa; }
.vm-finding-possibile { border-left-color: var(--vm-orange); }
.vm-finding-verifica { border-left-color: var(--vm-blue); }
.vm-finding-ok { border-left-color: var(--vm-green); }
.vm-finding-info { border-left-color: #b4b4c0; }
.vm-badge { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.vm-badge-critico { background: var(--vm-red-bg); color: var(--vm-red); }
.vm-badge-possibile { background: var(--vm-orange-bg); color: var(--vm-orange); }
.vm-badge-verifica { background: var(--vm-blue-bg); color: var(--vm-blue); }
.vm-badge-ok { background: var(--vm-green-bg); color: var(--vm-green); }
.vm-badge-info { background: #f1f1f6; color: var(--vm-gray); }

.vm-deadlines { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--vm-border); }
.vm-deadlines th { background: #f6faf7; text-align: left; padding: 12px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--vm-gray); }
.vm-deadlines td { padding: 14px 16px; border-top: 1px solid var(--vm-border); font-size: 15px; vertical-align: top; }
.vm-deadlines .vm-days-open { color: var(--vm-green); font-weight: 600; white-space: nowrap; }
.vm-deadlines .vm-days-closed { color: var(--vm-red); font-weight: 600; white-space: nowrap; }
.vm-deadlines .vm-dl-note { font-size: 13px; color: var(--vm-gray); margin-top: 4px; }

.vm-steps { background: #fff; border: 1px solid var(--vm-border); border-radius: 12px; padding: 24px 28px; }
.vm-steps li { margin-bottom: 12px; font-size: 15px; color: #4a4a55; padding-left: 6px; }

.vm-disclaimer-box {
	background: #f6faf7;
	border: 1px solid var(--vm-border);
	border-radius: 12px;
	padding: 18px 22px;
	font-size: 13px;
	color: var(--vm-gray);
	margin-top: 30px;
}

.vm-report-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }

/* ---- Interstitial ---- */
.vm-interstitial {
	max-width: 640px;
	margin: 60px auto;
	text-align: center;
	background: #fff;
	border: 1px solid var(--vm-border);
	border-radius: 18px;
	padding: 44px 36px;
}
.vm-spinner {
	width: 54px; height: 54px;
	border: 5px solid var(--vm-primary-light);
	border-top-color: var(--vm-primary);
	border-radius: 50%;
	margin: 0 auto 22px;
	animation: vmspin 1s linear infinite;
}
@keyframes vmspin { to { transform: rotate(360deg); } }

/* ---- Auth / account ---- */
.vm-auth { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--vm-border); border-radius: 18px; padding: 40px 38px; box-shadow: 0 15px 50px rgba(30,30,80,.06); }
.vm-auth h1 { font-size: 28px; margin-bottom: 20px; }
.vm-auth .vm-alt { margin-top: 18px; font-size: 14px; color: var(--vm-gray); }
.vm-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--vm-border); border-radius: 12px; overflow: hidden; }
.vm-table th { background: #f6faf7; text-align: left; padding: 12px 16px; font-size: 13px; text-transform: uppercase; color: var(--vm-gray); letter-spacing: .05em; }
.vm-table td { padding: 13px 16px; border-top: 1px solid var(--vm-border); font-size: 15px; }
.vm-pill { font-size: 12px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.vm-pill-green { background: var(--vm-green-bg); color: var(--vm-green); }
.vm-pill-gray { background: #f1f1f6; color: var(--vm-gray); }
.vm-pill-gold { background: #FFF6DE; color: #B58A1B; }

/* ---- Pagine contenuto ---- */
.vm-page { max-width: 820px; margin: 0 auto; }
.vm-page h1 { font-size: 34px; margin-bottom: 18px; }
.vm-page h2 { font-size: 24px; margin: 34px 0 12px; }
.vm-page h3 { font-size: 19px; margin: 24px 0 10px; }
.vm-page p, .vm-page li { font-size: 16px; color: #4a4a55; line-height: 1.75; }
.vm-page ul, .vm-page ol { padding-left: 22px; margin-bottom: 14px; }
.vm-page li { margin-bottom: 6px; list-style: disc; }
.vm-page ol li { list-style: decimal; }
.vm-page-top { padding-top: 150px; }

/* ---- Modelli (fac-simile) ---- */
.vm-template-pre {
	white-space: pre-wrap;
	background: #f6faf7;
	border: 1px solid var(--vm-border);
	border-radius: 12px;
	padding: 22px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	line-height: 1.6;
	color: var(--vm-dark);
}
.vm-premium-lock {
	background: linear-gradient(135deg, #29594b, #29594b);
	color: #fff;
	border-radius: 14px;
	padding: 26px 30px;
	text-align: center;
}
.vm-premium-lock a { color: #fff; text-decoration: underline; font-weight: 600; }

/* ---- Stampa report (export PDF) ---- */
@media print {
	.theme-main-menu, .theme-footer-seven, .vm-ad, .vm-ad-anchor, .vm-ad-popup,
	.vm-consent, .vm-report-actions, .scroll-top, #vm-ad-anchor { display: none !important; }
	.vm-report { max-width: 100%; }
	.vm-finding { break-inside: avoid; }
	body { background: #fff; }
}

@media (max-width: 767px) {
	.vm-wizard { padding: 26px 18px; }
	.vm-score-box { padding: 22px 18px; gap: 18px; }
	.vm-flash { margin-top: 90px; }
}

/* ---- Adattamenti tema Babun ---- */
.vm-btn, .vm-cta-btn { border-radius: 30px; }
.vm-cta-btn { background: var(--vm-primary); }
.hero-banner-two form.vm-upload-form { box-shadow: none; border-radius: 0; background: transparent; height: auto; margin: 0 auto; }
.hero-banner-two form.vm-upload-form input { border-radius: 0; box-shadow: none; height: auto; }
.hero-banner-two form.vm-upload-form input[type=checkbox] { width: auto; }
.vm-page-top { padding-top: 180px; }
.vm-accent { color: #cfff45; }
.vm-upload { background: #fff; }
.vm-score-dial > div { background: #fff; }
.theme-main-menu .vm-cta-btn { padding: 8px 24px; font-size: 15px; }

/* hero: sottolineatura del titolo e riga disclaimer */
.hero-banner-two .hero-heading span img {
	position: absolute;
	left: 0;
	bottom: -14px;
	width: 100%;
	max-height: 22px;
	z-index: -1;
}
.vm-check-line {
	display: block;
	max-width: 620px;
	margin: 16px auto 0;
	color: #4a5a52 !important;
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
}
.vm-check-line a { color: #29594b; text-decoration: underline; }
.vm-check-line input { margin-right: 6px; }

/* Footer: il copyright del tema è position:absolute e si accavalla alle colonne.
   Lo rendiamo parte del flusso, con una riga di separazione. */
.footer-two .bg-wrapper .copyright {
	position: static;
	left: auto;
	bottom: auto;
	margin-top: 14px;
	padding-top: 26px;
	border-top: 1px solid rgba(25, 53, 45, 0.1);
	font-size: 16px;
	line-height: 1.6;
}

/* CTA finale: freccia al posto del badge "Get a quote" del tema */
.fancy-banner-three .quote-btn { background: #cfff45; }
.fancy-banner-three .quote-btn i { font-size: 64px; color: #19352d; line-height: 1; }
.fancy-banner-three .quote-btn:hover { background: #ffffff; }
@media (max-width: 991px) {
	.fancy-banner-three .quote-btn { width: 120px; height: 120px; margin-top: 30px; }
	.fancy-banner-three .quote-btn i { font-size: 44px; }
}

/* CTA finale: sfondo verde pieno (il tema usava un'immagine rimossa + mix-blend-mode) */
.fancy-banner-three { background: #19352d; }
.fancy-banner-three:before { content: none; }

/* Overlay "analisi in corso" durante l'upload del documento */
.vm-loading {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(235, 243, 238, 0.96);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.vm-loading-box {
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(25, 53, 45, 0.15);
	padding: 40px 44px;
	max-width: 420px;
	width: 100%;
	text-align: center;
}
.vm-loading-spinner {
	width: 54px;
	height: 54px;
	margin: 0 auto 18px;
	border-radius: 50%;
	border: 5px solid #EBF3EE;
	border-top-color: #29594b;
	animation: vm-spin 0.9s linear infinite;
}
@keyframes vm-spin { to { transform: rotate(360deg); } }
.vm-loading-title {
	font-size: 22px;
	font-weight: 700;
	color: #19352d;
	margin-bottom: 6px;
}
.vm-loading-file {
	font-size: 13px;
	color: #6a7f76;
	margin-bottom: 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vm-loading-bar {
	height: 8px;
	border-radius: 4px;
	background: #EBF3EE;
	overflow: hidden;
	margin-bottom: 14px;
	position: relative;
}
.vm-loading-bar span {
	position: absolute;
	top: 0;
	left: -40%;
	width: 40%;
	height: 100%;
	border-radius: 4px;
	background: linear-gradient(90deg, #29594b, #cfff45);
	animation: vm-slide 1.4s ease-in-out infinite;
}
@keyframes vm-slide {
	0% { left: -40%; }
	60% { left: 100%; }
	100% { left: 100%; }
}
.vm-loading-step {
	font-size: 15px;
	font-weight: 600;
	color: #29594b;
	min-height: 22px;
	margin-bottom: 8px;
}
.vm-loading-note {
	font-size: 12.5px;
	color: #8a9a92;
}
