@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* RESET */
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #6B21E8, #4C0FBB);
  color: white;
}

/* CONTAINER */
.phone {
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

/* DECORAÇÃO DE FUNDO — ícones de esporte espalhados, bem apagados, só
   pra dar a cara de "app de quadra esportiva" sem atrapalhar a leitura.
   z-index: -1 garante que fica atrás de TODO o conteúdo da página
   (mesmo sendo position: fixed). pointer-events: none pra nunca atrapalhar
   cliques em nada que esteja por cima. */
.fundo-esportivo {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.fundo-esportivo span {
  position: absolute;
  line-height: 1;
  filter: grayscale(1) brightness(10);
  user-select: none;
}

.fundo-esportivo img {
  position: absolute;
  filter: invert(1); /* as silhuetas são pretas com fundo transparente; isso deixa branco, igual aos emojis */
  user-select: none;
}

/* LOGO */
.logo {
  text-align: center;
  margin-top: 20px;
  font-size: 40px;
  font-weight: bold;
}

.jog {
  color: #ffffff;
}

.aki {
  color: #c4b5fd;
}

/* TÍTULO */
.titulo-login {
  text-align: center;
  font-size: 26px;
  margin: 20px 0;
}

/* FORMULÁRIO */
.form-login {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
}

.form-login label {
  margin: 5px 0;
  font-size: 14px;
}

.form-login input {
  padding: 12px;
  border-radius: 8px;
  border: none;
  margin-bottom: 12px;
}

/* BOTÕES */
.botoes-login {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn {
  padding: 10px 15px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid white;
  text-decoration: none;
  color: white;
  text-align: center;
  flex: 1;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255,255,255,0.25);
}

/* LINKS */
.ja-tem {
  text-align: center;
  margin-top: 15px;
}

.ja-tem a {
  font-weight: bold;
  color: #c4b5fd;
  text-decoration: none;
}

/* ERRO */
.erro-box {
  background: rgba(255, 0, 0, 0.1);
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
}

.erro {
  color: #ff6b6b;
  margin-bottom: 5px;
}

.link-login {
  color: #c4b5fd;
  font-weight: bold;
  text-decoration: none;
}

.link-login:hover {
  text-decoration: underline;
}

/* LINKS GERAIS */
a {
  color: #c4b5fd;
  text-decoration: none;
}

a:hover {
  color: white;
}
/* TOPO */
.topo {
  text-align: center;
  margin-bottom: 10px;
}

/* BUSCA */
.busca-box {
  max-width: 400px;
  margin: 0 auto 20px auto;
}

.busca-box input {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
}

/* TÍTULO */
.titulo-catalogo {
  text-align: center;
  margin-bottom: 20px;
}

/* LISTA */
.lista-arenas {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CARD */
.arena-card {
  display: flex;
  gap: 15px;
  background: rgba(255,255,255,0.1);
  border: 2px solid #c4b5fd;
  border-radius: 12px;
  padding: 10px;
  align-items: center;
}

/* IMAGEM */
.arena-img {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* INFO */
.arena-info h3 {
  margin: 0;
  font-size: 16px;
}

.arena-info p {
  margin: 2px 0;
  font-size: 13px;
  opacity: 0.8;
}

/* TIPO */
.tipo {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 8px;
  background: #c4b5fd;
  color: #2e1065;
  border-radius: 6px;
  font-size: 12px;
}
.arena-card {
  transition: 0.2s;
}

.arena-card:hover {
  transform: scale(1.02);
  cursor: pointer;
}

/* BOTÃO TRAÇAR ROTA (catálogo) */
.btn-rota {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 10px;
  background: #c4b5fd;
  color: #2e1065;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-rota:hover {
  background: #a78bfa;
}

/* BOTÃO TRAÇAR ROTA (página de detalhe) */
.btn-rota-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  background: #c4b5fd;
  color: #2e1065;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.btn-rota-hero:hover {
  background: #a78bfa;
  transform: scale(1.02);
}

/* MINI MAPA (catálogo) */
.mapa-preview-mini {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mapa-preview-mini iframe {
  filter: saturate(0.9);
}

/* MAPA GRANDE (página de detalhe) */
.mapa-preview {
  margin-top: 8px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(196,181,253,0.4);
}

/* LISTA DE QUADRAS NO CATÁLOGO */
.lista-quadras {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(196,181,253,0.25);
}

.lista-quadras p {
  margin: 2px 0;
  font-size: 12px;
  opacity: 0.85;
}

.lista-quadras strong {
  color: #c4b5fd;
}
.form-login input[type="text"],
.form-login input[type="number"],
.form-login input[type="time"],
.form-login input[type="email"],
.form-login input[type="password"],
.form-login textarea,
.form-login select {
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.form-login label {
  display: block;
  margin-bottom: 4px;
}

/* DIAS DE FUNCIONAMENTO (CHIPS) */
.dias-semana-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.dia-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(196,181,253,0.5);
  background: rgba(255,255,255,0.08);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.dia-chip:has(input:checked) {
  background: rgba(196,181,253,0.3);
  border-color: #c4b5fd;
}

.dia-chip input {
  accent-color: #7c3aed;
}

/* CAIXINHAS SIM / NÃO (ex: "Tem pausa para almoço?") */
.escolha-sim-nao {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.opcao-sim-nao {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(196,181,253,0.5);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.opcao-sim-nao:has(input:checked) {
  background: rgba(196,181,253,0.3);
  border-color: #c4b5fd;
  font-weight: bold;
}

.opcao-sim-nao input {
  accent-color: #7c3aed;
}

/* BADGE ABERTA / FECHADA */
.status-arena-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}
.status-arena-badge.aberta {
  background: rgba(74,222,128,0.18);
  border: 1px solid #4ade80;
  color: #4ade80;
}
.status-arena-badge.fechada {
  background: rgba(248,113,113,0.15);
  border: 1px solid #f87171;
  color: #f87171;
}
.status-arena-badge.desconhecida {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.35);
  color: #d1d5db;
}
.status-arena-badge.pausa {
  background: rgba(251,191,36,0.18);
  border: 1px solid #fbbf24;
  color: #fbbf24;
}

/* CONTROLE MANUAL DE ABERTA/FECHADA (DONO DA ARENA) */
.status-manual-linha {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 10px;
  padding: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,181,253,0.35);
  border-radius: 10px;
}
.status-manual-rotulo {
  font-size: 12px;
  opacity: 0.9;
}
.status-manual-botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-status-manual {
  flex: 1;
  min-width: 100px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(196,181,253,0.5);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 12px;
  cursor: pointer;
}
.btn-status-manual:hover {
  background: rgba(255,255,255,0.16);
}
.btn-status-manual.ativo {
  background: #7c3aed;
  border-color: #c4b5fd;
  font-weight: bold;
}

.topo-gerencia {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.topo-gerencia .logo {
  margin: 0;
}
.sino-wrap {
  position: relative;
}

.sino-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #c4b5fd;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
}
.sino-btn:hover { background: rgba(255,255,255,0.25); }

.sino-contador {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e53935;
  color: white;
  font-size: 10px;
  font-weight: bold;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #4c1d95;
}
.sino-contador.escondido { display: none; }

.sino-painel {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 50px;
  right: 0;
  background: #4c1d95;
  border: 1px solid #c4b5fd;
  border-radius: 10px;
  overflow: hidden;
  width: min(280px, calc(100vw - 32px));
  max-height: 360px;
  overflow-y: auto;
  z-index: 500;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.sino-painel.aberto { display: flex; }

.sino-painel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(196,181,253,0.3);
  font-size: 13px;
  font-weight: bold;
}
.sino-marcar-todas {
  background: none;
  border: none;
  color: #c4b5fd;
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
}

.sino-item {
  display: block;
  padding: 10px 14px;
  font-size: 12px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sino-item:last-child { border-bottom: none; }
.sino-item:hover { background: rgba(255,255,255,0.08); }
.sino-item.nao-lida { background: rgba(196,181,253,0.12); }
.sino-item .sino-item-msg { display: block; margin-bottom: 3px; }
.sino-item .sino-item-data { font-size: 10px; opacity: 0.6; }

.sino-vazio {
  padding: 20px 14px;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
}

/* BOTÃO MAPA (cabeçalho, ao lado do sino) */
.mapa-btn-topo {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mapa-btn-topo-icone {
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #c4b5fd;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mapa-btn-topo:hover .mapa-btn-topo-icone {
  background: rgba(255,255,255,0.25);
}

/* Legenda fora do fluxo: só a bolinha conta pro alinhamento, então ela
   fica na mesma linha do sino e do avatar. */
.mapa-btn-topo-legenda {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  font-size: 10px;
  color: #c4b5fd;
  font-weight: 600;
}

/* A legenda "Mapa" fica pendurada embaixo do botão (fora do fluxo), então
   o cabeçalho precisa reservar esse espaço — senão ela invade a barra de
   busca logo abaixo, principalmente no celular. */
.topo-com-avatar:has(.mapa-btn-topo-legenda) {
  margin-bottom: 24px;
}

/* TOPO COM AVATAR */
.topo-com-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 200;
}

.topo-com-avatar .logo {
  margin: 0;
  flex: 1;
}

.topo-acoes-direita {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* AVATAR */
.avatar-wrap {
  position: relative;
  z-index: 200;
}

.avatar-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #c4b5fd;
  background: rgba(255,255,255,0.15);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-btn:hover {
  background: rgba(255,255,255,0.25);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-letra {
  font-weight: bold;
  font-size: 16px;
  color: white;
}

/* DROPDOWN DO AVATAR */
.avatar-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 50px;
  right: 0;
  background: #4c1d95;
  border: 1px solid #c4b5fd;
  border-radius: 10px;
  overflow: hidden;
  min-width: 170px;
  z-index: 500;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.avatar-menu.aberto {
  display: flex;
}

.avatar-menu a {
  padding: 12px 16px;
  color: white;
  font-weight: normal;
  text-decoration: none;
  font-size: 14px;
}

.avatar-menu a:hover {
  background: rgba(255,255,255,0.12);
  color: #c4b5fd;
}

.avatar-menu-sair {
  border-top: 1px solid rgba(196,181,253,0.3);
  color: #ff9b9b !important;
}

.avatar-menu-sair:hover {
  background: rgba(255,0,0,0.12) !important;
  color: #ff6b6b !important;
}

/* BOTÃO SAIR (contraste vermelho) */
.btn-sair {
  border-color: #ff6b6b;
  color: #ff6b6b;
  background: rgba(255,0,0,0.08);
}

.btn-sair:hover {
  background: #ff6b6b;
  color: white;
}

/* CAMPO DE SENHA COM OLHINHO */
.campo-senha {
  position: relative;
}

.campo-senha input {
  padding-right: 42px !important;
}

/* Alguns navegadores (Edge, e às vezes Chrome/Opera) colocam um olhinho
   PRÓPRIO deles dentro do campo de senha. Como o site já tem o seu,
   isso duplicava o ícone. Aqui a gente esconde o nativo do navegador
   e deixa só o nosso (.toggle-senha). */
.campo-senha input[type="password"]::-ms-reveal,
.campo-senha input[type="password"]::-ms-clear {
  display: none;
}

/* ATENÇÃO: NÃO esconder "::-webkit-textfield-decoration-container" aqui.
   Em navegadores de celular (Safari/iOS e Chrome/Android) esse container
   é quem envolve o TEXTO digitado no campo de senha -- escondê-lo fazia
   a senha sumir (nem as bolinhas apareciam) e só voltava a aparecer
   depois de clicar no olhinho (type=text não tem esse container). Só os
   botões de preenchimento automático é que devem ser escondidos. */
.campo-senha input::-webkit-credentials-auto-fill-button,
.campo-senha input::-webkit-strong-password-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

/* Garante que o texto/bolinhas da senha sempre aparecem, com contraste,
   em qualquer celular (inclusive com modo escuro ou preenchimento
   automático, que às vezes trocam a cor do texto). */
.campo-senha input {
  color: #1f1147;
  -webkit-text-fill-color: #1f1147;
  background-color: #fff;
  opacity: 1;
}
.campo-senha input:-webkit-autofill {
  -webkit-text-fill-color: #1f1147;
  box-shadow: 0 0 0 1000px #fff inset;
}

.toggle-senha {
  position: absolute;
  top: 0;
  bottom: 12px;
  right: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4c1d95;
  opacity: 0.65;
  user-select: none;
}

.toggle-senha:hover {
  opacity: 1;
}

.toggle-senha svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* BARRA DE FORÇA DA SENHA */
.forca-senha {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0 8px;
}

.forca-senha-barra {
  flex: 1;
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.forca-senha-preenchido {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.25s ease, background 0.25s ease;
}

.forca-senha-texto {
  font-size: 11px;
  font-weight: bold;
  white-space: nowrap;
}
/* ========================================================== */
/* SELETOR DE DDI (BANDEIRA + CÓDIGO DO PAÍS) NOS CAMPOS DE TELEFONE */
/* ========================================================== */
.tel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(196,181,253,0.5);
  border-radius: 999px;
  margin-bottom: 12px;
}

.tel-wrap:focus-within {
  border-color: #c4b5fd;
}

.tel-bandeira {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 14px;
  color: white;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.25);
}

.tel-bandeira .seta {
  font-size: 10px;
  opacity: 0.7;
}

.tel-wrap input {
  border: none;
  background: transparent;
  color: white;
  padding: 12px 14px;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  margin-bottom: 0 !important;
  border-radius: 0;
}

.tel-wrap input:focus {
  outline: none;
}

.tel-wrap input::placeholder {
  color: rgba(255,255,255,0.4);
}

.ddi-lista {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  width: min(260px, calc(100vw - 56px));
  max-height: 220px;
  overflow-y: auto;
  background: #4c1d95;
  border: 1px solid #c4b5fd;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  z-index: 60;
}

.ddi-lista.aberta {
  display: block;
}

.ddi-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  color: white;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.ddi-item:hover {
  background: rgba(255,255,255,0.12);
}

.ddi-item-pais {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ddi-item-codigo {
  opacity: 0.75;
  white-space: nowrap;
}

/* Aviso curto de que o telefone da arena é para contato do cliente,
   e não o número pessoal do dono. */
.aviso-telefone-arena {
  font-size: 11px;
  opacity: 0.65;
  margin: -8px 0 12px;
}

/* ========================================================== */
/* ESTRELINHA DE FAVORITAR ARENA */
/* ========================================================== */
.arena-card {
  position: relative;
}

.favorito-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(196,181,253,0.5);
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
  z-index: 5;
}

.favorito-btn:hover {
  background: rgba(0,0,0,0.5);
}

.favorito-btn.favoritado {
  color: #fbbf24;
  border-color: #fbbf24;
}

.favorito-btn-hero {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(196,181,253,0.5);
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
  z-index: 5;
}

.favorito-btn-hero:hover {
  background: rgba(0,0,0,0.55);
}

.favorito-btn-hero.favoritado {
  color: #fbbf24;
  border-color: #fbbf24;
}

/* ================================================
   BOTÃO VOLTAR - PADRÃO ÚNICO (usado em todas as páginas internas)
   Sempre no topo da página, mesmo estilo e comportamento em todo o app.
   ================================================ */
/* Botão "Voltar" padrão — mesmo visual e mesma posição (topo, à esquerda)
   em todas as telas, de cliente e de dono. */
.voltar-padrao-wrap {
  display: flex;
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 18px;
}

.btn-voltar-padrao {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(196,181,253,0.35);
  padding: 8px 16px 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-voltar-padrao svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-voltar-padrao:hover {
  background: rgba(255,255,255,0.18);
  border-color: #c4b5fd;
}

.btn-voltar-padrao:hover svg {
  transform: translateX(-3px);
}

button.btn-voltar-padrao {
  font-family: inherit;
  line-height: 1.2;
}

.btn-voltar-padrao:active {
  transform: scale(0.97);
}

/* Variante para a página do mapa, que usa fundo/overlay diferente */
.mapa-topo .btn-voltar-padrao {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(196,181,253,0.4);
}

/* ================================================================
   AJUSTES PARA CELULAR
   Tudo aqui dentro só entra em telas pequenas. Em telas de PC
   (acima de 600px) nada muda — o layout de desktop continua
   exatamente igual.
   ================================================================ */
@media (max-width: 600px) {
  .phone {
    padding: 16px;
  }

  .logo {
    font-size: 30px;
    margin-top: 10px;
  }

  .titulo-login,
  .titulo-catalogo {
    font-size: 22px;
    margin: 14px 0;
  }

  /* Cabeçalho com logo + sino/mapa + avatar: evita a logo espremer
     os ícones e sobrepor tudo em telas estreitas */
  .topo-com-avatar {
    gap: 8px;
  }

  .topo-com-avatar .logo {
    font-size: 26px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topo-acoes-direita {
    flex-shrink: 0;
    gap: 8px;
  }

  .sino-btn,
  .avatar-btn,
  .mapa-btn-topo-icone {
    width: 38px;
    height: 38px;
  }

  /* Botões lado a lado que podem ficar apertados demais */
  .botoes-login {
    flex-wrap: wrap;
  }

  .botoes-login .btn {
    min-width: 120px;
  }

  /* Cards de arena: imagem um pouco menor para sobrar espaço pro texto */
  .arena-img {
    width: 64px;
    height: 64px;
    font-size: 20px;
    flex-shrink: 0;
  }

  .favorito-btn {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  /* Painéis flutuantes (notificações, avatar) mais próximos da borda
     pra não vazar da tela em aparelhos bem estreitos */
  .sino-painel,
  .avatar-menu {
    right: -8px;
  }
}

@media (max-width: 380px) {
  .phone {
    padding: 12px;
  }

  .logo {
    font-size: 26px;
  }

  .topo-com-avatar .logo {
    font-size: 22px;
  }

  .arena-card {
    padding: 8px;
    gap: 10px;
  }
}


/* =========================================================
   ACABAMENTO GERAL (padroniza fonte, campos e botões)
   ========================================================= */
body {
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea { font-family: inherit; }

.logo { letter-spacing: -0.03em; font-weight: 700; }
.titulo-login { font-weight: 700; letter-spacing: -0.02em; font-size: 24px; }
.form-login label { font-weight: 500; font-size: 14px; }

/* Campos: mesma altura, fonte, cor de texto e de placeholder */
.form-login input,
.form-login select,
.form-login textarea,
.busca-box input {
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  color: #1f1147;
  background-color: #fff;
  transition: box-shadow .15s, border-color .15s;
}
.form-login input:focus,
.form-login select:focus,
.form-login textarea:focus,
.busca-box input:focus {
  outline: none;
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(196,181,253,0.45);
}
/* O campo de senha força -webkit-text-fill-color (pra bolinhas sempre
   aparecerem), o que deixava o placeholder dele escuro. Aqui o
   placeholder de TODOS os campos fica com a mesma cor clara. */
input::placeholder,
textarea::placeholder,
.campo-senha input::placeholder {
  color: #8b8598;
  -webkit-text-fill-color: #8b8598;
  opacity: 1;
}

/* Botões */
.btn {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.55);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 15px;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { border-color: #fff; }
.btn:active { transform: translateY(1px); }
.botoes-login .btn { padding: 13px 15px; font-size: 15px; }

.arena-card { border-width: 1px; border-color: rgba(196,181,253,0.6); }
.arena-card:hover { transform: translateY(-2px); }

/* Topo só com o logo (sem sino): centraliza */
.topo-gerencia .logo:only-child { flex: 1; text-align: center; }
