    /* Stili aggiuntivi per le mappe (già presenti) */
    .map-container {
        background: white;
        overflow: hidden;
        padding: 1px !important;
        margin: 0 !important;
        border: none;
    }
    .map-wrapper {
        position: relative;
        padding-top: 100% !important;
    }
    .map-wrapper svg {
        position: absolute;
        top: 0; left: 0;
        width: 100% !important;
        height: 100% !important;
    }
    .btn-toggle {
        font-size: 1.1rem;
        padding: 12px 30px;
    }
    .active-btn {
        background-color: #0d6efd;
        color: white;
        border-color: #0d6efd;
    }
    #external-legend {
        background: white;
        margin-top: 1px !important;
    }
    .legend-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
    }
	
    .legend-color {
        width: 28px;
        height: 18px;
        border: 1px solid #666;
        border-radius: 3px;
        flex-shrink: 0;
		margin-left: 10px;
    }
    .row {
        gap: 4px !important;
        flex-wrap: nowrap !important;
    }
    .col-lg-6 {
        padding-left: 2px !important;
        padding-right: 2px !important;
        margin-bottom: 0 !important;
    }
    #btnGiovani, #btnAnziani {
        margin-top: 0.5em;
        background: white;
        border: 1px solid #999;
        border-radius: 20px;
        padding: 8px 18px;
        font-size: 15px;
        font-weight: bold;
        color: #333;
        cursor: pointer;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        -webkit-tap-highlight-color: transparent;
    }
    #btnGiovani:hover, #btnAnziani:hover {
        background: #f0f0f0;
        border-color: #e74c3c;
        box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
    }
    #btnGiovani:active, #btnAnziani:active {
        transform: scale(0.95);
    }
    .nonVisibile a {
        text-decoration: none;
    }
    .nonVisibile input[type=text] {
        border: 1px solid #aaaaaa;
        padding: 4px 10px;
        height: 27px !important;
        font-style: italic;
    }
    /* TOOLTIP NOTE */
    button {
        background-color: #fff;
        border: 0px solid #fff;
        padding: 8px 3px 1px 1px;
        color: #000000;
    }
    [tooltip] {
        position: relative;
        display: inline-block;
    }
    [tooltip]::before {
        content: "";
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 4px 6px 0 6px;
        border-style: solid;
        border-color: rgba(0,0,0,0.7) transparent transparent transparent;
        z-index: 99;
        opacity: 0;
    }
    [tooltip-position='left']::before {
        left: 0%;
        top: 50%;
        margin-left: -12px;
        transform: translatey(-50%) rotate(-90deg);
    }
    [tooltip-position='top']::before {
        left: 50%;
    }
    [tooltip-position='buttom']::before {
        top: 100%;
        margin-top: 8px;
        transform: translateX(-50%) translatey(-100%) rotate(-180deg);
    }
    [tooltip-position='right']::before {
        left: 100%;
        top: 50%;
        margin-left: 1px;
        transform: translatey(-50%) rotate(90deg);
    }
    [tooltip]::after {
        content: attr(tooltip);
        position: absolute;
        left: 50%;
        top: -6px;
        transform: translateX(-50%) translateY(-100%);
        background: rgba(0,0,0,0.7);
        text-align: center;
        color: #fff;
        padding: 4px 2px;
        font-size: 12px;
        min-width: 80px;
        border-radius: 5px;
        pointer-events: none;
        padding: 4px 4px;
        z-index: 99;
        opacity: 0;
        width: 350px;
        max-width: 450px;
        white-space: normal;
        word-wrap: break-word;
    }
    [tooltip-position='left']::after {
        left: 0%;
        top: 50%;
        margin-left: -8px;
        transform: translateX(-100%) translateY(-50%);
    }
    [tooltip-position='top']::after {
        left: 50%;
    }
    [tooltip-position='buttom']::after {
        top: 100%;
        margin-top: 8px;
        transform: translateX(-50%) translateY(0%);
    }
    [tooltip-position='right']::after {
        left: 100%;
        top: 50%;
        margin-left: 8px;
        transform: translateX(0%) translateY(-50%);
    }
    [tooltip]:hover::after,
    [tooltip]:hover::before {
        opacity: 1;
    }
    .input {
        margin-left: 135px;
    }