/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
body {
  font-family: "Inter", Arial, sans-serif;
  background-color: #121212;
  color: #f0f0f0;
  line-height: 1.5;
  padding-top: 80px;
}

/* ===== CABEÇALHO FIXO ===== */
.topo-central {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e1e1e;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  z-index: 1000;
}

/* ===== LOGO DESCONTO BEM BOLADO ===== */
.descontobembolado {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-transform: uppercase;
  color: #FFD700;
  font-weight: 900;
  font-family: 'Arial Black', sans-serif;
  line-height: 1.1;
  transform: rotate(-5deg);
}

.descontobembolado span:first-child {
  font-size: 1.3rem;
  text-shadow: 0 0 10px #ff8c00, 0 0 20px #ff4500, 0 0 30px #ff0000;
  animation: flame 2s ease-in-out infinite alternate;
}

.descontobembolado span:last-child {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 0 10px #ff8c00, 0 0 20px #ff4500, 0 0 30px #ff0000;
  animation: flame 2s ease-in-out infinite alternate;
}

.raio-icone {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 6px #FFD700);
  animation: raio-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes flame {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(1.05); opacity: 1; }
}

@keyframes raio-pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.2); opacity: 1; }
}

/* ===== BARRA DE BUSCA ===== */
.search-input-wrapper {
  flex: 1;
  margin: 0 15px;
}

.search-input-inner {
  display: flex;
  align-items: center;
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 25px;
  padding: 6px 15px;
  height: 46px;
  transition: all 0.3s ease;
}

.search-input-inner:hover {
  border-color: #e53935;
}

.search-input-inner input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  color: #fff;
  font-size: 16px;
}

.search-icon {
  width: 22px;
  height: 22px;
  color: gray;
  margin-right: 10px;
}

/* ===== COMBOBOX ===== */
.combo-box {
  position: relative;
  min-width: 140px;
  margin-right: 20px;
}

.combo-box select {
  width: 100%;
  padding: 8px 35px 8px 15px;
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  height: 46px;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.combo-box::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #bbb;
}

.combo-box select:hover {
  border-color: #e53935;
}

/* ===== BOTÃO CADASTRAR / USUÁRIO ===== */
.usuario-topo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.botao-cadastrar {
  width: 55px;
  height: 55px;
  background-color: #e53935;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, background-color 0.3s;
}

.botao-cadastrar:hover {
  background-color: #d32f2f;
  transform: translateY(-3px);
}

.nome-usuario {
  font-size: 11px;
  color: #f0f0f0;
  margin-top: 4px;
  text-align: center;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== BOTÃO GRAVAR (MAIOR E CHAMATIVO) ===== */
.botao-gravar {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #FFD700, #f4b400);
  color: #000;
  font-weight: bold;
  font-size: 17px;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.botao-gravar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .topo-central {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }

  .search-input-wrapper {
    margin: 0;
    width: 100%;
  }

  .combo-box {
    width: 100%;
  }

  .botao-cadastrar {
    width: 65px;
    height: 65px;
  }

  .botao-gravar {
    width: 100%;
    font-size: 18px;
  }
}

/* Layout flexível para os elementos do topo */
     /* Grid de promoções - SEU ESTILO ADAPTADO */
/* ============================ */
/* GRID DE PROMOÇÕES - ESTILO MODERNO (similar ao Promobit) */
/* ============================ */

/* Container principal da grid */
#lista {
  display: grid;
  justify-content: center; /* Mantém o conteúdo sempre centralizado */
  align-content: start;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1400px;
  margin: 10px auto;
  padding: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Quando a grid estiver carregada */
#lista.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Card de promoção */
.card-promocao {
  background-color: #333;
  border: 1px solid #ffffff;   /* Aqui a borda fica mais grossa e chamativa */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Efeito no hover */
.card-promocao:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Responsividade */
@media (max-width: 768px) {
  #lista {
    grid-template-columns: 1fr;
    padding: 15px;
  }
}

/* Topo do card */
.card-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 10px;
  color: #ffd700;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #444;
}

/* Nome da loja */
.loja {
  font-family: Rubik, Adjusted Arial Fallback, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  font-weight: 700;
  color: #ffffff;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

/* Destaque animado  */
.destaque-vermelho {
    color: #ff0000 !important;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid #ff0000 ;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffef42, #ffd700);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.7), 
                0 0 20px rgba(255, 0, 0, 0.4),
                inset 0 0 12px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 20; /* Valor alto para ficar sempre acima */
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
    font-family:  'Helvetica', Helvetica;
    animation: pulsating 2s infinite;
    transform: translateZ(0);
    backdrop-filter: blur(4px);
    transform-origin: center;
    flex-shrink: 0; /* Impede que o destaque diminua */
    white-space: nowrap; /* Garante que o texto não quebre */
}

.destaque-vermelho::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ffd700, #ff9900, #ffd700, #ff9900, #ffd700);
    background-size: 400% 400%;
    border-radius: 8px;
    z-index: -1;
    animation: glowing 1.5s ease infinite;
    opacity: 0.7;
    filter: blur(6px);
}

/* Animações */
@keyframes pulsating {
    0% {
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.7), 
                    0 0 20px rgba(255, 0, 0, 0.4),
                    inset 0 0 12px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 16px rgba(255, 215, 0, 0.9), 
                    0 0 28px rgba(255, 0, 0, 0.6),
                    inset 0 0 16px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.7), 
                    0 0 20px rgba(255, 0, 0, 0.4),
                    inset 0 0 12px rgba(255, 255, 255, 0.3);
    }
}

@keyframes glowing {
    0% {
        background-position: 0% 50%;
        opacity: 0.6;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.8;
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.6;
    }
}

/* Imagem */
.card-imagem {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(45deg, #444, #555);
    position: relative;
    margin-top: 10px; /* Ajuste para descer do topo */
    display: flex; /* Adiciona flexbox para centralização */
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
}

.card-imagem img {
    width: auto; /* Largura automática para manter proporção */
    height: auto; /* Altura automática para manter proporção */
    max-width: 100%; /* Não ultrapassa a largura do container */
    max-height: 100%; /* Não ultrapassa a altura do container */
    object-fit: contain; /* MOSTRA A IMAGEM INTEIRA sem cortes */
    object-position: center; /* Garante o centro como referência */
    display: block;
    transition: transform 0.3s ease;
}

.card-imagem img:hover {
    transform: scale(1.08);
}
  

.card-promocao:hover .card-imagem img {
  transform: scale(1.05);
}

/* Conteúdo */
.card-conteudo {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-conteudo .titulo {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  text-align: left;
}

/* Preços */
.precos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.desconto {
  background: linear-gradient(45deg, #ffd700, #ff9900, #ffd700);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

/* Rodapé */
.card-rodape {
  background-color: #222;
  border-top: 1px solid #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
}

.tempo {
  font-size: 12px;
  color: #fcaa3f;
  animation: blink 1.6s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.6; }
}

/* Botões de interação */
.interacoes button {
  background-color: #444;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s;
}

.interacoes button:hover {
  background-color: #555;
}

/* ============================ */
/* RESPONSIVIDADE */
/* ============================ */
@media (max-width: 1024px) {
  #lista {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  #lista {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .card-imagem {
    height: 180px;
  }

  .preco-novo {
    font-size: 17px;
  }

  .desconto {
    font-size: 11px;
  }
}

/**********************************/
.acoes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.interacoes button {
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
}

.interacoes button {
  background: none;
  border: none;
  color: #ff9800;
  cursor: pointer;
  font-weight: bold;
}

.interacoes button:hover {
  text-decoration: underline;
}

.modal-content {
  background-color: #1f1f1f;
  border: 4px solid #a1a09d;   /* Aqui a borda fica mais grossa e chamativa */
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  color: #fff;
  animation: fadeIn 0.3s ease;
}

/* Modal de Login */
/* ======= MODAL LOGIN ======= */
#modalLogin {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 15px; /* Evita que o modal encoste nas bordas em telas pequenas */
}

#modalLogin.show {
  opacity: 1;
  pointer-events: auto;
}

#modalLogin .modal-content {
  background-color: #1f1f1f;
  color: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  box-sizing: border-box;
  animation: aparecer 0.3s ease;
}

/* Animação suave de entrada */
@keyframes aparecer {
  from { transform: translateY(-15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Inputs */
#modalLogin .modal-content input[type="text"],
#modalLogin .modal-content input[type="password"] {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  color: #000;
  box-sizing: border-box;
  margin-top: 5px;
  font-size: 16px;
}

/* Wrapper da senha */
.senha-wrapper {
  position: relative;
}

.toggle-visualizar {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  font-size: 18px;
}

/* Botão de Login */
.botao-login {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border: none;
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.botao-login:hover {
  background: linear-gradient(135deg, #27ae60, #1e8449);
}

.esqueceu-senha-link {
    text-align: center;
    margin-top: 10px;
}

.esqueceu-senha-link a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.esqueceu-senha-link a:hover {
    text-decoration: underline;
}

/* Mensagens e links */
.login-msg {
  text-align: center;
  font-size: 14px;
}

.cadastro-link {
  text-align: center;
  font-size: 14px;
}

.cadastro-link a {
  color: #2ecc71;
  text-decoration: none;
}

.cadastro-link a:hover {
  text-decoration: underline;
}

/* Ícone de fechar */
.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}

/* ======= RESPONSIVIDADE ======= */
@media (max-width: 480px) {
  #modalLogin .modal-content {
    max-width: 100%;
    padding: 20px 15px;
    border-radius: 10px;
  }

  #modalLogin .modal-content h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .botao-login {
    font-size: 15px;
    padding: 10px;
  }

  #modalLogin .modal-content input {
    font-size: 15px;
  }

  .toggle-visualizar {
    font-size: 16px;
  }
}



/* Modal Meu Perfil */
#modalPerfil {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#modalPerfil.show {
  opacity: 1;
  pointer-events: auto;
}

#modalPerfil .modal-content {
  background-color: #1f1f1f;
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 2px solid #a1a09d;
}

#modalPerfil h2 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #ffd700;
  font-weight: bold;
}

.campo-perfil {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 8px 0;
}

.campo-perfil label {
    font-weight: bold;
    width: 150px;
    margin-right: 10px;
    color: #ffd700;
}

.perfil-valor {
    padding: 8px 12px;
    border-radius: 4px;
    min-width: 200px;
    color: #ffffff;
}

#modalPerfil .close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

#modalPerfil .close:hover {
  background: rgba(255, 255, 255, 0.1);
}


/* Botão ENTRAR */
.botao-login {
  width: 100%;
  padding: 14px 15px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  background-color: #e53935;
  color: #fff;
  margin-top: 20px;
  cursor: pointer;
}

.botao-login:hover {
  background-color: #d32f2f;
}

/* Botão de visualizar senha */
.senha-wrapper {
  position: relative; /* Torna-se o contêiner pai para o botão do olho */
  width: 100%; /* Garante que ocupe toda a largura disponível */
}

.toggle-visualizar {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  font-size: 18px;
}


.toggle-visualizar {
  position: absolute;               /* Posicionamento absoluto dentro do .senha-wrapper */
  right: 12px;                      /* Distância da borda direita */
  top:40%;                         /* Posiciona no meio vertical */
  transform: translateY(-50%);       /* Corrige o deslocamento para centralizar verticalmente */
  background: transparent;           /* Sem fundo */
  border: none;                     /* Sem borda */
  cursor: pointer;                  /* Cursor de clique */
  font-size: 18px;                   /* Tamanho do ícone */
  color: #ffffff;                       /* Cor cinza */
  display: flex;                     /* Flexbox para centralizar o ícone */
  align-items: center;               /* Alinha verticalmente */
  justify-content: center;           /* Alinha horizontalmente */
  height: calc(100% - 30px);          /* Ajusta altura do botão (compensa o padding do input) */
  padding: 0;                        /* Remove qualquer padding do botão */
  line-height: 1;                    /* Garante alinhamento correto */
}

.toggle-visualizar i {
  pointer-events: none;
}


/* Link Cadastrar */
.cadastro-link {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  color: #ccc;
}

.cadastro-link a {
  color: #fffb00;
  text-decoration: none;
  font-weight: bold;
}

.cadastro-link a:hover {
  text-decoration: underline;
}

/*----------------------------------------------------*/

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox.show {
  display: flex;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Carrossel Modernizado */
.carrossel-container {
  position: relative;
  width: calc(100% - 10px);
  max-width: 1400px;
  margin: 10px auto 30px;
  top: 15px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carrossel-slides {
  display: flex;
  transition: transform 0.4s ease;
}

.carrossel-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Botões de navegação */
.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.carrossel-btn.esquerda { 
  left: 15px; 
}

.carrossel-btn.direita { 
  right: 15px; 
}


/* Indicadores */
.carrossel-indicadores {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.carrossel-indicadores span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carrossel-indicadores span.ativo {
  background-color: #FFC107;
  transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 768px) {
  .carrossel-container {
      width: calc(100% - 10px);
      margin: 70px auto 20px;
  }
  
  .carrossel-slides img {
      height: 250px;
  }
  
  .carrossel-btn {
      width: 35px;
      height: 35px;
      font-size: 16px;
  }
}

@media (max-width: 480px) {
  .carrossel-container {
      width: calc(100% - 10px);
      margin: 60px auto 15px;
  }
  
  .carrossel-slides img {
      height: 200px;
  }
  
  .carrossel-btn {
      width: 30px;
      height: 30px;
      font-size: 14px;
  }
  
  .carrossel-indicadores span {
      width: 4px;
      height:4px;
  }
}
/*-- CSS: Botão do WhatsApp --*/
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2a2a2a;
    color: white;
    border-radius: 23px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    gap: 3px;
  }


  .whatsapp-icone {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }

  .senha-wrapper {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

/*Cadastro Membro*/
/* Overlay do modal de cadastro */
/* Botão flutuante para abrir o modal */
.botao-cadastro-flutuante {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #dc2626, #ef4444, #f87171);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.botao-cadastro-flutuante:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Modal ajustado sem scroll */
#modalCadastroMembro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Quando ativo, exibe em flex e centraliza */
#modalCadastroMembro.ativo {
    display: flex;
}

/* Conteúdo do modal - SEM SCROLL */
#modalCadastroMembro .modal-content {
    background-color: #1f1f1f;
    border: 2px solid #a1a09d;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 90%;
    max-width: 420px; /* Largura ligeiramente reduzida */
    height: auto; /* Altura automática */
    max-height: 90vh; /* Máximo 90% da tela */
    display: flex;
    flex-direction: column;
    gap: 12px; /* Espaçamento reduzido */
    color: #f0f0f0;
    position: relative;
    overflow: hidden; /* REMOVE SCROLL - muda de auto para hidden */
}

/* Cabeçalho do modal */
#modalCadastroMembro .modal-header {
    text-align: center;
    margin-bottom: 5px;
}

#modalCadastroMembro .modal-header h2 {
    margin: 0;
    font-size: 18px; /* Título menor */
    color: #ffffff;
}

/* Fecha‑modal */
#modalCadastroMembro .close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px; /* Ícone menor */
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 1;
}

#modalCadastroMembro .close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Labels no padrão */
#modalCadastroMembro label {
    font-weight: bold;
    font-size: 13px; /* Labels menores */
    color: #ccc;
    margin-bottom: 3px;
}

/* Inputs compactos */
#modalCadastroMembro input[type="text"],
#modalCadastroMembro input[type="password"] {
    width: 100%;
    padding: 10px 12px; /* Padding reduzido */
    font-size: 13px; /* Texto menor */
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #2a2a2a;
    color: #fff;
    box-sizing: border-box;
}

/* Wrapper de senha compacto */
#modalCadastroMembro .senha-wrapper {
    position: relative;
    width: 100%;
}

#modalCadastroMembro .toggle-visualizar {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 14px; /* Ícone menor */
    cursor: pointer;
    padding: 4px;
}

/* Botão "Cadastrar" compacto */
#modalCadastroMembro .botao-login {
    width: 100%;
    padding: 10px 0; /* Padding reduzido */
    font-size: 14px; /* Texto menor */
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 6px;
    background-color: #e53935;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

#modalCadastroMembro .botao-login:hover {
    background-color: #d32f2f;
}

/* Mensagem interna compacta */
#modalCadastroMembro .login-msg {
    text-align: center;
    font-size: 12px; /* Texto menor */
    color: #ffc107;
    min-height: 18px;
    margin: 3px 0;
}

/* Container dos campos compactos */
#modalCadastroMembro .campo {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Espaçamento reduzido */
}

/* REMOVE SCROLLBAR - já que não tem mais scroll */
#modalCadastroMembro .modal-content::-webkit-scrollbar {
    display: none;
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
    #modalCadastroMembro .modal-content {
        max-width: 95%;
        max-height: 88vh;
        padding: 15px;
        gap: 10px;
    }
    
    #modalCadastroMembro .modal-header h2 {
        font-size: 16px;
    }
    
    #modalCadastroMembro input[type="text"],
    #modalCadastroMembro input[type="password"] {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    #modalCadastroMembro label {
        font-size: 12px;
    }
    
    #modalCadastroMembro .botao-login {
        padding: 8px 0;
        font-size: 13px;
    }
    
    .close {
        top: 8px;
        right: 8px;
        font-size: 18px;
        width: 22px;
        height: 22px;
    }
}

/* Para telas muito altas - garantir que não fique muito pequeno */
@media (min-height: 800px) {
    #modalCadastroMembro .modal-content {
        max-height: 600px; /* Altura máxima fixa para telas grandes */
    }
}
/*------------------------------*/
/*Bola da curtida*/
.modal-numero {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

/* Bola com borda dourada e número estilizado */
/* Modal de fundo escuro */
.modal-numero {
  display: none;                          /* Oculta inicialmente */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);          /* Fundo preto semi-transparente */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  padding: 20px;
}
/*  quadrado com borda branca e fundo preto */
.container-bola {
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 15px;
  width: 200px;      
  height: 200px;      
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
}

/* Bola com borda dourada */
.numero-bola {
  width: 100px;
  height: 100px;
  background: #f1f3f6;                    /* Fundo da bola */
  border-radius: 50%;                     /* Torna círculo */
  border: 4px solid gold;                 /* Borda dourada */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); /* Sombra dourada suave */
}

/* Número dentro da bola */
.numero-bola span {
  color: #000;                            /* Cor preta */
  font-size: 36px;                        /* Tamanho grande */
  font-weight: bold;
  font-family: 'Arial Black', Arial, sans-serif;  /* Fonte mais forte */
  text-shadow: 1px 1px #ccc;              /* Leve profundidade */
}

/* Botão OK menor e preto */
.modal-numero button {
  padding: 6px 16px;                      /* Botão menor */
  border: none;
  background: #5d5c5c;                       /* Fundo preto */
  color: #fff;                            /* Texto branco */
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.modal-numero button:hover {
  background: #333;                       /* Hover suave */
}



/*Div mensagem*/
.mensagem {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 300px;
  max-width: 90%;
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: fadeIn 0.5s ease;
}

/* Cores */
.mensagem.sucesso { background-color: #4caf50; }     /* Verde */
.mensagem.atencao { background-color: #ff9800; }     /* Amarelo */
.mensagem.erro    { background-color: #f44336; }     /* Vermelho */

/* Botão fechar */
.btn-fechar {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;       /* Negrito */
  color: #fff;
  cursor: pointer;
  line-height: 1;
  margin-top: -8px;        /* Sobe o botão */
  margin-left: 15px;       /* Afastamento lateral se necessário */
  padding: 0;
}

/* Animação */
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/*Perfil usuario*/
.perfil-usuario {
  position: fixed;
  top: 65px; 
  right: 15px;   /* Alinhado à direita */
  background: #1f1f1f;
  color: #fff;
  border: 1px solid #fff; 
  border-radius: 10px;
  padding: 15px;
  width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  font-family: Rubik, Adjusted Arial Fallback, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}
.nome-usuario-menu {
  font-size: 14px;              /* Fonte menor */
  color: #fff;
  text-align: center;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nivel-usuario {
  font-size: 12px;
  text-align: center;
  margin-bottom: 10px;
}

.progresso-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  margin-bottom: 5px;
}

.progresso-container .icone {
  width: 16px;
  height: 16px;
  fill: #ccc;
  margin-right: 5px;
}

.perfil-usuario meter {
  width: 100%;
  height: 6px;
  border-radius: 4px;
}

.menu-usuario {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.menu-usuario li {
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid #333;
}

.menu-usuario li:hover {
  background-color: #333;
}

/*estilo da tela de numeros dos membros*/
.sorteio-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.sorteio-container {
  background: #000;
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 20px;
  width: 70%;
  max-width: 600px;
  color: #fff;
  text-align: center;
}

.sorteio-titulo {
  font-size: 20px;
  margin-bottom: 15px;
}

.sorteio-numeros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.sorteio-numero {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid gold;
  background: #fff;
  color: #000;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.sorteio-fechar {
  background: #fff;
  color: #000;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-weight: bold;
}


nav {
  background: #2a2a2a;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

nav a {
  color: #ff5555;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.promo-card {
  display: flex;
  border: 5px solid #333;
  border-radius: 12px;
  margin-bottom: 20px;
  background: #2e2e2e;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  color: #fff;
}

  .promo-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-right: 1px solid #444;
  }

.promo-content {
  padding: 15px;
  flex: 1;
}

.promo-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #fff;
}

.promo-loja {
  color: #bbb;
  margin-bottom: 8px;
  font-size: 14px;
}

.promo-precos {
  margin-top: 10px;
}

.promo-precos span {
  display: inline-block;
  margin-right: 12px;
  font-size: 14px;
}

.preco-antigo {
  text-decoration: line-through;
  color: #ec6d6d;
}

.preco-novo {
  color: #4caf50;
  font-weight: bold;
}

/* Toggle Ativo/Desativado */
.ativo {
  width: 50px;
  height: 26px;
  background: #555;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 1px solid #999;
}

.ativo::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  transition: left 0.3s ease;
}

.ativo.on {
  background: #4caf50;
}

.ativo.on::after {
  left: calc(100% - 23px);
}


/* Toggle Ativo/Desativado */
.destaque {
  width: 50px;
  height: 26px;
  background: #555;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 1px solid #999;
}

.destaque::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  transition: left 0.3s ease;
}

.destaque.on {
  background: #4caf50;
}

.destaque.on::after {
  left: calc(100% - 23px);
}


a {
  color: #ff5555;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

/*---------------------------------------------------*/
/* Overlay do modal “Trocar Senha” */
#modalTrocarSenha {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
#modalTrocarSenha.ativo {
  display: flex;
}

/* Caixa de conteúdo */
#modalTrocarSenha .modal-content {
  background-color: #1f1f1f;
  border: 2px solid #a1a09d;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  color: #f0f0f0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Botão fechar */
#modalTrocarSenha .close {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* Título */
#modalTrocarSenha h2 {
  margin-bottom: 10px;
  font-size: 20px;
  text-align: center;
  color: #ffffff;
}

/* Labels */
#modalTrocarSenha label {
  font-weight: bold;
  font-size: 14px;
  color: #ccc;
}

/* Inputs */
#modalTrocarSenha input[type="password"] {
  width: 100%;
  padding: 12px 45px 12px 15px;
  font-size: 16px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #2a2a2a;
  color: #fff;
  box-sizing: border-box;
}

/* Botão confirmar */
#modalTrocarSenha .botao-login {
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 6px;
  background-color: #e53935;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
#modalTrocarSenha .botao-login:hover {
  background-color: #d32f2f;
}

/* Mensagem interna */
#msgTrocaSenha {
  text-align: center;
  font-size: 14px;
  color: #ffc107;
}
/*------------------------------------------------*/
/* Modal Registrar Loja */
/* ===== Fundo do Modal ===== */
#modalRegistrarLoja {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* escondido até abrir */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 9999;
  transition: opacity 0.3s ease;
}

/* Classe para mostrar o modal */
#modalRegistrarLoja.mostrar {
  display: flex;
  animation: fadeIn 0.3s ease;
}

/* ===== Conteúdo do Modal ===== */
#modalRegistrarLoja .modal-content {
  background: linear-gradient(135deg, #101010, #2a2a2a);
  border: 1px solid #ffffff; /* dourado */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
  padding: 28px;
  width: 90%;
  max-width: 460px;
  color: #fff;
  position: relative;
 /* animation: slideDown 0.4s ease;
  font-family: "Poppins", sans-serif;*/
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== Botão Fechar ===== */
#modalRegistrarLoja .close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 26px;
  color: #ffd700;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

#modalRegistrarLoja .close:hover {
  transform: scale(1.2);
  color: #ffea80;
}

/* ===== Título ===== */
#modalRegistrarLoja h2 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #ffd700;
  font-weight: bold;
}

/* ===== Campos de Entrada ===== */
#modalRegistrarLoja label {
  display: block;
  color: #e6e6e6;
  margin-bottom: 6px;
}

#modalRegistrarLoja input,
#modalRegistrarLoja select {
  width: 100%;
  padding: 10px;
  margin-bottom: 14px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  background-color: #1c1c1c;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

#modalRegistrarLoja input:focus,
#modalRegistrarLoja select:focus {
  border-color:  #ffffff;
}


/*-----------------Botão WhatsApp---------------------------*/
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    color: white;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-text {
    white-space: nowrap;
}

/* Animação de pulsação suave */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
}

.whatsapp-link {
    animation: pulse 2s infinite;
}

/* Responsividade */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .whatsapp-text {
        display: block; /* Mostra o texto mesmo em mobile */
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-link {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .whatsapp-icon {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }
}
/*-------------------------------------------------------*/
.notificacao-alerta {
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px; /* Menor que antes */
    padding: 8px 16px; /* Menor padding */
    background-color: #ffffff;
    color: #ce3f3f;
    
    /* Posicionamento fixo abaixo do topo central */
    position: fixed;
    top: 120px; /* Ajuste conforme a altura do seu topo-central */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999; /* Alto z-index para ficar acima de outros elementos */
    
    /* Tamanho menor */
    min-width: 300px;
    max-width: 90%;
    
    /* Animações suaves */
    animation: fade-in 0.3s ease, slide-in-down 0.6s ease;
    
    /* Sombra para destaque */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    /* Sempre visível */
    opacity: 1;
    visibility: visible;
}

.alerta-content {
    border-right: 1px solid rgba(255, 255, 255, 0.7); /* Borda mais sutil */
    padding-right: 12px;
    margin-right: 12px;
}

.alerta-content p {
    margin: 0;
    font-size: 18px; /* Texto menor */
    font-weight: 500;
    white-space: nowrap;
}

.refresh-icon {
    width: 22px; /* Ícone menor */
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

/* Animação de hover no ícone */
.notificacao-alerta:hover .refresh-icon {
    transform: rotate(180deg);
}

/* Efeito hover na notificação */
.notificacao-alerta:hover {
    background-color: #bdbdbdf8; /* Cor mais escura no hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
     color: #000000;
}

/* Animações atualizadas */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-in-down {
    from { 
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    to { 
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .notificacao-alerta {
        top: 80px;
        min-width: 380px;
        padding: 6px 12px;
    }
    
    .alerta-content p {
        font-size: 13px;
    }
    
    .refresh-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .notificacao-alerta {
        top: 60px;
        min-width: 250px;
        max-width: 85%;
    }
    
    .alerta-content p {
        font-size: 12px;
    }
}
/* Container com tooltip */
.loja-verificada {
    display: inline-flex;
    align-items: center;
    gap: 4px; /* Reduzi o espaçamento */
}

.icone-verificado {
    width: 14px; /* Diminuí o tamanho */
    height: 14px;
    fill: #4CAF50;
    flex-shrink: 0;
}
/*==========================================================================================================================================*/
/* === MODAL GERENCIAR PLANOS === */
#modalGerenciarPlanos {
  display: none; /* escondido até ser aberto via JS */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* conteúdo principal centralizado */
#modalGerenciarPlanos .modal-content {
  width: 90%;
  max-width: 1100px;
  height: 85vh;
  background: linear-gradient(160deg, #0f0f0f, #1a1a1a 60%, #222 100%);
  border: 2px solid #fff;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
  padding: 20px 30px 25px;
  position: relative;
  color: #f8f8f8;
  display: flex;
  flex-direction: column;
}

/* botão fechar */
#modalGerenciarPlanos .close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 26px;
  color: #ffd700;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}
#modalGerenciarPlanos .close:hover {
  transform: scale(1.25);
  color: #ffea80;
}

/* título */
#modalGerenciarPlanos h2 {
  text-align: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* barra superior com botão e busca */
.top-bar-planos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

/* === Container do filtro === */
.filtro-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* Campo de busca */
#filtroClientes {
  width: 320px;
  padding: 8px 12px;
  border: 1px solid white;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: box-shadow 0.2s;
}
#filtroClientes:focus {
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* === Botão de status tipo etiqueta === */
/* ===== Toggle "Somente Ativos" ===== */
.status-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 15px;
  font-family: "Poppins", sans-serif;
}

.status-toggle label {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}



/* Quando está "ligado" */
#statusAtivo.on {
  background: linear-gradient(180deg, #ffd700, #b8860b);
  border-color: #ffd700;
}

#statusAtivo.on::before {
  left: 19px;
  background: #111;
  box-shadow: 0 0 8px rgba(255,215,0,0.7);
}


/* campo de busca */
.busca-clientes input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid #fff;
  background: #111;
  color: #fff;
  font-size: 14px;
  width: 280px;
  transition: all 0.25s;
}
.busca-clientes input::placeholder {
  color: #bbb;
}
.busca-clientes input:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

/* tabela */
.grid-container {
  flex: 1 1 auto;
  overflow-y: auto;
  border: 1px solid #fff;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.1);
}
.combo-plano {
  width: 100%;
  background-color: #1c1c1c;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.combo-plano:focus {
  border-color: #ffd700;
}


#tabelaPlanos {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  color: #f8f8f8;
  font-size: 14px;
}

#tabelaPlanos thead {
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  position: sticky;
  top: 0;
  z-index: 2;
}

#tabelaPlanos th, #tabelaPlanos td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#tabelaPlanos th {
  color: #ffd700;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

#tabelaPlanos tr:hover {
  background: rgba(255, 255, 255, 0.07);
}

#tabelaPlanos td {
  color: #eee;
}

/* botões de ação */
#tabelaPlanos .acao {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #fff;
  cursor: pointer;
  transition: all 0.25s;
  font-size: 13px;
}
#tabelaPlanos .acao.renovar {
  background: linear-gradient(135deg, #ffd700, #d4af37);
  color: #000;
  font-weight: bold;
}
#tabelaPlanos .acao.ocorrencia {
  background: linear-gradient(135deg, #2b2b2b, #444);
  color: #fff;
}
#tabelaPlanos .acao:hover {
  transform: translateY(-2px);
}

/* paginação */
#paginacao {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

#paginacao button {
  background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.25s;
}

#paginacao button:hover:not(.disabled) {
  background: #ffd700;
  color: #111;
}

#paginacao button.ativo {
  background: linear-gradient(135deg, #ffd700, #d4af37);
  color: #000;
  border-color: #fff;
  background: #fff017;
  font-weight: 700;
}

#paginacao button.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: linear-gradient(135deg, #111, #222);
}

 barra inferior */
.modal-footer {
  text-align: center;
  margin-top: 10px;
  color: #fff017;
  font-size: 12px;
}

/* Scrollbar estilizado (só no modal) */
#modalGerenciarPlanos ::-webkit-scrollbar {
  width: 8px;
}
#modalGerenciarPlanos ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #888, #444);
  border-radius: 10px;
}
#modalGerenciarPlanos ::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}
 
/*==========================================================================================================================================*/

/********************************************************************************************************************************************************/
                                                        /* ===== Banner de Cookies ===== */
/********************************************************************************************************************************************************/
/* ===== Banner de Cookies (Tema Desconto Bem Bolado) ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00d084; /* Cor principal do site */
  color: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  padding: 20px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideUp 0.5s ease forwards;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner p {
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.cookie-banner a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cookie-buttons button {
  padding: 9px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s ease-in-out;
  font-size: 0.9rem;
}

.cookie-aceitar {
  background-color: #fff;
  color: #00b06e;
}

.cookie-aceitar:hover {
  background-color: #e8fdf3;
}

.cookie-recusar {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cookie-recusar:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

/* Animação suave */
@keyframes slideUp {
  from {
    transform: translate(-50%, 60px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* Responsividade */
@media (max-width: 500px) {
  .cookie-banner {
    font-size: 0.9rem;
    padding: 16px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }
}
/********************************************************************************************************************************************************/
/********************************************************************************************************************************************************/
                                                        /* ===== MODAL OCORRÊNCIAS ===== */
/********************************************************************************************************************************************************/
#modalOcorrencias {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}

#modalOcorrencias .modal-content {
  background: #121212;
  border: 2px solid #fff;
  border-radius: 14px;
  color: #fff;
  width: 90%;
  max-width: 750px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  animation: aparecer 0.4s ease;
}

#modalOcorrencias h2 {
  color: #ffd700;
  text-align: center;
  margin-bottom: 15px;
}

#modalOcorrencias .close {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 28px;
  color: #ffd700;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

#modalOcorrencias .close:hover {
  color: #ffea80;
  transform: scale(1.2);
}

.temperatura-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.temperatura-box select {
  background-color: #1e1e1e;
  color: #fff;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
}

.ocorrencias-container {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #333;
  border-radius: 8px;
  margin-bottom: 15px;
}

#tabelaOcorrencias {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* força as células a respeitarem a largura */
}

#tabelaOcorrencias th,
#tabelaOcorrencias td {
  word-wrap: break-word; /* quebra palavras longas */
  white-space: normal; /* permite várias linhas */
  overflow-wrap: break-word; /* compatibilidade extra */
}

#tabelaOcorrencias th {
  background-color: #007BFF; /* azul */
  color: #fff; /* texto branco */
  border-bottom: 1px solid #333;
  padding: 10px;
  text-align: left;
}
#tabelaOcorrencias th:nth-child(1),
#tabelaOcorrencias td:nth-child(1) {
  width: 15%;
}

#tabelaOcorrencias th:nth-child(2),
#tabelaOcorrencias td:nth-child(2) {
  width: 85%;
}
#tabelaOcorrencias th,
#tabelaOcorrencias td {
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}
#tabelaOcorrencias td {
  background-color: #fff; /* fundo branco */
  color: #000; /* texto preto */
  border-bottom: 1px solid #333;
  padding: 10px;
  text-align: left;
}

.nova-ocorrencia {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nova-ocorrencia textarea {
  width: 100%;
  min-height: 70px;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid #555;
  background: #1e1e1e;
  color: #fff;
  resize: vertical;
}

#btnAdicionarOcorrencia {
  background: linear-gradient(90deg, #00d084, #008c4a);
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

#btnAdicionarOcorrencia:hover {
  opacity: 0.9;
}

@keyframes aparecer {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/********************************************************************************************************************************************************/
                                                        /* ===== div online ===== */
/********************************************************************************************************************************************************/
.online-banner {
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 8px 18px;
  background-color: #fff;
  color: #d4a017;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;

  /* Posição fixa no topo central */
  position: fixed;
  top: 120px;
  left: 93%;
  transform: translateX(-50%);
  z-index: 999;
  min-width: 220px;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  /* Animações */
  animation: fade-in 0.3s ease, slide-in-down 0.6s ease;
  opacity: 0.95;
  transition: all 0.3s ease;
}

/* Ícone de pessoas */
.online-icon {
  margin-right: 8px;
  font-size: 16px;
  color: #e0b200;
}

/* Contador */
#online-count {
  font-weight: 700;
  color: #000;
  margin-right: 6px;
}

/* Texto */
.online-text {
  color: #555;
  font-weight:10px;
}

/* Efeito hover */
.online-banner:hover {
  transform: translateX(-50%) scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Animações */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 0.95; }
}

@keyframes slide-in-down {
  from { transform: translate(-50%, -20px); }
  to { transform: translate(-50%, 0); }
}
/********************************************************************************************************************************************************/
