﻿@media (min-width: 992px) { /* Applica solo su schermi grandi (>992px) */
    .modal-xl {
        max-width: 90% !important; /* Forza la larghezza al 90% del viewport */
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 95% !important;
    }
}

/* Scroll interno per i riquadri se i nomi superano i 30 */
.scroll-vertical::-webkit-scrollbar {
    width: 6px;
}

.scroll-vertical::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/*======= NAV BAR ============*/
/* Effetto al passaggio del mouse: riprende il giallo della riga selezionata */
.dropdown-ema-link:hover {
    background-color: #fff9c4 !important; /* Giallo chiaro come .selected-row */
    border-left: 4px solid #002d5a !important; /* Blu scuro come .grid-title */
    color: #000 !important;
}

/* Contenitore Icona */
.ema-icon-wrapper {
    background: #002d5a; /* Blu scuro istituzionale */
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Gestione Testi (Titolo e Sottotitolo) */
.ema-text-wrapper {
    display: flex;
    flex-direction: column;
}

.ema-title {
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    color: #002d5a;
    text-transform: uppercase;
    line-height: 1.1;
}

.ema-subtitle {
    font-size: 0.65rem !important;
    color: #6c757d;
    text-transform: none;
    font-weight: normal;
}
/*=============================*/