/* ############ STILI GENERICI 	############  */	
.noAds > .google-auto-placed {display:none !important;}

.text-success { color: #067D52 !important; }
.text-danger { color: #A70636 !important; }

.font-piccolo { font-size: 12px; }
.font-piccolo .fa-brands { color: #808080; }

.numeriGrandi { font-size: 38px; color: #00d89f;  }
.testoGrande { font-size: 20px; font-weight: 700; }
.top, .top a { font-size: 16px; text-decoration: none; color: #4d4d4d; }

.bluPrimario { color: #0656a7 !important; }
.bluSecondario { color: #1D3470 !important; }

.verdePrimario { color: #00d89f !important; }
.verdeSecondario { color: #061 !important; }

.fondoGrigio { background-color: #F5F5F5 !important; }
.fondoBlu1 { background-color: #0656a7 !important; }
.fondoBlu2 { background-color: #1D3470 !important; }
.fondoVerdePrimario { background-color: #00d89f !important; }
.fondoVerdeSecondario { background-color: #061 !important; }  

.giallo { color: #ffd814 !important; }
.rosso { color: #ff1414 !important; }
.arancione { color: #f68421; }
.nero { color: #000000 !important; }
.btnGiallo { background-color: #ffd814 !important; }

.cta { 
    background-color: #0656a7; 
    color: #ffffff; 
    padding: 2rem;
    border-radius: 5px;
    text-decoration: none;
}
.cta.alternata {
    background-color: #061; 
    color: #FFFFFF; 
}

.sfondo-trasparente { background-color: rgba(255,255,255,0)!important; }

.btnBluPrimario {
    color:#ffffff !important;
    background-color: #0656a7; 
}

.btnBluPrimario:hover { 
    color:#ffffff !important;
    background-color: #1D3470 !important; 
}

.btnBluSecondario {
    color:#ffffff !important;
    background-color: #1D3470; 
}

.btnBluSecondario:hover {
    color:#ffffff !important;
    background-color: #0656a7; 
}

.btnVerdePrimario {
    color:#ffffff !important;
    background-color: #00d89f !important; 
}

.btnVerdePrimario:hover {
    background-color: #061; 
    color:#ffffff !important;
}

.btnVerdeSecondario {
    color:#ffffff !important;
    background-color: #061; 
}
.btnVerdeSecondario:hover {
    background-color: #00d89f;
    color:#ffffff !important;
}

.btnPartner { background-color: #f0f0f0; }

/* .btn.btn-outline-primary {
  color: #1D3470;
  border-color: #1D3470;
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus,
.btn.btn-outline-primary:active,
.btn.btn-outline-primary.active,
.btn.btn-outline-primary.show {
  color: #fff;
  background-color: #0656a7;
  border-color: #0656a7;
} */


.punto-elenco { 
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

.avviso {
    background-color: #2caffe;
    padding: 1rem;
    color: #FFFFFF;
}
.avviso a { color: #004080; }

.avviso2 {
    background-color: #00d89f;
    padding: 1rem;
    color: #1d3470 !important;
}
.avviso2 a { color: #1d3470; font-weight: 700;}



.modal.show {
    background-color: rgba(0, 0, 0, 0.7); 
}

/* CARD */
.card { 
    padding: 1rem;
}

.card-header, .card-footer { 
    background-color: #FFFFFF; 
    border: none; 
    justify-content: center; 
    align-items: center; 
}

.card-header { 
    font-weight: 700;
}

.card-body { color: #4d4d4d; }



/* CONTATORE */
.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-width: 1px 0 !important;
    border-style: solid;
    border-color: #0656a7;
    width: auto;
    margin: auto;
    margin-bottom: 2rem;
}
.countdown .box {
    padding: 20px;
    border-radius: 10px;
    width: 120px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}
.countdown .label {
    font-size: 1rem;
    margin-top: 5px;
    display: block;
}


/* NAV BAR */
.nav-link.active { font-weight: 700; color: #0656a7 !important; } 
.nav-link { font-size: 17px; padding: 3px 5px; }

/* HOME */
    .immagine-home {
        background-image: url('/img/img-home1.jpg');
        background-position: top center;
        background-size: 100% auto; /* Ensures the image fits the width of the page without stretching */
        background-repeat: no-repeat;
        background-color: #ffffff;
        max-width: 100%;
    }

/* GUIDA */
.container-overlapping-up {
    position: relative;
    z-index: 1;
    height: 100%; 
    overflow: hidden; 
}

.container-overlay-up {
    position: relative;
    top: 0;
    transform: translateY(-50%); 
    z-index: 2;
    height: 50%; 
}

.immagine-dettaglio-bottom {
    background-image: url('/img/fondoDettaglio.png');
    background-position: bottom center; 
    background-size: auto 700px; 
    background-repeat: no-repeat;
    background-color: #ffffff;
    min-width: 100%;
}

.immagine-dettaglioVerde {
    background-image: url('/img/sfondo-verde.png');
    background-position: bottom center; 
    background-size: auto 700px; 
    background-repeat: no-repeat;
    background-color: #ffffff;
    min-width: 100%;
}

.separatoreBlu {border: 2px solid #0656a7; width: 80px; margin: 20px 0px;}
.separatoreVerde {border: 2px solid #00d89f; width: 80px; margin: 20px 0px;}

.icona-guida {
    margin-bottom: 20px;
    height: 50px;
    width: auto;
}

.a-black { 
    font-style: italic !important; 
    font-weight: bold !important;
    color: #000 !important; 
    font-size: inherit;  }
.a-black:hover  { 
    text-decoration: underline !important;
    color: #000 !important; 
}

.a-white { 
    font-style: italic !important;
    font-weight: bold !important;
    color: #fff !important; 
    font-size: inherit;  }
.a-white:hover  { 
    text-decoration: underline !important;
    color: #fff !important; 
}

/* GRAFICI */
    .tableGrafici, .tableGrafici *,
    .tableDoppia, .tableDoppia * {
        /*font-size: 0.9rem;*/
        border-bottom: none;
    }

    .tableGrafici td,
    .tableDoppia td {
        padding: 4px 3px; 
        letter-spacing: 1px;
    }

    /* Alternating row colors */
    .tableGrafici tr:nth-child(odd) td, 
    .tableDoppia tr:nth-child(odd) td,
    .tableDati tr:nth-child(odd) td {
        background-color: rgba(44, 175, 254, 0.1) !important;
    }
    
    .scheda-header { 
        text-transform:uppercase;
    }

    /*tableDati */

    .tableDati, .tableDati * {
        font-size: 15px;
        border-bottom: none;
    }

    .tableDati thead tr th:first-child,
    .tableDati tbody tr th:first-child {
        position: sticky !important;
        left: 0;
        z-index: 2;
    }

    .sticky-column {
        position: sticky;
        left: 0;
        z-index: 2;
    }

    .tableDati td {
        min-width: 200px;
        padding: 1rem 1.25rem; 
    }

    .tableDati th {
        background-color: #fff;
        min-width: 175px;
        font-weight: normal;        
    }

    .tableDati td span {
        display: inline-block !important; 
    }

    .tableDati td,
    .tableDati td span  {
        white-space: nowrap;
    }

    .tableDati tr{
        min-height: 25px !important;
    }


/* SEARCH */
    .form-check-label { border: 0; }

    .nav-link-tab { 
        background-color: #0656a7; 
        color: #FFFFFF; 
        border-radius: 10px; 
        font-size: 14px;
        width: 100%;
    }

    .dataTables_info {
        font-size: 14px;
        padding-top: 1rem;
        text-align: center;
        font-style: italic;
    }

    .ricercaSemplice_filter {
        font-size: 14px;

    }

    .dataTables_filter {
        margin-bottom: 2rem;
        background-color: #F5F5F5; 
        padding: 1rem;
    }

    .dataTables_paginate {
        text-align: center;
        padding: 1rem;
    }
    .paginate_button {
        font-size: 14px;
        padding: 3px 10px;
        border: 1px solid #F5F5F5 !important;
        cursor: pointer;
    }

    .paginate_button.current {
        background-color: #4a4a4a !important; 
        border: 1px solid #cccccc !important;
        color:#ffffff;
    }


    .voce_titolo { 
            display: flex;  
            justify-content: space-between; 
            border-bottom: 1px solid #aaa;
            padding: 5px;
            margin: 5px 0; 
    }

    .voce .filtri_menu  { padding: 5px 0; margin:5px 5px; }
    .voce .filtri_menu input[type=text] { border:none; width: 100%; font-size: 14px; }
    .filtri_menu span { font-size: 14px; }

    .voce .filtri_menu .voce_filtro { border-bottom: 1px solid #aaa;  display: flex;  justify-content: space-between; }


    .voce .selezionati a { font-weight: bold; } 
    .voce .selezionati  {
        display: flex;
        justify-content: space-between;
        border-radius: 5px;
        background-color: #d4edf7;
        margin: 5px 0;
        padding: 5px 10px;
        font-size: 11px;
    }


    .accordion-button, .accordion-button a {
        background-color: #183a72;
        color: #FFFFFF;
    }

    .accordion-button:hover {
        color: #00d89f !important;
    }

    .accordion-button::after { color: #FFFFFF !important; }
    .accordion-button, .accordion-button .collapsed, .accordion-button:not(.collapsed) { color: #00d89f; }
    


    .testo-home {
            min-height: 400px;
        }
    
    .loading {
        display: none;
        padding: 20px;
    }
    
    .tooltip-text {
        visibility: hidden;
        width: 300px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 20px;
        position: absolute;
        z-index: 1;
        bottom: 125%; /* Position the tooltip above the icon */
        left: 50%;
        margin-left: -150px; /* Center the tooltip */
        opacity: 0;
        transition: opacity 0.3s;
        font-weight: 300;
    }

    .info-icon:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

        
    .pannello_ricerca .nav-pills { width: 95%; margin: 0 auto;}

    .pannello_ricerca .nav-item {  font-size:12px; }
    .pannello_ricerca .nav-item .active {  background-color: #fff!important; border-radius: 10px 10px 0 0; color:#000!important; width: 80%!important; margin: 0 10% 0 10%; font-weight: bold; font-size:12px; height: 100%; }

    .pannello_ricerca .tab-content {  border-radius: 10px; min-height: 315px; display: flex; }
    
    /* Cambia il colore delle frecce */
    table.dataTable thead .sorting:after {
        content: "\f07d"; /* Aggiungi una freccia giù */
        font-family: FontAwesome; /* Usa FontAwesome per icone */
        margin-left: 0.5rem;
    }

    table.dataTable thead .sorting_asc:after {
        content: "\f062"; /* Aggiungi una freccia su */
        margin-left: 0.5rem;
    }

    table.dataTable thead .sorting_desc:after {
        content: "\f063"; /* Aggiungi una freccia giù */
        margin-left: 0.5rem;
    }

   



/* CODICI ATECO */
    .accordion-button {
        background-color: #183a72; /* Base color */
        color: #fff;
    }

    .accordion-button:not(.collapsed) {
        background-color: #183a72; /* Slightly darker when expanded */
    }

    .accordion-body {
        background-color: #f5f5f5;
    }
    /* === FRECCE ACCORDION BIANCHE === */

/* Freccia chiusa */
.accordion-button::after {
  filter: invert(100%) brightness(200%); /* trasforma in bianco */
}

/* Freccia quando aperta */
.accordion-button:not(.collapsed)::after {
  filter: invert(100%) brightness(200%);
}


/* DETTAGLIO AZIENDA */
    .immagine-dettaglio {
        background-image: url('/img/fondoDettaglio.png');
        background-position: top center;
        background-size: 100% auto; /* Ensures the image fits the width of the page without stretching */
        background-repeat: no-repeat;
        max-width: 100%;
        background-color: #fff;
    }

    .titolo-dettaglio {
            min-height: 200px;
        }
    
    .titolo-dettaglio-img {
        width: 100%;          
        height: 300px;        
        object-fit: cover;    
        object-position: center; 
    }

    .titoletto { font-weight: 700; 
    line-height: 1.5rem;}
    .testoPiccolo { font-size: 0.90rem; }


    .card-header {
        padding-top: 2rem; 
        border-bottom: none; 
    }
    
    .bottone-container {
        width: 100%; 
    }

    .bottoneAzienda {
        background-color: #FFFFFF;
        border: solid 1px #cccccc;

        padding: 10px 15px;
        border-radius: 5px;
        text-align: center;
        vertical-align: middle;
        flex-grow: 1; 
        margin: 0 5px; 

        line-height: 20px; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
    }
    
    .bottoneAzienda:hover, .bottoneAzienda.active, .bottoneAzienda:hover a { background-color: #0656a7; color: #ffffff !important; }
    
    .btn-start,
    .btn-middle,
    .btn-end {
        border-radius: 50rem !important; 
    }

    .vertical-text {
        writing-mode: vertical-rl; /* Per il testo verticale da destra a sinistra */
        transform: rotate(180deg); /* Per capovolgere il testo */
        /* Altre opzioni di stile */
        font-size: 24px;
        white-space: nowrap; /* Per evitare che il testo vada a capo */
    }

    .cards-home { background-color: #ffffff; }
                
    .cardHometesto span { font-size: 12px; }
    .cards-home:hover { background-color: #0656a7; } 
    .cards-home:hover * { color: #ffffff !important; }

    .cardHomeIcona {
        background-color: #0656a7;
        padding: 5px;
        width: 50px;
        height: 50px;
        position: absolute;
        left: -25px;
    }
    .cardHomeIcona img { 
        width: 40px;
        height: 40px;
    }


    .scheda-header {
        display: flex;
        align-items: center; 
        margin: 0;
    }

    .punto-elenco {
        margin-right: 10px;
        width: 16px;
        height: auto;
        display: inline-block;
    }

    .sottotitolo { margin-left: 30px;}
    
    .collapse.show + a .fa-chevron-right {
        transform: rotate(90deg);
        transition: transform 0.3s;
    }
    
    /* Dati offuscati */
    .blurred {
        filter: blur(5px); /* Applica il blur */
        cursor: pointer;
        transition: filter 0.3s ease; /* Transizione quando rimosso */
    }
    
    /* Animazione per ruotare l'icona */
    .icon-collapse {
        transition: transform 0.3s ease;
    }
    .icon-rotated {
        transform: rotate(180deg);
    }

    .menuSchede h3 { 
        font-size: 1rem !important;
        margin-bottom: 10px !important;
    }

    
    .menuSchede .nav-link {
        font-size: 0.85rem;
        line-height: 1rem;
        color: #000000;
    }
    .vociInterneSchede .smooth-scroll {
        line-height: 1.5rem;
        cursor: pointer;
    }

    .vociInterneSchede .smooth-scroll:hover {
        color: #1D3470 !important; 
    }

    .score-display {
        color: white; 
        padding: 0.5rem 0.75rem; 
        border-radius: 0.25rem; 
        aspect-ratio: 1 / 1; 
        display: flex; 
        align-items: center;
        justify-content: center;
    }

/* VALUTE YAHOO FINANCE*/

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background: #f4f4f4;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 200s linear infinite;
    font-size: 15px;
}

@keyframes scroll-left {
    from { transform: translateX(10%); }
    to { transform: translateX(-100%); }
}


.positive {
    color: green;
}

.negative {
    color: red;
}


/************************** Scheda ANALISI FINANZIARIA (scheda00) ****************************/
.liste {
    list-style-type: none; /* Rimuove i punti elenco predefiniti */
    padding-left: 0; /* Rimuove il margine sinistro della lista */
}

.liste li {
    position: relative; /* Necessario per posizionare l'icona */
    padding-left: 25px; /* Distanza tra l'icona e il testo */
}

.liste li::before {
    content: "\f101"; /* Unicode per l'icona fa-angles-right */
    font-family: "Font Awesome 6 Free"; /* Font Awesome 6 */
    font-weight: 900; /* Assicurati di usare il peso 'Solid' */
    position: absolute;
    left: 0;
    top: 0; /* Allinea l'icona in cima alla riga */
    transform: translateY(0); /* Rimuovi la centratura verticale */
}

#contenuto-wrapper {
    position: relative;
}


/*
.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; 
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
    pointer-events: none; 
    z-index: 10;
}
*/
.login-overlay-box {
    
    background: rgb(255, 255, 255);
    padding: 20px 25px;
    text-align: center;
    z-index: 11;
    max-width: 90%;
}

.login-overlay-box p {
    margin: 0 0 10px;
    font-size: 16px;
    color: #333;
}

.login-overlay-box button {
    padding: 8px 18px;
    font-size: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-overlay-box button:hover {
    background-color: #0056b3;
}

.login-overlay-box {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.login-overlay-box.visible {
    opacity: 1;
}

.extra-padding {
    padding-bottom: 3rem; /* ajusta según altura del box */
}
    

.image-score {
    max-height: 50px !important;
    aspect-ratio: 1 / 1 !important; 
}

#riga00504 ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#riga00504 li {
    position: relative;
    display: flex;
    align-items: stretch; 
    padding-left: 5rem;
    min-height: 6rem;
    display: flex;
    align-items: center;
    justify-content: start;
}

#riga00504 li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 35px;
    color: white;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 0.25rem;
    margin: 0.75rem;
    padding: 0.75rem !important;
    display: flex;
    align-items: center;
}

#riga00504 li:nth-child(1)::before {
    content: "\f164";
    background-color: #061;
}

#riga00504 li:nth-child(2)::before {
    content: "\f2b5";
    background-color: #f4b400;
    font-size: 29px !important;
}

#riga00504 li:nth-child(3)::before {
    content: "\f165";
    background-color: #A70636;
}


/* MAPPA */
#map {
    touch-action: pan-y; 
    pointer-events: auto; 
    overflow: hidden; 
}

/* tooltip */
.js-tooltip {
  display: inline-flex;
  align-items: center;
  vertical-align: top;
  margin-left: 4px;
  flex-shrink: 0;
}

.js-tooltip i.bi {
  font-size: 0.85em; /* ligeramente más pequeño */
  vertical-align: middle;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.js-tooltip i.bi:hover {
  opacity: 1;
}

.custom-tooltip {
  position: fixed;
  background: white;
  color: black;
  padding: 6px 10px;
  border-radius: 0;
  border: 3px solid #183a72;
  white-space: normal;  
  max-width: 250px;      
  word-wrap: break-word;   
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.2s ease;
  opacity: 0;
  
}

/* Flecha */
.custom-tooltip::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

/* En pantallas grandes: flecha a la izquierda */
@media (min-width: 768px) {
  .custom-tooltip::after {
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-color: transparent white transparent transparent;
  }
}
/*tooltip ends*/


/* Scheda AI*/
.rotating-icon {
    font-size: 24px;
    color: #0656a7;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 768px) {
    .w-md-50 {
        width: 70% !important;
    }

    
}
    

@media (min-width: 992px) { /* 992px è la larghezza per lg in Bootstrap */
    .header-bottoni {
        margin-top: -3rem !important;
    }

    /* GRAFICI */
    .tableDoppia, .tableDoppia * {
        border-bottom: none;
    }


}


@media (max-width: 1200px){

    .tableDati td {
        /*min-width: 180px;*/
        padding: 0.50rem !important;     

    }

    .tableDati td span {
        display: inline-block; 
    }

}


@media (max-width: 768px) { /* For medium screens and up (md bootstrap)*/

    /* GENERICI */
    .numeriGrandi { font-size: 30px; color: #00d89f;  }

    /* GRAFICI */
    .tableGrafici, .tableGrafici * ,
    .tableDoppia, .tableDoppia *,
    .tableDati, .tableDati *  {
        border-bottom: none;
    }
    .tableGrafici td,
    .tableDoppia td,
    .tableDati td  { 
        padding: 4px 3px; 
        letter-spacing: 0.2px;
    }    

    /*guida Movile*/
    .immagine-dettaglio-bottom {
        background-image: url('/img/fondoDettaglio-movile.jpg');
        background-position: bottom center; 
        background-size: auto 1200px; 
        background-repeat: no-repeat;
        background-color: #ffffff;
        min-width: 100%;
    }

    .immagine-home {
        background-image: url('/img/img-home1.jpg');
        background-position: top center;
        background-size: 800px; /* Ensures the image fits the width of the page without stretching */
        background-repeat: no-repeat;
    }


    .sediBoxResponsive {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

/* CTA */

.imgCTA { max-height: 350px;}

/* LOGIN ECOMMERCE2 */
.logo_img { width: 400px; }

@media (max-width: 576px) { /* For small screens and up (ms bootstrap)*/

    .titolo-dettaglio {
        min-height: 250px;
    }

    .immagine-dettaglio {
        background-image: url('/img/fondoDettaglio.png');
        background-position: top center;
        background-size: 600px; /* Ensures the image fits the width of the page without stretching */
        background-repeat: no-repeat;
    }

    .no-shadow-sm {
        box-shadow: none !important;
    }
    .no-border-sm {
        border: none !important;
    }

    /* GENERICI */
    .numeriGrandi { font-size: 25px; color: #00d89f;  }

    /* CARD */
    .card { 
        padding: 1rem 0 !important;
    }


    /* GRAFICI */
    .tableGrafici, .tableGrafici *,
    .tableDoppia, .tableDoppia *,
    .tableDati, .tableDati *   {
        font-size: 14px;
        border-bottom: none;
    }
    
    .tableGrafici td,
    .tableDoppia td   { 
        padding: 4px 3px; 
        letter-spacing: 0px;
    }

}








/* === Stile moderno e coerente per Choices.js in ricercaPersonalizzata=== */

#ricercaPersonalizzata .choices {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

#ricercaPersonalizzata .choices__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 44px;
  width: 100%;
  background-color: var(--bs-body-bg, #f8f9fa);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--bs-border-color, #ced4da);
  border-radius: 0.5rem;
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#ricercaPersonalizzata .choices__inner:focus-within {
  border-color: #183a72;
  box-shadow: 0 0 0 0.25rem rgba(24, 58, 114, 0.25);
}

#ricercaPersonalizzata .choices__list--multiple .choices__item--selectable,
#ricercaPersonalizzata .choices__list--single .choices__item--selectable {
  background-color: #183a72;
  color: #fff;
  border-radius: 2rem;
  padding: 0.35rem 0.9rem;
  margin: 0.25rem 0.4rem 0.25rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background-color 0.2s;
}

#ricercaPersonalizzata .choices__list--multiple .choices__item--selectable:hover,
#ricercaPersonalizzata .choices__list--single .choices__item--selectable:hover {
  background-color: #084298;
}

#ricercaPersonalizzata .choices__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 6px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  background-color: transparent;
  color: #ffffff;
  opacity: 0.7;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

#ricercaPersonalizzata .choices__button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

#ricercaPersonalizzata .choices__button::after {
  content: '×';
  line-height: 1;
}

#ricercaPersonalizzata .choices__input--cloned {
  background: transparent;
  border: none;
  outline: none;
  padding: 0.3rem 0.4rem;
  font-size: 0.85rem;
  min-width: 2ch;
  flex-grow: 1;
  color: var(--bs-body-color, #212529);
}

#ricercaPersonalizzata .choices__input--cloned:focus {
  border: none;
  outline: none;
}

#ricercaPersonalizzata .choices__list--dropdown,
#ricercaPersonalizzata .choices__list.choices__list--dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1055;
  margin-top: 0.25rem;
  background-color: var(--bs-body-bg, #fff);
  border: 1px solid var(--bs-border-color, #ced4da);
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
}

#ricercaPersonalizzata .choices__list--dropdown::-webkit-scrollbar,
#ricercaPersonalizzata .choices__list.choices__list--dropdown::-webkit-scrollbar {
  width: 6px;
}

#ricercaPersonalizzata .choices__list--dropdown::-webkit-scrollbar-thumb,
#ricercaPersonalizzata .choices__list.choices__list--dropdown::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

#ricercaPersonalizzata .choices__list--dropdown::-webkit-scrollbar-track,
#ricercaPersonalizzata .choices__list.choices__list--dropdown::-webkit-scrollbar-track {
  background-color: transparent;
}

#ricercaPersonalizzata .choices__item--choice {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: var(--bs-body-color, #212529);
  background-color: var(--bs-light, #f8f9fa);
  border: 1px solid var(--bs-border-color, #ced4da);
  border-radius: 2rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  animation: fadeIn 0.15s ease-in;
  margin: 4px 6px;
}

#ricercaPersonalizzata .choices__item--choice:hover,
#ricercaPersonalizzata .choices__item--choice.is-highlighted {
  background-color: var(--bs-primary-bg-subtle, #e7f1ff);
  color: var(--bs-primary-text-emphasis, #052c65);
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
  transform: translateY(-1px);
}

/* Animazione fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#ricercaPersonalizzata .choices > select {
  opacity: 0;
  position: absolute;
  left: -9999px;
  pointer-events: none;
  height: 0;
  width: 0;
}



/* Spinner coerente */
#spinnerContainer .spinner-border {
  width: 2rem;
  height: 2rem;
  color: #183A72;
}


/* === MIGLIORAMENTO CONTROLLI DataTables: Cerca e Mostra === */

/* Contenitore unico per bottoni + select + search */
.toolbar-tabella {
  background-color: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}


/* Stile campo cerca e mostra */
#ricercaPersonalizzata #tabellaRisultati_length label,
#ricercaPersonalizzata #tabellaRisultati_filter label {
  font-weight: 600;
  color: #183A72;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}



/* Uniforma altezza elementi */
.toolbar-tabella .form-select,
.toolbar-tabella .form-control,
.toolbar-tabella .btn {
  height: 36px;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  line-height: 1.5;
  border-radius: 6px;
}

.toolbar-tabella .form-select {
  appearance: none;       /* Nasconde lo stile nativo (freccia compresa) */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none; /* Rimuove anche eventuali sfondi */
}

/* Allinea "Mostra n righe" e "Cerca" con padding interno coerente */
/* .dataTables_length,
.dataTables_filter {
  margin: 0 !important;
  padding: 0 !important;
} */

.dataTables_filter label,
.dataTables_length label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}


/* Badge campi visualizzati ricercaPersonalizzata */

.campo-selezionato {
  display: inline-block;
  background-color: #183a72;
  color: #fff;
  padding: 0.35em 0.7em;           
  font-size: 0.82rem;             
  font-weight: 500;               
  border-radius: 1rem;            
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.campo-selezionato:hover {
  background-color: #084298;
  cursor: default;
  transform: scale(1.04);
}


/* Input filtri numerici ricercaPersonalizzata */
.form-control.form-control-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  box-shadow: none;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s;
}


.form-control.form-control-sm:focus {
  border-color: #183a72;
  box-shadow: 0 0 0 0.15rem rgba(6, 86, 167, 0.25);
}

/* Titoli e sottotitoli ricercaPersonalizzata*/

h5.titolo-modern,
h5.sottotitolo-modern {
  font-size: 1.3rem;
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1.5rem;
}

h5.titolo-modern {
  position: relative;
  font-weight: 600;
  color: #183a72;
  padding-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

h5.titolo-modern::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 60px;
  background-color: #00d89f;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #00d89f1a;
  transition: width 0.3s ease;
}

h5.titolo-modern:hover::after {
  width: 90px;
}

h5.sottotitolo-modern {
  font-weight: 500;
  color: #183a72;
  border-left: 4px solid #00d89f;
  padding-left: 12px;
}

/* Pulsante Reset ricercaPersonalizzata*/
.btn-reset-custom {
  background-color: #dc3545;
  color: #fff;
  border: 1px solid #dc3545;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 0.375rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
  line-height: 1.5;
}

.btn-reset-custom:hover {
  background-color: #bb2d3b;
  border-color: #b02a37;
  color: #fff; 
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
  transform: translateY(-1px);
}

.btn-reset-custom:active {
  background-color: #a52834;
  border-color: #92262f;
  transform: scale(0.98);
  box-shadow: 0 2px 5px rgba(211, 47, 47, 0.2);
}



/* Bottone accordion (chiuso e aperto) */
#ricercaPersonalizzata .accordion-button {
  background-color: #183a72;
  color: #ffffff;
  box-shadow: none;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Icona caret (freccetta) bianca */
#ricercaPersonalizzata .accordion-button::after {
  filter: brightness(0) invert(1);
}

/* Corpo dell'accordion aperto */
#ricercaPersonalizzata .accordion-body {
  background-color: #ffffff;
  color: #183a72;
  border-left: 3px solid #183a72;
}


#ricercaPersonalizzata .badge.bg-primary {
  background-color: #183a72 !important;
  color: #ffffff;
}

/* riempimento checkbox ricercaPersonalizzata */


#ricercaPersonalizzata .form-check-input:checked {
  background-color: #183A72;
  border-color: #183A72;
}

#ricercaPersonalizzata .form-check-input:checked::before {
  background-color: #ffffff; /* Colore della spunta ✓ */
}


/* Contenitore box dei filtri da settare ricercaPersonalizata */

#filtriSelezionatiContainer {
  background-color: #f1f3f5; /* sfondo contenitore filtri */
  border: 1px solid #ced4da;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Singolo box filtro attivo */
#filtriSelezionatiContainer .bg-filtri-attivi {
  background-color: #ffffff;
  border: 1px solid #cfd4da;
  border-left: 5px solid #183a72;
  border-radius: 0.65rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: #212529;
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

#filtriSelezionatiContainer .bg-filtri-attivi:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

/* Etichetta filtro */
#filtriSelezionatiContainer .bg-filtri-attivi .etichetta-filtro {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;  
  color: #183a72;
  letter-spacing: 0.3px; 
  margin-bottom: 0.2rem;
}

/* Valore filtro */
#filtriSelezionatiContainer .bg-filtri-attivi .valore-filtro {
  font-size: 0.95rem;
  font-weight: 500;
  color: #343a40;
  word-break: break-word;
}

#campiSelezionatiContainer {
  background-color: #f1f3f5;
  border: 1px solid #ced4da;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}


.novita-badge {
  width: 50px;            /* Più grande rispetto a prima */
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  margin-right: 0.65em;
  margin-left: -10px;      /* Sposta leggermente a sinistra */
}


@media (max-width: 576px) {
  .novita-badge {
    width: 32px;          /* Più grande anche su mobile */
    margin-right: 0.45em;
    margin-left: -6px;    /* Anche su mobile più a sinistra */
  }
}

/*============== novita badge 2 ===================*/
/* badge novità su menu (verde + blu) */
.nav-link.novita,
.nav-link.novita-blu{
  position: relative;
  padding-right: 40px;

  /* testo del link in grassetto (senza <strong>) */
  font-weight: 700;
}

/* protezione icone Font Awesome (non vengono mai alterate) */
.nav-link.novita .fa,
.nav-link.novita .fa-solid,
.nav-link.novita .fa-regular,
.nav-link.novita .fa-brands,
.nav-link.novita-blu .fa,
.nav-link.novita-blu .fa-solid,
.nav-link.novita-blu .fa-regular,
.nav-link.novita-blu .fa-brands{
  font-weight: inherit; /* usa quello definito da Font Awesome */
}

.nav-link.novita::after,
.nav-link.novita-blu::after{
  content: "NOVITÀ";
  position: absolute;
  right: -8px;
  top: 25%;
  transform: translateY(-50%) translateY(-2px);

  padding: 2px 7px;
  height: 18px;
  line-height: 14px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;

  color: #fff;
  border-radius: 999px;

  pointer-events: none;
  white-space: nowrap;
}

/* SOLO colore badge */
.nav-link.novita::after{
  background: #00d7a3;
}

.nav-link.novita-blu::after{
  background: #1D3470;
}








/* =====================================================
   COOKIE BANNER + PREFERENCE CENTER — REPORTAZIENDE.IT
   ===================================================== */

/* === BANNER PRINCIPALE === */
.termsfeed-com---nb.termsfeed-com---palette-dark,
.termsfeed-com---palette-dark.termsfeed-com---nb {
  background-color: #183a72 !important;
  color: #f1f3f5 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
}

/* Link (Privacy Policy, Cambia impostazioni, ecc.) */
.termsfeed-com---link,
#open_preferences_center {
  color: #f1f3f5 !important;
  text-decoration: underline !important;
  font-family: 'Poppins', sans-serif !important;
}

/* Pulsanti banner */
.cc-nb-okagree,
.cc-nb-reject,
.cc-nb-changep {
  background-color: #eaeaea !important;
  color: #183a72 !important;
  border: none !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  padding: 8px 18px !important;
  margin: 4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease-in-out;
}
.cc-nb-okagree:hover,
.cc-nb-reject:hover,
.cc-nb-changep:hover {
  background-color: #cfd4da !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   PREFERENCE CENTER
   ===================================================== */

/* === CONTENITORE GENERALE === */
.cc-pc-container,
.cc-pc-container * {
  background-color: #183a72 !important;
  color: #f1f3f5 !important;
  font-family: 'Poppins', sans-serif !important;
}
.cc-pc-container p,
.cc-pc-container h1,
.cc-pc-container h2,
.cc-pc-container h3,
.cc-pc-container h4,
.cc-pc-container label,
.cc-pc-container span {
  color: #f8f9fa !important;
}

/* === HEADER === */
.cc-pc-head,
.cc-pc-head-title,
.cc-pc-head-title-text,
.cc-pc-head-title-headline {
  background-color: #183a72 !important;
  color: #f1f3f5 !important;
  border: none !important;
}
.cc-pc-head-close {
  background: transparent !important;
  color: #f1f3f5 !important;
  font-size: 22px !important;
  border: none !important;
  cursor: pointer !important;
}

/* === CORPO PRINCIPALE === */
body .termsfeed-com---pc-dialog .cc-cp-body,
body .termsfeed-com---palette-dark .cc-cp-body {
  background-color: #183a72 !important;
  color: #f1f3f5 !important;
  display: flex !important;
  align-items: stretch !important;
  border: none !important;
  box-shadow: none !important;
}
body .termsfeed-com---pc-dialog .cc-cp-body *,
body .termsfeed-com---palette-dark .cc-cp-body * {
  background-color: transparent !important;
  color: #f1f3f5 !important;
  border: none !important;
  box-shadow: none !important;
}

/* === MENU LATERALE (Tabs sinistro) === */
body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item,
body .termsfeed-com---palette-dark .cc-cp-body-tabs-item {
  background-color: #f1f3f5 !important;
  color: #183a72 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item-link,
body .termsfeed-com---palette-dark .cc-cp-body-tabs-item-link {
  display: block !important;
  width: 100% !important;
  background-color: #f1f3f5 !important;
  color: #183a72 !important;
  font-weight: 600 !important;
  margin: 3px 0 !important;
  padding: 10px 12px !important;
  text-align: left !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item-link:hover {
  background-color: #e0e5eb !important;
  color: #183a72 !important;
}
body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item[active="true"] .cc-cp-body-tabs-item-link,
body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item-link[aria-selected="true"] {
  background-color: #d8dde3 !important;
  color: #183a72 !important;
  font-weight: 700 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item-link:focus,
body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item-link:active {
  background-color: #d8dde3 !important;
  color: #183a72 !important;
  transform: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* === CONTENUTO PRINCIPALE (Colonna destra) === */
body .termsfeed-com---pc-dialog .cc-cp-body-content,
body .termsfeed-com---palette-dark .cc-cp-body-content {
  background-color: #183a72 !important;
  color: #f1f3f5 !important;
  border-left: 1px solid rgba(255,255,255,0.15) !important;
  padding-left: 20px !important;
}
.cc-cp-body-content-entry-title {
  color: #ffffff !important;
  font-weight: 600 !important;
}
.cc-cp-body-content-entry-text {
  color: #f1f3f5 !important;
  line-height: 1.6 !important;
}

/* === FOOTER === */
.cc-cp-foot {
  background-color: #183a72 !important;
  color: #f1f3f5 !important;
  border-top: 1px solid rgba(255,255,255,0.15) !important;
}
.cc-cp-foot-save,
.cc-pc-btn,
.cc-pc-accept-all,
.cc-pc-reject-all,
.cc-pc-save {
  background-color: #eaeaea !important;
  color: #183a72 !important;
  border: none !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  padding: 8px 18px !important;
  margin: 4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease-in-out;
}
.cc-cp-foot-save:hover,
.cc-pc-btn:hover,
.cc-pc-accept-all:hover,
.cc-pc-reject-all:hover,
.cc-pc-save:hover {
  background-color: #cfd4da !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.cc-cp-foot-byline,
.cc-cp-foot-byline a {
  color: #f1f3f5 !important;
}

/* === CHECKBOX e SWITCH === */
.cc-custom-checkbox input[type="checkbox"],
.cc-switch input[type="checkbox"] {
  accent-color: #f1f3f5 !important;
}


/* MODALE CHIUSURA */
  #exitModal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 10000;
      justify-content: center;
      align-items: center;
  }
  #exitModalContent {
      background: white;
      padding: 20px;
      border-radius: 5px;
      text-align: center;
  }




/* modale LISTE AZIENDALI */
  
  #listeAziende .select2-container--open .select2-dropdown {
      margin-top: 2rem;
  }
  /* Assicura che la modale faccia da riferimento per le coordinate */
  .modal-content {
      position: relative !important;
  }

  /* Impedisce al dropdown di fluttuare fuori dalla modale o sparire dietro */
  .select2-container--open {
      z-index: 9999999 !important;
  }

  /* Opzionale: Se il dropdown sembra "staccato", forza il ricalcolo */
  .select2-container {
      display: block;
  }

  .noUi-connect { background: #183a72;}








/* MODALE VISURE */

#visureBox {
    max-width: 650px;  
    width: 100%;
    margin: 25px auto;
    font-family: 'Poppins', sans-serif;
}
/* HEADER */
.visure-main-title {
    font-size: 30px;
    font-weight: 700;
    color: #183A72;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}
/* CARD */
.visure-card {
    margin-bottom: 25px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    padding: 18px;
    transition: 0.25s;
}
.visure-card {
    position: relative;
    overflow: hidden;
}
.visure-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #183A72, #2a5aa3);
}
.visure-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}
/* HEADER CARD */
.visure-card h2 {
    font-size: 17px;
    color: #183A72;
    font-weight: 600;
    margin-bottom: 5px;
}
.visure-card h3 {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}
/* INPUT */
.visure-card select,
.visure-card input[type="text"],
.visure-card input[type="number"] {
    width: 100%;
    padding: 10px 5px;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 15px;
    font-size: 14px;
    background: transparent;
}
.visure-card input:focus,
.visure-card select:focus {
    outline: none;
    border-bottom: 2px solid #2a5aa3;
}
/* LABEL */
.visure-card label {
    font-size: 13px;
    color: #444;
    margin-bottom: 10px;
    display: block;
}
/* BUTTON */
.visure-card input[type="submit"],
.visure-card input[type="button"] {
    background: linear-gradient(135deg, #183A72, #2a5aa3);
    padding: 8px 20px;
    color: #fff;
    border: none;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(24,58,114,0.25);
    transition: 0.25s;
}
.visure-card input[type="submit"]:hover,
.visure-card input[type="button"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(24,58,114,0.35);
    background: linear-gradient(135deg, #142f5e, #244d8c);
}
/* OUTPUT */
#visureOutput {
    margin-top: 20px;
}
#visureOutput div {
    background: linear-gradient(135deg, #f4f7fb, #eef4ff);
    border-left: 4px solid #183A72;
    padding: 12px;
    font-size: 13px;
    border-radius: 6px;
}
.visure-card input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    font-size: 14px;

    border: 1px solid #e5e7eb;
    border-radius: 8px;

    background: #f9fbff;

    transition: all 0.2s ease;
}

.visure-card input[type="email"]:focus {
    outline: none;
    border-color: #2a5aa3;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(42, 90, 163, 0.08);
}

/* TESTO */
.visure-text {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
}

/* BUTTON LINK (coerente con submit) */
.visure-btn {
    display: block;
    text-align: center;
    padding: 10px;

    background: linear-gradient(135deg, #183A72, #2a5aa3);
    color: #fff;
    text-decoration: none;

    border-radius: 8px;
    font-size: 13px;

    box-shadow: 0 4px 12px rgba(24,58,114,0.25);
    transition: 0.25s;
}

.visure-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(24,58,114,0.35);
    background: linear-gradient(135deg, #142f5e, #244d8c);
}




/* ============================== */
/* LAYOUT BASE RICERCA GEOGRAFICA */ 
/* ============================== */

.ricerca-geografica .filtri-geo,
.ricerca-geografica .geo-card {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: 0.25s;
}

/* hover condiviso */
.ricerca-geografica .filtri-geo:hover,
.ricerca-geografica .geo-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ============================== */
/* SIDEBAR FILTRI (comportamento) */
/* ============================== */

.ricerca-geografica .filtri-geo {
    padding: 18px;

    position: sticky;
    top: 90px;

    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

/* ========================= */
/* HEADER */
/* ========================= */

.ricerca-geografica .filtri-geo h5,
.ricerca-geografica .geo-header h5 {
    font-size: 16px;
    font-weight: 600;
    color: #183A72;
    margin: 0;
}

.ricerca-geografica .filtri-geo::before,
.ricerca-geografica .geo-header::before {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #183A72, #2a5aa3);
}

.ricerca-geografica .geo-header {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* ========================= */
/* MARKER */
/* ========================= */

.ricerca-geografica .marker-wrapper,
.ricerca-geografica .leaflet-div-icon {
    background: transparent;
    border: none;
}

.ricerca-geografica .marker-pin {
    width: 20px;
    height: 28px;
    position: relative;
    transform: translate(-50%, -100%);
}

.ricerca-geografica .marker-pin::before {
    content: "";
    width: 20px;
    height: 20px;
    background: #1D3470;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow:
        0 0 0 2px #fff,
        0 2px 6px rgba(0,0,0,0.25);
}

.ricerca-geografica .marker-core {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
}

.ricerca-geografica .marker-pin:hover::before {
    background: #005CB9;
    transform: rotate(-45deg) scale(1.08);
}

/* ========================= */
/* POPUP */
/* ========================= */

.ricerca-geografica .leaflet-popup-content-wrapper {
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(0,0,0,0.20);
    padding: 0 !important;
    overflow: hidden;
}

.ricerca-geografica .leaflet-popup-content {
    margin: 0 !important;
}

.ricerca-geografica .leaflet-popup-tip {
    background: #fff;
}

.ricerca-geografica .popup-ra {

    padding: 14px;
    width: 320px;
    max-width: 320px;
    box-sizing: border-box;
    background: #ffffff;
}

.ricerca-geografica .popup-ra-title {
    font-size: 18px;
    font-weight: 700;
    color: #1D3470;
    line-height: 1.4;
}

.ricerca-geografica .popup-ra-sub {
    font-size: 15px;
    color: #666;
    margin-top: 6px;
}

.ricerca-geografica .popup-ra-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 16px 0;
}

.ricerca-geografica .popup-ra-address {
    font-size: 15px;
    color: #777;
    line-height: 1.5;
}

.ricerca-geografica .popup-ra-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 14px;
    color: #444;
}

.ricerca-geografica .popup-ra-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.ricerca-geografica .popup-ra-stat {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

.ricerca-geografica .popup-ra-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}

.ricerca-geografica .popup-ra-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1D3470;
}

.ricerca-geografica .popup-ra-btn {
    display: block;
    margin-top: 20px;
    text-align: center;
    background: #1D3470;
    color: #fff !important;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s ease;
}

.ricerca-geografica .popup-ra-btn:hover {
    background: #162a59;
    transform: translateY(-1px);
}

/* ========================= */
/* FILTRI */
/* ========================= */

.ricerca-geografica .filtri-geo h6 {
    font-size: 13px;
    font-weight: 600;
    color: #1D3470;
}

.ricerca-geografica .filtri-geo .form-label {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
}

.ricerca-geografica .filtri-geo .form-control {
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    font-size: 13px;
    padding: 6px 8px;
}

.ricerca-geografica .filtri-geo .form-control:hover {
    border-color: rgba(0,0,0,0.2);
}

.ricerca-geografica .filtri-geo .form-control:focus {
    border-color: #1D3470;
    box-shadow: 0 0 0 2px rgba(29,52,112,0.1);
}

.ricerca-geografica .filtri-geo .form-check-label {
    font-size: 13px;
    color: #555;
}

/* ========================= */
/* BOTTONI */
/* ========================= */

.ricerca-geografica .filtri-geo .btn {
    font-size: 13px;
    border-radius: 8px;
}

.ricerca-geografica .geo-badge {
    background: #1D3470;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    padding: 6px 12px;
}

/* ========================= */
/* TOGGLE FILTRI AVANZATI */
/* ========================= */

.ricerca-geografica .filtri-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #f5f7fb;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;

    padding: 8px 10px;

    font-size: 13px;
    font-weight: 500;
    color: #1D3470;

    transition: 0.2s;
}

/* hover */
.ricerca-geografica .filtri-toggle:hover {
    background: #eef2f8;
    border-color: rgba(0,0,0,0.1);
}

/* icona */
.ricerca-geografica .filtri-toggle i {
    font-size: 11px;
    transition: 0.2s;
}

/* stato aperto (bootstrap aggiunge .collapsed quando è chiuso) */
.ricerca-geografica .filtri-toggle:not(.collapsed) i {
    transform: rotate(180deg);
}



/* =========================================
   HERO AUDIO
========================================= */

.audioHero {

    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: #183a72;

    box-shadow: 0 4px 12px rgba(0,0,0,.08);

    margin: 0;
}

.audioHero-image,
.audioHero-image-mobile {

    width: 100%;

    height: auto;

    display: block;

    border-radius: 12px;

    transition: transform .25s ease, opacity .25s ease;
}

/* SOLO DESKTOP */
.audioHero:hover .audioHero-image {
    transform: scale(1.01);
}

/* =========================================
   MODALE AUDIO
========================================= */

.audioModalContent {

    border-radius: 18px;

    overflow: hidden;

    background: #ffffff;

    box-shadow: 0 15px 45px rgba(0,0,0,.18);
}

/* HEADER */

.audioModalHeader {

    background: #183a72;

    color: #ffffff;

    padding: 16px 20px;
}

.audioModalHeader .modal-title {

    font-size: 18px;

    font-weight: 700;

    line-height: 1.2;
}

.audioModalHeader i {
    font-size: 18px;
}

/* BODY */

.audioModalContent .modal-body {

    background: #ffffff;

    padding: 24px;
}

/* TESTO */

.audioModalText {

    font-size: 15px;

    line-height: 1.5;

    color: #183a72;

    font-weight: 500;

    margin-bottom: 18px;
}

/* IMMAGINE MODALE */

.audioModalImage {

    width: 100%;

    max-height: 220px;

    object-fit: contain;

    display: block;

    margin: 0 auto;

    border-radius: 14px;

    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

/* PLAYER AUDIO */

#audioPlayer {

    width: 100%;

    border-radius: 12px;
}

/* =========================================
   RICERCA GEOGRAFICA
========================================= */

/* ========================= */
/* CARD / BOX */
/* ========================= */

.ricerca-geografica .filtri-geo,
.ricerca-geografica .geo-card {

    background: #ffffff;

    border: 1px solid #e9ecef;

    border-radius: 6px;

    box-shadow: none;
}

/* ========================= */
/* SIDEBAR */
/* ========================= */

.ricerca-geografica .filtri-geo {

    padding: 14px;

    position: sticky;
    top: 90px;
}

/* ========================= */
/* HEADER */
/* ========================= */

.ricerca-geografica .filtri-geo h5,
.ricerca-geografica .geo-header h5 {

    font-size: 15px;
    font-weight: 600;

    color: #183A72;

    margin: 0;
}

.ricerca-geografica .geo-header {

    padding: 12px 14px;

    border-bottom: 1px solid #f1f1f1;
}

/* ========================= */
/* MAPPA */
/* ========================= */

#map {

    border-radius: 0 0 6px 6px;
}

/* ========================= */
/* FILTRI */
/* ========================= */

.ricerca-geografica .filtri-geo h6 {

    font-size: 14px;
    font-weight: 600;

    color: #183A72;
}

.ricerca-geografica .geo-filter-item {

    margin-bottom: 12px;
}

.ricerca-geografica .geo-filter-label {

    font-size: 13px;
    font-weight: 600;

    color: #495057;

    margin-bottom: 6px;
}

/* ========================= */
/* INPUT */
/* ========================= */

.ricerca-geografica .filtri-geo .form-control,
.ricerca-geografica .filtri-geo .form-select {

    height: 36px;

    border: 1px solid #dee2e6;
    border-radius: 6px;

    font-size: 13px;

    color: #495057;

    box-shadow: none !important;

    transition: border-color .15s ease;
}

/* focus */

.ricerca-geografica .filtri-geo .form-control:focus,
.ricerca-geografica .filtri-geo .form-select:focus {

    border-color: #183A72;

    box-shadow:
        0 0 0 2px rgba(24,58,114,0.08) !important;
}

/* ========================= */
/* CHECKBOX */
/* ========================= */

.ricerca-geografica .form-check-input:checked {

    background-color: #183A72;
    border-color: #183A72;
}

.ricerca-geografica .form-check-label {

    font-size: 12px;
    color: #495057;
}

/* ========================= */
/* TOGGLE */
/* ========================= */

.ricerca-geografica .filtri-toggle {

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #f8f9fa;

    border: 1px solid #dee2e6;
    border-radius: 6px;

    padding: 10px 12px;

    color: #183A72;

    transition: background .15s ease;
}

.ricerca-geografica .filtri-toggle:hover {

    background: #f1f3f5;
}

.ricerca-geografica .filtri-toggle strong {

    font-size: 13px;
}

.ricerca-geografica .filtri-toggle .small {

    font-size: 11px;
}

.ricerca-geografica .filtri-toggle i {

    font-size: 10px;
}

/* ========================= */
/* BOTTONI */
/* ========================= */

.ricerca-geografica .btn {

    font-size: 13px;
    font-weight: 600;

    border-radius: 6px;

    padding: 8px 12px;

    box-shadow: none !important;
}

/* ========================= */
/* BADGE */
/* ========================= */

.ricerca-geografica .geo-badge {

    background: #183A72;

    color: #fff;

    font-size: 12px;
    font-weight: 600;

    border-radius: 4px;

    padding: 4px 8px;
}

/* =========================================
   DATATABLE
========================================= */

.ricerca-geografica #tabellaGeo_wrapper .toolbar-tabella {

    background: transparent;

    border: 0;

    padding: 0 0 10px 0;

    margin-bottom: 10px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

/* label */

.ricerca-geografica #tabellaGeo_wrapper .dataTables_filter label,
.ricerca-geografica #tabellaGeo_wrapper .dataTables_length label {

    display: flex;
    align-items: center;

    gap: 8px;

    margin: 0;

    font-size: 12px;
    font-weight: 600;

    color: #495057;
}

/* input + select */

.ricerca-geografica #tabellaGeo_wrapper .dataTables_filter input,
.ricerca-geografica #tabellaGeo_wrapper .dataTables_length select {

    height: 34px;

    border: 1px solid #dee2e6;
    border-radius: 6px;

    background: #fff;

    font-size: 12px;

    box-shadow: none !important;
}

/* focus */

.ricerca-geografica #tabellaGeo_wrapper .dataTables_filter input:focus,
.ricerca-geografica #tabellaGeo_wrapper .dataTables_length select:focus {

    border-color: #183A72;

    box-shadow:
        0 0 0 2px rgba(24,58,114,0.08) !important;
}

/* info */

.ricerca-geografica #tabellaGeo_wrapper .dataTables_info {

    font-size: 12px;

    color: #6c757d;

    padding-top: 12px;
}

/* =========================================
   PAGINATION
========================================= */

.ricerca-geografica #tabellaGeo_wrapper .dataTables_paginate {

    margin-top: 18px;

    display: flex;

    justify-content: flex-end;
}

.ricerca-geografica #tabellaGeo_wrapper .pagination {

    gap: 6px;

    align-items: center;

    flex-wrap: wrap;
}

/* bottone */

.ricerca-geografica #tabellaGeo_wrapper .page-link {

    min-width: 38px;
    height: 38px;

    padding: 0 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px !important;

    border: 1px solid #e5e7eb !important;

    background: #ffffff !important;

    color: #4b5563 !important;

    font-size: 13px;
    font-weight: 600;

    transition:
        background .15s ease,
        color .15s ease,
        border-color .15s ease,
        transform .12s ease;

    box-shadow: none !important;
}

/* hover */

.ricerca-geografica #tabellaGeo_wrapper .page-link:hover {

    background: #f3f6fb !important;

    border-color: #c7d7ee !important;

    color: #183A72 !important;

    transform: translateY(-1px);
}

/* active */

.ricerca-geografica #tabellaGeo_wrapper .page-item.active .page-link {

    background: linear-gradient(
        135deg,
        #183A72 0%,
        #24519b 100%
    ) !important;

    border-color: #183A72 !important;

    color: #fff !important;

    box-shadow:
        0 4px 12px rgba(24,58,114,0.18) !important;
}

/* disabled */

.ricerca-geografica #tabellaGeo_wrapper .page-item.disabled .page-link {

    opacity: .45;

    background: #f8f9fa !important;

    border-color: #ececec !important;

    color: #9ca3af !important;

    cursor: not-allowed;
}

/* =========================================
   MARKER
========================================= */

.ricerca-geografica .marker-wrapper,
.ricerca-geografica .leaflet-div-icon {

    background: transparent;
    border: none;
}

.ricerca-geografica .marker-pin {

    width: 20px;
    height: 28px;

    position: relative;

    transform: translate(-50%, -100%);
}

.ricerca-geografica .marker-pin::before {

    content: "";

    width: 20px;
    height: 20px;

    background: #183A72;

    position: absolute;

    top: 0;
    left: 0;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    box-shadow:
        0 0 0 2px #fff,
        0 2px 5px rgba(0,0,0,0.15);
}

.ricerca-geografica .marker-core {

    width: 6px;
    height: 6px;

    background: #fff;

    border-radius: 50%;

    position: absolute;

    top: 7px;
    left: 7px;

    z-index: 2;
}

/* =========================================
   POPUP
========================================= */

/* wrapper leaflet */

.ricerca-geografica .leaflet-popup {

    margin-bottom: 20px;
}

.ricerca-geografica .leaflet-popup-content-wrapper {

    max-width: 320px !important;

    border-radius: 10px;

    padding: 0;

    overflow: hidden;

    box-shadow:
        0 4px 18px rgba(0,0,0,0.10);
}

.ricerca-geografica .leaflet-popup-content {

    margin: 0 !important;

    width: 100% !important;
}

/* container */

.ricerca-geografica .popup-ra {

    width: 320px;

    padding: 14px;

    box-sizing: border-box;

    background: #ffffff;
}

/* =========================================
   HEADER
========================================= */

.ricerca-geografica .popup-ra-title {

    margin-bottom: 4px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;

    color: #183A72;
}

.ricerca-geografica .popup-ra-sub {

    margin-bottom: 14px;

    font-size: 13px;

    color: #6c757d;
}

/* =========================================
   INFO
========================================= */

.ricerca-geografica .popup-ra-info {

    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-bottom: 14px;
}

.ricerca-geografica .popup-ra-address,
.ricerca-geografica .popup-ra-contact {

    display: flex;
    align-items: flex-start;

    gap: 10px;

    font-size: 13px;
    line-height: 1.5;

    color: #555;
}

.ricerca-geografica .popup-ra-address i,
.ricerca-geografica .popup-ra-contact i {

    width: 16px;

    margin-top: 2px;

    flex-shrink: 0;

    color: #183A72;
}

/* =========================================
   STATS
========================================= */

.ricerca-geografica .popup-ra-stats {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 12px;
}

.ricerca-geografica .popup-ra-stat {

    padding: 10px 6px;

    text-align: center;

    background: #f8f9fa;

    border: 1px solid #eef0f2;
    border-radius: 8px;
}

.ricerca-geografica .popup-ra-label {

    display: block;

    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;

    color: #6c757d;
}

.ricerca-geografica .popup-ra-value {

    font-size: 14px;
    font-weight: 700;

    color: #183A72;
}

/* bottone */

.ricerca-geografica .popup-ra-btn {

    display: block;

    margin-top: 16px;

    text-align: center;

    background: #183A72;

    color: #fff !important;

    padding: 11px 14px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: .15s ease;
}

.ricerca-geografica .popup-ra-btn:hover {

    background: #0f2e5c;
}
/* =========================================
   CHOICES
========================================= */

.ricerca-geografica .choices__inner {

    border-radius: 6px;

    min-height: 34px;

    border: 1px solid #dee2e6;

    font-size: 12px;
}

/* focus */

.ricerca-geografica .choices.is-focused .choices__inner,
.ricerca-geografica .choices.is-open .choices__inner {

    border-color: #183A72 !important;

    box-shadow:
        0 0 0 2px rgba(24,58,114,0.08);
}

/* dropdown */

.ricerca-geografica .choices__list--dropdown,
.ricerca-geografica .choices__list[aria-expanded] {

    max-height: 240px;

    overflow-y: auto;

    border-radius: 6px;

    border: 1px solid #dee2e6;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.05);
}

/* voce */

.ricerca-geografica .choices__item--choice {

    font-size: 12px;

    transition: .15s ease;
}

/* hover */

.ricerca-geografica .choices__list--dropdown .choices__item--selectable.is-highlighted,
.ricerca-geografica .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {

    background: #183A72 !important;

    color: #fff !important;
}

/* tag */

.ricerca-geografica .choices__list--multiple .choices__item {

    background: #183A72 !important;

    border: 1px solid #183A72 !important;

    color: #fff !important;

    border-radius: 14px;

    font-size: 11px;
}

.popup-badge-secondaria {

    display: inline-block;

    background: #198754;
    color: #fff;

    padding: 4px 8px;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 600;

    margin-bottom: 8px;
}

.marker-highlight .marker-pin::before {

    animation: markerPulse 1s ease-in-out infinite;

    box-shadow:
        0 0 0 2px #fff,
        0 0 0 8px rgba(25,135,84,0.25),
        0 0 20px rgba(25,135,84,0.5);
}

@keyframes markerPulse {

    0% {
        transform: rotate(-45deg) scale(1);
    }

    50% {
        transform: rotate(-45deg) scale(1.25);
    }

    100% {
        transform: rotate(-45deg) scale(1);
    }
}

.ricerca-geografica .btn-outline-primary.btnGoToMarker {

    border-color: #183A72 !important;
    color: #183A72 !important;

    transition: all .15s ease;
}

.ricerca-geografica .btn-outline-primary.btnGoToMarker:hover {

    background-color: #183A72 !important;
    border-color: #183A72 !important;
    color: #fff !important;

    transform: scale(1.08);
}

.ricerca-geografica .btn-outline-primary.btnGoToMarker i {

    font-size: 14px;
}

/* =========================
   MONITORA AZIENDE
========================= */

.monitorami-page .monitorami-upload-card {
    border-left: 4px solid #183A72;
}

.monitorami-page .monitorami-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #eef5ff;
    color: #183A72;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.monitorami-page #monitoramiEsito {
    font-size: .9rem;
}

.monitorami-page .card {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.monitorami-page h4.text-white {
    border-left: 4px solid #ffffff;
    padding-left: 12px;
}

.monitorami-page .card-header {
    padding: 1rem 1.25rem;
    border-radius: 12px 12px 0 0;
}

.monitorami-page .table thead th {
    font-size: .9rem;
    font-weight: 600;
    vertical-align: middle;
}

.monitorami-page .table td {
    vertical-align: middle;
}
.monitorami-page .table {
    font-size: .92rem;
}

.monitorami-page .table thead {
    background: #f8fafc;
}
.monitorami-page #tabellaMonitorami tbody tr:hover,
.monitorami-page .table-hover tbody tr:hover {
    background-color: #f8fafc;
}

.monitorami-page .table-warning {
    background-color: #fff8db !important;
}

.monitorami-page .badge.bg-warning.text-dark {
    font-weight: 600;
}

.monitorami-page .segna-alert-letto {
    white-space: nowrap;
    border-radius: 20px;
    font-size: .85rem;
}

.monitorami-page .toggle-monitorami-notifiche,
.monitorami-page .rimuovi-monitorami {
    transition: all .2s ease;
}

.monitorami-page .toggle-monitorami-notifiche:hover {
    transform: scale(1.08);
}

.monitorami-page .rimuovi-monitorami:hover {
    transform: scale(1.08);
}

.monitorami-page .monitorami-upload-card .form-control {
    min-height: 42px;
}

.monitorami-page .monitorami-upload-card .btn {
    min-width: 110px;
}

.monitorami-page .monitorami-upload-card .text-muted.small {
    line-height: 1.5;
}

.monitorami-page .table-responsive {
    border-radius: 12px;
}

.monitorami-page .table-light th {
    background-color: #f8fafc;
}

.monitorami-page .table-hover tbody tr.table-warning:hover {
    background-color: #fff3b0 !important;
}

.monitorami-page .fa-circle-info[data-bs-toggle="tooltip"] {
    cursor: pointer;
    transition: .2s;
}

.monitorami-page .fa-circle-info[data-bs-toggle="tooltip"]:hover {
    color: #183A72 !important;
}

#modalDettaglioAlert .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

#modalDettaglioAlert .modal-header {
    padding: 1.25rem 1.5rem;
}

#modalDettaglioAlert #modalAziendaAlert {
    color: #183A72; /* blu secondario Report */
}

#modalDettaglioAlert .card {
    border: 1px solid #e8edf5;
    border-radius: 12px;
}

#modalDettaglioAlert .card-header {
    background: #f5f8fc;
    color: #183A72;
    font-weight: 600;
}

#modalDettaglioAlert .list-group-item {
    border-color: #edf2f7;
}

#modalDettaglioAlert code {
    color: #183A72;
    font-size: .9rem;
    background: #f8fafc;
    padding: 2px 6px;
    border-radius: 4px;
}

#modalDettaglioAlert .badge.bg-success {
    background-color: #00A651 !important;
}
.mostra-dettagli-alert:hover {
    background: #183A72 !important;
    border-color: #183A72 !important;
    color: #fff !important;
}

/* =========================
   FILTRI ALERT RECENTI
========================= */
.monitorami-page #filtroOrigineAlert {
    display: inline-flex;
    background: #f4f7fb;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    padding: 6px;
    gap: 6px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}

.monitorami-page #filtroOrigineAlert .btn {
    border: 0;
    background: transparent;
    color: #6c757d;
    font-size: .9rem;
    font-weight: 600;
    padding: .55rem 1.2rem;
    border-radius: 10px;
    min-width: auto;
    box-shadow: none;
    transition: all .25s ease;
}

.monitorami-page #filtroOrigineAlert .btn:hover {
    background: rgba(24,58,114,.08);
    color: #183A72;
    transform: none;
}

.monitorami-page #filtroOrigineAlert .btn.btn-primary,
.monitorami-page #filtroOrigineAlert .btn.active {
    background: #183A72;
    color: #fff;
    box-shadow: 0 4px 12px rgba(24,58,114,.25);
}

.monitorami-page #filtroOrigineAlert .btn.btn-primary:hover,
.monitorami-page #filtroOrigineAlert .btn.active:hover {
    background: #102b57;
    color: #fff;
}

@media (max-width:768px){
    .monitorami-page #filtroOrigineAlert{
        display:flex;
        width:100%;
        flex-wrap:wrap;
    }

    .monitorami-page #filtroOrigineAlert .btn{
        flex:1 1 calc(50% - 6px);
    }
}

/* Badge “NOVITÀ” nel menu */

.nav-feature {
    position: relative;
}

.nav-feature__badge {
    position: absolute;
    top: -16px;
    left: 50%;
    z-index: 10;
    padding: 2px 6px;
    transform: translateX(-50%);
    border-radius: 10px;
    box-shadow: 0 0 0 2px #fff;
    background-color: #00D7A3;
    color: #fff !important;
    font-size: 7pt;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}