.rf2-fv-auto-apri {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 11px 15px;
    border: 0;
    border-radius: 8px;
    background: #4f9d56;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.rf2-fv-auto-finestra {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    padding: 24px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.52);
}

.rf2-fv-auto-finestra.rf2-fv-auto-aperta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf2-fv-auto-pannello {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.rf2-fv-auto-pannello h2 {
    margin: 0;
    text-align: center;
    color: #222;
}

.rf2-fv-auto-intro {
    margin: 7px 0 28px;
    text-align: center;
    color: #667;
}

.rf2-fv-auto-chiudi {
    position: absolute;
    top: 12px;
    right: 15px;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 29px;
    cursor: pointer;
}

.rf2-fv-auto-etichette,
.rf2-fv-auto-costi {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.rf2-fv-auto-etichette {
    font-weight: 700;
}

.rf2-fv-auto-etichette span:nth-child(2) {
    color: #4f9d56;
}

.rf2-fv-auto-costi {
    margin-top: 7px;
    color: #888;
    font-size: 12px;
}

.rf2-fv-auto-cursore-box {
    position: relative;
    margin-top: 32px;
}

.rf2-fv-auto-cursore-box output {
    display: block;
    width: max-content;
    margin: 0 auto 8px;
    padding: 5px 13px;
    border-radius: 15px;
    background: #4f9d56;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

#rf2FvAutoCursore {
    width: 100%;
    accent-color: #4f9d56;
    cursor: pointer;
}

.rf2-fv-auto-riepilogo {
    margin-top: 25px;
    padding: 19px;
    border: 1px solid #dce4dd;
    border-radius: 12px;
    background: #fafcf9;
}

.rf2-fv-auto-livello {
    margin-bottom: 13px;
    color: #315b37;
    font-size: 16px;
}

.rf2-fv-auto-riepilogo dl {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 9px 15px;
    margin: 0;
}

.rf2-fv-auto-riepilogo dt {
    font-weight: 700;
}

.rf2-fv-auto-riepilogo dd {
    margin: 0;
}

.rf2-fv-auto-avviso {
    margin-top: 14px;
    padding: 9px 11px;
    border-radius: 7px;
    background: #fff3cd;
    color: #755b00;
    font-size: 12px;
}

.rf2-fv-auto-stato {
    min-height: 20px;
    margin: 13px 0;
    text-align: center;
    color: #315b37;
    font-size: 13px;
}

.rf2-fv-auto-errore {
    color: #a32626;
}

.rf2-fv-auto-applica {
    display: block;
    min-width: 270px;
    margin: 0 auto;
    padding: 12px 22px;
    border: 0;
    border-radius: 9px;
    background: #4f9d56;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 650px) {
    .rf2-fv-auto-pannello {
        padding: 25px 18px;
    }

    .rf2-fv-auto-riepilogo dl {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .rf2-fv-auto-riepilogo dd {
        margin-bottom: 8px;
    }

    .rf2-fv-auto-applica {
        width: 100%;
        min-width: 0;
    }
}

/* RF2 FASCIA PREZZO RISTRETTA - START */

.rf2-fv-auto-fascia-prezzo {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 18px;

    margin-top: 18px;
    padding: 13px 16px;

    border: 1px solid #a9d5ad;
    border-radius: 10px;

    background: #eef8ef;
    color: #315b37;
}

.rf2-fv-auto-fascia-prezzo > span {
    font-size: 13px;
    font-weight: 600;
}

.rf2-fv-auto-fascia-prezzo > strong {
    font-size: 17px;
    white-space: nowrap;
}

.rf2-fv-auto-fascia-prezzo > small {
    grid-column: 1 / -1;
    color: #607163;
    font-size: 11px;
}

@media (max-width: 650px) {
    .rf2-fv-auto-fascia-prezzo {
        grid-template-columns: 1fr;
    }

    .rf2-fv-auto-fascia-prezzo > strong {
        font-size: 16px;
    }
}

/* RF2 FASCIA PREZZO RISTRETTA - END */
