/* Stili Personalizzati */
#map {
    width: 94vw;
    height: 60vh;
}

body{
    /*background-color: #eaeaea;*/
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

.bgView{
    background-color: #ffffff;
    /*background-color: #60c9bb;*/
}

.headerApp{
    background-color: #c48efd;
}

.footerApp{
    background-color: #60c9bb;
}

.bgCustom1{
    background-color: #c48efd;
}

.bgCustom2{
    background-color: #60c9bb;
}

/* La navbar è sempre in cima alla pagina */
#navbarOffcanvas{
    background-color: #c48efd;
    color: azure;
    font-family: 2em;
}

.navText{
    font-family: 2em;
}

.welcome-accordion .accordion-item {
    background-color: #eaeaea; /* colore di sfondo */
  }
  
  .welcome-accordion .accordion-button {
    background-color: #eaeaea; /* colore del bottone */
    font-weight: bold;
    border-bottom: 1px solid #999;
  }
  

:root {
    --bs-primary: #ff5733;  /* Arancione */
    --bs-secondary: #c48efd; /* Viola Personalizzato */
    --bs-danger: #ef6d3f;    /* Rosso */
    --bs-text-custom: #c48efd; /* Viola Personalizzato */
    --bs-text-custom-hh: #c48efd; /* Viola Personalizzato */
    --bs-text-custom-01: #60c9bb; /* Viola Personalizzato */
    --bs-input-custom-01: #743c48efdd78; /* Viola Personalizzato */
}

.custom-btn {
    background-color: var(--bs-danger);
    color: #fff;
}

.custom-btn-2 {
    background-color: var(--bs-secondary);
    color: #fff;
}

.custom-text{
    color: #743d78;
}

.custom-text-h {
    color: var(--bs-text-custom); /* Usa il viola personalizzato */
    font-weight: bold;
}

.custom-text-hh {
    color: var(--bs-text-custom-hh); /* Usa il viola personalizzato */
    font-weight: bold;
}

.custom-text-hh {
    color: var(--bs-text-custom-01); /* Usa il viola personalizzato */
    font-weight: bold;
}
  
.custom-input-01 {
    background-color: #743d78;  /* Cambia il colore di sfondo */
    color: #fff;                /* Cambia il colore del testo (bianco per contrasto) */
    border: 1px solid #4aa99e;  /* Bordo opzionale, puoi modificarlo */
}

.spinner-grow.custom-spinner-color {
    background-color: #60c9bb;
  }

  #ios-banner-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, .6);
    display: none;
    z-index: 999;
  }
  #ios-banner {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #60c9bb;
    border: 2px solid #24b59a;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 95%;
    min-width: 320px;
    /*min-height: 600px;*/
    display: none;
  }
  #ios-banner img {
    max-width: 50px;
    vertical-align: middle;
    margin: 10px;
    animation: bounce 1s infinite;
  }
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #743d78;
    cursor: pointer;
  }

  .bg-modal-contents{
    background-color: #60c9bb;
  }

  .iconAccordionOS{
    height: 30px;
    width: auto;
  }

  .header-banner{
    background-color: #60c9bb;
    color: #743d78;
    opacity: .8;
  }

  .call-2-action-banner{
    color: #743d78;
  }

  .image-col {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 130px;
    padding: 0;
  }
  
  /* Effetto patinato con #60c9bb */
  .image-col::before {
    content: '';
    position: absolute;
    inset: 0;
    /*background-color: rgba(96, 201, 187, 0.4); /* #60c9bb trasparente */
    /*backdrop-filter: blur(2px); /* effetto satinato */
    z-index: 1;
  }
  
  /* Se metti contenuti dentro, vanno sopra la patina */
  .image-col > * {
    position: relative;
    z-index: 2;
  }
  
  /* Immagini diverse per ciascuna colonna */
  .image-col-roma-antica {
    background-image: url('https://app.tapatour.eu/lib/images/Banner-Roma-Antica.png');
  }
  
  .image-col-roma-bellissima {
    background-image: url('https://app.tapatour.eu/lib/images/Banner-Roma-bellissima.png');
  }
  
  .image-col-roma-vaticano {
    background-image: url('https://app.tapatour.eu/lib/images/Banner-Vaticano.png');
  }

  .image-col-firenze-rinascimento {
    background-image: url('https://app.tapatour.eu/lib/images/Banner-Firenze-La_Perla_del_Rinascimento.png');
  }

  .image-col-pompei {
    background-image: url('https://app.tapatour.eu/lib/images/Banner-Pompei.png');
  }
  
  .password-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 2;
  }
  .form-floating.position-relative .form-control {
    padding-right: 2.5rem; /* spazio per l'icona */
  }

  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  
  .icon-animated {
    animation: pulse 1.5s infinite;
  }
  
  .poi-number-label {
    background: none;
    border: none;
    box-shadow: none;
  }
  
  .poi-number {
    background-color: green;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid white;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  }

.leaflet-interactive {
    pointer-events: auto; /* assicura interazione */
  }
  
  .leaflet-overlay-pane svg path {
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .leaflet-polyline-decorator path {
    stroke: orange;
    stroke-width: 2;
    fill: none;
  }

  .pulse-marker {
    background: rgba(0, 123, 255, 0.7);
    border: 4px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    position: relative;
  }
  
/* Marker del device */
/* Marker utente con effetto pulsante */
.pulse-marker {
    width: 20px;
    height: 20px;
    background: rgba(0, 123, 255, 0.7);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 123, 255, 0.4);
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    70% {
      transform: scale(1.5);
      box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
  }
  /* Marker del device - Fine */
/* Marker utente con effetto pulsante - Fine */

/* Migliora i pulsanti bottomright su mobile */

  .leaflet-control-follow,
  .leaflet-control-poi {
    max-width: 90vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    padding: 8px 14px;
    background-color: white;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  /*
  @media (max-width: 600px) {
    .leaflet-control-follow span,
    .leaflet-control-poi span {
      display: none;
    }
  
    .leaflet-control-follow,
    .leaflet-control-poi {
      font-size: 18px;
      padding: 10px;
    }
  }
*/

/* 👇 CSS per nascondere la bussola |   INIZIO  */
  .leaflet-control-rotate,
  .leaflet-control-rotate .leaflet-compass {
    display: none !important;
    visibility: hidden !important;
  }
/* CSS per nascondere la bussola |   FINE  */

  .leaflet-control-follow,
  .leaflet-control-poi {
    background-color: white;
    padding: 8px 10px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 5px;
    text-align: center;
  }

.circle-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
  }

  .custom-colored-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);*/
    border: 2px solid white;
    background-color: gray; /* fallback di default */
  }

  .toast-body {
    width: 90%;

    padding: 0.75rem 1rem;
  }
  
  #toastDetailsBtn {
    display: block !important;
    margin-top: 10px;
  }

  .leaflet-popup-content {
    max-width: 200px !important;
    font-size: 14px;
    line-height: 1.4;
  }

  .leaflet-popup-content-wrapper {
    border-radius: 10px;
    padding: 8px;
  }

  .leaflet-popup-content .btn {
    width: 100%;
    padding: 4px 6px;
    font-size: 13px;
  }

  .leaflet-control-rotate {
    display: none !important;
  }

  .ios-style-modal {
    border-radius: 1.25rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.75); /* traslucido */
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
    transition: all 0.3s ease-in-out;
  }
  .ios-style-modal .modal-header,
  .ios-style-modal .modal-footer {
    background: transparent;
  }
  .ios-style-modal .modal-body {
    font-size: 1rem;
    color: #212529;
    line-height: 1.6;
  }
  

  .ios-style-modal {
    border-radius: 1.25rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
  }
  .ios-style-modal .modal-header,
  .ios-style-modal .modal-footer {
    background: transparent;
  }

  /* Indicatori scuri */
.carousel-indicators button {
    background-color: #333 !important;
    opacity: 1;
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  
  .carousel-indicators .active {
    background-color: #000 !important;
  }
  
  /* Frecce scure */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M8.354 1.146a.5.5 0 0 0-.708.708L12.293 6H1.5a.5.5 0 0 0 0 1h10.793l-4.647 4.146a.5.5 0 0 0 .708.708l5.5-5a.5.5 0 0 0 0-.708l-5.5-5z'/%3E%3C/svg%3E");
  }
  
  .active-poi {
    background-color: #ffe599;
    border-left: 5px solid #ff9900;
    font-weight: bold;
    padding-left: 10px;
  }
/* ================================ */
/* NEW UI */
/* Icone Home page*/
.indexIcons{
    color: #c48efd !important;
}

.mainTitle{
    color: #ef6d3f !important;
}