@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "fredoka", sans-serif;
}

body {
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  flex: 1;
}


.container-torneios {
    display: grid;
    align-items: center;
    padding: 10px; 
    width: 100%;
    z-index: 10;
}

.busca-torneios {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
}

.formulario-torneios {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    width: 100%;
    margin: 20px 0;
}


h1 {
    color: #000081;    
    margin-bottom: 10px;
    font-size: 36px;
    text-align: center;
    width: 100%; 
}

.buscador-torneios {
    background-color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 350px;
    height: auto;    
    padding: 30px 20px 20px 20px; 
    border: 1px solid #00acc1;
    box-shadow: 6px 6px 25px -14px #000081;

}

.dados-torneios {
    width: 100%;
    display: grid;
    grid-template-rows: 30px 18px;
    margin-bottom: 10px;
    position: relative;
}

.buscador-torneios input {
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #3737fa;
    font-size: 16px;
    height: 30px;
    display: block;
    width: 100%;
    padding: 10px 0; 
    z-index: 2;
}

.buscador-torneios input:focus {
    box-shadow: 0px 4px 10px -8px #000081;
    outline: none;
}
 
.label-torneios {
    position: absolute;
    top: 4px;
    left: 0;
    color: gray;
    transition: ease-in-out 0.2s;
    font-size: 18px;
    padding-left: 5px;
}


.buscador-torneios input:focus+.label-torneios,
.buscador-torneios input:not(:placeholder-shown)+.label-torneios {
    top: -20px;
    font-size: 14px;
    color: #000081;
    color: #000081;
    padding-left: 0px;
}

.buscador-torneios input::placeholder {
    color: transparent;
}


.botao-acao-formulario-torneios {
    padding: 6px 10px;
    cursor: pointer;
    background-color: #00acc1;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    font-weight: 500; 
}

.botao-acao-formulario-torneios:hover {
    background-color: #008799; 
}

.aviso-torneios {
    margin-top: 4px;
    width: 100%;
    display: none;
    font-size: 14px;
    color: red;
    font-weight: 500;
    text-align: center;
}

.sugestoes-torneios,
.sugestoes-receber {
    background-color: white;
    display: none;
    min-height: 30px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: absolute;
    margin-top: 30px;
    z-index: 2;
    width: 100%;
}

.sugestoes-torneios div,
.sugestoes-receber div {
    padding: 8px;
    cursor: pointer;
    color: #000081;
}

.sugestoes-torneios div:hover,
.sugestoes-receber div:hover {
    background-color: #1a17c0;
    color: white;
}


.resultados-torneios{
    width: 100%;
    height: auto;  
    display: none; 
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; 
    position: relative;
}

#resultados{
  width: 100%;
  height: auto;  
  display: flex; 
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px; 
  position: relative;
}

.torneio {
    background-color: white;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px 5px;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: 1px solid #00acc1;
    margin: 10px 0;
    max-width: 1100px;
    height: auto;
  }
  
  .dados-torneio { 
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  
  .imagem-principal-torneio {
    width: 350px;
    height: 350px; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border: 1px solid #00acc1;
  }
  
  .imagem-principal-torneio img {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    object-fit: contain;
  }
  
  .informacoes-torneio {
    max-width: 750px;
    height: 100%;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  
  .localizacao-torneio p,
  .vagas-torneio p,
  .data-torneio p,
  .preco-inscricao-torneio p,
  .organizador-torneio p,
  .data-limite p,
  .modalidade-torneio p {
    font-weight: 500;
    color: #000081;
    padding: 3px 0;
  }
  
  .localizacao-torneio p span,
  .vagas-torneio p span,
  .data-torneio p span,
  .preco-inscricao-torneio p span,
  .organizador-torneio p span, 
  .data-limite p span,
  .modalidade-torneio p span {
    font-weight: normal;
    color: black;
  }

  .nome-torneio {
    font-size: 24px;
    font-weight: 600;
    text-align: center; 
    color: #000081; 
  }
 

  .botao-acao{
    padding: 6px 10px;
    cursor: pointer;
    background-color: rgb(0, 160, 0);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    height: 38px;
    width: 100%;
  }

  .botao-acao:hover{
    background-color: green;
  }
 
  

.popup-inscricao-container {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.popup-inscricao {
  background: white;
  border: 1px solid #00acc1;
  padding: 20px;
  width: 40%;
  border-radius: 8px;
  text-align: center;
  position: relative;
}

 .titulo-formulario-torneio{  
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  color: #000081; 
 }

 .info-torneio{ 
  width: 100%;
  text-align: center;
  color: #000081;
}




.organizador{
  color: #000081;
  font-size: 14px;
}

.subtitulo-inscricao{
  width: 100%;
  text-align: center;
  font-size: 22px;
  color: #00acc1;
  font-weight: 500;
  margin: 10px 0;
}

 
table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  table-layout: fixed;  
}

th,
td {
  border: 1px solid gray;
  text-align: center;  
  width: 20%;  
  word-wrap: break-word;  
  min-width: 100px;
}

td {
  font-size: 16px;
  padding: 3px;
}

th {
  background-color: #000081;
  font-weight: 500;
  color: white;
  font-size: 18px;
  padding: 3px;
}

tr:nth-child(even) {
  background-color: lightgray;
}


.campo-dados-time{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.campo-dados-time input {
  width: 100%;
  border: 1px solid #1a17c0;
  padding: 5px;
  font-size: 16px;
}

.campo-dados-time input:focus {
  box-shadow: 0px 4px 10px -8px #000081;
  outline: none;
}

 .campo-adicionar-participante {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.campo-adicionar-participante div{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
}

.campo-adicionar-participante input,
.campo-adicionar-participante select {
  width: 100%;
  border: 1px solid #1a17c0;
  padding: 5px;
  font-size: 16px;
}

.campo-adicionar-participante input:focus,
.campo-adicionar-participante select:focus {
  box-shadow: 0px 4px 10px -8px #000081;
  outline: none;
}


.btn-adicionar-participante {
 border: 1px solid #00acc1;
  padding: 5px 18px; 
  background-color: #00acc1;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  text-align: center; 
  font-size: 28px;
  transition: background-color 0.2s, border 0.2s;
}

.btn-adicionar-participante:hover {
  background-color: #008799;
}

.btn-excluir-participante {
  background-color: red;
  padding: 5px 10px;
  border: none;
  color: white;
  cursor: pointer;
  width: 100%;
  font-weight: 500;
}

.btn-excluir-participante:hover {
  background-color: rgb(161, 0, 0);
}



 .botoes-fomrulario-inscricao{
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
 }

 .botoes-formulario-inscricao{
  width: 100%;
  display: flex;
  justify-content: center;
 }

 .btn-confirmar-inscricao,
 .fechar-popup-inscricao{
  padding: 6px 10px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  height: 38px; 
 }

 .btn-confirmar-inscricao{
  background-color: #00acc1;
 }

 .fechar-popup-inscricao{
  background-color: red;
 }

 .btn-confirmar-inscricao:hover{
  background-color: #008799;
 }

 .fechar-popup-inscricao:hover{
  background-color: rgb(161, 0, 0);
 }

 .nao-encontrado {
  color: red;
  font-size: 24px;
  font-weight: 500;
  margin-top: 20px;
  z-index: 12;
}

.aviso-participante,
.aviso-dados-time {
  display: none;
  font-size: 15px;
  color: red;
  height: 18px;
  font-weight: 500;
  text-align: center;
}

#botao-ver-mais {
  padding: 5px 35px;
  border: none;
  background-color: #00acc1;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 22px;
  transition: background-color 0.3s; 
  text-align: center;
  display: block;
  justify-self: center;
}

#botao-ver-mais:hover {
  background-color: #008799;
}

/* Torneio individual ===============================================================================================*/

.navbar {
  margin: 0;
  width: 100%;
  height: auto;
  max-height: 70px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: radial-gradient(at 50% 50%, #000081, #030434);
  border-bottom: 3px solid #00acc1;
  box-shadow: 0px -3px 10px 2px #000081;
  padding: 4px 8px;
  position: fixed;
  z-index: 90;
}


.icones {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 25px;
}

.opcoes-navbar {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: white;
  text-align: center;
  gap: 8px;
  text-decoration: none;
}

.opcoes-navbar div {
  width: 100%;
  display: flex;
  justify-content: center;
}

.icon {
  width: 22px;
  height: 22px;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo img {
  width: 200px;
  height: auto;
}


.sidebar {
  position: fixed;
  left: -400px;
  width: 290px;
  height: 100%;
  background-color: white;
  border-right: 1px solid #000081;
  transition: 0.5s;
  overflow-x: hidden;
  z-index: 100;
  padding: 10px;
  top: 0;
  display: flex;
  flex-direction: column;
}

.sidebar::-webkit-scrollbar {
  display: block;
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background-color: transparent;

}

.sidebar::-webkit-scrollbar-button {
  background-color: #f0f0f0;
  display: none;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #1a17c0;
  border-radius: 10px;
}

.lista-sidebar {
  flex: 1;
}

#botao-fechar {
  width: 30px;
  background-color: red;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid white;
  cursor: pointer;
  position: absolute;
  left: -300px;
  transition: 0.7s;
  top: 12px;
  z-index: 10;
  position: fixed;
}

#fundo-preto {
  background-color: #00000071;
  width: 100%;
  height: 100%;
  z-index: 99;
  top: 0;
  display: none;
  position: fixed;
}



.icon-sidebar {
  width: 30px;
  height: 30px;
  cursor: pointer;
  margin-left: 10px;
  fill: #000081;
  stroke: #000081;
}


.items-sidebar {
  font-size: 18px;
  width: 0;
  margin-top: 5px;
}

.items-sidebar a {
  display: grid;
  grid-template-columns: 50px 250px;
  align-items: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  color: #000081;
}

.items-sidebar a p {
  padding-top: 15px;
  padding-bottom: 15px;
}


.items-sidebar:hover,
.items-sidebar.active {
  background-color: #1a17c0;
  border-radius: 8px;
  width: 100%;
}

.items-sidebar:hover .icon-sidebar,
.items-sidebar.active .icon-sidebar {
  fill: #ffffff;
  stroke: #ffffff;
}

.items-sidebar a:hover,
.items-sidebar.active a {
  color: white;
}

.container-torneio {
  display: flex;
  flex-direction: column;  
  width: 100%;
  height: 100%;
  padding: 20px 10px;
  padding-top: 80px;
  flex: 1;
}


.titulo-torneio-sidebar{
  display: flex; 
  align-items: center;
  justify-content: center;
  gap: 5px; 
  padding: 15px 5px;
  padding-top: 3px;
  border-bottom: 1px solid gray;
  margin-bottom: 5px;
}

.titulo-torneio-sidebar p{
  color: #000081;
  font-weight: 500;
  font-size: 20px;
}


.container-dados-torneio,
.container-inscricoes,
.container-equipes
.container-formato,
.container-jogos,
.container-classificacao,
.container-recordacoes{ 
  width: 100%;
  display: flex;
  flex-direction: column;
}

.titulo-campos-torneio-individual{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.titulo-campos-torneio-individual p{
  font-size: 22px;
  font-weight: 600;
  color: #000081;
  margin-bottom: 10px;
  text-align: center;
  border: 2px solid #00acc1;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  width: 70%;
}

.campos-dados-torneio-individual{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.imagem-principal-torneio-individual{
  border: 2px solid #00acc1;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.imagem-principal-torneio-individual img{
  width: 100%;
  max-width: 300px;
}

.dados-torneio-individual{
  width: 70%;
}

.informacoes-torneio-individual{ 
  width: 100%;
}

.organizador-torneio-individual,
.modalidade-torneio-individual,
.data-torneio-individual,
.horario-torneio-individual,
.localizacao-torneio-individual,
.nivel-torneio-individual,
.tipo-vaga-individual,
.vagas-torneio-individual,
.categoria-torneio-individual,
.restricao-idade-individual,
.preco-inscricao-torneio-individual,
.contatos-informacoes-individual,
.data-limite-individual,
.medalhas-trofeus-torneio-individual,
.informacoes-adicionais-individual,
.campo-premiacao-torneio,
.imagens-patrocinadores {
  border: 2px solid #00acc1;
  background-color: white;
  padding: 10px 5px;
  border-radius: 5px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.organizador-torneio-individual p,
.modalidade-torneio-individual p,
.data-torneio-individual p,
.horario-torneio-individual p,
.localizacao-torneio-individual p,
.nivel-torneio-individual p,
.tipo-vaga-individual p,
.vagas-torneio-individual p,
.categoria-torneio-individual p,
.restricao-idade-individual p,
.preco-inscricao-torneio-individual p,
.contatos-informacoes-individual p,
.data-limite-individual p {
  font-weight: 500;
  color: #000081;
}

.categoria-torneio-individual span{
  display: flex; 
  gap: 10px;
  justify-content: center;
  align-items: center; 
}

.medalhas-trofeus-torneio-individual,
.informacoes-adicionais-individual {
  justify-content: center !important;
  width: 100%;
  text-align: start; 
  color: #000081;
  font-weight: 500;
}

.lista-contatos-torneio-individual{
  display: flex;
  margin-left: 3px;
}

.icones-contatos-torneio-individual{
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-left: 3px; 
  margin-top: 4px;
}

.icones-contatos-torneio-individual img{
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.contato-torneio-individual{
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
}

.separador-individual{
  margin: 0 4px;
}


.titulo-premiacao-torneio,
.titulo-patrocinadores-torneio {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  color: #000081;
  padding-bottom: 20px;
  width: 100%;
}

.campo-premios-torneio {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.premio-torneio {
  text-align: center;
  min-width: 120px;
  max-width: 160px;
}

.premio-torneio p {
  font-weight: 600;
}

.premio-torneio span {
  font-size: 18px;
  color: #000081;
  font-weight: 500;
}

.imagens-patrocinadores { 
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 5px;
}

.imagens-patrocinadores img { 
  width: 120px;
  height: 120px;
  object-fit: contain;
  border: 1px solid #00acc1;
}

.campo-inscricoes{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; 
}

.formulario-inscricao-torneio{
  border: 2px solid #00acc1;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  width: 70%;
}



.opcoes-formato{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: column;
  gap: 10px;
}

.formato-individual {     
  border: 2px solid #00acc1;
  background-color: white;
  border-radius: 5px;
  width: 70%; 
  min-height: 60px;
  transition: 0.3s; 
  display: flex;
  flex-direction: column;
}
 
.formato-titulo{
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000081; 
  margin-top: 10px;
  padding: 5px;   
  font-weight: 500;
  height: 100%;
  font-size: 20px;
}

.formato-explicacao{
  display: none;
  flex-direction: column;
  justify-content: center;
  margin: 5px;
  background-color: rgb(238, 238, 238); 
  padding: 5px;
}

.formato-explicacao p{
  padding: 5px;
}

.formato-individual img{  
  border: 1px solid #00acc1;
  border-radius: 5px;
  margin: 15px 0;
  width: 100%;
}

#jogos-torneio{  
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;
  gap: 20px;
  width: 70%;
  height: 100%;
  align-self: center;
  justify-self: center;
}

.rodada-container{ 
  width: 100%;
  height: 100%;
  border: 2px solid #00acc1;
  background-color: white;
  padding: 10px;
  border-radius: 5px; 
}

.rodada-container h2{  
  color: #000081; 
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}


.jogos-da-rodada {
  width: 100%;
  height: 100%;
  display: flex; 
  flex-wrap: wrap;
  align-items: stretch; 
  justify-content: space-around; 
  gap: 10px; 
}

.placar-container {
  background: white;
  padding: 20px;
  border-radius:  10px 10px 0 0;
  border: 1px solid #00acc1;
  border-bottom: none;
  text-align: center; 
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.jogo-card {
  flex-grow: 1;
  min-width: 250px; 
  max-width: 350px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}

.status-jogo{  
  border-radius: 0 0 10px 10px;  
  background-color: #00acc1;
  color: white;
  padding: 5px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  max-width: 350px;
}

 
.status-pendente {
  background-color: #dd2b17;  
}


.status-andamento {
  background-color: #f39c12;
}
 
.status-finalizado {
  background-color: #27ae60;  
}



.time-1,
.time-2,
.titulo-x {
  font-size: 18px;
  font-weight: 600;
  color: #000081;
}

.placar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.placar input {
  width: 35px;
  height: 35px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid #00acc1;
  border-radius: 5px;
  cursor: default;
}

.placar input:focus{  
  outline: none;
}

.titulo-set{
  margin: 0;
  color: #000081;
  font-size: 18px;
  padding: 5px 0;
  font-weight: 600;
}

.set {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}

.set input {
  width: 100%;
  height: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  background-color: #00acc1;
  color: white;
  border: none;
}

.set input:focus{  
  outline: none;
}

.set input::placeholder{
  color: white;
}

.set-numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0px 10px;
  height: 25px; 
  font-size: 16px;
  font-weight: 600;
  background: white;
  border: 2px solid #00acc1;
  border-radius: 5px;
}

.titulo-fase{
  padding: 0; 
  font-size: 18px;
  font-weight: 500;
  background-color: #00acc1;
  border-radius: 5px;
  color: white;
  padding: 5px 10px;
  margin-bottom: -20px;
}

.grupo-fase-grupo{
  border: 2px solid #00acc1;
  border-radius: 5px;
  padding: 10px !important;
}

.nome-grupo{
  color: #000081;
  font-weight: 500;
  font-size: 20px;
}
 
.titulo-grupo{
  width: 100%;
  color: #000081;
  font-weight: 600;
  font-size: 22px;
  text-align: center;
}


.sets-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  height: 100%;
}



#classificacao-equipes{  
  display: flex;
  justify-content: center; 
  flex-wrap: wrap; 
  width: 90%;
  height: 100%;
  align-self: center;
  justify-self: center; 
  background: white;
  border: 2px solid #00acc1;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 10px;
}

.classificacao-torneio {
  display: flex; 
  gap: 60px; 
  height: auto; 
  overflow: auto;
  overflow-x: scroll;
  position: relative;
  padding: 5px 0;
}

.classificacao-torneio::-webkit-scrollbar {
  display: block;
  height: 4px;
}

.classificacao-torneio::-webkit-scrollbar-track {
  background-color: transparent;

}

.classificacao-torneio::-webkit-scrollbar-button {
  background-color: #f0f0f0;
  display: none;
}

.classificacao-torneio::-webkit-scrollbar-thumb {
  background-color: #000081;
  border-radius: 10px;
}

.grupo{
  display: flex; 
  flex-direction: column;
  justify-content: space-around;
  align-items: center; 
  height: 100%;
  min-width: 250px;
  gap: 15px;  
  padding: 0 10px;
}
 
.fase { 
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center; 
  gap: 40px;  
  height: 100%;
}

#fase-campeao{  
  justify-content: center !important;
}

#campeao,
#vice-campeao,
#terceiro-lugar,
#disputa-terceiro{
  height: auto !important;
}

.partida{
  display: flex; 
  flex-direction: column;
  gap: 5px;
} 
 
.time-individual-torneio {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); 
  border-radius: 5px;  
}

.nome-time-torneio{
  width: 100%; 
  height: 30px;
  background: white;
  border-radius: 5px 0px 0px 5px;
  min-width: 150px;
  border: 2px solid #00acc1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.conexao-terceiro-lugar{
  border-right: 2px solid;  
  height: 40px;
  margin: -30px;
}

.time-individual-campeao {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);  
  min-width: 150px;
  border-radius: 5px ;
  border: 2px solid #00acc1;
  background: white;
  padding: 5px 10px;
  color: #000081;
}

.nome-time-campeao{
  width: 100%; 
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.indicador-pontuacao-campeao{   
  padding: 0 5px; 
  width: 100%; 
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border-radius: 5px;
  color: white;
}

.primeiro-lugar{
  background-color: #FFD700  ; 
}

.segundo-lugar{
  background-color: #C0C0C0  ; 
}


.terceiro-lugar{
  background-color: #cd7f32 ; 
}

.indicador-pontuacao{  
  border: 2px solid #00acc1; 
  background: #00acc1;
  padding: 0 5px;
  color: white;
  border-radius: 0px 5px 5px 0px;
  width: 100%; 
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.conexao {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  overflow: visible;
}



.tabela-dados-torneio {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 90%;
  height: 100%;
  align-self: center;
  justify-self: center;
  background: white;
  border: 2px solid #00acc1;
  border-radius: 5px;
  padding: 10px; 
}

.tabela-classificacao {
  width: 100%; 
  overflow: auto;
  display: inline-block;   
  justify-items: stretch; 
}

.subtitulo-gerenciamento-torneio{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.subtitulo-gerenciamento-torneio p{
  font-size: 22px;
  font-weight: 500;
  color: #000081;
  margin-bottom: 10px;
  text-align: center; 
  padding-bottom: 5px; 
  border-bottom: 2px solid #00acc1;
  width: 100%;
}


.imagens-recordacoes-torneio {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border: 2px solid #00acc1;
  border-radius: 5px;
  padding: 10px;
  gap: 10px;
  width: 70%;
  justify-self: center;
  margin-bottom: 10px;
}

.aviso-imagens-torneio {
  padding: 5px;
  height: 40px;
  display: flex;
  align-items: center;
  color: red;
  font-weight: 500;
  font-size: 16px;
  display: none;
}

.campo-imagens-torneio {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: auto;
  justify-content: center;
}

.campo-imagens-torneio img {
  width: 150px;
  height: 150px; 
  object-fit: contain;
  border: 1px solid #00acc1;
  border-radius: 5px;
  position: relative;
  cursor: pointer;
}

.mensagem-recordacoes{
  color: #000081;
  margin: 5px 0;
}

.ver-imagem-torneio {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-imagem-torneio { 
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-imagem-torneio div{
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.modal-imagem-torneio img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
}

.botao-download-imagem-torneio,
.fechar-imagem-torneio {
  padding: 6px 10px;
  cursor: pointer;
  border: none;
  background-color: #00acc1;
  color: white;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 600;
  height: 38px;
  text-decoration: none;
  right: 0;
}

.botao-download-imagem-torneio:hover,
.fechar-imagem-torneio:hover{
background-color: #00838f;
}

 
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
    color: white;
    background: rgba(0, 0, 0, 0.7); 
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.nenhum-jogo-gerado,
.mensagem-nenhum-dado{
  font-size: 18px;
  color: red;
  text-align: center;
}

 .inscricao-encerrada{   
  font-weight: 600; 
  margin-bottom: 10px;
  text-align: center;
  border: 2px solid #00acc1;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  width: 70%;
  color: red;
 }


#inscritos-torneio{
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  justify-self: center; 
}

.sem-inscricoes,
.nenhum-jogo-gerado{  
    width: 90%; 
    align-self: center; 
    text-align: center;
    background: white;
    color: red;
    border: 2px solid #00acc1;
    border-radius: 5px; 
    padding: 10px;
}

.time-individual {  
  background-color: white;
  border-radius: 10px;
  position: relative;
  margin: 15px 0px;
  padding: 10px;
  border: 1px solid #00acc1;
  z-index: 1;
  display: flex;
  flex-direction: column; 
  gap: 10px;
  width: 100%;
  min-width: 300px;
}

.dados-time{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  gap: 5px;
}
  
.nome-time{
  color: #000081;
  font-size: 22px;
  font-weight: 600;
}

.responsavel-time{
  color: black;
  font-size: 16px;
  display: flex;
  gap: 5px;
  font-weight: 450;
  margin-bottom: 5px;
}

.responsavel-time span{  
  color: #000081;
  font-weight: normal;
}

.titulo-dados-participantes{
  display: flex;
  justify-content: space-between; 
  color: white;
  font-weight: 600;
}

.titulo-dados-participantes p{
  border: 1px solid white;
  background-color: #00acc1;
  width: 100%;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
}

.dados-individuais-participantes{
  display: flex;
  justify-content: space-between; 
  color: #000081; 
  padding: 5px 0;
}

.dados-individuais-participantes span{
  width: 100%;
  text-align: center;
  font-size: 16px;
}


.campo-info-inscricao{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; 
  margin-bottom: 20px;
}

.info-inscricao{ 
  border: 2px solid #00acc1;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  width: 70%;
  color: #000081;
  font-weight: 500;
}

.titulo-info-inscricao{
  width: 100%;
  text-align: center;
  font-size: 18px;
  color: #1a17c0;
  font-weight: 500;
  margin-bottom: 10px;
}

.info-inscricao strong{
  font-weight: 600;
  color: #008799;
}

.info-inscricao a{
  text-decoration: none;
  color: green;
}

.info-inscricao a:hover{
  text-decoration: underline; 
}


.condicoes {
  font-size: 14px;
  color: #000081;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  width: 100%; 
  margin-bottom: 20px;
}

.condicoes a {
  text-decoration: none;
  color: #00acc1;
}

.condicoes a:hover {
  text-decoration: underline;
}

.condicoes div{
  display: flex;
  align-items: center;
  gap: 10px; 
}

.condicoes label{
  text-align: start;
  width: 100%; 
}

#aviso-condicoes{
  text-align: center !important;
}

#aceite-termos[type=checkbox]{ 
  width: 22px;
  height: 22px;
  cursor: pointer;
}



.popup-inscricao-sucesso {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  display: no ne;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.conteudo-popup-inscricao {
  border: 2px solid #00acc1;
  background: white;
  padding: 20px;
  border-radius: 5px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  animation: zoomIn 0.3s ease;
  text-align: center;
  overflow-y: auto;
  max-height: 90vh;
}

.titulo-popup-inscricao {
  font-size: 22px;
  font-weight: 500;
  color: #008799;
  margin-bottom: 10px;
}

.mensagem-popup-inscricao {
  font-size: 15px;
  color: #333;
  margin: 15px 0;
}

.popup-inscricao-sucesso .dados-equipe-inscrita {
  text-align: left;
  font-size: 14px;
  margin-bottom: 15px;
  background-color: #f0f0f0;
  padding: 10px;
  border-left: 4px solid #00acc1;
  border-radius: 4px;
}

.popup-inscricao-sucesso .btn-fechar-popup {
  padding: 6px 10px;
  cursor: pointer;
  border: none;
  background-color: #00acc1;
  color: white;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  height: 38px;
  transition: background-color 0.3s ease; 
}

.popup-inscricao-sucesso .btn-fechar-popup:hover {
  background-color: #008799;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* Receber torneios ===============================================================================================*/


.buscar-comunidades{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px; 
  width: 100%;
  z-index: 10;
}

.formulario-buscar-comunidades {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  width: 100%;
  margin: 20px 0;
}

.aviso-form{
  padding: 10px 0;
}

.info-comunidade{ 
    text-align: center;
    color: #000000;
    font-size: 16px;
    font-style: italic;
    margin-top: 15px;
    font-weight: 500;
}

 

.buscador-comunidade {
    background-color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 350px;
    height: auto;    
    padding: 30px 20px 20px 20px; 
    border: 1px solid #00acc1;
    box-shadow: 6px 6px 25px -14px #000081;

}

.dados-comunidade {
    width: 100%;
    display: grid;
    grid-template-rows: 30px 18px;
    margin-bottom: 10px;
    position: relative;
}

.buscador-comunidade input {
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #3737fa;
    font-size: 16px;
    height: 30px;
    display: block;
    width: 100%;
    padding: 10px 0; 
    z-index: 2;
}

.buscador-comunidade input:focus {
    box-shadow: 0px 4px 10px -8px #000081;
    outline: none;
}
 
.label-comunidade {
    position: absolute;
    top: 4px;
    left: 0;
    color: gray;
    transition: ease-in-out 0.2s;
    font-size: 18px;
    padding-left: 5px;
}


.buscador-comunidade input:focus+.label-comunidade,
.buscador-comunidade input:not(:placeholder-shown)+.label-comunidade {
    top: -20px;
    font-size: 14px;
    color: #000081;
    color: #000081;
    padding-left: 0px;
}

.buscador-comunidade input::placeholder {
    color: transparent;
}


.botao-acao-formulario-comunidade {
    padding: 6px 10px;
    cursor: pointer;
    background-color: #00acc1;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    font-weight: 500; 
}

.botao-acao-formulario-comunidade:hover {
    background-color: #008799; 
}

.aviso-comunidade {
    margin-top: 4px;
    width: 100%;
    display: none;
    font-size: 14px;
    color: red;
    font-weight: 500;
    text-align: center;
}


.sugestoes-comunidade {
    background-color: white;
    display: none;
    min-height: 30px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: absolute;
    margin-top: 30px;
    z-index: 2;
    width: 100%;
}

.sugestoes-comunidade div {
    padding: 8px;
    cursor: pointer;
    color: #000081;
}

.sugestoes-comunidade div:hover {
    background-color: #1a17c0;
    color: white;
}





#resultados-busca-comunidades{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-grupo {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9fcff;
    border: 1px solid #00acc1;
    border-radius: 10px;
    width: 50%;
    box-shadow: 4px 4px 18px -10px #000081;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    gap: 10px;
}

 
.card-grupo p{
    color: #000081;
    font-size: 18px;
}

.card-grupo p span{
    color: #000000;
    font-size: 18px;
}

.card-grupo p b{
    color: #000000;
    font-size: 20px;
    font-weight: 500;
}


.aviso-regras{
  color: red;
  font-size: 16px;
  font-style: italic;
  width: 100%;
  justify-self: center;
  text-align: center;
  margin-top: 15px;
  font-weight: 500;
}

.comunidade-torneios {
  font-size: 16px;
  color: #333;
  margin-top: 30px; 
  font-weight: 500;    
  color: #000000;
  font-style: italic;
  text-align: center;
  gap: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.botao-comunidade { 
  padding: 0px 10px;
  cursor: pointer;
  background-color: #00acc1;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  font-weight: 500; 
  text-decoration: none;
  margin-left: 10px;
}

.botao-comunidade:hover {
  background-color: #008799; 
}
 

























 @media only screen and (max-width: 900px) {

  .popup-inscricao { 
    width: 100%;  
    margin: 0 5px;
  }
  
  .buscador-torneios{
    width: 100%;
    padding: 30px 10px 10px 10px;  
  }

  .torneio{
    width: 100%; 
  }

  .nome-torneio{
    font-size: 20px;
  }
  
  .dados-torneio {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .resultados-torneios{
    gap: 10px;
  }

  .informacoes-torneio{
    font-size: 14px;
    max-width: 100%;
    width: 100%;
  }

  h1{
    font-size: 24px;
  }

  .buscador-torneios input{
    font-size: 14px;
  }

  .botao-acao-formulario,
  .label-torneios {
    font-size: 16px;
  }

  .buscador-torneios input:focus+.label-torneios,
  .buscador-torneios input:not(:placeholder-shown)+.label-torneios {
      top: -20px;
      font-size: 12px;
  }
  
  .localizacao-torneio p,
  .vagas-torneio p,
  .data-torneio p,
  .preco-inscricao-torneio p,
  .organizador-torneio p,  
  .data-limite p,
  .modalidade-torneio p { 
    padding: 5px 0;
  }
  
  .imagem-principal-torneio{
    width: 100%;
    height: 100%;
  }
  
  .dados-torneio-individual,
  .titulo-campos-torneio-individual p,
  .formato-individual,
  .imagens-recordacoes-torneio,
  #inscritos-torneio,
  .info-inscricao,
  .formulario-inscricao-torneio,
  #jogos-torneio,
  #classificacao-equipes,
  .tabela-dados-torneio,
  .inscricao-encerrada {
    width: 100%;
  }

  .imagem-principal-torneio img{
    width: 100%;
    max-height: 300px;
  }

  .lista-contatos-torneio-individual{
    flex-direction: column;
  }

  .separador-individual{
    display: none;
  }
  
  .opcoes-navbar p {
      display: none;
  }

.aviso-torneio-encerrado{
  font-size: 12px;
}

.categoria-torneio-individual span{
  flex-direction: column;
}

 

.logo img {
    width: 135px;
}

.comunidade-torneios p {
  font-size: 12px;
}

.botao-comunidade{
  font-size: 14px;
}

.card-grupo {
    width: 100%;
}

.card-grupo p,
.card-grupo p span{ 
    font-size: 14px;
}
 
.card-grupo p b{ 
    font-size: 16px;
}


.container-torneio {  
    padding-top: 65px; 
  }

  .formulario-torneios,
  .formulario-buscar-comunidades { 
    margin: 0;
    margin-bottom: 15px;
}

.opcao-navbar p{
        display: none;
    } 

    .info-comunidade{ 
        font-size: 12px; 
    }

    .aviso-regras{ 
      font-size: 14px; 
    }

 }