#custom-map {
    width: 100%;
    height: 65vh;
    border: 1px solid #ccc;
}

#filtri_mappa {
    height: 65vh;
}

.custom-cluster-icon {
    background-color: rgba(255, 165, 0, 0.6);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    width: 40px;
    height: 40px;
}

.leaflet-marker-shadow,
.leaflet-marker-icon {
    display: flex !important;
}

#date-histogram,
#denari-histogram {
    width: 100%;
}

.buttons-map {
    background-color: rgba(255, 165, 0, 0.8);
    border-radius: 5px;
    margin: 20px 0px 50px 0px;
    position: absolute;
    top: 0;
    z-index: 1000;
    left: 5%;
}

#custom-table {
    border-collapse: inherit;
    width: 100%;
    font-size: 13px;
}

#custom-table thead th {
    position: sticky;
    top: 0;
    background: #e1e1e1;
    z-index: 2;
    border-bottom: 2px solid #500000;
}

#apply-date-range,
#apply-denari-range,
#apply-age-range {
    background-color: rgba(255, 165, 0, 0.8);
    border-radius: 10px;
    margin: 20px 0px 30px 0px;
    padding: 12px;
    position: relative;
    z-index: 1000;
    font-size: 12px;
}

#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.663);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

#global-loader .loader-animation {
    margin-bottom: 10px;
}

#global-loader .loader-message {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
}

.toolbar-sticky {
    position: sticky;
    top: 0;
    z-index: 100000;
    background-color: #eee;
    padding: 10px 0;
    display: flex;
    justify-content: end;
    gap: 40px;
}

.toolbar-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

#mostra-tab {
    visibility: hidden;
    display: none
}

.fusion-modal {
    background: white;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.fusion-modal-header {
    background-color: var(--awb-color6, #444);
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    cursor: move;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.fusion-button {
    background-color: var(--awb-color4, #eee);
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.fusion-button:hover {
    background-color: var(--awb-color8, #ccc);
}

.fusion-modal-body {
    padding: 15px;
    overflow: auto;
    flex: 1;
}

.fusion-modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.fusion-modal-table th,
.fusion-modal-table td {
    border: 1px solid #aaa;
    padding: 5px;
    text-align: left;
}

.fusion-modal-table td.empty {
    opacity: 0.3;
}

.fa-marker {
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffa500;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.fa-marker i {
    font-size: 18px;
    color: rgb(255, 165, 0);
}

#visible-marker-count {
    position: absolute;
    top: 3%;
    left: 5%;
    background: rgba(255, 165, 0.8);
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-size: 17px;
    font-weight: bold;
    color: #181818;
}