 
.tokens-security-alert {
  background: linear-gradient(135deg, #1e3c72, #2a5298); /* Azul degradado elegante */
  border: none;
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-weight: 500;
}
.tokens-security-alert i {
  color: #9cff57; /* Verde limón elegante */
  font-size: 1.3rem;
}

/* Texto informativo */
.tokens-info {
  font-size: 13px;
  color: #444;
  margin-top: 10px;
  line-height: 1.5;
  background: #f8f9fa;
  padding: 12px 15px;
  border-left: 4px solid #9cff57;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
 
/* --- personalizacion table Datashop --- */
div.dataTables_wrapper div.dataTables_info {
    padding-left: 0.85em !important;
}

.dataTables_filter label .form-control {
    margin: 5px !important;
}

div.dataTables_wrapper div.dataTables_length label {
    padding-left: 5px !important;
}
div.dataTables_wrapper div.dataTables_paginate {
    padding-right: 5px !important;
}


/* --- Encabezado de secciones   --- */
.tm-section-header {
    margin-bottom: 22px;
    padding-bottom: 12px;
    padding-left: 10px;
    padding-top: 10px;
    border-bottom: 2px solid #e5e7eb;
    background: #fbfbfb;
}

.tm-section-header .title {
  font-size: 22px;
  font-weight: 700;
  color: #111827; /* gris casi negro elegante */
  margin: 0;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-section-header .title i {
  color: #0284c7; /* azul coherente con sidebar */
  font-size: 18px;
}

.tm-section-header .subtitle {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280; /* gris suave */
  margin-top: 4px;
}

 /* para tipos de compra */

.badge-paquete {
    background: linear-gradient(135deg, #8e7ce4, #b19de8);
    color: #fff;
}
.badge-recarga {
    background: linear-gradient(135deg, #5a3d91, #7a55aa); /* pÃºrpura oscuro */
    color: #fff;
}
.badge {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5em 0.9em;
    border-radius: 20px;
    display: inline-flex
;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}











 /* --- Tablas mejoradas --- */
.table-container {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Encabezado */
.table thead {
  background: #f1f5f9;
}
.table thead th {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e5e7eb;
}

/* Celdas */
.table tbody td {
  padding: 12px 16px;
  font-size: 14px;
  color: #374151;
  vertical-align: middle;
  border-top: 1px solid #f3f4f6;
}

/* Fila alternada */
.table tbody tr:nth-child(even) {
  background: #fafbfc;
}

/* Hover fila */
.table tbody tr:hover {
  background: #f0f9ff;
  transition: background 0.2s ease;
}


/* --- Cards laterales --- */
.card-sidebar {
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card-sidebar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.card-sidebar .card-header {
  background: #f9fafb;
  border-bottom: 1px solid #eee;
  padding: 12px 16px;
}
.card-sidebar .card-title {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}
.card-sidebar .card-body {
  padding: 18px;
}

/* --- Saldo Tokens --- */
.tm-tokens-saldo, .tm-tokens-sinsaldo {
  display: inline-block;
  font-size: 34px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 12px;
  letter-spacing: -0.5px;
}
.tm-tokens-saldo {
  color: #10b981;
  background: #ecfdf5;
}
.tm-tokens-sinsaldo {
  color: #ef4444;
  background: #fef2f2;
}
.tm-tokens-saldo small, .tm-tokens-sinsaldo small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  margin-top: 4px;
}

/* --- Botón comprar tokens --- */
.btn-comprar.btn-sm {
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 8px 0px;
  transition: all 0.2s ease;
    background-color: #059669 !important;
  color: #ffffff;
}
.btn-comprar.btn-sm:hover {
  background-color: #059669 !important;
  color: #ffffff;
}

/* --- Licencia --- */
.license-key-group input {
  font-size: 14px;
  font-weight: 500;
  background: #f9fafb;
  border-radius: 10px 0 0 10px;
}
.license-key-group .btn {
  background: #f3f4f6;
  border-radius: 0 10px 10px 0;
  color: #374151;
  transition: all 0.2s ease;
}
.license-key-group .btn:hover {
  background: #e5e7eb;
}

/* --- Menú lateral --- */
.list-group-item {
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.2s ease;
}
.list-group-item:hover {
  background: #f9fafb;
  color: #111827;
}
.sidebar .list-group-item.active, .sidebar .list-group-item.active:focus, .sidebar .list-group-item.active:hover {
    background-color: #fba96f !important;
    border-color: #fba96f !important;
}
.list-group-item.active {
    background: #e0f2fe;
    color: #ffffff;
    font-weight: 600;
    border-left: 4px solid #bf7f52;
}


/* --- Tablas --- */
.table {
  border-radius: 12px;
  
}
.table thead {
  background: #f9fafb;
  font-size: 14px;
}
.table thead th {
  border-bottom: none;
  font-weight: 600;
  color: #374151;
}
.table tbody td {
  font-size: 14px;
  vertical-align: middle;
}
.table-container {
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
}

/* --- Labels mejorados --- */
.label {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}
.label-info {
  background: #dbeafe;
  color: #1d4ed8;
}
.label-success {
  background: #dcfce7;
  color: #15803d;
}
.label-warning {
  background: #fef9c3;
  color: #a16207;
}
.label-danger {
  background: #fee2e2;
  color: #b91c1c;
}
.label-default {
  background: #f3f4f6;
  color: #374151;
}







/* ---------------------------
   Estilos para la tienda de tokens
   --------------------------- */
.tokens-store {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #2b2b2b;
}

/* ---------------------------
   Tarjetas
   --------------------------- */
.tokens-store .tm-card {
  background: #fff;
  border: 1px solid rgba(34,34,34,0.06);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(36,50,80,0.06);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  margin-bottom: 18px;
  position: relative;
}
.tokens-store .tm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(36,50,80,0.12);
}

/* ---------------------------
   Etiquetas (Ribbon)
   --------------------------- */
.tokens-store .tm-badge {
  position: absolute;
  top: 14px;
  right: -40px;
  width: 120px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 24px;
  transform: rotate(45deg);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  text-transform: uppercase;
}
.tm-badge-promo {
  background: linear-gradient(90deg,#FF7052,#ff4c27);
}
.tm-badge-gratis {
  background: linear-gradient(90deg,#16a085,#1abc9c);
}
.tm-badge-normal {
  background: linear-gradient(90deg,#3498db,#2980b9);
}

/* ---------------------------
   Encabezado
   --------------------------- */
.tokens-store .tm-head {
  background: #fafafa;
  padding: 14px 16px;
  text-align: center;
}
.tokens-store .tm-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: rgb(255, 112, 82);
}

/* ---------------------------
   Cuerpo
   --------------------------- */
.tokens-store .tm-body {
  padding: 10px 18px;
  flex: 1;
  text-align: center;
}
.tokens-store .tm-desc {
  font-size: 13px;
  color: #6b7280;
  min-height: 20px;
  margin-bottom: 8px;
}
.tokens-store .tm-tokens {
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0 6px;
  color: #FF7052;
}
.tokens-store .tm-price .old {
  color: #9aa0a6;
  text-decoration: line-through;
  font-size: 13px;
  display: block;
}
.tokens-store .tm-price .current {
  font-size: 20px;
  font-weight: 700;
  color: #5f5f5f;
}

/* ---------------------------
   Botones según tipo
   --------------------------- */
.tokens-store .tm-cta {
  display: block;
  margin: 5px 18px 10px;
  border-radius: 30px;
  padding: 7px 17px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: opacity 160ms ease, transform 160ms ease;
  border: none;
  color: #fff;
}
.tokens-store .tm-cta:active { transform: translateY(1px); }

.tm-cta-normal {
  background: linear-gradient(90deg,#3498db,#2980b9);
}
.tm-cta-promo {
  background: linear-gradient(90deg,#FF7052,#ff4c27);
}
.tm-cta-gratis {
  background: linear-gradient(90deg,#16a085,#1abc9c);
}

/* ---------------------------
   Footer
   --------------------------- */
.tokens-store .tm-footer {
  font-size: 12px;
  color: #9aa0a6;
  padding: 8px 14px;
  text-align: center;
  border-top: 1px solid rgba(34,34,34,0.03);
}
