@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    padding-top: 80px;
    align-items: center;
    padding-bottom: 80px;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(to right, #ece9e6, #ffffff);
    margin: 0;
}

.subscription-container {
    max-width: 500px;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.subscription-container:hover {
    transform: scale(1.02);
}

h2, h3 {
    color: #381fec;
    font-weight: 600;
}

p {
    color: #555;
    font-size: 14px;
}

.wallet {
    background: #f0f4ff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.wallet h2 {
    color: #381fec;
    font-size: 22px;
}

.wallet p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.wallet i {
    font-size: 40px;
    color: #381fec;
    margin-bottom: 10px;
}

input[type="number"] {
    width: 80%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}

button {
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #381fec, #6c47ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #6c47ff, #381fec);
    transform: scale(1.05);
}

/* Estilos del botón de actualización de método de pago */
.btn-update-payment {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-update-payment:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: scale(1.05);
}

/* Estilo de facturas */
.invoice-history {
    margin-top: 20px;
    border-top: 2px solid #ddd;
    padding-top: 15px;
}

.invoice-item {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    background-color: #fafafa;
    border-left: 4px solid #381fec;
    transition: all 0.3s ease;
}

.invoice-item:hover {
    transform: scale(1.02);
    background: #f5f5ff;
}

button:active {
    transform: scale(0.95);
}

/* Sección de transacciones del monedero */
.wallet-transactions {
  margin-top: 2rem;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
}

.wallet-transactions h2 {
  margin-bottom: 1rem;
  color: #381fec;
}

/* Contenedor de transacciones */
#transactionList {
  margin-top: 1rem;
}

/* Cada transacción individual */
.transaction-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.transaction-item p {
  margin: 0.25rem 0;
}

/* Alternar fondo en cada transacción (opcional) */
.transaction-item:nth-child(even) {
  background-color: #f2f2f2;
}

.transaction-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1rem;
}

.package-offers {
  margin-top: 20px;
  padding: 15px;
  background: #f0f4ff;
  border-radius: 8px;
}

.package-offers h2 {
  margin-bottom: 15px;
  text-align: center;
  color: #381fec;
}

.package .bono {
  color: #27ae60;
  font-weight: 700;
  font-size: 1.2em;
  background: #e0fbe3;
  padding: 4px 10px;
  border-radius: 8px;
  margin-left: 6px;
}

.package p {
  margin: 5px 0;
  font-weight: 600;
  color: #333;
}

.buy-package-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #381fec, #6c47ff);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.buy-package-btn:hover {
  background: linear-gradient(135deg, #6c47ff, #381fec);
  transform: scale(1.05);
}

/* ==============================
   AJUSTES PARA PANTALLAS GRANDES
   ============================== */
@media (min-width: 1024px) {
    .subscription-container {
        max-width: 1200px;
        padding: 80px 60px;
        margin-top: 30px;
    }

    h2, h3 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }

    .wallet {
        padding: 30px;
    }

    input[type="number"] {
        width: 60%;
        padding: 15px;
        font-size: 18px;
    }

    button {
        padding: 15px 25px;
        font-size: 18px;
    }

    .btn-update-payment {
        padding: 12px 25px;
        font-size: 16px;
    }

    .invoice-history {
        padding-top: 20px;
    }

    .invoice-item {
        padding: 15px;
    }

    .wallet-transactions {
        padding: 1.5rem;
    }

    .transaction-item {
        padding: 0.75rem 0;
    }

    .package-offers {
        padding: 20px;
    }

    .buy-package-btn {
        padding: 15px 25px;
        font-size: 18px;
    }
}
.btn-delete-account {
  background: #e74c3c;
  color: #fff;
}
.btn-delete-account:hover {
  background: #c0392b;
}
