/* === DARK NEON THEME (InovLive) === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top left, #07070a 30%, #0f0f12 70%);
  color: #e6eef6;
  min-height: 100vh;
}

/* === NAVBAR === */
.navbar {
  background: rgba(18, 18, 24, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* === CENTRALIZA LOGO NA PÁGINA DE LOGIN === */
.center-logo {
  justify-content: center !important;
}
.center-logo .logo a {
  pointer-events: none;
}

/* === LOGO === */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 60px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 15px #b84cff) drop-shadow(0 0 25px #0ff);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 25px #f0f) drop-shadow(0 0 35px #0ff);
}

/* === NAV LINKS === */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-links a {
  color: #e6eef6;
  text-decoration: none;
  transition: color 0.25s, text-shadow 0.25s;
  font-weight: 500;
}
.nav-links a:hover {
  color: #0ff;
  text-shadow: 0 0 8px #0ff;
}

/* === MENU MOBILE === */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: #0ff;
  cursor: pointer;
}
#menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(12, 12, 18, 0.95);
    display: none;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }
  .nav-links a {
    padding: 0.8rem;
    width: 100%;
  }
  .logo img {
    height: 45px;
  }
}

/* === HERO === */
.hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background: linear-gradient(135deg, rgba(0,255,255,0.04), rgba(255,0,255,0.04));
  border-bottom: 1px solid rgba(255,255,255,0.03);
  animation: fadeIn 1s ease;
}
.hero h1 {
  font-size: 2.2rem;
  color: #0ff;
  text-shadow: 0 0 15px #0ff;
  margin-bottom: 0.6rem;
}
.hero p {
  color: #cdd6df;
  margin-bottom: 0.8rem;
}

/* === NEON BUTTON === */
.neon-btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  border: 2px solid #0ff;
  color: #0ff;
  text-decoration: none;
  box-shadow: 0 0 10px #0ff;
  animation: pulseGlow 2s infinite alternate;
  transition: all 0.3s ease;
}
.neon-btn:hover {
  color: #111;
  background: #0ff;
  box-shadow: 0 0 25px #0ff, 0 0 60px #0ff inset;
  transform: scale(1.05);
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 6px #0ff, 0 0 20px #0ff inset; }
  50% { box-shadow: 0 0 20px #f0f, 0 0 40px #0ff inset; }
  100% { box-shadow: 0 0 6px #0ff, 0 0 20px #0ff inset; }
}

/* === FORM === */
.center-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
}
.form-card {
  width: 100%;
  max-width: 460px;
  background: rgba(20,20,28,0.85);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,255,255,0.03);
  text-align: center;
}
input[type=text], input[type=password], input[type=email], textarea {
  width: 100%;
  padding: 0.8rem;
  margin: 0.6rem 0;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.03);
  color: #fff;
}
button {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  background: linear-gradient(90deg, #0ff, #f0f);
  color: #031016;
  cursor: pointer;
  transition: transform .15s;
}
button:hover {
  transform: scale(1.02);
}
.muted {
  color: #9aa0a6;
}

/* === USER TABLE === */
.user-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.user-table td:nth-child(3) { /* 3ª coluna = Email */
  color: #0ff;
  font-weight: 500;
}
.user-table th {
  background: rgba(0,255,255,0.03);
  color: #0ff;
}
.user-table input[type=text], 
.user-table select {
  background: rgba(255,255,255,0.05);
  border: none;
  color: #fff;
  padding: 0.4rem;
  border-radius: 6px;
  text-align: center;
}
.user-table input:focus, 
.user-table select:focus {
  outline: 1px solid #0ff;
  background: rgba(0,255,255,0.1);
}
.btn {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  color: #031016;
  background: linear-gradient(90deg, #0ff, #f0f);
  display: inline-block;
  margin: 0 0.25rem;
}
.btn.delete {
  background: linear-gradient(90deg, #ff006e, #ffb700);
  color: #031016;
}
.self {
  color: #9aa0a6;
  font-style: italic;
}

/* === SEARCH & PAGINATION === */
.search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.search-form input {
  flex: 1;
  min-width: 250px;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1rem;
  box-shadow: inset 0 0 8px rgba(0,255,255,0.1);
  transition: all 0.25s ease;
}
.search-form input:focus {
  outline: none;
  border-color: #0ff;
  box-shadow: 0 0 10px #0ff, inset 0 0 10px rgba(0,255,255,0.2);
}
.search-form button {
  width: auto;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(90deg, #0ff, #f0f);
  color: #031016;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 8px rgba(0,255,255,0.4);
}
.search-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0,255,255,0.6);
}
.pagination {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.page-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  background: linear-gradient(90deg, #0ff, #f0f);
  color: #031016;
  text-decoration: none;
}

/* === RESUMO BOX === */
.resumo-box {
  margin: 3rem auto;
  padding: 2rem;
  max-width: 800px;
  text-align: center;
  background: rgba(20, 20, 28, 0.7);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,255,255,0.05), inset 0 0 25px rgba(184,76,255,0.1);
  animation: fadeInBox 1s ease;
}
.resumo-box h2 {
  color: #b84cff;
  text-shadow: 0 0 12px #b84cff, 0 0 25px #b84cff;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.resumo-box p {
  color: #cdd6df;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.resumo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.resumo-content ul {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 500px;
}
.resumo-content li {
  background: rgba(255,255,255,0.03);
  margin: 0.6rem 0;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: #e6eef6;
  transition: all 0.3s ease;
  text-align: center;
}
.resumo-content li:hover {
  background: rgba(0,255,255,0.1);
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0,255,255,0.15);
}
@keyframes fadeInBox {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === ALERTAS NEON === */
.alert {
  max-width: 800px;
  margin: 1.5rem auto;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  animation: fadeIn 0.5s ease;
  transition: opacity 0.6s ease;
}
.alert.success {
  background: rgba(0,255,180,0.15);
  border: 1px solid rgba(0,255,180,0.5);
  color: #00ffb4;
  box-shadow: 0 0 15px rgba(0,255,180,0.3);
}
.alert.error {
  background: rgba(255,50,120,0.15);
  border: 1px solid rgba(255,50,120,0.5);
  color: #ff6bb8;
  box-shadow: 0 0 15px rgba(255,50,120,0.3);
}
.fade-out {
  opacity: 0;
}

/* === LOGS PAGE === */
.log-container {
  max-width: 1000px;
  margin: 2rem auto;
  background: rgba(20,20,28,0.8);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(0,255,255,0.05);
}
.log-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.log-table th, .log-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.log-table th {
  color: #0ff;
  background: rgba(0,255,255,0.05);
  text-align: left;
}
.log-table tr.success td { color: #00ffb4; }
.log-table tr.error td { color: #ff6bb8; }
.log-table tr.warning td { color: #ffb700; }
.log-table tr.info td { color: #b84cff; }
.log-table tr:hover {
  background: rgba(255,255,255,0.03);
  transition: background 0.3s ease;
}

/* === FOOTER === */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(12,12,18,0.9);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 2rem;
  color: #cdd6df;
}
.footer p {
  margin: 0.3rem 0;
}
.footer .credits {
  color: #b84cff;
  text-shadow: 0 0 8px #b84cff, 0 0 15px #b84cff;
  font-weight: 600;
  animation: glowPurple 2s ease-in-out infinite alternate;
}

/* === ANIMAÇÕES === */
@keyframes glowPurple {
  from { text-shadow: 0 0 5px #b84cff, 0 0 10px #b84cff; }
  to { text-shadow: 0 0 15px #d580ff, 0 0 25px #d580ff; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* === PLANOS (SUBSCRIÇÕES) === */
.planos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
  text-align: center;
}

.plano-card {
  flex: 1 1 250px;
  max-width: 270px;
  background: rgba(20, 20, 28, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  padding: 1.8rem 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plano-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(184,76,255,0.4);
}

.plano-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px #0ff);
}

.plano-card h3 {
  color: #0ff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px #0ff;
}

.plano-card p {
  color: #cdd6df;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.plano-preco {
  font-size: 1.4rem;
  font-weight: 700;
  color: #b84cff;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #b84cff;
}

.plano-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  border: 2px solid #0ff;
  color: #0ff;
  text-decoration: none;
  box-shadow: 0 0 10px #0ff;
  transition: all 0.3s ease;
}
.plano-btn:hover {
  background: #0ff;
  color: #031016;
  transform: scale(1.05);
  box-shadow: 0 0 25px #0ff;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .plano-card {
    flex: 1 1 45%;
    max-width: 45%;
  }
}
@media (max-width: 480px) {
  .plano-card {
    flex: 1 1 90%;
    max-width: 90%;
  }
}
/* === POPUP EMAIL === */
.email-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  flex-direction: column;
  padding: 1rem;
}
.email-popup.active {
  display: flex;
}
.email-popup h3 {
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
  margin-bottom: 1rem;
}
.email-popup input[type=text],
.email-popup input[type=email],
.email-popup textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.7rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1rem;
}
.email-popup textarea {
  min-height: 120px;
  resize: vertical;
}
.email-popup .popup-btns {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}
.email-popup .btn, 
.email-popup .btn.delete {
  width: auto;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  cursor: pointer;
}

/* === RESPONSIVO POPUP === */
@media (max-width: 768px) {
  .email-popup input[type=text],
  .email-popup input[type=email],
  .email-popup textarea {
    max-width: 90%;
  }
}

/* === CONTINUAÇÃO ANIMAÇÕES === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

