@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* --- FONTS --- */
.roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

* {
    font-family: Roboto, 'Open Sans', sans-serif;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- VARIABLES --- */
:root {
    --primary-color: #11aeef;
    --secondary-color: #ffac1c;
    --footer-bg: #1a1a2e;
}

/* --- COLOR OVERRIDES (Con 'body' per vincere la specificità) --- */
body .text-primary {
    color: var(--primary-color) !important;
}

body .bg-primary {
    background-color: var(--primary-color) !important;
}

body .bg-secondary {
    background-color: var(--secondary-color) !important;
}

body .bg-light {
    background-color: #f7f6f1 !important
}

/* --- BUTTONS --- */
/* Nota: Ho rimosso !important dai border-radius per non rompere i componenti DevExpress */

.btn {
    font-size: 1rem !important;
    padding: 0.5rem 0.8rem;
}

/* Classe specifica se vuoi forzare i bottoni rotondi senza rompere tutto il resto */
.btn-round {
    border-radius: 50px !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white;
    /* border-radius: 50px;  <-- Rimossa l'imposizione globale. Usa la classe .btn-round o rounded-pill nel HTML */
}

.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color); /* Corretto per outline */
    /* border-radius: 50px; */
}

    .btn-outline-primary:hover {
        color: white !important;
        background-color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
    }

.btn-secondary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white;
}

    .btn-secondary:focus, .btn-secondary:active {
        outline: none;
        box-shadow: 0 0 0 4px rgba(222, 170, 12, 0.5) !important;
    }

.btn-light {
    background-color: white;
    border-color: white;
    color: var(--primary-color) !important;
}

.btn-link {
    color: #0071c1;
}

a {
    color: #0071c1;
}

/* --- FORMS --- */
.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white;
    border-radius: 8px !important;
}

/* --- UTILITIES --- */
.rounded {
    border-radius: 25px !important;
}

.top-row {
    border-bottom: 0px !important;
}

h1:focus {
    outline: none;
}

.content {
    padding-top: 1.1rem;
}

/* --- BLAZOR VALIDATION & ERROR UI --- */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* --- HEADER --- */
.header-container {
    height: 5rem !important;
}

@media only screen and (max-width: 1000px) {
    .logo {
        width: 40%;
    }

    .titolo {
        font-size: 2.3rem;
        letter-spacing: 2px;
    }

    .header-container {
        height: 4rem !important;
    }
}

/* --- TYPOGRAPHY --- */
.titolo {
    font-size: 2.9rem;
    letter-spacing: 2px;
}

.titolo2 {
    font-size: 1.5rem;
}

.sottotitolo {
    font-size: 1.2rem;
}

.corpo {
    font-size: 1.1rem;
}

.corpo2 {
    font-size: 0.8rem;
}

/* --- IMAGES --- */
img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* pointer-events: none; <--- RIMOSSO: Questo bloccava i click su icone e bottoni immagine! */
}

/* --- INDEX & SEARCH --- */
.sfondo-spiaggia {
    position: relative;
    width: 100%;
    height: 550px;
    background-image: url('images/sfondo2026.jpeg');
    background-position: top;
    background-attachment: fixed;
    background-size: cover;
}

.filtri-ricerca {
    position: absolute;
    bottom: -37px;
    left: 0;
    width: 100%;
    color: white;
    padding: 10px;
    box-sizing: border-box;
}

/* --- COMBOBOX TEMPLATE --- */
.combobox-item-template {
    display: flex;
    align-items: center;
}

    .combobox-item-template > img {
        border-radius: 50%;
        width: 2rem;
        height: 2rem;
    }

img + .combobox-item-template-text {
    margin-left: 1rem;
}

.combobox-item-template-text {
    display: flex;
    flex-flow: column;
}

.combobox-item-template-employee-phone {
    opacity: 0.65;
}

/* --- CARDS & SCROLLING --- */
.card-container-spiagge-consigliate {
    display: flex;
    overflow-x: scroll;
    gap: 10px;
    padding: 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .card-container-spiagge-consigliate::-webkit-scrollbar {
        display: none;
    }

.card-spiagge-consigliate {
    width: 300px;
    height: 300px;
    flex: 0 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-img-top-spiagge-consigliate {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 18px;
}

.card-btn-spiagge-consigliate {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
}

.card-eventi {
    width: 250px;
    flex: 0 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0px;
    background-size: cover !important;
    background-position: center !important;
    height: 0;
    padding-bottom: 312px;
}

.card-eventi-dettaglio {
    width: 80%;
    margin: auto;
    flex: 0 0 auto;
    border-radius: 8px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0px;
    background-size: cover !important;
    background-position: center !important;
    height: 0;
    padding-bottom: 100%;
}

.modal-evento-dettaglio {
    max-width: 70% !important;
}

.card-img-eventi {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.scroll-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.scroll-btn {
    background-color: transparent;
    color: #11aeef;
    border: none;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color linear 0.3s;
}

.left-btn {
    left: 0px;
}

.right-btn {
    right: 0px;
}

.scroll-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* --- RESPONSIVE UTILITIES --- */
.show-sm {
    display: none !important;
}

.show-lg {
    display: flex !important;
}

@media (min-width: 1000px) {
    .scaricaPhone {
        display: none !important;
    }
}

@media (max-width: 1000px) {
    .scaricaDesktop {
        display: none !important;
    }

    .show-lg {
        display: none !important;
    }

    .show-sm {
        display: flex !important;
    }

    .modal-evento-dettaglio {
        max-width: 90% !important;
        margin: 1.75rem auto;
    }
}

/* --- RICERCA CARD --- */
.card-spiagge {
    width: 100%;
    height: 23vh;
    flex: 0 0 auto;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-img-top-spiagge {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.offcanvas-fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
}

/* --- PAGINATION INPUTS --- */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.pagina input[type=number], .pagina input[type=text] {
    width: 65px;
    height: 35px;
    letter-spacing: 0.5px;
    font-weight: bold;
    border: none;
}

    .pagina input[type=number]:focus {
        outline: none;
    }

.btn-pagina {
    background-color: #11aeef;
    border: 1px solid white;
    border-radius: 8px;
}

/* --- DETTAGLIO --- */
.sticky-div {
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
    padding: 10px;
    z-index: 2;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    background-color: #ffffff;
}

.grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    object-fit: cover;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
}

.large-item {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    height: 50vh;
    object-fit: cover;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
}

/* --- PANNELLO ADMIN (LOGIN) --- */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    background-color: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}

.login-form-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.input-box {
    position: relative;
    margin-bottom: 30px;
}

    .input-box input {
        width: 100%;
        padding: 10px;
        background: none;
        border: none;
        border-bottom: 2px solid #aaa;
        outline: none;
        color: #333;
        font-size: 1.2rem;
        transition: border-color 0.3s ease;
    }

        .input-box input:focus {
            border-color: #11aeef;
        }

    .input-box label {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        color: #aaa;
        font-size: 1rem;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .input-box input:focus + label,
    .input-box input:valid + label {
        top: 0;
        font-size: 0.8rem;
        color: #11aeef;
    }

.button-login {
    width: 100%;
    padding: 10px;
    background-color: #11aeef;
    border: none;
    color: white;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .button-login:hover {
        background-color: #ffac1c;
    }

.messaggio-errore-login-credenziali {
    color: red;
    font-size: 0.8rem;
    margin-top: 5px;
}

.messaggio-errore-login {
    color: red;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}


/*Main Layout*/
:root {
    --primary-blue: #11aeef;
    --footer-bg: #1a1a2e;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.navbar {
    padding: 0.5rem 0;
    min-height: 70px;
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* --- FOOTER STILE PRO --- */
footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 70px 0 30px;
    font-size: 0.95rem;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

    /* Linea azzurra sotto il titolo */
    .footer-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background-color: #11aeef;
        border-radius: 2px;
    }

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: var(--primary-blue);
        text-decoration: none;
    }

/* Pulsanti Store */
.app-btn {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid #666;
    border-radius: 8px;
    padding: 8px 15px;
    margin-bottom: 15px;
    color: #fff;
    width: fit-content;
    min-width: 160px;
    transition: all 0.3s ease;
}

    .app-btn:hover {
        border-color: #fff;
        background-color: rgba(255,255,255,0.1);
    }

    .app-btn i {
        font-size: 1.8rem;
        margin-right: 12px;
    }

.app-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .app-text span:first-child {
        font-size: 0.7rem;
    }

    .app-text span:last-child {
        font-size: 1rem;
        font-weight: 700;
    }

/* Sezione Inferiore PRO */
.footer-divider-box {
    position: relative;
    text-align: center;
    border-top: 1px solid #333;
    /* margin-top: 40px; */
    padding-top: 30px;
    /* margin-bottom: 20px; */
}

.footer-pro-logo {
    background-color: var(--footer-bg);
    padding: 0 15px;
    position: relative;
    top: -45px; /* Sposta il logo sopra la linea */
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
}

    .footer-pro-logo img {
        height: 40px; /* Altezza fissa per renderlo visibile */
        width: auto; /* Mantiene le proporzioni */
    }

    .footer-pro-logo i {
        margin-right: 5px;
    }

.legal-text {
    color: #777;
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 0px solid #333; /* Rimosso bordo extra */
    color: #aaa;
    font-size: 0.9rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    margin-left: 10px;
    transition: 0.3s;
}

    .social-icons a:hover {
        background-color: var(--primary-blue);
    }

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-text-col {
        text-align: center;
        margin-bottom: 40px;
    }

    .nav-links {
        display: none;
    }

    .showcase-flex, .showcase-flex.reverse {
        flex-direction: column;
        text-align: center;
    }

    .bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {

    .top-row a {
        margin-left: 0px;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}

@media only screen and (max-width: 1050px) {
    .lists {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .margin-lists {
        margin-bottom: 2rem;
    }

    .list-container {
        padding-top: 10% !important;
        width: 75% !important;
    }
}

@media only screen and (max-width: 450px) {
    .gestore {
        display: none !important;
    }
}
/*Main Layout*/

/*Dettaglio*/
@media (min-width: 1000px) {
    #carosello-immagini {
        display: none;
    }

    .container-servizi-luogo {
        display: flex;
        flex-direction: row;
    }

        .container-servizi-luogo > div {
            width: 50%;
        }
}

@media (max-width: 1000px) {
    #periodo {
        width: 100% !important;
    }

    .grid-container {
        display: none;
    }

    .titolo2 {
        font-size: 1.3rem;
    }

    .sottotitolo {
        font-size: 0.9rem;
    }

    /*.container {
        margin-top: 0rem !important;
    }*/

    .carousel-item {
        background-size: 100% 100%;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat;
    }

    .container-servizi-luogo {
        display: flex;
        flex-direction: column;
    }

        .container-servizi-luogo > div {
            width: 100%;
        }
}
/*Dettaglio*/

/*Ricerca*/
/* Contenitore principale (guscio grigio) */
.custom-switch-container {
    background-color: #f1f3f5; /* Grigio chiaro per lo sfondo inattivo */
    border-radius: 50rem; /* Forma a pillola */
    padding: 4px; /* Spazio tra il bordo e i bottoni */
    display: inline-flex;
    position: relative;
    border: 1px solid #dee2e6;
}

/* Stile base dei pulsanti */
.btn-switch {
    border-radius: 50rem !important;
    padding: 6px 20px;
    font-weight: 600;
    color: #6c757d; /* Colore testo inattivo */
    border: none;
    transition: all 0.3s ease;
    background-color: transparent;
    font-size: 0.9rem !important;
}

    /* Effetto Hover */
    .btn-switch:hover {
        color: #11aeef;
        background-color: rgba(17, 174, 239, 0.1);
    }

    /* Stile quando il bottone è attivo o cliccato (facoltativo, per feedback visivo) */
    .btn-switch:active,
    .btn-switch:focus {
        background-color: #11aeef !important;
        color: white !important;
        box-shadow: 0 2px 6px rgba(17, 174, 239, 0.4);
    }

/* STILI AGGIUNTIVI PER LA MAPPA */
/* Stile per il contenitore della mappa "bottone" */
.map-trigger-container {
    position: relative;
    height: 180px; /* Altezza del riquadro */
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    .map-trigger-container:hover {
        transform: translateY(-2px); /* Piccolo effetto sollevamento al passaggio del mouse */
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

/* La mappa vera e propria sullo sfondo */
#mappa-preview {
    height: 100%;
    width: 100%;
    z-index: 0;
}

/* L'overlay scuro e il bottone centrale */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Leggera ombreggiatura sulla mappa */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* Sta sopra la mappa */
    transition: background-color 0.2s;
}

.map-trigger-container:hover .map-overlay {
    background-color: rgba(0, 0, 0, 0.2); /* Più scuro al passaggio del mouse */
}

/* Il bottone bianco al centro */
.btn-map-trigger {
    background-color: white;
    color: #333;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: none;
    pointer-events: none; /* Cliccando il bottone, clicchi il container padre */
}

/* Stili per la modale (rimasti uguali) */
#mappa-grande {
    height: 100%;
    width: 100%;
    min-height: 500px;
}

.modal-dialog-mappa {
    max-width: 90%;
    height: 90vh;
}

.custom-pin-icon {
    background: none !important;
    border: none !important;
}

@media (max-width: 991px) {
    #collapsibleDiv {
        display: none;
    }

    .custom-switch-container {
        display: flex;
    }

    .modal-dialog-mappa {
        max-width: 100%;
        height: 90vh;
    }
}

@media (min-width: 992px) {
    .custom-switch-container {
        display: none !important;
    }
}

/*Ricerca*/