/* styles.css */

body {
    font-size: 16px; /* Melhor legibilidade em mobile */
    overflow-x: hidden;
}

.row.mt-4.justify-content-center {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
    margin: auto;
}

h2 {
    letter-spacing: -0.05rem;
    color: #3b3b3b;
    padding: 20px 0 0 0;
    font-size: 22px;
}

h3 {
    font-size: 14px;
    font-weight: normal;
    padding: 5px 0 0 0;
}

.logo {
    width: 200px;
padding: 10px 0 0 0;
}

h2::first-letter {font-size: 1.8rem;}

#botoes {
    padding-top:30px;
}

.table {
    vertical-align: middle;
    width:600px;
    margin:20px auto 8px;
}

.container {
    padding: 20px 0;
}

.topbar {
    background-color: #6800b7;
    height: 50px;
    color: #FFFFFF;
    font-size: 28px;
    padding: 0px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#ufSelect option[disabled], #cidadeSelect option[disabled] {
    display: none;
}

.form-select:disabled {
    background-color: #e7e7e7;
    color: #b1b1b1;
    border-color: #e7e7e7;
}


.bi-geo-alt-fill {
   color: #7a00bc;
    font-size: 18px;
}

/* Estilos para títulos */
#conteudo h2 {
    padding: 30px 0;
    text-transform: uppercase;
    font-weight: bold;
    color: #6800b7;
    font-size: 22px;
}

#conteudo h5 {
    background-color: #f5e8ff;
    padding: 5px 0;
    width: 600px;
    margin: 8px auto;
}

#selecaoCategoria h3 {
    padding: 15px 0;
}

.card-recomendar {
    background-color: #e9dcff;
    border-radius: 10px;
    width: 90%;
    margin: 15px auto 0;
    padding: 10px 0;
}

.nota {
    font-weight: 500;
    color: #4d4d4d;
}
.totalvotos {
    font-size: 14px;
}

.card-recomendar span{
  font-size:20px;
}

.card-lista {
    width: 90%;
    margin: auto;
    max-width: 400px;
}

.card-lista tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Separa o conteúdo entre esquerda e direita */
    align-items: center; /* Centraliza verticalmente */
    padding: 10px;
    background-color: #f7f2f9;
    margin: 10px 0 15px 0;
    border-radius: 8px;
    box-shadow: 4px 4px 6px 0px #ccc;
    width: 100%; /* Garante que ocupe toda a largura */
}

.contact-icons {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-right: 10px;
}

.votos-total{
    display: inline;
    font-size: 14px;
        vertical-align: middle;
}

.table td:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinha o conteúdo da esquerda (nome, estrelas, votos) à esquerda */
    width: auto; /* Remove largura fixa para se adaptar */
    padding-left: 14px;
    flex-grow: 1; /* Permite que ocupe o espaço disponível */
}

.table td:last-child {
    text-align: center;
    width: 22%;
    padding-right: 10px;
}

.table td:first-child a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Cores de fundo para o texto da coluna Classificação */
span.recomendado {
    background-color: #64e77a;
    padding: 4px 6px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #003e0a;
}

span.em-avaliacao {
    background-color: #cccccc;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
}

span.nao-indicado {
    background-color: #ffaab2;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #770000;
}

/* Cores para os números de recomendações */
span.positivas {
    font-weight: bold;
    color: #0ea727; /* verde */
    font-size: 1.1rem;
}

span.negativas {
    font-weight: bold;
    color: #e00000; /* Vermelho */
    font-size: 1.1rem;
}

.percent {
    font-size:0.75rem;
}

/* Estilo para Nome e WhatsApp na mesma célula */
.nome-prestador {
    display: block;
    font-weight: 500;
    font-size: 1.3rem;
    text-transform: capitalize;
    text-align: left;
    max-width: 196px;
}

.whatsapp-prestador {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.9rem;
    color: #2900b7;
    text-decoration: none;
    line-height: 1.5rem;
    padding-right: 10px;
}

.wp-icon i {
    color: #00af42; /* Cor verde padrão do WhatsApp */
    font-size: 1.5rem; /* Ajuste o tamanho, se necessário */
}

.wp-icon img {
    width: 26px; /* Ajuste conforme o tamanho da imagem */
    height: 26px;
    vertical-align: middle;
}
.verified-icon {
    vertical-align: text-bottom;
}
.verified-icon img {
    width: 15px; /* Reduzido para ficar menor */
    height: 15px;
    margin-left: 2px;
}

.instagram-icon img {
    width: 26px; /* Ajuste conforme o tamanho da imagem */
    height: 26px;
    vertical-align: middle;
    margin-left: 10px;
}

.instagram-icon {
    color: #E1306C; /* Cor padrão do Instagram */
    font-size: 1.5rem;
    margin-right: 24px;
    vertical-align: middle;
}

.form-select {
    font-size: 1.5rem !important;
    border: solid 4px #cdd5ff;
        width: 100% !important;
        max-width: 100%;
        margin: 25px 0;
}

span.guia {
    font-family: 'Jost', sans-serif;
    font-size: 2.35rem;
    font-weight: 600;
    letter-spacing: -0.1rem;
    font-style: italic;
    color:#1d1d1d
}

span.serv {
    font-family: 'Jost', sans-serif;
    font-size: 2.6rem;
    font-style: italic;
    letter-spacing: -0.1rem;
    color: #6800b7;
    font-weight: 700;
}

span.reg {
    font-family: 'verdana', sans-serif;
    font-size: 0.7rem;
    vertical-align: top;
    color: #1d1d1d;
    line-height: 20px;
}

span.cidade {
    font-size: 1.1rem;
    font-weight: 400;
    color: #6800b7;
    font-style: italic;
}

.acesso {
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.05rem;
    color: #6800b7;
}

#chaveInput {
    border: solid 3px #cdd5ff;
    font-size: 1.5rem;
    text-align:center;
}

#dddInput {
    border: solid 3px #cdd5ff;
    font-size: 1.5rem;
    text-align:center;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    color: #9a9a9a;
    display: none;
    font-size: .85rem;
}

.profiler {
    color: #6800b7;
}

p.lead.mt-3 {
    margin: 0 !important;
    font-size: 1rem;
    padding-bottom: 30px;
}

#selecaoCategoria.mt-4 {
    margin-top: -30px !important;
}

.col-md-4 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-purple {
    background-color: #6800b7; /* Cor de fundo */
    border-color: #6800b7; /* Cor da borda */
    color: #fff;
    padding: 12px;
}

.btn-primary {
    padding: 12px;
}

.btn-purple:hover, .btn-purple:focus, .btn-purple:active  {
    background-color: #7a00d0!important; /* Cor de fundo ao passar o mouse */
    border-color: #7a00d0!important; /* Cor da borda ao passar o mouse */
    color: #fff!important;
}

.btn.btn-purple:disabled, 
.btn.btn-purple[disabled] {
    background-color: #7a00d0!important; /* Cor de fundo ao passar o mouse */
    border-color: #7a00d0!important; /* Cor da borda ao passar o mouse */
    color: #fff!important;
}

/* Botão "Recomendo" */
.btn-recomendo {
    background-color: #0ea727;
    border-color: #0ea727;
    padding: 10px 33px;
}

.btn-recomendo:hover, .btn-recomendo:focus, .btn-recomendo:active, .btn-recomendo:visited {
    background-color: #28c842;
    border-color: #28c842;
}

/* Botão "Não Recomendo" */
.btn-nao-recomendo {
    background-color: #d52020;
    border-color: #d52020;
    padding: 10px 13px;
}

.btn-nao-recomendo:hover, .btn-nao-recomendo:focus, .btn-nao-recomendo:active, .btn-nao-recomendo:visited {
    background-color: #ec3c3c;
    border-color: #ec3c3c;
}

/* Botão "Enviar" */
.btn-enviar {
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 45px;
}

/* Estilo para os campos do formulário */
.form-label {
    font-size: 18px !important;
    margin-top: 18px !important;
    margin-bottom: .2rem!important;
}

.form-label-ajuda {
    font-size: 18px !important;
    margin-top: 15px !important;
}

.mb-3.form-field {
    width: 50%; /* Diminuir largura */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0!important;
}

.form-field .form-control {
    height: 50px; /* Aumentar altura */
    font-size: 1.25rem; /* Aumentar tamanho da fonte */
    width:400px;
    margin:auto;
    background-color: #f4f4f4;
    border: solid 2px #c1cafa;
}

input#whatsapp {
    margin-bottom: 0px;
}

/* Estilo para os botões de recomendação no formulário */
.recomendacao-buttons {
    text-align: center;
}

.recomendacao-btn {
    font-size: 1.2rem;
    margin: 0 30px;
    font-weight: bold; /* Texto em negrito */
    color: #fff;
}

.recomendacao-btn:hover{
    color:#fff;
}

/* Sobrescrever cores padrão do Bootstrap para manter azul e vermelho */
.recomendacao-btn.btn-success, .recomendacao-btn.btn-success:hover, .recomendacao-btn.btn-success:active, .recomendacao-btn.btn-success:focus {
    background-color: #16af02;
    border-color: #159205;
    font-size: 18px;
}

.recomendacao-btn.btn-danger, .recomendacao-btn.btn-danger:hover, .recomendacao-btn.btn-danger:active, .recomendacao-btn.btn-danger:focus {
    background-color: #dc3545;
    border-color: #cd0014;
    font-size: 18px;
}

/* Botão fixo no topo "Reportar Erro" */
.btn-reportar {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    border: 0;
}

.bi-arrow-left {
    vertical-align: middle;
}

.bi.bi-plus-circle-fill {
    color: #6800b7;
    padding: 0 8px;
}

.bi-share-fill {
        color: #6800b7;
    padding: 0 8px;

}

/* Modal de Reportar Erro */
.modal-reportar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 500px;
    height: 100%;
    background-color: #ececec;
    z-index: 1050;
    transition: right 0.3s ease-in-out;
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
}

.modal-reportar.show {
    right: 0;
}

.modal-open {
    overflow: hidden;
}

.modal-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 40px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close-modal-ajuda {
    position: absolute;
    top: 10px;
    right: 40px;
    font-size: 24px;
    cursor: pointer;
}

.titulo-modal {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #6800b7;
    font-weight: 600;
}

textarea#mensagemReporte {
    height: 150px;
    margin-bottom: 20px;
}

#formReportarErro .mb-3.form-field {
    width: 100%;
}

.select-contact-btn, .select-contact-btn:hover, .select-contact-btn:active, .select-contact-btn:focus {
    background-color: #6800b7!important;
    color: white!important;
    font-weight: bold;
    width: auto;
    padding: 8px 16px;
    font-size: 16px;
    margin: 0 25px;
}

#tituloAcao {
    padding: 0 0 20px 0;
    font-size: 1.5rem;
    font-weight: normal;
    color: #6800b7;
}

/* Modal PWA */
.modal-pwa {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    text-align: center;
}

.modal-pwa-content {
    text-align: center;
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-pwa {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    display:none;
}

.modal-pwa-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.modal-pwa-content .btn-primary {
    background-color: #6800b7;
    border-color: #6800b7;
    width: 100%;
        font-size: 20px;
}

.modal-pwa-content .btn-primary:hover {
    background-color: #4b0082;
    border-color: #4b0082;
}

/* Botão flutuante Salvar Atalho */
.btn-salvar-atalho {
    position: fixed;
    bottom: 20px;
    right: 80px; /* Para não sobrepor o btnReportarErro */
    z-index: 1000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  /* Modal Salvar Atalho */
.modal-salvar-atalho {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo escurecido */
    z-index: 2000;
  }
  
  .modal-salvar-atalho.show {
    display: block;
  }
  
  .modal-content-salvar-atalho {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .close-salvar-atalho {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
  }
  
  .close-salvar-atalho:hover {
    color: #000;
  }
  
  .modal-content-salvar-atalho h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
  }
  
  .modal-content-salvar-atalho p {
    margin-bottom: 20px;
    font-size: 1.1rem;
  }

  #form-local {
    width: 330px !important;
    margin: 20px 0;
  }

  th {
    font-size: 0.9rem !important;
    font-weight: 500;
    color: #060606 !important;
  }

  .pedir-chave {
  padding: 15px 0 0;
  font-size: 1rem!important;
}

#selectContactBtn {
    display: block;
    margin: 0 auto; /* Centraliza horizontalmente */
    width: fit-content; /* Ajusta a largura ao conteúdo */
}

.w-45 {
    width: 45%!important;
}

.modal-pwa-content .d-flex {
    gap: 10px; /* Espaço entre os botões */
}

.ultimo-cadastro.mt-4 {
    margin-top: 60px !important;
}

.confirma-recomendar {
    font-weight: bold;
    color: #0ea727;
    font-size: 1.3rem;
}

.confirma-nao-recomendar {
    font-weight: bold;
    color:#d52020;
    font-size: 1.3rem;
}

#formReportarErro .form-control {
    width: 100%;
}

label.avaliacao {
    padding: 0 0 10px 0;
    font-size: 20px;
    color: #6800b7;
    font-weight: bold;
}

.rating-stars {
    font-size: 3rem;
    display: flex;
    justify-content: center;
    line-height: 0.8;
    padding-top:15px;
}

i.bi.bi-person-fill {
    color: #6800b7;
    padding-left: 15px;
}

.estrelas-nota {
    font-size: 1.3rem; /* Tamanho base para todas as estrelas */
}

.estrela-cheia {
    color: #fbbc04; /* Cor amarela para estrelas cheias (★) */
}

.estrela-vazia {
    color: #ccc; /* Cor cinza para estrelas inativas (★) */
}
.modal-numero-estrelas {
    color: #373737;
    font-size: 1.5rem;
    font-weight: bold;
}
.modal-estrela{
    color: #ffcc00;
    font-size: 1.8rem;
}
.ajuda-emoji {
    font-size: 1.3rem;
    vertical-align: top;
}

.alerta-emoji {
    font-size: 1.8rem;
    font-style: normal;
}

.simple-select-wrapper {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: 0 auto 15px;
}

.simple-select-display {
    font-size: 1.5rem;
    border: solid 4px #dacdff;
    padding: 0.375rem 0.75rem;
    background-color: #e9dcff;
    cursor: pointer;
    border-radius: 0.25rem;
    text-align: left;
    color: #1b1b1b;
}

.simple-select-display::after {
    content: "▼";
    float: right;
    color: #863bbf;
    padding: 0 10px;
}

.simple-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    margin-top: 3px;
}

.simple-select-options div {
    padding: 8px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    text-align: left;
    border-bottom: solid 1px #3c0069;
    background-color: #6800b7;
    color: #fff;
}

.simple-select-options div:hover {
    background-color: #4f008a;
}

input::placeholder {
    color:#c9c9c9!important;
}

.rating-legend{
    color: #6800b7;
    font-size: 1.3rem;
    font-weight: 500;
}

.info-nome {
    background-color: #ffe8a2;
    margin: 15px auto;
    border-radius: 10px;
    padding: 6px;
    width:600px
}

#chaveError {
    padding: 15px;
}

.whatsapp-sindico {
    display: block;
    font-size: 1rem;
    color: #2900b7;
    text-decoration: none;
    line-height: 1.5rem;
    padding-top: 8px;
}

/* Ajustes para mobile */
@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 10px 0;
    }

    .table {
        font-size: 16px;
        width: 100%;
    }

    .table th, .table td {
        padding: 8px 3px;
   }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    #botoes {
        padding-top:30px;
    }

    .btn {
        margin-bottom: 10px;
    }

    .form-select {
        width: 100% !important;
        max-width: 100%;
        margin: 25px 0;
        text-align: left;
    }

    .col-md-4 {
        width: 90% !important;
    }

    .mb-3.form-field {
        width: 90%;
    }

    .form-field .form-control {
        height: 45px;
        font-size: 1.1rem;
        max-width: 100%;
    }

    .recomendacao-btn {
        font-size: 1.1rem;
        margin: 5px 15px;
    }

    .modal-reportar {
        width: 90%;
    }
  
.modal-pwa-content {
    top: 8%;
    }

#conteudo h5 {
    width: 100%;
}

.info-nome {
    width:100%;
    border-radius:0px;
}
}


/* Ajustar largura das colunas em desktop */
@media (min-width: 577px) {
    .table thead th:first-child {
        width: 35%;
    }

    .table thead th:nth-child(2) {
        width: 25%;
    }

    .table thead th:nth-child(3) {
        width: 40%;
    }
}