/* ======================================================================
   APPOINTRENT - ICONE PERSONALIZZATE
   CSS unico per menu Oracle APEX e liste / collegamenti.
   - Mantiene le classi CSS esistenti.
   - Evita le precedenti regole duplicate/conflittuali.
   - Le due anagrafiche usano SVG ottimizzati su GitHub Pages,
     senza dipendere dalla pubblicazione GitHub Pages.
   - Le altre icone conservano i loro URL originali.
   ====================================================================== */

/* Dimensioni di base: icone nei link e nelle liste APEX. */
[class^="custom-"],
[class*=" custom-"] {
    display: inline-block;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    vertical-align: middle;
}

/* ====================== ASSOCIAZIONI ICONE ====================== */

.custom-icon {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_dashboard.svg") !important;
}

.custom-documentazione {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-documentazione.svg") !important;
}

.custom-agenda-alloggi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/agenda_alloggi.svg") !important;
}

.custom-contratti-alloggi {
    background-image: url("https://filippoaprilee.github.io/appointrenticons2/icons/contratti_alloggi.svg") !important;
}

.custom-richiesta-anagrafica {
    background-image: url("https://filippoaprilee.github.io/appointrenticons2/icons/richiesta_dati_anagrafica_ottimizzato.svg?v=20261105-9c7258b") !important;
}

.custom-richiesta-anagrafica-societa {
    background-image: url("https://filippoaprilee.github.io/appointrenticons2/icons/richiesta_dati_societa_ottimizzato.svg?v=20261105-9c7258b") !important;
}

.custom-parcheggio-posti {
    background-image: url("https://filippoaprilee.github.io/appointrenticons2/icons/custom-posti-parcheggio.svg") !important;
}

.custom-preventivi-alloggi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/preventivi_alloggi.svg") !important;
}

.custom-elenco-alloggi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/elenco_alloggi.svg") !important;
}

.custom-tariffe-alloggi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/tariffe_alloggi.svg") !important;
}

.custom-statistiche-alloggi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/statistiche_alloggi.svg") !important;
}

.custom-pacchetti-moto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-pacchetti-moto.svg") !important;
}

.custom-gps-tracker {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-gps-tracker.svg") !important;
}

.custom-pacchetti-auto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-pacchetti-auto.svg") !important;
}

.custom-mezzi-in-vendita {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-mezzi-in-vendita.svg") !important;
}

.custom-costi-di-ricondizionamento {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-costi-di-ricondizionamento.svg") !important;
}

.custom-recensioni {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_recensioni.svg") !important;
}

.custom-keyless {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/keyless.svg") !important;
}

.custom-soldi-tariffe-bici {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/bici_soldi_tariffe.svg") !important;
}

.custom-soldi-tariffe-auto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/auto_soldi_tariffe.svg") !important;
}

.custom-agenda-ncc {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/agenda_ncc.svg") !important;
}

.custom-listini-ncc {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/listini_ncc.svg") !important;
}

.custom-servizi-ncc {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/servizi_per_risorsa.svg") !important;
}

.custom-servizi-per-risorsa {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/servizi_ncc.svg") !important;
}

.custom-risorse-ncc {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/risorse_ncc.svg") !important;
}

.custom-fatturato {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/fatturato.svg") !important;
}

.custom-proforma {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/proforma.svg") !important;
}

.custom-soldi-tariffe-moto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/moto_soldi_tariffe-2.svg") !important;
}

.custom-euro-tariffario {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/euro_tariffario.svg") !important;
}

.custom-soldi-tariffe-barche {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/barche_soldi_tariffe.svg") !important;
}

.custom-firme {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/firme.svg") !important;
}

.custom-canoni-e-utenze {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_canoni.svg") !important;
}

.custom-consigli {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_consigli.svg") !important;
}

.custom-leasing-e-noleggi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_leasing.svg") !important;
}

.custom-fidelizzazione {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_fidelizzazione.svg") !important;
}

.custom-whatsapp {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-whatsapp.svg") !important;
}

.custom-template-mail {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-template-mail.svg") !important;
}

.custom-agenda-parcheggio {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-agenda-parcheggio.svg") !important;
}

.custom-agenda-tour {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/agenda-tour1.svg") !important;
}

.custom-tour {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/icon-tour.svg") !important;
}

.custom-franchigie {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-franchigie.svg") !important;
}

.custom-agenda-auto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_agenda_auto.svg") !important;
}

.custom-agenda-barche {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_agenda_barche.svg") !important;
}

.custom-agenda-moto-e-scooter {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_agenda_moto.svg") !important;
}

.custom-agenda-bici {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_agenda_bici.svg") !important;
}

.custom-news {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_news.svg") !important;
}

.custom-cargos {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_cargos.svg") !important;
}

.custom-contratti {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_contratti.svg") !important;
}

.custom-preventivi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_preventivi.svg") !important;
}

.custom-prezzi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_tariffe.svg") !important;
}

.custom-auto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_auto.svg") !important;
}

.custom-imbarcazioni {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_22.svg") !important;
}

.custom-moto-e-scooter {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_moto.svg") !important;
}

.custom-bici {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/bici.svg") !important;
}

.custom-interventi-di-manutenzione {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/interventi_di_manutenzione.svg") !important;
}

.custom-cash-flow {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_cash_flow.svg") !important;
}

.custom-vendita-auto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/vendita_auto.svg") !important;
}

.custom-marketing {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_marketing.svg") !important;
}

.custom-statistiche {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_statistiche.svg") !important;
}

.custom-impostazioni {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_impostazioni.svg") !important;
}

.custom-esci {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/esci.svg") !important;
}

.custom-coupon {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/coupon.svg") !important;
}

.custom-gestione-flotta {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/gestione_flotta.svg") !important;
}

.custom-clienti {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_clienti.svg") !important;
}

.custom-amministratori {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/elenco-amministratori.svg") !important;
}

.custom-transazioni {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/elenco-transazioni.svg") !important;
}

.custom-accessi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/log-accessi.svg") !important;
}

.custom-luoghi-rit-cons {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_luogo_check_out.svg") !important;
}

.custom-servizi-extra {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_servizi_supplementari.svg") !important;
}

.custom-danni {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/danni_veicoli.svg") !important;
}

.custom-danni-moto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/danni_moto.svg") !important;
}

.custom-tariffe-auto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/tariffe-auto.svg") !important;
}

.custom-tariffe-barche {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/tariffe-barche.svg") !important;
}

.custom-tariffe-moto {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/tariffe-moto.svg") !important;
}

.custom-tariffe-bici {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/tariffe-bici.svg") !important;
}

.custom-assicurazioni {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/assicurazioni.svg") !important;
}

.custom-bolli {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/bolli.svg") !important;
}

.custom-revisioni {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/revisioni.svg") !important;
}

.custom-tagliandi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/tagliandi-icon.svg") !important;
}

.custom-pontili {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/pontile.svg") !important;
}

.custom-rimessaggi {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/rimessaggio.svg") !important;
}

.custom-affiliazioni {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/affiliazioni-comm.svg") !important;
}

.custom-contatti {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/contatti-cl.svg") !important;
}

.custom-assistenza {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/assistenza.svg") !important;
}

.custom-noleggia {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/noleggia.svg") !important;
}

.custom-pagamenti {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/nuova_pagamenti.svg") !important;
}

.custom-posti-ormeggio {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-posti-ormeggio.svg") !important;
}

.custom-programma-fedelta {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/affiliazioni-comm.svg") !important;
}

.custom-agenda-ormeggio {
    background-image: url("https://filippoaprilee.github.io/AppointRentIcons/icons/custom-agenda-ormeggio.svg") !important;
}

/* ======================= MENU LATERALE APEX ======================= */

/* Nasconde il glifo Font Awesome solo sulle icone custom.
   Le icone FA standard continuano a funzionare normalmente. */
.t-TreeNav .a-TreeView-node .fa[class*="custom-"]::before {
    content: none !important;
}

/* Icone dei livelli principali del menu. */
.t-TreeNav .a-TreeView-node .fa[class*="custom-"] {
    display: inline-block;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 16px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Icone dei sotto-menu: stessa dimensione del CSS originale. */
.t-TreeNav .a-TreeView-node[aria-level="2"] .fa[class*="custom-"] {
    width: 43px;
    height: 43px;
    min-width: 43px;
    margin-right: 14px;
}

/* Stile delle etichette nel menu. */
.t-TreeNav .a-TreeView-label {
    line-height: 1.6;
    margin-left: 12px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 11px;
}

.t-TreeNav .a-TreeView-node--topLevel {
    margin: -3px;
}


/* --- FIX FINALE P10109: icone su menu e lista, senza JS --- */
#elenco-contratti .custom-richiesta-anagrafica,
#elenco-contratti .custom-richiesta-anagrafica-societa {
  display: inline-block !important;
  width: 43px !important;
  height: 43px !important;
  min-width: 43px !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#elenco-contratti .custom-richiesta-anagrafica::before,
#elenco-contratti .custom-richiesta-anagrafica-societa::before {
  content: none !important;
}
/* La pagina 10109 non deve avere altri override jsDelivr / fallback. */
