/* 🎨 Scrollbar discreta e moderna */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(166, 75, 244, 0.4);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(166, 75, 244, 0.7);
}

/* 🎯 RESET GLOBAL */
*, *::before, *::after {
  box-sizing: border-box;
}
/* 🌌 Fundo geral */
body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0d0d1f, #1c1c3a);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: -10px;
}

/* 📦 Container do formulário (login e registro) */
.auth-container {
    background: rgba(40, 40, 70, 0.95);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0px 0px 25px rgba(166, 75, 244, 0.5);
    width: 100%;
    max-width: 420px;
    text-align: center;
    color: #fff;
}
.site-logo {
  width: 320px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}
/* 🏷 Logo */
.auth-container img {
    width: 250px;
    max-width: 90%;
    height: auto;
    margin-bottom: 20px;
}

/* 🔑 Título */
.auth-container h1 {
    font-size: 26px;
    color: #c799ff;
    margin-bottom: 20px;
}

/* 📝 Inputs */
.auth-container input[type="email"],
.auth-container input[type="password"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border: none;
    border-radius: 8px;
    background-color: #2c2c50;
    color: #fff;
    font-size: 15px;
    transition: 0.3s ease;
}

/* ✍ Placeholder */
.auth-container input::placeholder {
    color: #aaa;
    font-style: italic;
}

/* 🎯 Hover e foco nos inputs */
.auth-container input:focus {
    background-color: #3a3a60;
    outline: none;
    box-shadow: 0 0 5px rgba(166, 75, 244, 0.6);
}

/* 🔘 Botões */
.auth-container button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #a64bf4;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-bottom: 10px;
}
.auth-container button:hover {
    background-color: #8b2bd4;
    transform: translateY(-2px);
}

/* 🔙 Botão de voltar */
.auth-container .back-btn {
    display: inline-block;
    margin-top: 10px;
    color: #a64bf4;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}
.auth-container .back-btn:hover {
    color: #c799ff;
    text-decoration: underline;
}

/* 📱 Responsividade */
@media (max-width: 600px) {
    .auth-container {
        padding: 25px;
        max-width: 90%;
    }

    .auth-container h1 {
        font-size: 22px;
    }
}




/* 🔲 Fundo do modal */
.modal {
  display: none; /* oculto por padrão */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

/* 📦 Caixa do modal */
.modal-content {
  background: #2e2e4d;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(166, 75, 244, 0.5);
  width: 90%;
  max-width: 400px;
  text-align: center;
  color: #fff;
}

/* 🏷 Título do modal */
.modal-content h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #ffdaff;
}

/* 📃 Texto do modal */
.modal-content p {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 20px;
}

/* 🔘 Botões do modal */
.modal-actions {
  display: flex;
  justify-content: space-between;
}

.modal-actions .btn {
  flex: 1;
  margin: 0 5px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.modal-actions .btn.confirm {
  background-color: #a64bf4;
  color: #fff;
}

.modal-actions .btn.confirm:hover {
  background-color: #8b2bd4;
}

.modal-actions .btn.cancel {
  background-color: #444063;
  color: #fff;
}

.modal-actions .btn.cancel:hover {
  background-color: #5a5a80;
}

/* CSS */
.license-info ul {
    list-style: none;
    padding-left: 0;
}

.license-info li {
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
    font-family: Arial, sans-serif;
}

.ip-container {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* espaçamento entre IP e botão */
    margin-left: 4px;
}

.edit-ip-btn {
    cursor: pointer;
    color: #007bff;
    font-weight: bold;
    user-select: none;
}

.change-ip-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}

.input-ip {
    width: 150px;
    padding: 3px 6px;
    font-size: 1em;
}

.status.active {
    color: green;
    font-weight: bold;
}

.status.inactive {
    color: red;
    font-weight: bold;
}



 .edit-ip-btn {
            cursor: pointer;
            margin-left: 8px;
            color: #007bff;
            font-weight: bold;
            user-select: none;
        }
        .change-ip-form {
            display: inline;
        }
        .input-ip {
            width: 150px;
            padding: 3px 6px;
            font-size: 1em;
        }
		
		.alert {
    padding: 12px 20px;
    margin: 15px 0;
    border-radius: 5px;
    position: relative;
    font-weight: bold;
    font-size: 1em;
    max-width: 600px;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.close-alert {
    position: absolute;
    top: 8px;
    right: 15px;
    cursor: pointer;
    font-size: 1.2em;
}

.logout-btn {
  background-color: #ff4b4b;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  float: right;
  margin-top: -40px;
  transition: background 0.3s ease;
}

.logout-btn:hover {
  background-color: #cc0000;
}

/* 🌟 DASHBOARD DETALHADO */
.dashboard {
  width: 90%;
  max-width: 1200px;
  background-color: #2a2a40;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(166, 75, 244, 0.3);
  color: #e6ccff;
  margin: 20px auto;
}

.dashboard h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.dashboard h2 {
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #c799ff;
}

.dashboard .welcome {
  font-size: 16px;
  margin-bottom: 15px;
  color: #a4a4c9;
}

.dashboard .btn {
  display: inline-block;
  background-color: #a64bf4;
  padding: 10px 20px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.dashboard .btn:hover {
  background-color: #8b2bd4;
}

/* 🔑 Lista de licenças */
.dashboard ul {
  list-style: none;
  padding-left: 0;
}

.dashboard li {
  background-color: #3b3b5c;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 4px solid #a64bf4;
}

/* ✅ Status colorido */
.status.active {
  color: #4eff9c;
  font-weight: bold;
}

.status.inactive {
  color: #ff6b6b;
  font-weight: bold;
}

/* 📜 Seções */
.license-info, .pricing, .benefits {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background-color: #333354;
}


/* 📲 Responsivo */
@media (max-width: 600px) {
  .container, .dashboard {
    padding: 20px;
  }

  h1 {
    font-size: 22px;
  }
}

.container h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #ffdaff;
}


/* 📋 Labels */
label {
  display: block;
  text-align: left;
  font-size: 15px;
  margin-bottom: 5px;
  color: #d6b3ff;
}

/* 🎨 Inputs e selects */
input[type="text"], select {
  margin-bottom: 15px;
  background-color: #444063;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  width: 100%;
}

/* 💰 Botão de pagamento */
input[type="submit"] {
  background-color: #a64bf4;
  color: white;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #8b2bd4;
}


/* 🔙 Botão de voltar */
.btn {
  display: inline-block;
  margin-top: 15px;
  color: #a64bf4;
  font-weight: bold;
  text-decoration: none;
}

.btn:hover {
  text-decoration: underline;
}


/* 🏷 Títulos */
h1 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #c799ff;
}

/* 📝 Formulário */
form {
  margin-top: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select,
input[type="submit"],
button {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

/* 📋 Campos */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select {
  background-color: #444063;
  color: #fff;
}

input::placeholder {
  color: #aaa;
}

/* 🔽 Select customizado */
select {
  appearance: none;
  background-color: #444063;
  color: #fff;
  padding-right: 30px;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20fill%3D'%23fff'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%20width%3D'24'%20xmlns%3D'http://www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M7%2010l5%205%205-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

/* ✅ Botão */
input[type="submit"],
button {
  background-color: #a64bf4;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover,
button:hover {
  background-color: #8b2bd4;
}

/* 🔗 Links */
a {
  color: #a64bf4;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}


 .pix-container {
      background-color: #202040;
      padding: 35px;
      border-radius: 16px;
      box-shadow: 0 0 25px rgba(166, 75, 244, 0.4);
      width: 100%;
      max-width: 480px;
      text-align: center;
    }

    .pix-container h1 {
      font-size: 28px;
      color: #c799ff;
      margin-bottom: 10px;
    }

    .pix-container p {
      font-size: 16px;
      margin-bottom: 15px;
      color: #ddd;
    }

    .pix-container img {
      max-width: 110px;
      margin: 15px auto;
      display: block;
      border-radius: 12px;
      box-shadow: 0 0 15px rgba(166, 75, 244, 0.5);
    }

    /* Copia e Cola */
    .pix-code {
      width: 100%;
      height: 70px;
      padding: 10px;
      background-color: #2a2a4d;
      border: none;
      border-radius: 8px;
      color: #fff;
      font-size: 15px;
      resize: none;
      margin-bottom: 12px;
      text-align: center;
    }

    /* Botão Copiar */
    .copy-btn {
      background-color: #6e00ff;
      color: #fff;
      padding: 12px;
      border-radius: 8px;
      font-weight: bold;
      text-decoration: none;
      cursor: pointer;
      width: 100%;
      display: inline-block;
      transition: background-color 0.3s ease;
      margin-bottom: 20px;
    }

    .copy-btn:hover {
      background-color: #5500cc;
    }

    /* Timer */
    #timer {
      font-size: 20px;
      font-weight: bold;
      color: #ffda79;
      margin-bottom: 15px;
    }

    /* Botão voltar */
    .btn {
      display: inline-block;
      padding: 12px 20px;
      border-radius: 8px;
      background-color: #a64bf4;
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .btn:hover {
      background-color: #8b2bd4;
    }

    /* Status */
    #statusMessage {
      margin: 12px 0;
      font-weight: bold;
      font-size: 18px;
    }

    /* Responsivo */
    @media (max-width: 600px) {
      .pix-container {
        padding: 20px;
        max-width: 90%;
      }
      .pix-container img {
        max-width: 180px;
      }
      #timer {
        font-size: 18px;
      }
    }
	
	
/* 🔚 FOOTER */
footer {
  background: #1e0f2d;        /* Fundo roxo escuro */
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 30px;
  border-top: 2px solid #a64bf4;
}

/* 🔗 Links dos parceiros */
footer .partners {
    margin-bottom: 10px;
    font-size: 14px;
}

footer .partners a {
    color: #c799ff;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer .partners a:hover {
    color: #fff;
}

/* 📱 Ícones Sociais */
footer .social-icons {
    margin: 10px 0;
}

/* Remove o sublinhado dos links */
footer .social-icons a {
    text-decoration: none;
}

/* Ícones */
footer .social-icons img {
    width: 28px;
    height: 28px;
    margin: 0 8px;
    background: transparent;
    transition: transform 0.2s ease;
    filter: none;
    cursor: pointer;
}

/* Efeito hover */
footer .social-icons img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}


/* 📜 Texto inferior */
footer p {
    font-size: 13px;
    margin-top: 8px;
    color: #aaa;
}
    .payments-container {
            width: 95%;
            max-width: 1100px;
            margin: 30px auto;
            background: #2a2a40;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 0 20px rgba(166, 75, 244, 0.3);
        }
        h1 {
            color: #c799ff;
            text-align: center;
            margin-bottom: 20px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
        }
        table th, table td {
            padding: 12px;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        table th {
            background: rgba(166, 75, 244, 0.3);
            color: #fff;
        }
        tr:hover {
            background: rgba(255,255,255,0.05);
        }
        .status {
            font-weight: bold;
            padding: 6px 10px;
            border-radius: 6px;
        }
        .status.pending { background: #ffcc00; color: #222; }
        .status.approved { background: #4eff9c; color: #000; }
        .status.cancelled { background: #ff6b6b; color: #fff; }
        .btn-back, .pagination a, .btn-view {
            display: inline-block;
            margin: 5px;
            padding: 8px 14px;
            background: #a64bf4;
            color: #fff;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            transition: background 0.3s ease;
        }
        .btn-view {
            background: #ffcc00;
            color: #222;
            font-weight: bold;
        }
        .btn-view:hover { background: #ffdd33; }
        .btn-back:hover, .pagination a:hover { background: #8b2bd4; }
        .pagination { text-align: center; margin-top: 20px; }

        /* 📲 Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background: #2e2e4d;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 0 15px rgba(166, 75, 244, 0.5);
            width: 90%;
            max-width: 420px;
            text-align: center;
            color: #fff;
        }
        .modal-content img {
            width: 130px;
            margin-bottom: 15px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(255,255,255,0.3);
        }
        .modal-content textarea {
            width: 100%;
            height: 80px;
            margin-top: 10px;
            background: #222;
            color: #FFFFFF;
            border: none;
            border-radius: 8px;
            padding: 10px;
            font-size: 14px;
            text-align: center;
        }
        .modal-close {
            margin-top: 15px;
            background: #ff4b4b;
            color: white;
            padding: 10px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
        }
        @media (max-width: 700px) {
            table { font-size: 14px; }
            table th, table td { padding: 8px; }
        }
		