/*
 * ALPHA FITNESS — DASHBOARD PRO STYLES
 * Extraído del HTML monolítico (líneas 18373-19126).
 * Refactor: 2026-06-02
 */

/* ===== Layout principal ===== */
#dashPro{
  display:none; position:fixed; inset:0; z-index:100000;
  background:#000; color:#fff;
  font-family:'Raleway',sans-serif;
}
#dashPro.open{ display:flex; }

.dp-sidebar{
  width:260px; flex-shrink:0;
  background:linear-gradient(180deg,#050505 0%, #0a0a0a 100%);
  border-right:1px solid #1a1a1a;
  display:flex; flex-direction:column;
  overflow-y:auto;
  padding-bottom:20px;
}
.dp-brand{
  padding:24px 18px 18px;
  border-bottom:1px solid #1a1a1a;
  display:flex; align-items:center; gap:6px;   /* texto más pegado al logo */
  text-decoration:none; cursor:pointer; transition:opacity .2s;
}
.dp-brand:hover{ opacity:.8; }
.dp-brand:active{ opacity:.6; }
.dp-brand .logo-box{
  width:60px; height:60px;       /* contenedor más chico → libera lugar para el texto */
  flex-shrink:0;                 /* nunca se achica aunque el texto crezca */
  background:transparent;
  display:flex; align-items:center; justify-content:center;
  box-sizing:border-box;
  overflow:visible;              /* deja que el halo del drop-shadow salga del cuadro */
  position:relative;
  top:2px;                       /* baja la letra un toque (casi imperceptible) */
}
.dp-brand .logo-box svg{
  width:100%; height:100%; display:block;
}
/*
  La PNG ya viene con la A en NEGRO sobre fondo TRANSPARENTE
  (verificado: 62k+ pixels alpha=0). NO usamos brightness(0)
  porque genera artefactos donde el anti-aliasing tiene alpha parcial
  (eso era el "cuadrado tenue" que se notaba de fondo).

  Solo aplicamos el stack de drop-shadow para el efecto neón backlit:
  cada capa sigue el contorno EXACTO de la letra (no un rectángulo).

  transform:scale(1.55) hace zoom DENTRO del contenedor (60px) sin
  que la caja crezca → la A se ve más grande pero el texto al lado
  conserva su lugar y queda en una sola línea.
*/
.dp-brand .logo-box img{
  width:100%; height:100%;
  display:block;
  object-fit:contain;
  transform:scale(1.1);
  transform-origin:center center;
  background:transparent;
  /*
    Halo más AJUSTADO al contorno de la letra. Los blurs anteriores
    (10px, 22px) se difuminaban tanto que el glow saturaba uniformemente
    el rectángulo invisible del <img> y SE VEÍA COMO UN CUADRADO TENUE
    detrás. Bajamos a 3 capas con blur corto: queda neón pegado a la A,
    sin halo cuadrado de fondo.
  */
  filter:
    drop-shadow(0 0 1px rgba(57,255,20,1))
    drop-shadow(0 0 3px rgba(57,255,20,0.85))
    drop-shadow(0 0 6px rgba(57,255,20,0.45));
}
.dp-brand .brand-info{
  min-width:0;          /* permite que el flex hijo no fuerce overflow */
}
.dp-brand .brand-info .name{
  color:#fff; font-family:'Cormorant Garamond',serif;
  font-size:18px; font-weight:700; letter-spacing:1px;
  line-height:1;
  white-space:nowrap;   /* "ALPHA FITNESS" SIEMPRE en una sola línea */
}
.dp-brand .brand-info .sub{
  color:#39ff14; font-size:9px; font-weight:800;
  letter-spacing:3px; margin-top:4px;
  white-space:nowrap;
}

.dp-nav-section{
  padding:16px 14px 4px;
  color:#555; font-size:10px; letter-spacing:2px;
  font-weight:800; text-transform:uppercase;
}
.dp-nav-item{
  display:flex; align-items:center; gap:12px;
  margin:2px 10px; padding:11px 14px;
  color:#bbb; font-size:13px; font-weight:600;
  cursor:pointer; border-radius:8px;
  transition:all .2s; position:relative;
  font-family:'Raleway',sans-serif;
  border:none; background:transparent; width:calc(100% - 20px);
  text-align:left;
}
.dp-nav-item i{ width:18px; text-align:center; color:#777; font-size:14px; }
.dp-nav-item:hover{ background:rgba(255,255,255,0.04); color:#fff; }
.dp-nav-item:hover i{ color:#39ff14; }
.dp-nav-item.active{
  background:linear-gradient(90deg,rgba(57,255,20,0.15) 0%, rgba(57,255,20,0.04) 100%);
  color:#39ff14;
  box-shadow:inset 3px 0 0 #39ff14;
}
.dp-nav-item.active i{ color:#39ff14; filter:drop-shadow(0 0 4px rgba(57,255,20,0.5)); }
.dp-nav-item .badge{
  margin-left:auto;
  background:#39ff14; color:#000;
  padding:2px 7px; border-radius:10px;
  font-size:10px; font-weight:900;
}

/* ===== Main ===== */
.dp-main{
  flex:1; display:flex; flex-direction:column;
  overflow:hidden;
}
.dp-topbar{
  height:64px; flex-shrink:0;
  background:#0a0a0a; border-bottom:1px solid #1a1a1a;
  display:flex; align-items:center; gap:18px;
  padding:0 24px;
}
.dp-search{
  flex:1; max-width:520px; position:relative;
}
.dp-search input{
  width:100%; height:40px;
  background:#1a1a1a; border:1px solid #2a2a2a;
  border-radius:30px; padding:0 20px 0 44px;
  color:#fff; font-size:13px; outline:none;
  font-family:inherit;
}
.dp-search input:focus{ border-color:#39ff14; }
.dp-search i{ position:absolute; left:18px; top:50%; transform:translateY(-50%); color:#666; font-size:14px; }
.dp-top-actions{ display:flex; gap:14px; align-items:center; margin-left:auto; }
.dp-icon-btn{
  width:38px; height:38px; min-width:38px; min-height:38px;
  border-radius:50%;
  background:#1a1a1a; border:1px solid #2a2a2a;
  color:#bbb; cursor:pointer; font-size:14px;
  padding:0;                /* anula padding por defecto del UA */
  box-sizing:border-box;    /* width/height incluyen el border */
  flex:0 0 38px;            /* no se estira ni se achica en el flex parent */
  aspect-ratio:1 / 1;       /* refuerza que sea cuadrado → border-radius 50% = círculo */
  display:flex; align-items:center; justify-content:center;
  position:relative; transition:all .2s;
}
.dp-icon-btn:hover{ border-color:#39ff14; color:#39ff14; }
.dp-icon-btn .dot{
  position:absolute; top:8px; right:9px;
  width:8px; height:8px; border-radius:50%;
  background:#39ff14; border:2px solid #1a1a1a;
}

/* ============== ALPHA NOTIF CENTER ============== */
.anc-badge{
  position:absolute; top:-2px; right:-4px;
  background:#39ff14; color:#000; font-size:10px; font-weight:800;
  min-width:18px; height:18px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  padding:0 4px; border:2px solid #1a1a1a; line-height:1;
  animation:ancPulse .6s ease;
}
@keyframes ancPulse{ 0%{transform:scale(0)} 50%{transform:scale(1.3)} 100%{transform:scale(1)} }

/* Dropdown */
.anc-dropdown{
  position:fixed;                        /* fixed → no lo recorta el overflow:hidden de .dp-main */
  top:60px; right:24px;                  /* anclado a la esquina sup-derecha (debajo de la topbar) */
  width:400px; max-height:520px;
  min-width:400px;                       /* refuerzo: nunca se achica */
  background:#0a0a0a;
  border:1px solid #222; border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,0.8), 0 0 30px rgba(57,255,20,0.05);
  z-index:9999; display:none; overflow:hidden;
  box-sizing:border-box;
  animation:ancSlideDown .25s ease;
}
.anc-dropdown.open{ display:block; }
@keyframes ancSlideDown{ from{opacity:0; transform:translateY(-8px)} to{opacity:1; transform:translateY(0)} }
.anc-dd-head{
  padding:16px 18px; border-bottom:1px solid #1a1a1a;
  display:flex; justify-content:space-between; align-items:center;
}
.anc-dd-head h3{ margin:0; color:#fff; font-size:15px; font-weight:700; }
.anc-dd-actions{ display:flex; gap:8px; }
.anc-dd-btn{
  background:#111; border:1px solid #2a2a2a; color:#888;
  font-size:11px; padding:5px 10px; border-radius:6px; cursor:pointer;
  transition:all .2s; font-family:inherit;
}
.anc-dd-btn:hover{ border-color:#39ff14; color:#39ff14; }
.anc-dd-list{ max-height:380px; overflow-y:auto; overflow-x:hidden; }
.anc-dd-list::-webkit-scrollbar{ width:4px; }
.anc-dd-list::-webkit-scrollbar-thumb{ background:#333; border-radius:4px; }
.anc-dd-empty{
  padding:48px 20px; text-align:center; color:#555;
}
.anc-dd-empty i{ font-size:32px; margin-bottom:12px; display:block; color:#333; }
.anc-dd-footer{
  padding:10px 18px; border-top:1px solid #1a1a1a; text-align:center;
}
.anc-dd-footer a{
  color:#39ff14; font-size:12px; text-decoration:none; font-weight:600;
  cursor:pointer;
}
.anc-dd-footer a:hover{ text-decoration:underline; }

/* Notification item */
.anc-item{
  padding:14px 18px; border-bottom:1px solid #111; cursor:pointer;
  transition:background .15s; display:flex; gap:12px; align-items:flex-start;
}
.anc-item:hover{ background:rgba(57,255,20,0.03); }
.anc-item.unread{ background:rgba(57,255,20,0.04); border-left:3px solid #39ff14; }
.anc-item-icon{
  width:38px; height:38px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:15px;
}
.anc-item-icon.sale{ background:rgba(57,255,20,0.15); color:#39ff14; }
.anc-item-icon.question{ background:rgba(59,130,246,0.15); color:#3b82f6; }
.anc-item-icon.message{ background:rgba(168,85,247,0.15); color:#a855f7; }
.anc-item-icon.payment{ background:rgba(34,197,94,0.15); color:#22c55e; }
.anc-item-icon.stock{ background:rgba(249,115,22,0.15); color:#f97316; }
.anc-item-icon.user{ background:rgba(14,165,233,0.15); color:#0ea5e9; }
.anc-item-icon.system{ background:rgba(100,116,139,0.15); color:#64748b; }
.anc-item-icon.cart{ background:rgba(236,72,153,0.15); color:#ec4899; }
.anc-item-body{ flex:1; min-width:0; }
.anc-item-title{ color:#fff; font-size:13px; font-weight:700; margin-bottom:3px; }
.anc-item-msg{ color:#888; font-size:12px; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.anc-item-meta{ display:flex; justify-content:space-between; align-items:center; margin-top:6px; }
.anc-item-time{ color:#555; font-size:11px; }
.anc-item-action{
  color:#39ff14; font-size:11px; font-weight:600; background:rgba(57,255,20,0.1);
  padding:3px 8px; border-radius:4px; text-decoration:none;
}
.anc-item-action:hover{ background:rgba(57,255,20,0.2); }
.anc-item-dot{
  width:8px; height:8px; border-radius:50%;
  background:#39ff14; flex-shrink:0; margin-top:6px;
  box-shadow:0 0 6px rgba(57,255,20,0.5);
}

/* ===== NOTIFICATION CONFIG TOGGLES ===== */
.nc-toggle{ position:relative; width:48px; height:26px; cursor:pointer; display:inline-block; flex-shrink:0; -webkit-tap-highlight-color:transparent; }
.nc-toggle input{ opacity:0; width:0; height:0; position:absolute; }
.nc-toggle .nc-track{ position:absolute; top:0; left:0; right:0; bottom:0; background:#333; border-radius:13px; transition:background .15s; }
.nc-toggle input:checked + .nc-track{ background:#39ff14; }
.nc-toggle .nc-thumb{ position:absolute; top:3px; left:3px; width:20px; height:20px; background:#fff; border-radius:50%; transition:transform .15s; pointer-events:none; }
.nc-toggle input:checked ~ .nc-thumb{ transform:translateX(22px); }
.nc-row{ background:#111; border:1px solid #222; border-radius:12px; padding:14px 16px; margin-bottom:8px; display:flex; align-items:center; gap:12px; -webkit-tap-highlight-color:transparent; }
.nc-row:active{ background:#1a1a1a; }
.nc-icon{ width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nc-test-btn{ flex:1; padding:12px; background:#111; border-radius:8px; cursor:pointer; font-weight:600; font-size:13px; -webkit-tap-highlight-color:transparent; transition:transform .1s, opacity .1s; touch-action:manipulation; }
.nc-test-btn:active{ transform:scale(0.95); opacity:0.7; }
.nc-toggle{ touch-action:manipulation; }
.nc-row{ touch-action:manipulation; }

/* ===== PREMIUM SALE TOAST ===== */
.anc-toast-sale{
  position:fixed; bottom:24px; right:24px; z-index:100001;
  background:linear-gradient(145deg, #0a0a0a 0%, #111 100%);
  border:2px solid #39ff14; border-radius:16px;
  padding:0; width:380px; max-width:calc(100vw - 32px);
  box-shadow:0 0 40px rgba(57,255,20,0.15), 0 20px 60px rgba(0,0,0,0.8);
  animation:ancToastIn .5s cubic-bezier(0.34,1.56,0.64,1);
  overflow:hidden;
}
@keyframes ancToastIn{
  from{ opacity:0; transform:translateY(40px) scale(0.95); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
.anc-toast-sale .anc-ts-glow{
  position:absolute; top:-50%; left:-50%; width:200%; height:200%;
  background:radial-gradient(circle at 50% 100%, rgba(57,255,20,0.06) 0%, transparent 70%);
  pointer-events:none;
}
.anc-toast-sale .anc-ts-head{
  padding:16px 18px 12px; display:flex; align-items:center; gap:12px;
  position:relative;
}
.anc-toast-sale .anc-ts-icon{
  width:44px; height:44px; border-radius:12px;
  background:linear-gradient(135deg, #39ff14, #2ecc00);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; color:#000; flex-shrink:0;
  box-shadow:0 4px 16px rgba(57,255,20,0.3);
}
.anc-toast-sale .anc-ts-label{
  font-size:20px; font-weight:900; color:#39ff14;
  letter-spacing:2px; text-transform:uppercase;
  font-family:'Raleway',sans-serif;
  text-shadow:0 0 20px rgba(57,255,20,0.3);
}
.anc-toast-sale .anc-ts-close{
  position:absolute; top:12px; right:14px; background:none;
  border:none; color:#555; cursor:pointer; font-size:18px; padding:4px;
}
.anc-toast-sale .anc-ts-close:hover{ color:#fff; }
.anc-toast-sale .anc-ts-body{ padding:0 18px 14px; }
.anc-toast-sale .anc-ts-product{
  color:#fff; font-size:14px; font-weight:600; margin-bottom:4px;
}
.anc-toast-sale .anc-ts-detail{ color:#888; font-size:12px; line-height:1.5; }
.anc-toast-sale .anc-ts-amount{
  color:#39ff14; font-size:18px; font-weight:800; margin-top:6px;
  font-family:'Raleway',sans-serif;
}
.anc-toast-sale .anc-ts-footer{
  padding:12px 18px; border-top:1px solid #1a1a1a;
  display:flex; gap:8px;
}
.anc-toast-sale .anc-ts-btn{
  flex:1; padding:10px; border-radius:8px; font-size:12px;
  font-weight:700; cursor:pointer; text-align:center;
  font-family:inherit; border:none; transition:all .2s;
}
.anc-toast-sale .anc-ts-btn.primary{
  background:linear-gradient(135deg, #39ff14, #2ecc00);
  color:#000;
}
.anc-toast-sale .anc-ts-btn.primary:hover{ box-shadow:0 4px 16px rgba(57,255,20,0.4); transform:translateY(-1px); }
.anc-toast-sale .anc-ts-btn.secondary{
  background:#1a1a1a; border:1px solid #333; color:#ccc;
}
.anc-toast-sale .anc-ts-btn.secondary:hover{ border-color:#39ff14; color:#39ff14; }

/* Generic toast (question, stock, etc.) */
.anc-toast{
  position:fixed; bottom:24px; right:24px; z-index:100001;
  background:#0a0a0a; border-radius:12px; padding:16px 18px;
  width:360px; max-width:calc(100vw - 32px);
  box-shadow:0 12px 40px rgba(0,0,0,0.7);
  animation:ancToastIn .4s cubic-bezier(0.34,1.56,0.64,1);
  display:flex; gap:12px; align-items:flex-start;
}
.anc-toast .anc-t-close{
  position:absolute; top:10px; right:12px; background:none;
  border:none; color:#555; cursor:pointer; font-size:16px;
}
.anc-toast-exit{ animation:ancToastOut .3s ease forwards; }
@keyframes ancToastOut{ to{ opacity:0; transform:translateY(20px); } }

/* Toast stack */
.anc-toast-container{
  position:fixed; bottom:24px; right:24px; z-index:100001;
  display:flex; flex-direction:column-reverse; gap:12px;
  pointer-events:none;
}
.anc-toast-container > *{ pointer-events:auto; position:relative; bottom:auto; right:auto; }

/* Notification center page */
.anc-center{ padding:0; }
.anc-center-header{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:20px; flex-wrap:wrap; gap:12px;
}
.anc-center-filters{
  display:flex; gap:8px; flex-wrap:wrap;
}
.anc-filter-chip{
  padding:6px 14px; border-radius:20px; font-size:12px;
  background:#111; border:1px solid #222; color:#888;
  cursor:pointer; font-family:inherit; transition:all .2s;
}
.anc-filter-chip:hover{ border-color:#444; color:#ccc; }
.anc-filter-chip.active{ background:rgba(57,255,20,0.1); border-color:#39ff14; color:#39ff14; }
.anc-center-list{ display:flex; flex-direction:column; gap:2px; }

@media(max-width:480px){
  .anc-dropdown{ width:calc(100vw - 20px); min-width:0; right:10px; left:10px; }
  .anc-toast-sale, .anc-toast{ width:calc(100vw - 16px); right:8px; bottom:80px; }
}
.dp-profile{
  display:flex; align-items:center; gap:10px;
  padding:6px 12px 6px 6px; background:#1a1a1a;
  border:1px solid #2a2a2a; border-radius:30px;
  cursor:pointer;
}
.dp-profile .pf-avatar{
  width:30px; height:30px; border-radius:50%;
  background:linear-gradient(135deg,#39ff14,#2ecc00); color:#000;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:13px;
}
.dp-profile .pf-name{ color:#fff; font-weight:600; font-size:12px; }
.dp-profile .pf-role{ color:#39ff14; font-size:10px; font-weight:700; letter-spacing:1px; }

.dp-content{
  flex:1; overflow-y:auto; padding:24px 32px 60px;
  background:linear-gradient(180deg,#000 0%, #050505 100%);
}
.dp-page-head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:24px; flex-wrap:wrap; gap:14px;
}
.dp-page-head h1{
  font-family:'Cormorant Garamond',serif;
  color:#fff; font-size:34px; letter-spacing:0.5px;
}
.dp-page-head h1 span{ color:#39ff14; }
.dp-page-head .breadcrumb{
  color:#666; font-size:12px; margin-top:4px;
  letter-spacing:1px; text-transform:uppercase; font-weight:600;
  display:flex; align-items:center; flex-wrap:wrap; gap:2px;
}
.dp-page-head .breadcrumb span{ color:#39ff14; }

/* Nuevo sistema: breadcrumbs clickeables con separador animado */
.dp-page-head .breadcrumb a,
.dp-page-head .breadcrumb .crumb-link{
  color:#666;
  text-decoration:none;
  cursor:pointer;
  transition:color var(--t-fast, 150ms) var(--ease-out, ease);
  padding:2px 0;
}
.dp-page-head .breadcrumb a:hover,
.dp-page-head .breadcrumb .crumb-link:hover{
  color:#39ff14;
}
.dp-page-head .breadcrumb .crumb-sep{
  color:#444; padding:0 8px;
  display:inline-flex; align-items:center;
}
.dp-page-head .breadcrumb .crumb-current{
  color:#39ff14;
  cursor:default;
}

/* ===== Stats cards ===== */
.dp-stats{
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px;
  margin-bottom:28px;
}
.dp-stat{
  background:linear-gradient(135deg,#0a0a0a 0%, #141414 100%);
  border:1px solid #1f1f1f; border-radius:14px;
  padding:20px;
  position:relative; overflow:hidden;
  transition:transform .25s, border-color .25s;
}
.dp-stat:hover{ transform:translateY(-3px); border-color:#39ff14; }
.dp-stat::before{
  content:''; position:absolute; right:-30px; top:-30px;
  width:120px; height:120px;
  background:radial-gradient(circle, rgba(57,255,20,0.08) 0%, transparent 70%);
  pointer-events:none;
}
.dp-stat .ic{
  width:42px; height:42px; border-radius:10px;
  background:rgba(57,255,20,0.1); border:1px solid rgba(57,255,20,0.3);
  color:#39ff14; display:flex; align-items:center; justify-content:center;
  font-size:16px; margin-bottom:14px;
}
.dp-stat .lbl{
  color:#888; font-size:11px; letter-spacing:1.5px;
  font-weight:700; text-transform:uppercase;
}
.dp-stat .val{
  color:#fff; font-size:28px; font-weight:800; margin-top:6px;
  font-family:'Raleway',sans-serif;
}
.dp-stat .val small{ color:#39ff14; font-size:14px; font-weight:600; margin-left:6px; }
.dp-stat .trend{
  margin-top:10px; font-size:11px; color:#39ff14; font-weight:700;
}
.dp-stat .trend.down{ color:#ff6b6b; }
.dp-stat .trend i{ margin-right:4px; }

/* ===== Cards generic ===== */
.dp-card{
  background:#0a0a0a; border:1px solid #1f1f1f; border-radius:14px;
  padding:22px; margin-bottom:18px;
}
.dp-card-head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:16px; padding-bottom:14px; border-bottom:1px solid #1a1a1a;
}
.dp-card-head h3{
  font-family:'Raleway',sans-serif;
  color:#fff; font-size:14px; font-weight:800;
  letter-spacing:1.5px; text-transform:uppercase;
}
.dp-card-head h3 i{ color:#39ff14; margin-right:8px; }
.dp-card-head .actions{ display:flex; gap:8px; }

/* ===== Buttons ===== */
.dp-btn{
  background:linear-gradient(45deg,#39ff14,#2ecc00); color:#000;
  border:none; padding:10px 18px; border-radius:8px; cursor:pointer;
  font-family:inherit; font-weight:800; font-size:12px;
  letter-spacing:1.5px; text-transform:uppercase;
  display:inline-flex; align-items:center; gap:7px;
  transition:transform .15s, box-shadow .15s;
}
.dp-btn:hover{ transform:translateY(-1px); box-shadow:0 6px 18px rgba(57,255,20,0.4); }
.dp-btn.outline{ background:transparent; color:#39ff14; border:1px solid #39ff14; }
.dp-btn.outline:hover{ background:#39ff14; color:#000; box-shadow:none; }
.dp-btn.ghost{ background:transparent; color:#888; border:1px solid #2a2a2a; }
.dp-btn.ghost:hover{ border-color:#39ff14; color:#39ff14; }
.dp-btn.danger{ background:#ff4444; }
.dp-btn.sm{ padding:6px 12px; font-size:11px; }

/* ===== Tables ===== */
.dp-table{
  width:100%; border-collapse:separate; border-spacing:0;
}
.dp-table thead{
  background:#0a0a0a;
}
.dp-table th{
  text-align:left; padding:12px 14px;
  color:#666; font-size:11px; letter-spacing:1.5px;
  font-weight:800; text-transform:uppercase;
  border-bottom:1px solid #1f1f1f;
}
.dp-table td{
  padding:14px;
  color:#ddd; font-size:13px;
  border-bottom:1px solid #161616;
}
.dp-table tbody tr{ transition:background .15s; }
.dp-table tbody tr:hover{ background:rgba(57,255,20,0.04); }
.dp-table .row-actions{ display:flex; gap:6px; }
.dp-table .row-btn{
  width:32px; height:32px; border-radius:7px;
  background:#1a1a1a; border:1px solid #2a2a2a; color:#bbb;
  cursor:pointer; font-size:12px;
  display:inline-flex; align-items:center; justify-content:center;
  transition:all .2s;
}
.dp-table .row-btn:hover{ border-color:#39ff14; color:#39ff14; }
.dp-table .row-btn.danger:hover{ border-color:#ff4444; color:#ff4444; }
.dp-pill{
  display:inline-block; padding:3px 10px; border-radius:20px;
  font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
}
.dp-pill.ok{ background:rgba(57,255,20,0.12); color:#39ff14; border:1px solid rgba(57,255,20,0.4); }
.dp-pill.off{ background:rgba(255,68,68,0.12); color:#ff6b6b; border:1px solid rgba(255,68,68,0.4); }
.dp-pill.warn{ background:rgba(255,149,0,0.12); color:#ff9500; border:1px solid rgba(255,149,0,0.4); }
.dp-pill.info{ background:rgba(78,168,255,0.12); color:#4ea8ff; border:1px solid rgba(78,168,255,0.4); }

/* ===== Inputs ===== */
.dp-input, .dp-select, .dp-textarea{
  width:100%; background:#000; border:1px solid #2a2a2a;
  border-radius:8px; padding:11px 14px; color:#fff;
  font-size:14px; font-family:inherit; outline:none;
}
.dp-input:focus, .dp-select:focus, .dp-textarea:focus{ border-color:#39ff14; }
.dp-label{
  display:block; color:#888; font-size:11px; letter-spacing:1.5px;
  text-transform:uppercase; font-weight:700; margin-bottom:6px;
}
.dp-form-row{ margin-bottom:14px; }
.dp-form-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.dp-form-grid3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }

/* ===== Toolbar ===== */
.dp-toolbar{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  margin-bottom:18px;
}
.dp-toolbar input{
  background:#0a0a0a; border:1px solid #2a2a2a; border-radius:8px;
  padding:9px 14px; color:#fff; font-size:13px; outline:none;
  min-width:220px;
}
.dp-toolbar input:focus{ border-color:#39ff14; }
.dp-toolbar select{
  background:#0a0a0a url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%2339ff14' d='M8 11L3 6h10z'/%3e%3c/svg%3e") no-repeat right 12px center;
  background-size:12px;
  border:1px solid #2a2a2a; border-radius:8px;
  padding:9px 36px 9px 14px; color:#fff; font-size:13px; outline:none;
  -webkit-appearance:none; appearance:none; cursor:pointer;
}

/* ===== Product grid (admin) ===== */
.dp-pgrid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:16px;
}
.dp-pcard{
  background:#0a0a0a; border:1px solid #1f1f1f; border-radius:12px;
  overflow:hidden; transition:border-color .2s, transform .2s;
}
.dp-pcard:hover{ border-color:#39ff14; transform:translateY(-3px); }
.dp-pcard-img{
  height:170px;
  background:radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 70%, #050505 100%);
  display:flex; align-items:center; justify-content:center; padding:14px;
  position:relative; border-bottom:1px solid #1a1a1a;
}
.dp-pcard-img::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at center, rgba(57,255,20,0.05) 0%, transparent 65%);
  pointer-events:none;
}
.dp-pcard-img img{ max-width:100% !important; max-height:130px !important; object-fit:contain !important; }
.dp-pcard-img .badge{
  position:absolute; top:8px; right:8px;
  background:#39ff14; color:#000; padding:3px 8px; border-radius:6px;
  font-size:10px; font-weight:800; letter-spacing:1px;
}
.dp-pcard-body{ padding:14px; }
.dp-pcard-brand{
  color:#39ff14; font-size:10px; font-weight:800;
  letter-spacing:2px; text-transform:uppercase;
}
.dp-pcard-name{
  color:#fff; font-size:13px; font-weight:700; margin:5px 0 8px;
  min-height:32px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.dp-pcard-price{ color:#39ff14; font-size:18px; font-weight:800; margin-bottom:10px; }
.dp-pcard-actions{ display:flex; gap:6px; }
.dp-pcard-actions button{
  flex:1; padding:7px; border-radius:6px; cursor:pointer;
  font-family:inherit; font-weight:700; font-size:11px;
  letter-spacing:0.5px; text-transform:uppercase;
}
.dp-pcard-actions .edit{ background:rgba(57,255,20,0.12); color:#39ff14; border:1px solid rgba(57,255,20,0.4); }
.dp-pcard-actions .edit:hover{ background:#39ff14; color:#000; }
.dp-pcard-actions .del{ background:rgba(255,68,68,0.12); color:#ff6b6b; border:1px solid rgba(255,68,68,0.4); }
.dp-pcard-actions .del:hover{ background:#ff4444; color:#fff; }

/* Botón "EDITAR" (mismo estilo que el de CATEGORIAS en la home): rectángulo
   translúcido oscuro con borde gris. Reemplaza el viejo cuadro blanco con lápiz. */
.dp-edit-pill{
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(10,10,12,0.55);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  color:#f0f0f0; border:1px solid rgba(60,60,66,0.9);
  padding:6px 12px; border-radius:8px; cursor:pointer;
  font-family:inherit; font-size:11px; font-weight:700;
  letter-spacing:1px; text-transform:uppercase; line-height:1;
  min-height:0; box-sizing:border-box; white-space:nowrap;
  transition:background .2s, border-color .2s, transform .15s;
}
.dp-edit-pill i{ font-size:10px; }
.dp-edit-pill:hover{ background:rgba(22,22,26,0.85); border-color:rgba(110,110,118,0.95); transform:translateY(-1px); }

/* ===== Selección múltiple / borrado en lote ===== */
.dp-pcard{ position:relative; }
.dp-pcard.sel{ border-color:#39ff14; box-shadow:0 0 0 1px #39ff14, 0 10px 26px rgba(57,255,20,0.14); }
.dp-pcard.sel .dp-pcard-img{ background:radial-gradient(ellipse at center, #15260d 0%, #0a0a0a 72%, #050505 100%); }
.dp-pcard-check{
  position:absolute; top:8px; left:8px; z-index:4;
  width:26px; height:26px; border-radius:50%;
  background:rgba(0,0,0,0.55); border:1.5px solid #4a4a4a;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  transition:background .15s, border-color .15s, transform .15s;
}
.dp-pcard-check:hover{ border-color:#39ff14; transform:scale(1.08); }
.dp-pcard-check input{ position:absolute; inset:0; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.dp-pcard-check i{ color:transparent; font-size:12px; pointer-events:none; transition:color .15s; }
.dp-pcard-check.on{ background:#39ff14; border-color:#39ff14; }
.dp-pcard-check.on i{ color:#000; }

.dp-selbar{
  position:fixed; left:50%; bottom:26px; transform:translateX(-50%) translateY(150%);
  z-index:100040; display:flex; align-items:center; gap:12px;
  background:linear-gradient(135deg,#0d0d0d 0%, #161616 100%);
  border:1.5px solid #39ff14; border-radius:14px; padding:11px 16px;
  box-shadow:0 16px 50px rgba(0,0,0,0.6), 0 0 28px rgba(57,255,20,0.18);
  opacity:0; transition:transform .3s cubic-bezier(.2,.9,.3,1.25), opacity .2s;
  max-width:calc(100vw - 28px);
}
.dp-selbar.show{ transform:translateX(-50%) translateY(0); opacity:1; }
.dp-selbar-count{ color:#fff; font-size:13px; font-weight:700; white-space:nowrap; }
.dp-selbar-count b{ color:#39ff14; font-size:15px; }
.dp-selbar .sep{ width:1px; height:24px; background:#2a2a2a; }
.dp-selbar button{
  border:none; cursor:pointer; font-family:inherit; font-weight:700; font-size:12px;
  padding:9px 14px; border-radius:9px; letter-spacing:.4px; white-space:nowrap;
  display:inline-flex; align-items:center; gap:7px; transition:filter .15s, background .15s, color .15s, border-color .15s;
}
.dp-selbar .b-all{ background:rgba(255,255,255,0.06); color:#cfcfcf; border:1px solid #2a2a2a; }
.dp-selbar .b-all:hover{ background:rgba(255,255,255,0.12); color:#fff; }
.dp-selbar .b-del{ background:linear-gradient(135deg,#ff4444,#cc0000); color:#fff; }
.dp-selbar .b-del:hover{ filter:brightness(1.12); }
.dp-selbar .b-cancel{ background:transparent; color:#8a8a8a; border:1px solid #2a2a2a; }
.dp-selbar .b-cancel:hover{ color:#fff; border-color:#444; }
@media (max-width:560px){
  .dp-selbar{ flex-wrap:wrap; justify-content:center; bottom:14px; gap:8px; padding:10px 12px; }
  .dp-selbar .sep{ display:none; }
  .dp-selbar button{ flex:1 1 auto; justify-content:center; }
}

/* ===== Empty state ===== */
.dp-empty{
  text-align:center; padding:60px 20px;
  background:#0a0a0a; border:1px dashed #2a2a2a; border-radius:14px;
}
.dp-empty i{ font-size:50px; color:#222; display:block; margin-bottom:16px; }
.dp-empty h3{ color:#fff; font-family:'Cormorant Garamond',serif; font-size:24px; margin-bottom:8px; }
.dp-empty p{ color:#888; font-size:14px; margin-bottom:20px; }

/* ===== Recent activity ===== */
.dp-activity-item{
  display:flex; align-items:center; gap:14px;
  padding:12px 0; border-bottom:1px solid #161616;
}
.dp-activity-item:last-child{ border-bottom:none; }
.dp-activity-ic{
  width:38px; height:38px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(57,255,20,0.1); color:#39ff14; font-size:14px;
}
.dp-activity-text{ flex:1; min-width:0; }
.dp-activity-text .t{ color:#fff; font-size:13px; font-weight:600; }
.dp-activity-text .s{ color:#666; font-size:11px; margin-top:2px; }
.dp-activity-time{ color:#555; font-size:11px; flex-shrink:0; }

/* ===== Mobile responsive ===== */
@media (max-width:980px){
  .dp-sidebar{ position:absolute; left:0; top:0; bottom:0; transform:translateX(-100%); transition:transform .3s; z-index:5; }
  .dp-sidebar.show{ transform:translateX(0); }
  .dp-stats{ grid-template-columns:repeat(2,1fr); }
  .dp-form-grid2, .dp-form-grid3{ grid-template-columns:1fr; }
}
@media (max-width:580px){
  .dp-stats{ grid-template-columns:1fr; }
  .dp-content{ padding:16px 14px 60px; }
  .dp-topbar{ padding:0 14px; gap:10px; }
  .dp-search{ display:none; }
  .dp-page-head h1{ font-size:24px; }
}

/* ===== App Mobile Section ===== */
.dpm-tabs{
  display:flex; gap:4px; margin-bottom:22px;
  overflow-x:auto; padding-bottom:6px;
  border-bottom:1px solid #1a1a1a;
  scrollbar-width:none;
}
.dpm-tabs::-webkit-scrollbar{ display:none; }
.dpm-tab{
  padding:10px 16px; border-radius:8px 8px 0 0;
  background:transparent; border:1px solid transparent; border-bottom:none;
  color:#888; font-size:12px; font-weight:700; letter-spacing:0.5px;
  cursor:pointer; white-space:nowrap; transition:all .2s;
  font-family:inherit; display:flex; align-items:center; gap:7px;
}
.dpm-tab:hover{ color:#fff; background:rgba(255,255,255,0.03); }
.dpm-tab.active{
  color:#39ff14; background:rgba(57,255,20,0.06);
  border-color:#1f1f1f; border-bottom-color:transparent;
  position:relative;
}
.dpm-tab.active::after{
  content:''; position:absolute; bottom:-1px; left:0; right:0;
  height:2px; background:#39ff14;
}
.dpm-tab i{ font-size:13px; }

.dpm-section-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:14px; margin-bottom:20px;
}
.dpm-section-card{
  background:#0a0a0a; border:1px solid #1f1f1f; border-radius:12px;
  padding:16px; display:flex; align-items:center; gap:14px;
  transition:border-color .2s, transform .2s; cursor:pointer;
}
.dpm-section-card:hover{ border-color:#39ff14; transform:translateY(-2px); }
.dpm-section-card .ico{
  width:44px; height:44px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
}
.dpm-section-card .info{ flex:1; min-width:0; }
.dpm-section-card .info .t{ color:#fff; font-size:14px; font-weight:700; }
.dpm-section-card .info .s{ color:#666; font-size:11px; margin-top:3px; }
.dpm-section-card .toggle{
  width:44px; height:24px; border-radius:12px; position:relative;
  background:#2a2a2a; border:none; cursor:pointer; transition:background .2s;
  flex-shrink:0;
}
.dpm-section-card .toggle.on{ background:rgba(57,255,20,0.3); }
.dpm-section-card .toggle::after{
  content:''; position:absolute; top:3px; left:3px;
  width:18px; height:18px; border-radius:50%;
  background:#666; transition:all .2s;
}
.dpm-section-card .toggle.on::after{ left:23px; background:#39ff14; }

.dpm-sortable{ min-height:40px; }
.dpm-sortable-item{
  display:flex; align-items:center; gap:12px;
  padding:12px 14px; background:#0a0a0a; border:1px solid #1f1f1f;
  border-radius:10px; margin-bottom:8px; cursor:grab;
  transition:border-color .2s;
}
.dpm-sortable-item:hover{ border-color:#333; }
.dpm-sortable-item .grip{ color:#444; font-size:14px; cursor:grab; }
.dpm-sortable-item .name{ flex:1; color:#ddd; font-size:13px; font-weight:600; }
.dpm-sortable-item .actions{ display:flex; gap:6px; }

.dpm-color-swatch{
  display:flex; align-items:center; gap:12px;
  padding:12px 14px; background:#0a0a0a; border:1px solid #1f1f1f;
  border-radius:10px; margin-bottom:8px;
}
.dpm-color-swatch input[type="color"]{
  width:40px; height:40px; border:2px solid #333; border-radius:8px;
  background:transparent; cursor:pointer; padding:0;
}
.dpm-color-swatch input[type="color"]::-webkit-color-swatch{ border:none; border-radius:6px; }
.dpm-color-swatch input[type="color"]::-webkit-color-swatch-wrapper{ padding:2px; }
.dpm-color-swatch .lbl{ flex:1; }
.dpm-color-swatch .lbl .t{ color:#ddd; font-size:13px; font-weight:600; }
.dpm-color-swatch .lbl .hex{ color:#666; font-size:11px; margin-top:2px; font-family:monospace; }

.dpm-phone-frame{
  width:320px; height:580px; margin:0 auto;
  background:#0a0a0a; border:3px solid #333; border-radius:32px;
  overflow:hidden; position:relative; box-shadow:0 20px 60px rgba(0,0,0,0.5);
}
.dpm-phone-notch{
  width:120px; height:24px; background:#333; border-radius:0 0 14px 14px;
  margin:0 auto; position:relative; z-index:2;
}
.dpm-phone-content{
  height:calc(100% - 24px); overflow-y:auto; background:#000;
}
.dpm-phone-content::-webkit-scrollbar{ width:3px; }
.dpm-phone-content::-webkit-scrollbar-thumb{ background:#333; border-radius:3px; }

@media (max-width:980px){
  .dpm-section-grid{ grid-template-columns:1fr; }
  .dpm-phone-frame{ width:280px; height:500px; }
}
