﻿body {
    height: 100%;
    margin: 0;
    padding: 0;
}


#bottomSheetTitle {
    text-align:center;
}
.tituldetalhes {
    max-width: 80vw; /* Limita a largura máxima */
    word-wrap: break-word; /* Garante que palavras grandes sejam quebradas, se necessário */
    text-align: center; /* Centraliza o texto (opcional) */
    margin: 0 auto;
}

.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    /*max-height: 70vh;*/ /* Limita a altura em 75% da altura da viewport */
    background-color: white;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    transition: bottom 0.4s ease-in-out;
    z-index: 5000; /* Ajuste o valor conforme necessário */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow-y: auto;
}

.bottom-sheet-content {
    padding: 20px;    
}

.drag-handle-container {
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    z-index: 4000;
    padding-bottom: 10px;
    padding-top: 10px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
}

.drag-handle {
    width: 50px;
    height: 5px;
    background-color: #ccc;
    border-radius: 5px;
    margin: 10px auto;
    cursor: move;
    z-index: 100;
}

.close-btn-detalhes {
    position: absolute;
    right: 7px;
    top: 4px;
    background-color: #aaa3a3;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.4s ease;
}

    .close-btn-detalhes:hover {
        background-color: #aaa3a3;
    }

    .close-btn-detalhes i {
        color: white;
        font-size: 15px;        
    }

.btn-detalhes-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px;
}

.btn-detalhes {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.bottom-sheet.open {
    bottom: 0;
}



/*.drag-handle {
    width: 50px;
    height: 5px;
    background-color: #ccc;
    border-radius: 5px;
    margin: 10px auto;
    

    position: sticky;
    top: 0;
    cursor: move;
    z-index: 100;*/ /* Garantir que fique acima do conteúdo */
/*}

.drag-handle-container {
    padding-bottom: 4px;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;*/
    /*padding: 30px 0*//*;*/ /* Ajuste o espaçamento conforme necessário */
    /*z-index: 4000
}

.close-btn-detalhes {
    top: 4px;
    background-color: #aaa3a3;*/ /* Cor de fundo verde */
    /*border: none;
    border-radius: 50%;*/ /* Faz o botão ser circular */
    /*width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/ /* Adiciona uma leve sombra */
    /*transition: background-color 0.4s ease;*/ /* Animação suave para hover */
    /*position: absolute;
    right: 20px;*/ /* Move o botão 20px para a direita */
/*}
    .close-btn-detalhes i {
        color: white;
        font-size: 12px;*/ /* Tamanho do ícone */
        /*padding-top: 1px;
    }

    .close-btn-detalhes:hover {
        background-color: #1d9e4a;*/ /* Cor verde mais escura no hover */
    /*}

.bottom-sheet.open {
    bottom: 0;
}*/


/*.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top:5em;
}*/

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Altura total da janela */
    flex-direction: column;
}

.content {
    text-align: center;
}

.searchinfo {
    margin-bottom: 10px; /* Espaço entre o texto e o GIF */
    font-size: 2rem;
    font-weight: bold;
}

.loader {
    width: 50px; /* Ajuste o tamanho do GIF, se necessário */
    height: auto;
}


.loader {
    width: 230px; /* Ajuste o tamanho conforme necessário */
    height: 230px;
}

.tag-pergunta {
    font-size: 1.17em; /* Tamanho de fonte padrão de h3 */
    font-weight: bold; /* Negrito */
    margin: 1em 0; /* Margens superior e inferior */
    color: inherit; /* Herdar cor do elemento pai */
}


.play-btn {
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 0px;
    left: 20px;
    visibility: hidden;
}

.pause-btn {
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 0px;
    left: 20px;
    visibility:hidden;
}


.gruoupsinfos {
    border: 2px solid gray; /* Borda cinza */
    padding: 10px; /* Espaçamento interno */
    border-radius: 5px; /* Arredondar os cantos */
    width: 100%; /* Largura total do elemento pai */
    box-sizing: border-box; /* Inclui a borda na largura */
    margin-bottom: 1em;
}

.centralizar {
    text-align: center; /* Centraliza o texto horizontalmente */
   /* margin: 0 auto; /* Centraliza a margem da div, se necessário */
    font-size: 1.17em;
    font-weight: bold;
    margin: 0.5em 0;
}

#introducao-detalhe {
    position: relative; /* Para permitir o posicionamento absoluto do botão */    
}

.play-button {
    position: absolute;
    top: -20px;
    left: -10px;
    width: 50px;
    height: 50px;
    background-color: #3a0ca3; /* Cor roxa */
    border: none;
    border-radius: 50%; /* Faz o botão ser circular */
    display: flex;
    justify-content: center; /* Alinha o ícone horizontalmente ao centro */
    align-items: center; /* Alinha o ícone verticalmente ao centro */
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adiciona uma leve sombra */    
    visibility:hidden;
    z-index:2001;
}

    .play-button i {
        font-size: 25px; /* Define o tamanho do ícone */
        color: white; /* Define a cor branca */
    }

   

.play-icon {
    width: 0;
    height: 0;
    border-left: 20px solid white; /* O triângulo "play" */
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 0.35em;
}

.pause-button {
    position: absolute;
    top: -20px;
    left: -10px;
    width: 50px;
    height: 50px;
    background-color: #3a0ca3; /* Cor roxa */
    border: none;
    border-radius: 50%; /* Faz o botão ser circular */
    display: flex;
    justify-content: center; /* Alinha o ícone horizontalmente ao centro */
    align-items: center; /* Alinha o ícone verticalmente ao centro */
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adiciona uma leve sombra */
    visibility: hidden;
    z-index: 2001;
    gap: 4px; /* Espaço uniforme entre as barras */    
}
  .pause-button i {
      font-size: 25px; /* Define o tamanho do ícone */
      color: white; /* Define a cor branca */
  }



.visible {
    visibility: visible; 
}

.hidden {
    visibility: hidden;
}
.paddingbottom1em{
    padding-bottom:1em;
}


.disclaimer-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    /*height: 100vh;*/ /* Faz a div ocupar a altura total da tela */
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;    
}

.maps-btn {
    top: 110px;
    background-color: #007BFF;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adiciona uma leve sombra */
    transition: background-color 0.4s ease; /* Animação suave para hover */
    position: absolute;
    left: 20px;
}

    .maps-btn i {
        color: white;
        font-size: 23px; /* Tamanho do ícone */
    }

    .maps-btn:hover {
        background-color: #0056b3; 
    }


.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}



/*.labelroute {
    position: fixed;
    margin-top: 5em;*/ /* Espaço abaixo do botão */
    /*font-size: 14px;
    color: #333;
    font-weight: 500;
    text-align: center;
    background-color: #f8f9fa;
    padding: 2px 8px;
    border-radius: 8px;*/ /* Cantos arredondados */
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}*/

.labelroute {
    position: absolute;
    top: 100%; /* Sempre abaixo do botão */
    left: 50%;
    transform: translateX(-50%); /* Centraliza */
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    margin-top: 5px;
    z-index: 1000; /* Para garantir que fique sobre o BottomSheet */
    background-color: #f8f9fa;
    color: #333;
    font-weight: 500;
}


@keyframes fadeBlink {
    0% {
        opacity: 1;
    }
    /* Totalmente visível */
    50% {
        opacity: 0.2;
    }
    /* Quase transparente */
    100% {
        opacity: 1;
    }
    /* De volta ao normal */
}

#lblinfo {
    animation: fadeBlink 1.5s infinite; /* Executa continuamente */
}

.loader {
    animation: fadeBlink 1.5s infinite; /* Efeito piscando */
}

/* Botão fixo no canto inferior direito */
/*.btn-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;*/ /* Garante que fique acima de tudo */
    /*display: none;
}*/

.btn-chat {
    visibility:hidden;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background-color: #3a0ca3;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    z-index: 8888;
    display: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .btn-chat:hover {
        transform: scale(1.08);
        background-color: #4c2cb3;
    }

/*novo aqui*/


.btn-detalhes-container {
    position: sticky;
    top: 0; /* fica "grudada" no topo quando rolar */
    z-index: 9999;
    background-color: white; /* fundo sólido */
    display: flex;
    gap: 8px;
    padding: 10px;    
}


.btn-detalhes {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

    .btn-detalhes:hover {
        background-color: #f1f1f1;
    }


