/* RS Feedback 1.0.0 - modulo «Lascia un feedback» nero e oro (pagina del sito in stile guida e schermata dell'app).
   Tutte le regole dentro .rs-fb. Contrasti su #0E0E0F: testo #EDE8DD 15,8:1, grigio #B3AC9F 8,6:1, oro #C9A24D 8:1. */
.rs-fb { --fb-nero: #0e0e0f; --fb-nero-2: #17171a; --fb-bordo: #3a3a3f; --fb-testo: #ede8dd; --fb-crema: #f6f1e7; --fb-grigio: #b3ac9f; --fb-oro: #c9a24d; --fb-errore: #ff9b8f;
	max-width: 36rem; margin: 0 auto 32px; color: var(--fb-testo); font-size: 16px; line-height: 1.55; }
.rs-fb__sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.rs-fb__intro { margin: 0 0 20px; color: var(--fb-grigio); }
.rs-fb__form { padding: 20px; background: var(--fb-nero-2); border: 1px solid var(--fb-bordo); border-radius: 18px; }
.rs-fb__campo { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.rs-fb__label { display: block; margin: 0 0 8px; padding: 0; color: var(--fb-crema); font-weight: 700; }
.rs-fb__obbl { color: var(--fb-oro); }
.rs-fb__facolt, .rs-fb__nota { color: var(--fb-grigio); font-weight: 400; font-size: .875rem; }
.rs-fb__input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 14px; background: var(--fb-nero); border: 1px solid var(--fb-bordo); border-radius: 10px; color: var(--fb-crema); font: inherit; }
textarea.rs-fb__input { min-height: 140px; resize: vertical; }
.rs-fb__input:focus { outline: 3px solid var(--fb-oro); outline-offset: 1px; border-color: var(--fb-oro); }
.rs-fb__input[aria-invalid="true"] { border-color: var(--fb-errore); }
.rs-fb__errore { margin: 6px 0 0; color: var(--fb-errore); font-size: .9375rem; }
.rs-fb__msg { margin: 0 0 16px; padding: 12px 14px; border-left: 4px solid var(--fb-errore); background: var(--fb-nero-2); border-radius: 0 10px 10px 0; }
.rs-fb__msg p { margin: 0; }
/* Stelle: radio veri (tastiera: frecce; lettore di schermo: «3 stelle su 5»), disegnati come stelle oro */
.rs-fb__stelle-riga { display: flex; gap: 4px; }
.rs-fb__stelle-riga input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rs-fb__stelle-riga label { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: #4a4a50; font-size: 38px; line-height: 1; cursor: pointer; border-radius: 10px; transition: color .1s; }
.rs-fb__stelle-riga input:focus-visible + label { outline: 3px solid var(--fb-oro); outline-offset: 2px; }
.rs-fb__stelle-riga:has(input:nth-of-type(1):checked) label:nth-of-type(-n+1),
.rs-fb__stelle-riga:has(input:nth-of-type(2):checked) label:nth-of-type(-n+2),
.rs-fb__stelle-riga:has(input:nth-of-type(3):checked) label:nth-of-type(-n+3),
.rs-fb__stelle-riga:has(input:nth-of-type(4):checked) label:nth-of-type(-n+4),
.rs-fb__stelle-riga:has(input:nth-of-type(5):checked) label:nth-of-type(-n+5) { color: var(--fb-oro); }
@media (hover: hover) {
	.rs-fb__stelle-riga:has(label:nth-of-type(1):hover) label:nth-of-type(-n+1),
	.rs-fb__stelle-riga:has(label:nth-of-type(2):hover) label:nth-of-type(-n+2),
	.rs-fb__stelle-riga:has(label:nth-of-type(3):hover) label:nth-of-type(-n+3),
	.rs-fb__stelle-riga:has(label:nth-of-type(4):hover) label:nth-of-type(-n+4),
	.rs-fb__stelle-riga:has(label:nth-of-type(5):hover) label:nth-of-type(-n+5) { color: #d4b26a; }
}
.rs-fb__sino { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-fb__scelta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--fb-bordo); border-radius: 999px; background: var(--fb-nero); color: var(--fb-crema); cursor: pointer; }
.rs-fb__scelta:has(input:checked) { border-color: var(--fb-oro); }
.rs-fb__check { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; color: var(--fb-testo); cursor: pointer; }
.rs-fb__check input, .rs-fb__scelta input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fb-oro); }
.rs-fb__conferme .rs-fb__check:first-child { margin-top: 0; }
.rs-fb__link { color: var(--fb-oro); text-decoration: underline; text-underline-offset: 3px; }
.rs-fb__privacy { margin: 0 0 16px; color: var(--fb-grigio); font-size: .875rem; }
.rs-fb__btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 10px 24px; border: 0; border-radius: 999px; background: var(--fb-oro); color: var(--fb-nero); font: inherit; font-weight: 700; cursor: pointer; }
.rs-fb__btn:hover { background: #d4b26a; }
.rs-fb__btn:focus-visible { outline: 3px solid var(--fb-crema); outline-offset: 3px; }
.rs-fb__trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rs-fb--grazie { padding: 28px 20px; background: var(--fb-nero-2); border: 1px solid var(--fb-bordo); border-radius: 18px; text-align: center; }
.rs-fb__grazie-titolo { margin: 0 0 8px; color: var(--fb-crema); font: 600 2.25rem/1.1 "RS Cormorant", Georgia, serif; }
.rs-fb__google { margin: 20px 0 0; color: var(--fb-grigio); }
.rs-fb__google .rs-fb__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 600px) { .rs-fb__form { padding: 28px; } .rs-fb__btn { width: auto; } }
