.admin-page {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
}

/* TABS */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(0,207,255,0.1);
  padding-bottom: 0;
}

.tab {
  background: transparent;
  border: 1px solid rgba(0,207,255,0.1);
  border-bottom: none;
  color: #4a4a6a;
  padding: 10px 28px;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.tab:hover {
  border-color: rgba(0,207,255,0.3);
  color: #00cfff;
}

.tab.active {
  background: rgba(0,207,255,0.08);
  border-color: rgba(0,207,255,0.3);
  color: #00cfff;
  text-shadow: 0 0 8px rgba(0,207,255,0.3);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* SECTION HEADER */
.admin-section-header {
  margin-bottom: 24px;
}

.admin-section-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
}

/* LISTA */
.admin-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* CARD ADMIN */
.admin-card {
  background: linear-gradient(145deg, #111128, #0a0a1a);
  border: 1px solid rgba(0,207,255,0.12);
  border-radius: 6px;
  padding: 20px 24px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  position: relative;
  transition: border-color 0.2s;
}

.admin-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: #00cfff;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.4;
}

.admin-card:hover {
  border-color: rgba(0,207,255,0.25);
}

.admin-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 10px;
}

.admin-card p {
  color: #4a4a6a;
  font-size: 13px;
  margin-bottom: 5px;
}

.admin-card p strong {
  color: #8080a0;
}

.admin-card .admin-acciones {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* BOTONES ADMIN */
.btn-aprobar {
  background: rgba(0,207,100,0.1);
  color: #00cf64;
  border: 1px solid rgba(0,207,100,0.3);
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-aprobar:hover {
  background: rgba(0,207,100,0.2);
  box-shadow: 0 0 12px rgba(0,207,100,0.2);
}

.btn-rechazar {
  background: rgba(255,45,120,0.1);
  color: #ff2d78;
  border: 1px solid rgba(255,45,120,0.3);
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-rechazar:hover {
  background: rgba(255,45,120,0.2);
  box-shadow: 0 0 12px rgba(255,45,120,0.2);
}

.btn-entregar {
  background: rgba(0,207,255,0.1);
  color: #00cfff;
  border: 1px solid rgba(0,207,255,0.3);
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-entregar:hover {
  background: rgba(0,207,255,0.18);
  box-shadow: 0 0 12px rgba(0,207,255,0.2);
}

/* BADGES ESTADO */
.estado-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 3px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.estado-pendiente {
  background: rgba(255,165,0,0.1);
  color: #f39c12;
  border: 1px solid rgba(255,165,0,0.2);
}

.estado-entregado {
  background: rgba(0,207,100,0.1);
  color: #00cf64;
  border: 1px solid rgba(0,207,100,0.2);
}

.estado-aprobada {
  background: rgba(0,207,100,0.1);
  color: #00cf64;
  border: 1px solid rgba(0,207,100,0.2);
}

.estado-rechazada {
  background: rgba(255,45,120,0.1);
  color: #ff2d78;
  border: 1px solid rgba(255,45,120,0.2);
}

/* CAPTURAS */
.resena-capturas-admin {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}

.resena-capturas-admin img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(0,207,255,0.15);
  cursor: pointer;
  transition: all 0.2s;
}

.resena-capturas-admin img:hover {
  border-color: rgba(0,207,255,0.4);
}

/* USUARIO CARD */
.usuario-card {
  background: linear-gradient(145deg, #111128, #0a0a1a);
  border: 1px solid rgba(0,207,255,0.1);
  border-radius: 6px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.usuario-card p {
  color: #8080a0;
  font-size: 13px;
  margin-bottom: 3px;
}

.usuario-card p strong {
  color: #e0e0ff;
}

.usuario-rol {
  background: rgba(255,45,120,0.1);
  color: #ff2d78;
  border: 1px solid rgba(255,45,120,0.25);
  padding: 4px 14px;
  border-radius: 3px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cargando {
  color: #4a4a6a;
  text-align: center;
  padding: 40px;
  font-size: 14px;
}

.btn-cerrar {
  background: transparent;
  border: 1px solid rgba(255,45,120,0.35);
  color: #ff2d78;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  margin-left: 16px;
}

.btn-cerrar:hover {
  background: rgba(255,45,120,0.1);
  box-shadow: 0 0 12px rgba(255,45,120,0.2);
}

/* Cuestionario en admin */
.cuestionario-box {
  background: rgba(0,207,255,0.04);
  border: 1px solid rgba(0,207,255,0.12);
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 12px;
}

.cuestionario-box p {
  color: #6060a0 !important;
  font-size: 12px !important;
  margin-bottom: 4px !important;
}

.cuestionario-box p strong {
  color: #00cfff !important;
}

@media (max-width: 600px) {
  .admin-page { padding: 0 12px; }
  .admin-tabs { flex-wrap: wrap; }
  .tab { padding: 8px 16px; font-size: 12px; }
}
/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: linear-gradient(145deg, #111128, #0a0a1a);
  border: 1px solid rgba(0,207,255,0.15);
  border-radius: 6px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.stat-card-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px rgba(0,207,255,0.3));
}

.stat-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-card-label {
  color: #4a4a6a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
}

.stat-card-valor {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #00cfff;
  text-shadow: 0 0 16px rgba(0,207,255,0.4);
}

/* CHART */
.chart-card {
  background: linear-gradient(145deg, #111128, #0a0a1a);
  border: 1px solid rgba(0,207,255,0.12);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
}

.chart-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #00cfff;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.chart-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chart-bar-label {
  color: #8080a0;
  font-size: 13px;
  min-width: 140px;
  font-weight: 600;
}

.chart-bar-track {
  flex: 1;
  background: rgba(0,207,255,0.06);
  border-radius: 4px;
  height: 28px;
  overflow: hidden;
  border: 1px solid rgba(0,207,255,0.08);
}

.chart-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00cfff, #ff2d78);
  border-radius: 4px;
  transition: width 0.8s ease;
  box-shadow: 0 0 10px rgba(0,207,255,0.3);
}

.chart-bar-val {
  color: #00cfff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  min-width: 40px;
  text-align: right;
}
/* IMÁGENES */
.imagenes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.imagen-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(0,207,255,0.1);
  border-radius: 6px;
  padding: 16px;
}

.imagen-preview {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  overflow: hidden;
}

.imagen-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0,207,255,0.3));
}

.imagen-info {
  text-align: center;
  width: 100%;
}

.imagen-nombre {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e0e0ff;
  margin-bottom: 10px;
}

.btn-cambiar-img {
  display: inline-block;
  background: rgba(0,207,255,0.08);
  border: 1px solid rgba(0,207,255,0.25);
  color: #00cfff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cambiar-img:hover {
  background: rgba(0,207,255,0.15);
  box-shadow: 0 0 12px rgba(0,207,255,0.2);
}

.btn-cambiar-img input[type="file"] {
  display: none;
}
/* ─── PANEL ADMIN RESPONSIVE CEL ─── */
@media (max-width: 768px) {

  .admin-page {
    padding: 0 12px;
    margin: 20px auto;
  }

  /* TABS */
  .admin-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: none;
    padding-bottom: 0;
  }

  .tab {
    padding: 10px 8px;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
    border-radius: 4px;
  }

  /* CARDS */
  .admin-card {
    padding: 16px;
  }

  .admin-card h3 {
    font-size: 15px;
  }

  .admin-card p {
    font-size: 12px;
  }

  .admin-acciones {
    flex-direction: column;
  }

  .btn-aprobar,
  .btn-rechazar,
  .btn-entregar {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  /* COMPROBANTE */
  .admin-card img[id^="comp-"] {
    width: 100% !important;
    height: 180px !important;
  }

  /* STATS */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .stat-card-icon {
    font-size: 24px;
  }

  .stat-card-valor {
    font-size: 22px;
  }

  .chart-card {
    padding: 16px;
  }

  .chart-bar-label {
    min-width: 90px;
    font-size: 11px;
  }

  /* IMÁGENES */
  .imagenes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .imagen-preview {
    height: 90px;
  }

  .imagen-nombre {
    font-size: 12px;
  }

  .btn-cambiar-img {
    font-size: 10px;
    padding: 6px 10px;
  }

  /* USUARIOS */
  .usuario-card {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  /* HEADER ADMIN */
  header .logo span {
    display: none;
  }

  /* SECTION HEADER */
  .admin-section-header h2 {
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .admin-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab {
    font-size: 10px;
    padding: 8px 4px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .imagenes-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* WOLFCOINS */
.wolfcoins-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 500px;
}

.wolfcoins-form input {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,207,255,0.15);
  border-radius: 4px;
  padding: 12px 16px;
  color: #e0e0ff;
  font-size: 14px;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.wolfcoins-form input:focus {
  border-color: rgba(0,207,255,0.5);
  background: rgba(0,207,255,0.04);
}

.wc-cliente-card {
  background: linear-gradient(145deg, #111128, #0a0a1a);
  border: 1px solid rgba(0,207,255,0.12);
  border-radius: 6px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.wc-cliente-info p {
  color: #8080a0;
  font-size: 13px;
  margin-bottom: 3px;
}

.wc-cliente-info p strong {
  color: #e0e0ff;
}

.wc-saldo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #00cfff;
  text-shadow: 0 0 12px rgba(0,207,255,0.4);
}

.wc-saldo span {
  font-size: 12px;
  color: #4a4a6a;
  letter-spacing: 1px;
}