body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #111;
  color: white;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#appWrapper {
  transition: box-shadow 0.4s ease-in-out;
    flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  margin: 10px;
  overflow: hidden;
}

/* Neon verde */
.neon-pagando #appWrapper {
  box-shadow:
    0 0 5px #00ff00,
    0 0 20px #00ff00,
    0 0 40px #00ff00,
    0 0 60px #00ff00;
  animation: neonGreenPulse 1.5s infinite;
}

/* Neon vermelho */
.neon-recolhendo #appWrapper {
  box-shadow:
    0 0 5px #ff0000,
    0 0 20px #ff0000,
    0 0 40px #ff0000,
    0 0 60px #ff0000;
  animation: neonRedPulse 1.5s infinite;
}

@keyframes neonGreenPulse {
  0%, 100% {
    box-shadow:
      0 0 10px #00ff00,
      0 0 20px #00ff00,
      0 0 40px #00ff00;
  }
  50% {
    box-shadow:
      0 0 20px #00ff00,
      0 0 40px #00ff00,
      0 0 80px #00ff00;
  }
}

@keyframes neonRedPulse {
  0%, 100% {
    box-shadow:
      0 0 10px #ff0000,
      0 0 20px #ff0000,
      0 0 40px #ff0000;
  }
  50% {
    box-shadow:
      0 0 20px #ff0000,
      0 0 40px #ff0000,
      0 0 80px #ff0000;
  }
}

.neon-formando #appWrapper {
  box-shadow:
    0 0 5px #ffff00,
    0 0 20px #ffff00,
    0 0 40px #ffff00,
    0 0 60px #ffff00;
  animation: neonYellowPulse 1.5s infinite;
}

@keyframes neonYellowPulse {
  0%, 100% {
    box-shadow:
      0 0 10px #ffff00,
      0 0 20px #ffff00,
      0 0 40px #ffff00;
  }
  50% {
    box-shadow:
      0 0 20px #ffff00,
      0 0 40px #ffff00,
      0 0 80px #ffff00;
  }
}

.status-bar {
  width: 100%;
  padding: 10px;
  font-size: 0.95rem;
  text-align: center;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.neon-pagando .status-bar {
  color: #0f0;
  text-shadow: 0 0 8px #0f0;
}

.neon-recolhendo .status-bar {
  color: #f00;
  text-shadow: 0 0 8px #f00;
}

.neon-formando .status-bar {
  color: #ff0;
  text-shadow: 0 0 8px #ff0;
}


.menu {
  display: flex;
  justify-content: space-around;
  background: #222;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
}

.menu button {
  background: none;
  border: none;
  color: white;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.menu button.active {
  background: #0f0;
  color: #000;
  font-weight: bold;
}

iframe {
  width: 100%;
  flex-grow: 1;
  border: none;
}

.toast,
.toast-pattern {
  position: fixed;
  left: 1rem;
  padding: 0.3rem;
  border-radius: 8px;
  color: white;
  font-size: 0.85rem;
  max-width: 300px;
  box-shadow: 0 0 10px #000;
  z-index: 9999;
  text-align: left;
}

.toast {
  top: 3rem;
}

.toast-pattern {
  top: 5rem;
  display: none;
  background-color: rgba(139, 0, 0, 0.85);
}

.install-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  z-index: 10000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
  box-sizing: border-box;
}

.install-overlay h2 {
  margin: 1rem 0 0.5rem;
  font-size: 1.5rem;
}

.install-overlay p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 320px;
}

.install-overlay img {
  max-width: 90%;
  max-height: 200px;
  margin-bottom: 1rem;
}

.install-overlay button {
  background: #0f0;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
}

.install-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: white;
  padding: 0.75rem;
  text-align: center;
  z-index: 9999;
  font-size: 0.9rem;
}

.install-bar button {
  margin-left: 10px;
  padding: 4px 10px;
  border: none;
  border-radius: 6px;
  background: #0f0;
  color: #000;
  font-weight: bold;
}

ul,
li {
  text-align: left;
}

.btn-link {
  text-decoration: none;
}

.btn-telegram {
  background-color: #0088cc;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  border: none;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

#btnALOHA {
  display: none;
}