/* 🌙 Tema escuro */
body {
  background-color: #0f0f0f;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #00ffe7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 40px 20px;
}

/* 👁️ Título visual com responsividade */
.title, h1 {
  font-size: clamp(28px, 6vw, 48px);
  margin: 20px 0;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 10px #00ffe7;
}

/* 📦 Box padrão */
.box, .content, .explicacao {
  background-color: #1a1a1a;
  border: 1px solid #00ffe7;
  border-radius: 8px;
  padding: 24px;
  width: 90%;
  max-width: 320px;
  box-shadow: 0 0 15px #00ffe7;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  transition: all 0.3s ease;
}

/* 🧭 Inputs */
input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  outline: none;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

/* 🧪 Botões padrão */
button, .botao-explicacao, .botao-pagamento, .collapsible {
  width: 90%;
  max-width: 320px;
  min-width: 200px;
  padding: 14px 24px;
  margin: 10px auto;
  font-size: 18px;
  font-weight: bold;
  background-color: #00ffe7;
  color: #0f0f0f;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 10px #00ffe7;
  transition: background-color 0.3s ease;
  text-align: center;
}

/* 🧠 Botões alternativos */
button:hover, .botao-pagamento:hover, .botao-explicacao:hover, .collapsible:hover {
  background-color: #00c9b7;
}

#logoutBtn {
  background-color: #ff4d4d;
  color: white;
}
#logoutBtn:hover {
  background-color: #cc0000;
}

/* 🗂️ Conteúdo colapsável */
.collapsible {
  background-color: #222;
  text-align: left;
}

.content {
  display: none;
}

/* 🧾 Texto explicativo */
.explicacao {
  background-color: #111;
  font-family: monospace;
}

/* 💬 Mensagem com destaque */
#mensagem {
  white-space: pre-line;
  font-size: 1.1em;
  color: #ffffff;
  text-shadow: 0 0 5px #00ffe7;
  margin-bottom: 20px;
}

/* ⏱️ Contador de tempo */
#contador {
  margin-top: 10px;
  font-size: 1em;
  color: #ffcc00;
  text-shadow: 0 0 5px #ffcc00;
}

/* 🖼️ Imagens de preview */
.preview-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 20px #00ffe7;
  margin-top: 20px;
}

#digitando {
  font-family: 'Courier New', monospace;
  font-size: clamp(28px, 6vw, 48px);
  color: #00ffe7;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 10px #00ffe7;
}

.whatsapp-fixo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 10px #25d366;
  z-index: 999;
}

#contador {
  font-size: 1.2em;
  color: #ffcc00;
  text-align: center;
  margin-top: 20px;
  text-shadow: 0 0 5px #ffcc00;
}

.painel-status {
  background-color: #111;
  border: 1px solid #00ffe7;
  padding: 16px;
  margin: 20px auto;
  max-width: 400px;
  font-family: monospace;
  font-size: 16px;
  box-shadow: 0 0 10px #00ffe7;
  border-radius: 6px;
  text-align: left;
}
.painel-status p {
  margin: 4px 0;
}
.log-terminal {
  background-color: #000;
  color: #00ffe7;
  font-family: 'Courier New', monospace;
  padding: 16px;
  max-width: 400px;
  margin: 20px auto;
  border: 1px solid #00ffe7;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ffe7;
  font-size: 15px;
}
.scanner-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}

.scanner-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, transparent, #00ffe7, transparent);
  animation: scan 2s infinite;
  opacity: 0.6;
}

@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}
.preview-img.glitch {
  animation: glitch 0.6s linear 1;
}

@keyframes glitch {
  0% { opacity: 1; transform: scale(1); }
  25% { opacity: 0.3; transform: scale(1.05); }
  50% { opacity: 1; transform: scale(0.98); }
  75% { opacity: 0.6; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}
.loading-tela {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  color: #00ffe7;
  font-family: 'Courier New', monospace;
  font-size: 1.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.acesso-concedido {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #00ffe7;
  color: #0f0f0f;
  font-size: 2em;
  font-weight: bold;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px #00ffe7;
  display: none;
  z-index: 1000;
}
#listaEspionados h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #00ffe7;
  text-shadow: 0 0 5px #00ffe7;
}

#nomesEspionados li {
  list-style: none;
  padding: 6px 0;
  border-bottom: 1px solid #00ffe733;
  font-family: monospace;
  color: #ffffff;
}

.painel-whatsapp {
  background-color: #e5ddd5;
  border-radius: 12px;
  padding: 16px;
  max-width: 400px;
  margin: 30px auto;
  box-shadow: 0 0 12px #00ffe7;
  font-family: sans-serif;
}

.cabecalho-chat {
  background-color: #075e54;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 14px;
}

.mensagem {
  padding: 8px 12px;
  margin: 10px 0;
  border-radius: 8px;
  max-width: 75%;
  word-wrap: break-word;
  position: relative;
}

.recebida {
  background-color: #fff;
  margin-right: auto;
}

.enviada {
  background-color: #dcf8c6;
  margin-left: auto;
}

.nome {
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 4px;
  display: block;
  color: #444;
}

.painel-whatsapp.blur {
  filter: blur(8px);
  pointer-events: none;
  transition: filter 1s ease;
  position: relative;
}

.bloqueio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.blur-contatos {
  filter: blur(8px);
  pointer-events: none;
  transition: filter 1s ease;
  position: relative;
}

.bloqueio-contatos {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
/* Painel estilo WhatsApp após tempo limite */
.blur {
  filter: blur(8px);
  pointer-events: none;
  transition: filter 1s ease;
  position: relative;
}

.bloqueio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
/* Lista de espionados com restrição temporizada */
.blur-contatos {
  filter: blur(8px);
  pointer-events: none;
  transition: filter 1s ease;
  position: relative;
}

.bloqueio-contatos {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
