/* Moduli Revinnit: stessi colori e caratteri del tema. */
.rv-contenitore { --rv-petrolio: #12556b; --rv-linea: #dcdad3; --rv-testo2: #4c5262; --rv-errore: #c2362b; --rv-buono: #1e7a45; --rv-attesa: #8a5d00; }
.rv-modulo { display: flex; flex-direction: column; gap: 1.5rem; }
.rv-sezione { border: 1px solid var(--rv-linea); border-radius: 10px; background: #fff; padding: 1.25rem 1.25rem 1.5rem; margin: 0; min-width: 0; }
.rv-sezione > legend { font-family: var(--wp--preset--font-family--titoli, inherit); font-weight: 700; font-size: 1.2rem; padding: 0 .4rem; }
.rv-griglia { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem 1.25rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.rv-griglia + .rv-griglia, .rv-sezione .rv-griglia + .rv-griglia { margin-top: 1rem; }
.rv-per-tipo { margin-bottom: 1rem; }
.rv-largo { grid-column: 1 / -1; }
.rv-campo { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.rv-campo > label, .rv-gruppo > legend { font-weight: 600; font-size: .95rem; padding: 0; }
.rv-gruppo { border: 0; padding: 0; margin: 0; }
.rv-gruppo .rv-opzione { margin-top: .35rem; }
.rv-campo input[type="text"], .rv-campo input[type="email"], .rv-campo input[type="tel"], .rv-campo input[type="date"], .rv-campo input[type="number"], .rv-campo select, .rv-campo textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; padding: .65rem .75rem; border: 1px solid #b9b6ad; border-radius: 6px; background: #fff; color: inherit;
}
.rv-campo input:hover, .rv-campo select:hover, .rv-campo textarea:hover { border-color: var(--rv-testo2); }
.rv-campo input:focus-visible, .rv-campo select:focus-visible, .rv-campo textarea:focus-visible { outline: 3px solid #f2c230; outline-offset: 1px; border-color: var(--rv-petrolio); }
.rv-aiuto { font-size: .85rem; color: var(--rv-testo2); font-weight: 400; }
.rv-obbl { color: var(--rv-errore); }
.rv-opzione { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.rv-opzione input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--rv-petrolio); flex: none; }
.rv-spunta span .rv-aiuto { display: block; }
.rv-sottotitolo { font-weight: 600; margin: .25rem 0 0; }
.rv-segnaposto { color: var(--rv-testo2); font-style: italic; margin: 0 0 1rem; }
.rv-con-errore input, .rv-con-errore select, .rv-con-errore textarea { border-color: var(--rv-errore); border-width: 2px; }
.rv-errore { color: var(--rv-errore); font-size: .9rem; font-weight: 600; }
.rv-nota { font-size: .85rem; color: var(--rv-testo2); margin: 0; }
.rv-invia { align-self: flex-start; font-size: 1.05rem; padding: .85rem 1.6rem; cursor: pointer; }
.rv-invia.rv-in-corso { opacity: .7; cursor: progress; }
.rv-trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-esito { border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border: 2px solid; }
.rv-esito p { margin: .35rem 0; }
.rv-esito-titolo { font-weight: 700; font-size: 1.15rem; }
.rv-esito-ok { border-color: var(--rv-buono); background: #e9f5ee; }
.rv-esito-attesa { border-color: #c99700; background: #fdf6e3; }
.rv-esito-errore { border-color: var(--rv-errore); background: #fbecea; }
.rv-esito-errore:focus { outline: 3px solid #f2c230; }
.rv-numero { font-family: ui-monospace, Menlo, monospace; font-size: 1.25rem; letter-spacing: .03em; }
.rv-stato { font-size: 1.2rem; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .rv-invia { transition: opacity .15s; } }

/* «Nascosto» deve vincere su display:grid/flex dei blocchi: senza questa
   riga le domande degli altri tipi di macchina restavano a vista. */
.rv-contenitore [hidden] { display: none !important; }

/* ---- Assistenza remota (class-remoto.php) ---- */
.rv-remoto__passi { list-style: none; counter-reset: passo; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.rv-remoto__passi > li { counter-increment: passo; position: relative; padding: 1.3rem 1.4rem 1.3rem 4.4rem; border-radius: 18px; background: #fff; border: 1px solid #e2e7ec; }
.rv-remoto__passi > li::before { content: counter(passo); position: absolute; left: 1.3rem; top: 1.25rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #e6007e, #2f62c9); }
.rv-remoto__titolo { margin: 0 0 .4rem; font-weight: 700; font-size: 1.15rem; color: #0a1f2e; }
.rv-remoto__programmi, .rv-remoto__invio { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.rv-bottone-programma { display: inline-flex; align-items: center; padding: .65rem 1.1rem; border-radius: 12px; border: 1.5px solid #12556b; color: #12556b; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.rv-bottone-programma:hover { background: #12556b; color: #fff; }
.rv-remoto__avviso { margin: .6rem 0 0; padding: .55rem .8rem; border-radius: 10px; background: #fff4d6; color: #6b4b00; font-weight: 600; }
.rv-remoto__accesso { padding: 1.4rem; border-radius: 18px; background: #fff; border: 1px solid #e2e7ec; }
.rv-campo--largo { grid-column: 1 / -1; }
@media (max-width: 600px) { .rv-remoto__passi > li { padding-left: 1.2rem; padding-top: 3.8rem; } }

/* Assistenza remota con «Assistenza rapida» di Windows (7/10, versione semplice) */
.rv-remoto { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.rv-remoto__windows, .rv-remoto__altro, .rv-remoto__fissi { padding: 1.4rem; border-radius: 20px; background: #fff; border: 1px solid #e2e7ec; }
.rv-remoto__avvia { display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.5rem; border-radius: 18px; color: #fff; text-decoration: none; background: linear-gradient(120deg, #e6007e, #b5179e 45%, #2f62c9); background-size: 180% 100%; box-shadow: 0 18px 34px -18px rgba(230, 0, 126, .8); transition: background-position .6s, transform .25s, box-shadow .25s; }
.rv-remoto__avvia:hover { background-position: 100% 0; transform: translateY(-2px); color: #fff; }
.rv-remoto__avvia strong { display: block; font-size: 1.45rem; line-height: 1.15; }
.rv-remoto__avvia small { display: block; margin-top: .25rem; font-size: .95rem; color: #ffe3f2; }
.rv-remoto__avvia-icona { flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .18) center / 30px no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='3' width='20' height='14' rx='2'/><path d='M8 21h8M12 17v4M9 10l2 2 4-4'/></svg>"); }
.rv-remoto__passi--brevi { margin-top: 1.2rem; gap: .8rem; }
.rv-remoto__passi--brevi > li { padding: .9rem 1rem .9rem 3.6rem; border-radius: 14px; background: #f6f8fa; border: 0; line-height: 1.5; }
.rv-remoto__passi--brevi > li::before { left: .9rem; top: .85rem; width: 1.9rem; height: 1.9rem; font-size: .95rem; }
.rv-remoto__contatti { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; }
.rv-remoto__fissi { background: #f3f7fa; }
@media (max-width: 600px) { .rv-remoto__avvia strong { font-size: 1.2rem; } .rv-remoto__avvia-icona { width: 46px; height: 46px; } .rv-remoto__passi--brevi > li { padding: 3.2rem 1rem .9rem; } }

/* Assistenza remota, solo RustDesk (28/10/2026): i pulsanti per Mac sotto quello grande */
.rv-remoto__mac { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin: .9rem 0 0; color: #4c5262; font-size: .95rem; }
