/* ============================================================
   assets/css/main.css  —  UruCarga v2
   Todos los estilos. Sin dependencias externas de CSS custom.
   ============================================================ */

/* ─── TOKENS ─────────────────────────────────────────────────*/
:root {
  --c-bg:        #F0F4F8;
  --c-surface:   #FFFFFF;
  --c-surface2:  #E8EFF5;
  --c-border:    rgba(0,100,180,0.12);
  --c-border2:   rgba(0,100,180,0.22);
  --c-blue:      #0072CE;
  --c-blue-dim:  rgba(0,114,206,0.10);
  --c-gold:      #D97706;
  --c-gold-dim:  rgba(217,119,6,0.12);
  --c-orange:    #F59E0B;
  --c-orange-dim:rgba(245,158,11,0.12);
  --c-green:     #059669;
  --c-green-dim: rgba(5,150,105,0.12);
  --c-amber:     #D97706;
  --c-red:       #DC2626;
  --c-violet:    #6366F1;
  --c-muted:     #6B7280;
  --c-text:      #111827;
  --c-text2:     #374151;
  --font-head:   'Inter', sans-serif;
  --font-body:   'Inter', sans-serif;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --shadow:      0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
  --trans:       all 0.2s cubic-bezier(.4,0,.2,1);
  /* safe-area para iPhone X+ con notch */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-h:    60px;
  /* Subbarra mobile (debajo del header): por defecto no existe */
  --subbar-h:    0px;
  --topbar-h:    calc(var(--header-h) + var(--subbar-h));
}

/* ─── RESET ──────────────────────────────────────────────────*/
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html,body{height:100%;overflow:hidden;}
body{font-family:var(--font-body);background:var(--c-bg);color:var(--c-text);font-size:14px;-webkit-text-size-adjust:100%;}
button{font-family:var(--font-body);cursor:pointer;border:none;background:none;-webkit-tap-highlight-color:transparent;}
input,select,textarea{font-family:var(--font-body);font-size:16px;} /* 16px evita auto-zoom en iOS */

body.dark-mode{
  --c-bg:#07111F;
  --c-surface:#0F1B2D;
  --c-surface2:#17263A;
  --c-border:rgba(148,163,184,0.18);
  --c-border2:rgba(148,163,184,0.30);
  --c-blue:#38BDF8;
  --c-blue-dim:rgba(56,189,248,0.14);
  --c-green:#34D399;
  --c-green-dim:rgba(52,211,153,0.14);
  --c-gold:#FBBF24;
  --c-gold-dim:rgba(251,191,36,0.15);
  --c-orange:#FBBF24;
  --c-orange-dim:rgba(251,191,36,0.15);
  --c-amber:#F59E0B;
  --c-red:#FB7185;
  --c-violet:#A78BFA;
  --c-muted:#94A3B8;
  --c-text:#F8FAFC;
  --c-text2:#DDE7F4;
  --shadow:0 4px 20px rgba(0,0,0,0.34);
  --shadow-lg:0 14px 42px rgba(0,0,0,0.46);
  background:#07111F;
}
body.dark-mode .header{
  background:rgba(8,17,31,0.94);
  border-bottom-color:rgba(148,163,184,0.20);
  box-shadow:0 2px 18px rgba(0,0,0,0.36);
}
body.dark-mode .eslot-subbar{
  background:linear-gradient(180deg, rgba(8,17,31,0.94) 0%, rgba(8,17,31,0) 100%);
}
@media(max-width:768px){
  body.dark-mode .eslot-logo::before{color:#fff;}
}
body.dark-mode .leaflet-control-attribution{
  background:rgba(8,17,31,0.78)!important;
  color:#CBD5E1!important;
}
body.dark-mode .leaflet-control-attribution a{color:#E2E8F0!important;}
body.dark-mode .map-pin{
  border-color:#07111F;
  box-shadow:0 0 0 2px rgba(255,255,255,0.12),0 4px 14px rgba(0,0,0,.42);
}
body.dark-mode .map-pin-search-match{
  border-color:color-mix(in srgb, var(--pin-color,#34D399) 42%, #07111F);
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--pin-color,#34D399) 28%, transparent),
    0 5px 18px rgba(0,0,0,.42);
}
body.dark-mode .map-pin-search-muted{opacity:.50;filter:saturate(.55);}
body.dark-mode .cluster-icon{
  border-color:rgba(15,23,42,0.95);
  box-shadow:0 0 0 2px rgba(255,255,255,.10),0 6px 18px rgba(0,0,0,.42);
}
body.dark-mode .cluster-sm{background:#047857;}
body.dark-mode .cluster-md{background:#B45309;}
body.dark-mode .cluster-lg{background:#BE123C;}
body.dark-mode .action-dock{
  background:rgba(15,23,42,0.74);
  border-color:rgba(255,255,255,0.16);
  box-shadow:0 12px 28px rgba(0,0,0,0.42);
}
body.dark-mode .dock-btn{box-shadow:0 -1px 0 rgba(255,255,255,0.12) inset,0 12px 22px rgba(0,0,0,0.34);}

/* ─── MAPA ───────────────────────────────────────────────────*/
#map{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index:1;
  background:#f4f6f7;
}
.leaflet-container{background:#f4f6f7;}
body.dark-mode #map,
body.dark-mode .leaflet-container{background:#071B2F;}
body.dark-mode .leaflet-tile-pane{filter:sepia(.80) saturate(2.15) hue-rotate(168deg) brightness(.82) contrast(1.04);}
.leaflet-control-zoom{display:none!important;}
.leaflet-routing-container{display:none!important;}

/* ─── PIN DE USUARIO ─────────────────────────────────────────*/
.user-pin{
  width:20px;height:20px;border-radius:50%;
  background:var(--c-blue);border:3px solid #fff;
  box-shadow:0 0 0 4px rgba(0,114,206,0.25);
  animation:pulse-user 2s infinite;
}
@keyframes pulse-user{
  0%,100%{box-shadow:0 0 0 4px rgba(0,114,206,0.25);}
  50%{box-shadow:0 0 0 8px rgba(0,114,206,0.1);}
}

/* ─── PIN DE CARGADOR ────────────────────────────────────────*/
.map-pin{
  width:14px;height:14px;border-radius:50%;
  background:var(--pin-color,#059669);
  border:2.5px solid #fff;
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
  transition:transform 0.15s;
}
.map-pin:hover{transform:scale(1.3);}
.map-pin-search-match{
  width:20px;height:20px;
  border-width:3px;
  border-color:color-mix(in srgb, var(--pin-color,#059669) 34%, #fff);
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--pin-color,#059669) 24%, transparent),
    0 4px 14px rgba(0,0,0,.24);
}
.map-pin-search-muted{opacity:.44;filter:grayscale(.25);}

/* ─── CLUSTERS ───────────────────────────────────────────────*/
.cluster-icon{
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;color:#fff;font-weight:700;font-family:var(--font-head);
  border:2px solid rgba(255,255,255,0.8);
  box-shadow:0 2px 8px rgba(0,0,0,0.2);
}
.cluster-sm{background:#059669;width:32px;height:32px;font-size:11px;}
.cluster-md{background:#D97706;width:38px;height:38px;font-size:12px;}
.cluster-lg{background:#DC2626;width:44px;height:44px;font-size:13px;}

/* MarkerCluster reset */
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background:none!important;}
.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{background:none!important;}

/* ─── HEADER ─────────────────────────────────────────────────*/
.header{
  position:fixed;top:0;left:0;right:0;z-index:900;
  height:var(--header-h);background:rgba(255,255,255,0.96);
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--c-border2);
  display:flex;align-items:center;padding:0 20px;
  box-shadow:0 2px 12px rgba(0,0,0,0.07);
  overflow:visible; /* CRÍTICO: permite que el admin dropdown se muestre */
}

/* Subbarra (mobile): "X cargadores cerca" + "Tu auto" sobre degradé blanco */
.eslot-subbar{
  position:fixed;
  top:var(--header-h);
  left:0;right:0;
  height:var(--subbar-h);
  z-index:899;
  display:none;
  pointer-events:none; /* no bloquear el mapa; habilitamos solo los controles dentro */
  background:linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0) 100%);
}
.eslot-subbar .eslot-left{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 10px;
  width:100%;
  pointer-events:auto;
}
.eslot-nav{width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;}
.eslot-left{display:flex;align-items:center;gap:18px;min-width:0;}
.eslot-nearby{font-size:14px;font-weight:700;color:var(--c-text2);white-space:nowrap;}
.eslot-car{min-width:0;}
.eslot-car-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:12px;border:1px solid transparent;color:var(--c-text2);font-size:14px;font-weight:700;white-space:nowrap;transition:var(--trans);}
.eslot-car-btn strong{font-weight:900;color:var(--c-text);}
.eslot-car-btn i{font-size:11px;color:var(--c-muted);}
.eslot-car-btn:hover{background:rgba(0,114,206,0.06);border-color:rgba(0,114,206,0.18);color:var(--c-text);}
.eslot-car-btn.is-disabled{opacity:0.85;cursor:default;}
.eslot-car-btn.is-disabled:hover{background:transparent;border-color:transparent;color:var(--c-text2);}
.eslot-logo{justify-self:center;display:flex;align-items:center;gap:6px;font-family:var(--font-head);font-size:24px;font-weight:900;color:var(--c-blue);letter-spacing:0;white-space:nowrap;cursor:pointer;}
.eslot-logo i{font-size:18px;}
.brand-logo-img{height:30px;width:auto;display:block;object-fit:contain;}
.eslot-right{justify-self:end;display:flex;align-items:center;gap:10px;flex-shrink:0;}
.eslot-stat{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:900;color:var(--c-text2);white-space:nowrap;}
.eslot-stat i{font-size:12px;}
.eslot-pts{color:var(--c-violet);}
.eslot-saldo{color:var(--c-green);padding:6px 10px;border-radius:12px;border:1px solid transparent;transition:var(--trans);}
.eslot-saldo:hover{background:rgba(5,150,105,0.08);border-color:rgba(5,150,105,0.22);}

/* Safety: en el header nuevo NO se usa .saldo-chip. Si aparece por JS/cache viejo,
   lo ocultamos para evitar superposiciones en el extremo derecho. */
.header .saldo-chip{display:none!important;}
.header .recargar-tab{display:none!important;}
.header .premium-chip{display:none!important;}

.logo{display:flex;align-items:center;gap:8px;font-family:var(--font-head);font-size:1.2rem;font-weight:700;color:var(--c-blue);letter-spacing:-0.3px;white-space:nowrap;flex-shrink:0;}
.logo i{font-size:1rem;}
.station-pill{background:var(--c-green-dim);border:1px solid rgba(5,150,105,0.25);color:var(--c-green);padding:3px 10px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap;}
.search-bar{flex:1;max-width:480px;margin:0 auto;display:flex;align-items:center;gap:6px;background:var(--c-surface2);border:1px solid var(--c-border2);border-radius:var(--radius-lg);padding:0 12px;height:38px;}
.search-bar input{flex:1;background:none;border:none;outline:none;color:var(--c-text);font-size:13px;}
.search-bar input::placeholder{color:var(--c-muted);}
.search-bar .divider{width:1px;height:16px;background:var(--c-border2);}
.search-btn{background:var(--c-blue);color:#fff;border:none;border-radius:var(--radius-md);padding:6px 14px;font-size:12px;font-weight:600;transition:var(--trans);white-space:nowrap;}
.search-btn:hover{background:#005BB5;}
.user-area{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0;min-width:0;}
.user-chip{background:var(--c-surface);border:1px solid var(--c-border2);border-radius:999px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;padding:0;color:var(--c-text2);cursor:pointer;transition:var(--trans);flex-shrink:0;font-size:0;overflow:hidden;}
.user-chip:hover{background:rgba(0,114,206,0.06);border-color:rgba(0,114,206,0.25);color:var(--c-blue);}
.user-chip .avatar-initial{
  width:100%;
  height:100%;
  border-radius:999px;
  background:#E5E7EB;
  border:none;
  box-shadow:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-head);
  font-weight:900;
  color:rgba(17,24,39,0.75);
  font-size:14px;
  line-height:1;
}
.user-chip .avatar-img{
  width:100%;
  height:100%;
  border-radius:999px;
  object-fit:cover;
  object-position:center;
  display:block;
}
.premium-chip{background:linear-gradient(135deg,rgba(245,158,11,0.18),rgba(245,158,11,0.06));border:1px solid rgba(245,158,11,0.40);color:var(--c-orange);border-radius:var(--radius-lg);padding:5px 12px;font-size:12px;font-weight:700;cursor:pointer;transition:var(--trans);white-space:nowrap;}
.premium-chip:hover{background:rgba(245,158,11,0.22);}
.admin-chip{position:relative;background:rgba(217,119,6,0.10);border:1px solid rgba(217,119,6,0.25);color:var(--c-amber);border-radius:var(--radius-lg);padding:5px 12px;font-size:12px;font-weight:600;cursor:pointer;transition:var(--trans);display:flex;align-items:center;gap:6px;}
.admin-chip:hover{background:rgba(217,119,6,0.18);}
.notif-dot{position:absolute;top:-4px;right:-4px;background:var(--c-red);color:#fff;border-radius:10px;padding:1px 5px;font-size:9px;font-weight:700;border:2px solid var(--c-surface);}
.btn-auth{background:var(--c-blue);border:none;color:#fff;border-radius:999px;width:auto;min-width:106px;height:32px;display:flex;align-items:center;justify-content:center;padding:0 14px;font-size:13px;font-weight:800;transition:var(--trans);white-space:nowrap;flex-shrink:0;}
.btn-auth:hover{background:#005BB5;}
.btn-auth i{font-size:13px;}
body:not(.is-authenticated) .eslot-right .notif-btn,
body:not(.is-authenticated) .eslot-right .user-chip{display:none!important;}
body.is-authenticated .eslot-right .notif-btn,
body.is-authenticated .eslot-right .user-chip{display:inline-flex!important;}

/* Header: eliminar indicadores legacy (corona / icono usuario) si aparecen por cache o JS viejo */
.header .fa-crown{display:none!important;}
.header .fa-user,
.header .fa-user-circle,
.header .fa-user-alt,
.header .fa-user-large{display:none!important;}

/* Chip de saldo en header */
.saldo-chip{
  background:rgba(5,150,105,0.12);border:1px solid rgba(5,150,105,0.3);
  color:var(--c-green);border-radius:20px;padding:1px 7px;
  font-size:11px;font-weight:600;
}

/* Pestaña Recargar en header */
.recargar-tab{
  display:flex;align-items:center;gap:5px;
  background:var(--c-green);color:#fff;
  border-radius:var(--radius-md);padding:6px 14px;
  font-size:12px;font-weight:600;text-decoration:none;
  transition:var(--trans);white-space:nowrap;
}
.recargar-tab:hover{background:#047857;}

/* Notificaciones (solo campana, sin circulo/borde visible) */
.notif-btn{
  position:relative;
  background:transparent;
  border:none;
  color:var(--c-text2);
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0;
  cursor:pointer;
  transition:var(--trans);
  flex-shrink:0;
}
.notif-btn:hover{color:var(--c-blue);}
.notif-btn:focus-visible{outline:2px solid rgba(0,114,206,0.25);outline-offset:2px;border-radius:999px;}
.notif-btn i{font-size:14px;}
#notifBadge{
  position:absolute;
  top:2px;right:2px; /* dentro del botón para que no se superponga con el perfil */
  background:var(--c-red);color:#fff;
  min-width:16px;height:16px;padding:0 4px;
  border-radius:999px;
  font-size:9px;font-weight:800;line-height:1;
  border:2px solid #fff;
  display:none;
  align-items:center;justify-content:center;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  pointer-events:none;
}

/* ─── SIDEBAR ────────────────────────────────────────────────*/
.sidebar{position:fixed;left:-360px;top:calc(var(--topbar-h) + 8px);width:340px;max-width:92vw;height:calc(100vh - (var(--topbar-h) + 16px));background:rgba(255,255,255,0.98);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--c-border2);border-radius:0 var(--radius-lg) var(--radius-lg) 0;z-index:800;display:flex;flex-direction:column;transition:left 0.28s cubic-bezier(.4,0,.2,1);overflow:hidden;box-shadow:var(--shadow-lg);}
.sidebar.open{left:0;}
.sidebar-head{padding:16px 18px 12px;border-bottom:1px solid var(--c-border);display:flex;flex-direction:column;gap:10px;}
.sidebar-head h3{font-family:var(--font-head);font-size:1rem;font-weight:700;color:var(--c-text);display:flex;align-items:center;gap:8px;}
.sidebar-head h3 i{color:var(--c-blue);font-size:0.9rem;}
.search-input{background:var(--c-surface2);border:1px solid var(--c-border);border-radius:var(--radius-md);padding:8px 12px;color:var(--c-text);font-size:13px;outline:none;width:100%;transition:var(--trans);}
.search-input:focus{border-color:var(--c-blue);}
.search-input::placeholder{color:var(--c-muted);}
.tabs{display:flex;gap:4px;padding:0 18px;}
.tab{flex:1;padding:8px 6px;background:none;border:1px solid var(--c-border);border-radius:var(--radius-sm);color:var(--c-muted);font-size:11px;font-weight:500;transition:var(--trans);cursor:pointer;}
.tab.active{background:var(--c-blue-dim);border-color:rgba(0,114,206,0.35);color:var(--c-blue);}
.tab-content{display:none;flex:1;overflow-y:auto;padding:12px 18px;-webkit-overflow-scrolling:touch;}
.tab-content.active{display:block;}
.station-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius-md);padding:12px;margin-bottom:8px;cursor:pointer;transition:var(--trans);}
.station-card:hover{border-color:var(--c-blue);transform:translateX(2px);box-shadow:0 2px 12px rgba(0,114,206,0.10);}
.station-card:hover .sc-name{color:var(--c-blue);}
.sc-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:6px;}
.sc-name{font-family:var(--font-head);font-size:13px;font-weight:600;color:var(--c-text);transition:var(--trans);}
.sc-addr{font-size:11px;color:var(--c-muted);margin-bottom:6px;line-height:1.4;}
.sc-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.sc-meta span{font-size:11px;color:var(--c-text2);}
.sc-actions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap;}
.sc-btn{flex:1;background:var(--c-surface2);border:1px solid var(--c-border);border-radius:var(--radius-sm);color:var(--c-text2);font-size:11px;padding:5px 8px;transition:var(--trans);min-width:0;}
.sc-btn:hover{border-color:var(--c-blue);color:var(--c-blue);}
.sc-btn.fav.active{color:var(--c-gold);border-color:rgba(217,119,6,0.4);}
.section-label{font-size:11px;font-weight:600;color:var(--c-muted);text-transform:uppercase;letter-spacing:0.5px;margin:12px 0 8px;}

/* ─── BADGES ─────────────────────────────────────────────────*/
.badge{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:20px;font-size:10px;font-weight:600;white-space:nowrap;}
.badge::before{content:'';width:5px;height:5px;border-radius:50%;display:inline-block;}
.badge-disp{background:rgba(5,150,105,0.12);color:var(--c-green);}
.badge-disp::before{background:var(--c-green);}
.badge-res{background:rgba(99,102,241,0.12);color:var(--c-violet);}   /* RF-59 reservado */
.badge-res::before{background:var(--c-violet);}
.badge-ocup{background:rgba(217,119,6,0.12);color:var(--c-amber);}
.badge-ocup::before{background:var(--c-amber);}
.badge-roto{background:rgba(220,38,38,0.12);color:var(--c-red);}
.badge-roto::before{background:var(--c-red);}
.badge-pend{background:rgba(107,114,128,0.12);color:var(--c-muted);}
.badge-pend::before{background:var(--c-muted);}
.stars{color:var(--c-gold);font-size:11px;letter-spacing:1px;}

/* ─── FABs ───────────────────────────────────────────────────*/
.fab-group{position:fixed;bottom:24px;right:20px;display:flex;flex-direction:column;gap:10px;z-index:850;}
.fab{width:48px;height:48px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;font-size:1rem;transition:var(--trans);box-shadow:var(--shadow-lg);position:relative;}
.fab-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#DC2626;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);pointer-events:none;}
.fab:hover{transform:scale(1.1);}
.fab-tip{position:absolute;right:56px;background:rgba(255,255,255,0.97);border:1px solid var(--c-border2);color:var(--c-text);padding:4px 10px;border-radius:var(--radius-sm);font-size:11px;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:var(--trans);box-shadow:var(--shadow);}
.fab:hover .fab-tip{opacity:1;}
.fab-gps{background:var(--c-blue);color:#fff;}
.fab-add{background:var(--c-green);color:#fff;}
.fab-ai{background:linear-gradient(135deg,#7C3AED,#A855F7);color:#fff;}
.fab-chat{background:var(--c-amber);color:#fff;}
.fab-prem{background:linear-gradient(135deg,#D97706,#F59E0B);color:#fff;}
.fab-reservas{background:var(--c-violet);color:#fff;}

/* ─── ACTION DOCK (nuevo diseño SVG) ─────────────────────────*/
.action-dock{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  z-index:850;
  width:306px;
  height:59px;
  padding:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2.4px;
  border-radius:14px;
  background:rgba(233,233,233,0.40);
  border:1px solid rgba(255,255,255,1);
  box-shadow:0 0 11.4px rgba(54,54,54,0.22);
  backdrop-filter:blur(13.75px);
  -webkit-backdrop-filter:blur(13.75px);
}
.dock-btn{
  width:47px;
  height:47px;
  flex:0 0 47px;
  border:none;
  border-radius:11px;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  position:relative;
  transition:transform 120ms ease, filter 120ms ease;
  box-shadow:0 -1px 0 rgba(255,255,255,0.22) inset, 0 10px 18px rgba(0,0,0,0.18);
}
.dock-btn i{font-size:23px;line-height:1;display:block;}
.dock-icon-img{display:block;width:27px;height:27px;object-fit:contain;object-position:center;pointer-events:none;user-select:none;}
.dock-orange .dock-icon-img{width:28px;height:28px;}
.dock-violet .dock-icon-img{width:28px;height:28px;}
.dock-gray .dock-icon-img{width:25px;height:25px;}
.dock-btn:hover{filter:brightness(1.04);}
.dock-btn:active{transform:translateY(1px);}
.dock-btn:focus-visible{outline:2px solid rgba(0,114,206,0.35);outline-offset:2px;}

.dock-blue{background:linear-gradient(180deg,#0F85E5 0%, #005BA5 100%);}
.dock-orange{background:radial-gradient(circle at 70% 8%, #E59B09 0%, #D66E0C 100%);}
.dock-green{background:radial-gradient(circle at 70% 8%, #059669 0%, #05893C 100%);}
.dock-violet{background:radial-gradient(circle at 70% 8%, #A955ED 0%, #6366F1 100%);}
.dock-red{background:radial-gradient(circle at 70% 8%, #E5642D 0%, #A82C26 100%);}
.dock-gray{background:radial-gradient(circle at 70% 8%, #96938D 0%, #656565 100%);opacity:0.95;}
.dock-gray:hover{filter:none;}

/* ─── Banner verificación de reportes (sobre dock) ───────────── */
.rv-banner{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:calc(86px + var(--safe-bottom));
  z-index:860;
  width:min(520px, calc(100vw - 24px));
  background:rgba(255,255,255,0.98);
  border:1px solid var(--c-border2);
  border-radius:14px;
  box-shadow:var(--shadow-lg);
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.rv-banner .rv-close{
  border:none;
  background:transparent;
  color:var(--c-muted);
  font-size:18px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  white-space:nowrap;
  cursor:pointer;
  padding:4px 6px;
  border-radius:10px;
}
.rv-banner .rv-close:hover{background:var(--c-surface2);color:var(--c-text);}
.rv-banner .rv-text{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px;}
.rv-banner .rv-title{font-size:11px;font-weight:800;color:var(--c-muted);text-transform:uppercase;letter-spacing:0;}
.rv-banner .rv-msg{font-size:13px;font-weight:650;color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rv-banner .rv-actions{display:flex;gap:6px;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;max-width:300px;}
.rv-banner .rv-btn{
  border:1px solid var(--c-border2);
  background:var(--c-surface);
  color:var(--c-text);
  font-weight:800;
  font-size:12px;
  padding:8px 10px;
  border-radius:12px;
  cursor:pointer;
  transition:filter 120ms ease, transform 120ms ease;
}
.rv-banner .rv-btn:active{transform:translateY(1px);}
.rv-banner .rv-btn.rv-yes{background:var(--c-green);border-color:rgba(5,150,105,0.35);color:#fff;}
.rv-banner .rv-btn.rv-no{background:rgba(107,114,128,0.12);border-color:rgba(107,114,128,0.25);color:var(--c-text);}
.rv-banner .rv-btn.rv-less,
.rv-banner .rv-btn.rv-countbtn{background:rgba(37,99,235,0.09);border-color:rgba(37,99,235,0.22);color:var(--c-blue);}
.rv-banner .rv-foot{display:flex;align-items:center;gap:8px;flex:0 0 92px;}
.rv-banner .rv-progress{flex:1;height:6px;background:rgba(0,0,0,0.08);border-radius:999px;overflow:hidden;}
.rv-banner .rv-bar{height:100%;width:100%;background:linear-gradient(90deg, var(--c-blue), #4F46E5);}
.rv-banner .rv-count{width:22px;text-align:right;font-size:12px;font-weight:900;color:var(--c-muted);}
@media(max-width:640px){
  .rv-banner{
    width:calc(100vw - 18px);
    bottom:calc(84px + var(--safe-bottom));
    align-items:stretch;
    flex-direction:column;
    gap:8px;
    padding:10px 12px 11px;
    border-radius:18px;
  }
  .rv-banner .rv-close{
    position:absolute;
    top:6px;
    right:8px;
    background:rgba(0,0,0,0.04);
  }
  .rv-banner .rv-text{padding-right:32px;}
  .rv-banner .rv-msg{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    line-height:1.25;
  }
  .rv-banner .rv-actions{
    width:100%;
    max-width:none;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .rv-banner .rv-btn{min-height:38px;padding:8px 9px;}
  .rv-banner .rv-foot{flex:0 0 auto;width:100%;}
}

/* ─── SIDEBAR TOGGLE ─────────────────────────────────────────*/
.sidebar-toggle{position:fixed;left:12px;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.97);border:1px solid var(--c-border2);color:var(--c-blue);width:36px;height:80px;border-radius:var(--radius-md);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;z-index:850;cursor:pointer;transition:var(--trans);box-shadow:var(--shadow);}
.sidebar-toggle:hover{background:var(--c-blue-dim);}
.sidebar-toggle span{display:block;width:3px;height:3px;border-radius:50%;background:var(--c-blue);}

/* ─── CHAT ───────────────────────────────────────────────────*/
.chat-window{position:fixed;bottom:calc(84px + var(--safe-bottom));right:20px;width:340px;height:480px;max-height:calc(100vh - 120px - var(--safe-bottom));background:var(--c-surface);border:1px solid var(--c-border2);border-radius:var(--radius-lg);z-index:870;display:flex;flex-direction:column;box-shadow:var(--shadow-lg);-webkit-transform:scale(0.95) translateY(20px);transform:scale(0.95) translateY(20px);opacity:0;visibility:hidden;pointer-events:none;transition:var(--trans);}
.chat-window.open{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0);opacity:1;visibility:visible;pointer-events:auto;}
.chat-head{padding:12px 16px;border-bottom:1px solid var(--c-border);display:flex;align-items:center;gap:10px;}
.chat-head-info h4{font-size:13px;font-weight:600;color:var(--c-text);}
.chat-head-info span{font-size:11px;color:var(--c-green);}
#closeChatBtn{margin-left:auto;background:none;border:none;color:var(--c-muted);font-size:16px;cursor:pointer;}
.chat-head-actions{display:flex;gap:6px;margin-left:auto;}
.chat-head-actions button{background:none;border:none;color:var(--c-muted);font-size:13px;cursor:pointer;padding:4px;border-radius:6px;transition:var(--trans);}
.chat-head-actions button:hover{background:var(--c-surface2);color:var(--c-text);}
.chat-head-actions button:disabled{opacity:.45;cursor:not-allowed;}
.chat-head-actions #backChatBtn{color:var(--c-text);background:var(--c-surface2);}
.chat-head-actions #backChatBtn:hover{background:var(--c-surface2);color:var(--c-text);}
.chat-window.is-list .chat-head-actions button[title="Bloquear usuario"],
.chat-window.is-list .chat-head-actions button[title="Reportar usuario"]{display:none;}
.chat-messages{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;}
.chat-conv-list{display:flex;flex-direction:column;gap:8px;padding:12px;}
.chat-conv-list > * + *{margin-top:8px;} /* fallback para Safari sin flex-gap */
.chat-conv-item{width:100%;text-align:left;background:#fff;border:1px solid var(--c-border2);border-radius:12px;padding:10px 12px;cursor:pointer;transition:var(--trans);}
.chat-conv-item{display:block;box-sizing:border-box;}
.chat-conv-item:hover{background:var(--c-surface2);}
.chat-conv-item .name{font-size:12px;font-weight:800;color:var(--c-text);display:flex;align-items:center;gap:8px;}
.chat-conv-item .name > * + *{margin-left:8px;} /* fallback gap */
.chat-conv-item .meta{font-size:11px;color:var(--c-muted);margin-top:3px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.chat-conv-item .meta > * + *{margin-left:10px;} /* fallback gap */
.chat-conv-item .badge{min-width:18px;height:18px;padding:0 6px;border-radius:999px;background:rgba(124,58,237,.12);color:var(--c-violet);font-weight:800;font-size:11px;display:inline-flex;align-items:center;justify-content:center;}
.chat-conv-item.is-closed{opacity:.55;}
.chat-conv-item .pill{font-size:10px;font-weight:800;padding:2px 8px;border-radius:999px;background:rgba(107,114,128,.12);color:#6b7280;}
.chat-conv-item .pill.open{background:rgba(16,185,129,.12);color:var(--c-green);}

/* Nuevo layout del listado de conversaciones (sin depender de flex-gap) */
.chat-conv-item .chat-li-top{display:flex;align-items:center;justify-content:space-between;}
.chat-conv-item .chat-li-title{font-size:12px;font-weight:900;color:var(--c-text);}
.chat-conv-item .chat-li-right{display:flex;align-items:center;}
.chat-conv-item .chat-li-right > * + *{margin-left:8px;}
.chat-conv-item .chat-li-last{margin-top:4px;font-size:11px;color:var(--c-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.chat-input-row .chat-input:disabled{opacity:.65;cursor:not-allowed;}
.chat-input-row .chat-send:disabled{opacity:.55;cursor:not-allowed;}
.quick-msgs .quick-msg:disabled{opacity:.55;cursor:not-allowed;}
.msg{display:flex;flex-direction:column;}
.msg.sent{align-items:flex-end;}
.msg.recv{align-items:flex-start;}
.msg-bubble{max-width:80%;padding:8px 12px;border-radius:var(--radius-md);font-size:13px;line-height:1.4;word-break:break-word;}
.msg.sent .msg-bubble{background:var(--c-blue);color:#fff;border-radius:var(--radius-md) 4px var(--radius-md) var(--radius-md);}
.msg.recv .msg-bubble{background:var(--c-surface2);color:var(--c-text);border-radius:4px var(--radius-md) var(--radius-md) var(--radius-md);}
.msg-meta{font-size:10px;color:var(--c-muted);margin-top:2px;display:flex;align-items:center;gap:4px;}
.msg-status::after{content:'✓';}
.msg-status.recibido::after{content:'✓✓';color:var(--c-muted);}
.msg-status.leido::after{content:'✓✓';color:var(--c-blue);}
.quick-msgs{display:flex;gap:6px;padding:8px 12px;flex-wrap:wrap;border-top:1px solid var(--c-border);}
.quick-msg{background:var(--c-blue-dim);border:1px solid rgba(0,114,206,0.2);color:var(--c-blue);border-radius:var(--radius-lg);padding:4px 10px;font-size:11px;cursor:pointer;transition:var(--trans);}
.quick-msg:hover{background:rgba(0,114,206,0.18);}
.chat-input-row{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--c-border);}
.chat-input{flex:1;background:var(--c-surface2);border:1px solid var(--c-border);border-radius:var(--radius-lg);padding:8px 12px;font-size:13px;color:var(--c-text);outline:none;transition:var(--trans);}
.chat-input:focus{border-color:var(--c-blue);}
.chat-send{background:var(--c-blue);color:#fff;border:none;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;transition:var(--trans);}
.chat-send:hover{background:#005BB5;}

/* ─── POPUP LEAFLET ──────────────────────────────────────────*/
.uc-popup .leaflet-popup-content-wrapper{background:transparent;border:none;box-shadow:none;padding:0;}
.uc-popup .leaflet-popup-tip{background:transparent;box-shadow:none;}
.uc-popup .leaflet-popup-content{margin:0;width:260px!important;max-width:calc(100vw - 32px)!important;}

/* Popup nuevo (segun Referencia PopUP.svg) */
.ucp{--ucp-gap:8px;position:relative;background:#fff;border-radius:12px;padding:13px 18px 15px;box-shadow:0 18px 36px rgba(15,23,42,0.18);}
.ucp::after{content:'';position:absolute;left:50%;bottom:-14px;width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;border-top:14px solid #fff;transform:translateX(-50%);filter:drop-shadow(0 10px 14px rgba(15,23,42,0.12));}
.ucp-corner{position:absolute;top:0;right:0;width:26px;height:26px;background:#F2F2F2;border-radius:0 12px 0 12px;display:flex;align-items:center;justify-content:center;}
.ucp-close{width:26px;height:26px;border:none;background:transparent;color:#5F5F5F;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.ucp-close i{font-size:14px;line-height:1;}
.ucp-head{display:flex;gap:10px;align-items:flex-start;padding-right:26px;margin-bottom:var(--ucp-gap);}
.ucp-avatar{width:38px;height:38px;border-radius:999px;background:var(--c-surface2);border:1px solid var(--c-border2);display:flex;align-items:center;justify-content:center;color:var(--c-text2);flex-shrink:0;overflow:hidden;}
.ucp-avatar i{font-size:14px;}
/* Logos de operador: deben ocupar 100% del circulo */
.ucp-avatar{overflow:hidden !important;border-radius:999px !important;}
.ucp-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  padding:0;
  border-radius:999px;
}
.ucp-title{font-family:var(--font-head);font-size:14px;font-weight:800;color:var(--c-text);line-height:1.15;margin-top:0;}
.ucp-addr{font-size:11px;color:var(--c-muted);line-height:1.3;margin-top:2px;}
.ucp-stars{margin-top:1px;font-size:12px;letter-spacing:0;color:#D66E0C;line-height:1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.ucp-stars-icons{display:inline-flex;align-items:center;gap:0;}
.ucp-stars .muted{color:#D1D5DB;}
.ucp-stars .num{display:none;}
.ucp-reviews{display:inline-flex;align-items:center;font-size:10px;color:var(--c-muted);letter-spacing:0;font-weight:900;}
.ucp-reviews-btn{
  border:none;
  background:transparent;
  padding:0;
  margin:0;
  font:inherit;
  font-size:10px;
  font-weight:900;
  color:var(--c-muted);
  cursor:pointer;
}
.ucp-reviews-btn:hover{color:var(--c-blue);text-decoration:underline;}
.ucp-dot{color:var(--c-muted);font-weight:900;}
.ucp-reserva-link{
  border:none;
  background:transparent;
  padding:0;
  margin:0;
  font:inherit;
  font-size:10px;
  font-weight:900;
  color:var(--c-blue);
  cursor:pointer;
}
.ucp-reserva-link:hover{text-decoration:underline;}
/* Estado (texto hereda el color del estado) */
.ucp-status .ucp-pill{color:inherit;}

.ucp-box{border-radius:6px;padding:8px 10px;}
.ucp-box.orange{background:#FDF7F0;border:none;}
.ucp-box.gray{background:#E8EFF5;border:none;}
.ucp-box.purple{background:#DAE1F5;border:none;}
.ucp-box .lbl{font-size:10px;font-weight:700;color:rgba(214,110,12,0.95);margin-bottom:4px;}
.ucp-chips{display:flex;flex-wrap:wrap;gap:6px;}
.ucp-chip{font-size:10px;padding:2px 8px;border-radius:999px;background:rgba(214,110,12,0.12);color:#92400E;white-space:nowrap;}

.ucp-kpis{display:grid;grid-template-columns:69px 70px 69px;gap:var(--ucp-gap);margin-top:var(--ucp-gap);}
.ucp-kpi{background:#E8EFF5;border-radius:6px;padding:7px 8px;text-align:center;}
.ucp-kpi .v{font-size:12px;font-weight:800;color:var(--c-text);line-height:1.05;}
.ucp-kpi .k{font-size:10px;color:var(--c-muted);margin-top:3px;}

/* Conectores (publicos) dentro del KPI "Conector" */
.ucp-kpi .v.ucp-conv{font-size:11px;font-weight:900;line-height:1.05;}
.ucp-conlist{display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;}
.ucp-conline{display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;line-height:1.05;}
.ucp-connicon{width:14px;height:14px;flex-shrink:0;display:block;}
.ucp-concode{font-weight:900;color:var(--c-text);}
.ucp-consep{color:var(--c-muted);font-weight:900;}
.ucp-conqty{font-weight:900;color:var(--c-text);}
.ucp-conkw{font-size:10px;font-weight:900;color:var(--c-muted);}
.ucp-conmore{font-size:10px;font-weight:900;color:var(--c-muted);margin-top:1px;}

.ucp-row{display:flex;gap:var(--ucp-gap);margin-top:var(--ucp-gap);}
.ucp-row .ucp-box{flex:1;padding:7px 10px;display:flex;align-items:center;justify-content:center;text-align:center;}
.ucp-pill{font-size:11px;font-weight:800;line-height:1.1;color:var(--c-text);}
.ucp-pill small{display:block;font-size:10px;font-weight:700;color:var(--c-muted);margin-top:2px;}

/* Fila de precios: debajo de Estado + Cola */
.ucp-pricebox{margin-top:var(--ucp-gap);padding:10px 12px;display:flex;align-items:center;justify-content:center;}

/* Precio (dinero + puntos) */
.ucp-prices{width:100%;display:flex;align-items:center;justify-content:center;gap:28px;}
.ucp-money,.ucp-points{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:900;white-space:nowrap;}
.ucp-money{justify-content:center;color:var(--c-text);}
.ucp-money .ucp-amount{color:var(--c-green);}
.ucp-money .ucp-per{color:var(--c-text);font-size:10px;font-weight:900;}
.ucp-points{justify-content:center;}
.ucp-points i{color:var(--c-violet);}
.ucp-points{color:var(--c-text);}

.ucp-actions{display:grid;grid-template-columns:69px 32px 1fr;gap:var(--ucp-gap);margin-top:var(--ucp-gap);}
.ucp-act{height:32px;border-radius:6px;border:none;cursor:pointer;font-size:11px;font-weight:800;color:#fff;display:flex;align-items:center;justify-content:center;gap:6px;transition:transform 120ms ease, filter 120ms ease;}
.ucp-actions-public .ucp-act.gray{font-weight:900;}
.ucp-actions-public .ucp-act.gray i{display:none;}
.ucp-act.violet{
  width:32px;
  padding:0;
  gap:0;
  border-radius:4px;
}
.ucp-act.violet i{margin:0;}
.ucp-act i{font-size:12px;}
.ucp-act:active{transform:translateY(1px);}
.ucp-act.violet{background:radial-gradient(circle at 30% 20%, #A955ED 0%, #6366F1 100%);}
.ucp-act.blue{background:linear-gradient(180deg,#0F85E5 0%, #005BA5 100%);}
.ucp-act.gray{background:#E8EFF5;color:var(--c-text);border:none;font-weight:900;}
.ucp-actions-public .ucp-act.gray{
  font-family:var(--font-head);
  /* Space Grotesk en este proyecto llega hasta 700; reforzamos el "bold" con un micro trazo */
  font-weight:700;
  text-shadow: 0.35px 0 0 currentColor, -0.35px 0 0 currentColor;
}
.ucp-actions-public .ucp-act.gray strong{font-weight:inherit;}
.ucp-act.gray:hover{filter:brightness(0.98);}
.ucp-act.violet:hover,.ucp-act.blue:hover{filter:brightness(1.03);}

/* Horario a la derecha de los botones */
.ucp-schedule{
  height:32px;
  border-radius:4px;
  background:#E8EFF5;
  border:none;
  display:flex;align-items:center;justify-content:center;
  padding:0 6px;
  gap:7px;
  overflow:hidden;
}
.ucp-schedule i{display:none;}
.ucp-schedule-txt{font-size:11px;font-weight:900;color:var(--c-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ucp-more{display:none !important;}
.ucp-more i{color:var(--c-muted);font-size:12px;}
.ucp-more:hover{filter:brightness(1.01);border-color:rgba(0,114,206,0.22);}

/* Menú "Más" (popup) */
.ucp-menu{display:flex;flex-direction:column;gap:8px;margin-top:2px;}
.ucp-menu-btn{
  width:100%;
  display:flex;align-items:center;gap:10px;
  border-radius:10px;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,0.08);
  background:#fff;
  color:var(--c-text);
  font-weight:800;
  cursor:pointer;
  transition:transform 120ms ease, filter 120ms ease, border-color 120ms ease;
}
.ucp-menu-btn i{width:18px;text-align:center;color:var(--c-blue);}
.ucp-menu-btn:hover{filter:brightness(1.01);border-color:rgba(0,114,206,0.22);}
.ucp-menu-btn:active{transform:translateY(1px);}
.ucp-menu-btn.blue{background:rgba(0,114,206,0.07);border-color:rgba(0,114,206,0.18);}
.ucp-menu-btn.amber{background:rgba(245,158,11,0.12);border-color:rgba(245,158,11,0.25);}
.ucp-menu-btn.amber i{color:var(--c-amber);}
.ucp-menu-btn.violet{background:rgba(99,102,241,0.10);border-color:rgba(99,102,241,0.22);}
.ucp-menu-btn.violet i{color:var(--c-violet);}
.ucp-menu-btn.danger{background:rgba(220,38,38,0.10);border-color:rgba(220,38,38,0.22);}
.ucp-menu-btn.danger i{color:var(--c-red);}

/* SpolumCharge (publicos) */
.ucp-actions.ucp-actions-public{grid-template-columns:minmax(0,1fr) 32px 72px;align-items:stretch;gap:6px;}
.ucp-actions.ucp-actions-public .ucp-act{min-width:0;}
.ucp-actions.ucp-actions-public .ucp-act.blue{white-space:nowrap;justify-content:center;font-size:11px;}
.ucp-actions.ucp-actions-public .ucp-act.blue{padding:0 10px;}
.ucp-actions.ucp-actions-public .ucp-act.violet{width:32px;aspect-ratio:1/1;border-radius:4px;}
.ucp-actions.ucp-actions-public .ucp-act.gray{width:72px;white-space:nowrap;}
.ucp-actions.ucp-actions-public .ucp-act.gray{font-size:11px;font-weight:1000;}

/* Fila "Tarifas / Cable / Puestos" (publicos) */
.ucp-row.ucp-row-meta{margin-top:var(--ucp-gap);}
.ucp-meta{padding:7px 10px;}
.ucp-meta-btn{appearance:none;border:none;background:transparent;padding:0;margin:0;font:inherit;color:var(--c-text);cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:900;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;}
.ucp-meta-txt{font-size:12px;font-weight:900;color:var(--c-text);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;}
.ucp-meta-btn:hover{color:var(--c-blue);text-decoration:underline;}
.ucp-meta-arrow{font-size:11px;line-height:1;color:rgba(15,23,42,0.55);margin-left:4px;}

/* Tipo de conector (popup): codigo + flecha (sin cantidades) */
.ucp-ctype{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;}
.ucp-ctype{gap:4px;}
.ucp-ctype-code{
  font-size:11px;
  font-weight:900;
  color:var(--c-text);
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
  max-width:none;
  flex:0 0 auto;
}
.ucp-ctype-next{
  width:14px;
  height:14px;
  border-radius:4px;
  border:none;
  background:rgba(15,23,42,0.10);
  color:rgba(15,23,42,0.75);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-size:11px;
  font-weight:900;
  flex-shrink:0;
}
.ucp-ctype-next:hover{filter:brightness(0.98);}
.ucp-publicmeta{padding:7px 10px;overflow:hidden;}
.ucp-publicmeta-row{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:0;}
.ucp-publicmeta-link{appearance:none;border:none;background:transparent;padding:0;margin:0;font:inherit;font-size:12px;font-weight:900;color:var(--c-text);cursor:pointer;white-space:nowrap;}
.ucp-publicmeta-link:hover{color:var(--c-blue);text-decoration:underline;}
.ucp-publicmeta-text{font-size:12px;font-weight:900;color:var(--c-text);white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;}
.ucp-publicmeta-row .right{max-width:100%;}
.ucp-publicmeta-row .left{justify-self:start;padding-right:10px;border-right:1px solid rgba(15,23,42,0.12);}
.ucp-publicmeta-row .mid{justify-self:center;padding:0 10px;border-right:1px solid rgba(15,23,42,0.12);text-align:center;}
.ucp-publicmeta-row .right{justify-self:end;padding-left:10px;min-width:0;}
.ucp-report-menu{display:flex;flex-direction:column;gap:8px;margin-top:4px;}
.ucp-menu-btn.is-disabled{opacity:0.55;cursor:not-allowed;}
.ucp-report-recent{
  margin-top:10px;
  width:100%;
  appearance:none;
  border:none;
  background:transparent;
  padding:0;
  font-size:12px;
  font-weight:900;
  color:var(--c-blue);
  cursor:pointer;
  text-align:left;
}
.ucp-report-recent:hover{text-decoration:underline;}
.ucp-recent-list{display:flex;flex-direction:column;gap:10px;text-align:left;max-height:min(54vh,420px);overflow:auto;padding-right:2px;}
.ucp-recent-row{padding:8px 10px;border-radius:10px;background:#E8EFF5;}
.ucp-recent-row .t{font-size:12px;font-weight:900;color:var(--c-text);}
.ucp-recent-row .s{font-size:11px;color:var(--c-muted);margin-top:2px;}

/* Modal "Puestos" */
.swal2-popup.uc-swal-puestos{
  /* Este modal debe ser compacto (no full-width en mobile) */
  width:210px !important; /* referencia SVG ~192px + padding */
  max-width:calc(100vw - 24px) !important;
}
.swal2-popup.uc-swal-puestos .swal2-title{
  /* El titulo debe verse (la clase `.uc-swal` lo oculta, por eso no se usa aca) */
  display:block !important;
  margin:0 0 10px !important;
  font-size:14px !important;
  font-weight:900 !important;
  text-align:left !important;
}
.swal2-popup.uc-swal-puestos .swal2-html-container{
  margin:0 !important;
  padding:0 !important;
  overflow:auto !important;
}

/* Lista "Puestos" (segun referencia SVG) */
.ucp-puestos-list{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-top:2px;
}
.ucp-puestos-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:10px;
  background:#E8EFF5;
}
.ucp-puestos-item-icon{
  width:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.ucp-puestos-item-icon img{
  width:34px;
  height:34px;
  object-fit:contain;
  display:block;
}
.ucp-puestos-item-text{
  flex:1 1 auto;
  min-width:0;
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.ucp-puestos-item-name{
  font-size:12px;
  font-weight:900;
  color:var(--c-text);
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
}
.ucp-puestos-item-frac{
  font-size:14px;
  font-weight:900;
}
.ucp-puestos-item-frac.ok{color:var(--c-green);}
.ucp-puestos-item-frac.warn{color:var(--c-amber);}
.ucp-puestos-item-frac.bad{color:var(--c-red);}

/* Modal de tarifas */
.uc-swal-tarifas{max-width:420px;}
.uc-tarifas{display:flex;flex-direction:column;gap:8px;text-align:left;}
.uc-tarifas .row{display:flex;justify-content:space-between;gap:14px;padding:8px 10px;border-radius:10px;background:#f5f7fa;border:1px solid #e5e7eb;font-size:12px;}
.uc-tarifas .row span{color:#374151;font-weight:700;}
.uc-tarifas .row b{color:#111;font-weight:900;white-space:nowrap;}
.popup-card{padding:14px;}
.popup-title{font-family:var(--font-head);font-size:14px;font-weight:700;color:var(--c-text);margin-bottom:3px;}
.popup-addr{font-size:11px;color:var(--c-muted);margin-bottom:8px;}
.popup-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px;}
.popup-item{background:var(--c-surface2);border-radius:var(--radius-sm);padding:6px 8px;}
.popup-item label{display:block;font-size:9px;color:var(--c-muted);text-transform:uppercase;letter-spacing:0.4px;margin-bottom:2px;}
.popup-item span{font-size:12px;font-weight:600;color:var(--c-text);}
.popup-actions{display:flex;gap:5px;flex-wrap:wrap;}
.popup-btn{flex:1;background:var(--c-surface2);border:1px solid var(--c-border);border-radius:var(--radius-sm);color:var(--c-text2);font-size:11px;padding:6px 6px;cursor:pointer;transition:var(--trans);min-width:52px;text-align:center;}
.popup-btn:hover{border-color:var(--c-blue);color:var(--c-blue);}
.popup-btn.primary{background:var(--c-blue);color:#fff;border-color:var(--c-blue);}
.popup-btn.primary:hover{background:#005BB5;}
.popup-btn.fav.active{color:var(--c-gold);border-color:rgba(217,119,6,0.4);}

/* ─── ADMIN DROPDOWN ─────────────────────────────────────────*/
.admin-dropdown{position:fixed;top:calc(var(--topbar-h) + 8px);right:80px;width:360px;max-width:calc(100vw - 20px);background:var(--c-surface);border:1px solid var(--c-border2);border-radius:var(--radius-md);z-index:890;box-shadow:var(--shadow-lg);display:none;max-height:calc(100vh - (var(--topbar-h) + 20px));flex-direction:column;overflow:hidden;}
.admin-dropdown.open{display:flex;}
.admin-dropdown-head{padding:14px 16px;border-bottom:1px solid var(--c-border);display:flex;justify-content:space-between;align-items:center;flex-shrink:0;}
.admin-dropdown-head h3{font-family:var(--font-head);font-size:14px;color:var(--c-text);}
.admin-dropdown-head span{font-size:12px;color:var(--c-muted);}
.admin-dropdown-body{padding:12px 16px;overflow-y:auto;flex:1;-webkit-overflow-scrolling:touch;}
.request-card{background:var(--c-surface2);border:1px solid var(--c-border);border-radius:var(--radius-sm);padding:10px;margin-bottom:8px;}
.request-card h4{font-size:13px;font-weight:600;color:var(--c-text);margin-bottom:3px;}
.request-card p{font-size:11px;color:var(--c-muted);margin-bottom:4px;}
.request-actions{display:flex;gap:6px;}
.btn-approve{background:var(--c-green);color:#fff;border:none;border-radius:var(--radius-sm);padding:5px 12px;font-size:11px;cursor:pointer;transition:var(--trans);}
.btn-approve:hover{background:#047857;}
.btn-reject{background:var(--c-red);color:#fff;border:none;border-radius:var(--radius-sm);padding:5px 12px;font-size:11px;cursor:pointer;transition:var(--trans);}
.btn-reject:hover{background:#B91C1C;}

/* ─── ROUTE PANEL (mobile) ───────────────────────────────────*/
.route-panel{position:fixed;bottom:24px;left:60px;background:rgba(255,255,255,0.97);border:1px solid var(--c-border2);border-radius:var(--radius-lg);padding:10px 14px;z-index:800;display:flex;align-items:center;gap:8px;box-shadow:var(--shadow);}
.route-input{background:var(--c-surface2);border:1px solid var(--c-border);border-radius:var(--radius-md);padding:6px 10px;font-size:12px;color:var(--c-text);outline:none;width:130px;transition:var(--trans);}
.route-input:focus{border-color:var(--c-blue);}
.route-arrow{color:var(--c-muted);font-size:12px;}
.btn-route{background:var(--c-blue);color:#fff;border:none;border-radius:var(--radius-md);padding:7px 14px;font-size:12px;font-weight:600;cursor:pointer;transition:var(--trans);}
.btn-route:hover{background:#005BB5;}

/* ─── LOADING ────────────────────────────────────────────────*/
#loadingOverlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(240,244,248,0.92);z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);}
#loadingOverlay .spin{width:44px;height:44px;border:3px solid var(--c-border2);border-top-color:var(--c-blue);border-radius:50%;animation:spin 0.8s linear infinite;}
#loadingOverlay p{color:var(--c-text2);font-size:14px;font-family:var(--font-head);}
@keyframes spin{to{transform:rotate(360deg);}}

/* ─── TOAST (no-bloqueante RF-40) ────────────────────────────*/
#toastContainer{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:880;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;}
.toast{padding:8px 18px;border-radius:var(--radius-lg);font-size:13px;font-weight:500;box-shadow:var(--shadow);animation:toast-in 0.25s ease,toast-out 0.3s ease 2.7s forwards;pointer-events:none;}
.toast-info{background:var(--c-blue);color:#fff;}
.toast-success{background:var(--c-green);color:#fff;}
.toast-warning{background:var(--c-amber);color:#fff;}
body.swal2-shown #toastContainer{display:none!important;}
@keyframes toast-in{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
@keyframes toast-out{to{opacity:0;transform:translateY(-10px);}}

.uc-remote-finish-sheet{position:fixed;left:50%;bottom:calc(16px + var(--safe-bottom));width:min(430px,calc(100vw - 24px));transform:translate(-50%,calc(100% + 28px));opacity:0;pointer-events:none;z-index:9300;background:var(--c-surface);color:var(--c-text);border:1px solid var(--c-border2);border-radius:22px;box-shadow:0 18px 44px rgba(15,23,42,.28);padding:22px 18px 18px;transition:transform .24s ease,opacity .2s ease;}
.uc-remote-finish-sheet.open{transform:translate(-50%,0);opacity:1;pointer-events:auto;}
.uc-remote-finish-sheet h3{margin:0 34px 8px 0;font:800 20px/1.15 var(--font-head);}
.uc-remote-finish-sheet p{margin:0 0 14px;color:var(--c-text2);font-size:14px;line-height:1.35;}
.uc-remote-x{position:absolute;top:12px;right:12px;width:34px;height:34px;border:0;border-radius:12px;background:var(--c-surface2);color:var(--c-muted);font-size:22px;font-weight:800;}
.uc-remote-action{width:100%;min-height:48px;border:0;border-radius:14px;background:var(--c-blue);color:#fff;font-weight:800;font-size:15px;box-shadow:0 8px 18px rgba(0,114,206,.24);}
.uc-remote-action:disabled{opacity:.65;}

/* ─── SCROLLBAR ──────────────────────────────────────────────*/
::-webkit-scrollbar{width:4px;}
::-webkit-scrollbar-track{background:transparent;}
::-webkit-scrollbar-thumb{background:var(--c-border2);border-radius:2px;}
/* Firefox */
*{scrollbar-width:thin;scrollbar-color:var(--c-border2) transparent;}

/* ─── SWAL OVERRIDES ─────────────────────────────────────────*/
.swal2-container{z-index:9200!important;}
.swal2-popup{background:var(--c-surface)!important;border:1px solid var(--c-border2)!important;border-radius:var(--radius-lg)!important;color:var(--c-text)!important;font-family:var(--font-body)!important;box-shadow:var(--shadow-lg)!important;}
.swal2-title{color:var(--c-text)!important;font-family:var(--font-head)!important;}
.swal2-html-container{color:var(--c-text2)!important;}
.swal2-confirm{background:var(--c-blue)!important;color:#fff!important;font-weight:600!important;border-radius:var(--radius-md)!important;}
.swal2-cancel{background:var(--c-surface2)!important;color:var(--c-text)!important;border:1px solid var(--c-border2)!important;border-radius:var(--radius-md)!important;}
.swal2-deny{background:var(--c-red)!important;color:#fff!important;border-radius:var(--radius-md)!important;}
.swal2-input,.swal2-select,.swal2-textarea{background:var(--c-surface2)!important;color:var(--c-text)!important;border:1px solid var(--c-border2)!important;border-radius:var(--radius-md)!important;font-size:16px!important;}
.swal2-input:focus,.swal2-select:focus,.swal2-textarea:focus{border-color:var(--c-blue)!important;box-shadow:0 0 0 1px var(--c-blue)!important;}
.swal2-footer{border-top:1px solid var(--c-border)!important;}
.swal2-footer a{color:var(--c-blue)!important;}
.swal2-popup{padding:16px 16px 14px!important;}
.swal2-actions{gap:10px!important;margin:18px 0 0!important;}
.swal2-confirm,.swal2-cancel,.swal2-deny{height:44px;padding:0 16px;}

/* ============================================================
   PERFIL (UI moderna) + selector de autos
   ============================================================ */
.uc-swal{padding:0!important;overflow:hidden;}
.uc-swal .swal2-title{display:none!important;}
.uc-swal .swal2-html-container{margin:0!important;padding:0!important;overflow:hidden!important;}
.uc-swal .swal2-actions{display:none!important;}

/* ============================================================
   AGREGAR CARGADOR (Swal form)
   ============================================================ */
.uc-swal-addcharger{
  border-radius:19px!important;
  padding:20px 20px 18px!important;
}
.uc-swal-addcharger .swal2-title{display:none!important;}
.uc-swal-addcharger .swal2-html-container{margin:0!important;padding:0!important;}
.uc-swal-addcharger .swal2-actions{display:flex!important;width:100%;gap:12px!important;margin:18px 0 0!important;}
.uc-swal-addcharger .swal2-confirm,.uc-swal-addcharger .swal2-cancel{flex:1;min-width:0;height:64px;border-radius:10px!important;font-weight:900;font-size:24px!important;}
.uc-swal-addcharger .swal2-confirm{background:var(--c-blue)!important;color:#fff!important;}
.uc-swal-addcharger .swal2-cancel{background:#fff!important;color:var(--c-text)!important;border:2px solid #4699DC!important;}
/* SweetAlert2 siempre inserta (ocultos) input/select/textarea propios.
   En este modal no se usan (usamos HTML custom), asi que los ocultamos
   para evitar "bloques" extras en mobile. */
.uc-swal-addcharger > .swal2-input,
.uc-swal-addcharger > .swal2-select,
.uc-swal-addcharger > .swal2-textarea{display:none!important;}

.uc-swal-addcharger .uc-addcharger .swal2-input,
.uc-swal-addcharger .uc-addcharger .swal2-select{
  background:#E8EFF5!important;
  border:1.5px solid #4699DC!important;
  border-radius:6px!important;
  height:56px!important;
  margin:0!important;
  font-size:16px!important;
  width:100%!important;
  box-sizing:border-box!important;
  display:block!important;
}
.uc-swal-addcharger .uc-addcharger .swal2-input:focus,
.uc-swal-addcharger .uc-addcharger .swal2-select:focus{
  border-color:#4699DC!important;
  box-shadow:0 0 0 2px rgba(70,153,220,0.18)!important;
}

.uc-addcharger{ text-align:left; padding:0 4px; }
.uc-addcharger .uc-ac-head{
  font-family:var(--font-head);
  font-weight:1000;
  font-size:34px;
  color:var(--c-text);
  text-align:center;
  margin:4px 0 16px;
}
.uc-addcharger .uc-field{ margin-bottom:22px; display:flex; flex-direction:column; gap:12px; }
.uc-addcharger .uc-field:last-child{ margin-bottom:4px; }
.uc-addcharger .uc-label{
  font-size:16px;
  font-weight:500;
  color:var(--c-muted);
  text-transform:uppercase;
  letter-spacing:.4px;
  display:block;
}
.uc-addcharger .uc-help{ font-size:10px; color:var(--c-muted); margin-top:3px; }
.uc-addcharger .uc-ac-hint{margin-top:8px;font-size:16px;color:var(--c-muted);line-height:1.35;}
.uc-addcharger .uc-sub-label{font-size:16px;font-weight:400;color:var(--c-muted);text-transform:none;letter-spacing:0;}
.uc-addcharger .uc-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:16px; }
.uc-addcharger .uc-grid-2 > div{display:flex;flex-direction:column;gap:8px;}
.uc-addcharger .uc-grid-hours{ display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:end; margin-top:4px; }
.uc-addcharger .uc-grid-hours > div{display:flex;flex-direction:column;gap:6px;}
.uc-addcharger .uc-grid-hours label{display:block;}
.uc-addcharger .uc-money{ position:relative; margin-top:4px; }
.uc-addcharger .uc-money .uc-money-sym{ position:absolute; left:13px; top:50%; transform:translateY(-50%); color:var(--c-muted); font-weight:700; pointer-events:none; }
.uc-addcharger .uc-money input.swal2-input{ padding-left:26px; }
.uc-addcharger .uc-file{
  width:100%;
  margin-top:4px;
  font-size:12px;
  color:var(--c-text);
  border:1.5px solid #4699DC;
  border-radius:6px;
  padding:8px 10px;
  background:#E8EFF5;
  cursor:pointer;
}
/* Botón interno del file input (si el navegador lo soporta) */
.uc-addcharger .uc-file::file-selector-button{
  border:none;
  background:#CCE0F0;
  color:#124a7a;
  font-weight:900;
  border-radius:999px;
  padding:6px 10px;
  margin-right:10px;
  cursor:pointer;
}
.uc-addcharger .uc-file::-webkit-file-upload-button{
  border:none;
  background:#CCE0F0;
  color:#124a7a;
  font-weight:900;
  border-radius:999px;
  padding:6px 10px;
  margin-right:10px;
  cursor:pointer;
}

/* Wizard (paso a paso) */
.uc-wiz-sub{margin:-4px 0 14px;text-align:center;color:var(--c-muted);font-size:14px;font-weight:700;}
.uc-wiz-choice-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:8px;}
.uc-wiz-choice{
  width:100%;
  text-align:left;
  border:1px solid var(--c-border2);
  background:#fff;
  border-radius:14px;
  padding:14px 14px;
  cursor:pointer;
  transition:var(--trans);
}
.uc-wiz-choice:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,0,0,0.08);border-color:rgba(0,114,206,0.25);}
.uc-wiz-choice.selected{border-color:rgba(0,114,206,0.55);box-shadow:0 0 0 2px rgba(0,114,206,0.18);}
.uc-wiz-choice .t{font-weight:1000;color:var(--c-text);font-size:16px;}
.uc-wiz-choice .d{margin-top:4px;color:var(--c-muted);font-size:12px;line-height:1.35;}

.uc-addr-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;}
.uc-addr-row .swal2-input{margin:0!important;}
.uc-mini-btn{
  height:48px;
  padding:0 14px;
  border-radius:10px;
  border:1.5px solid rgba(0,114,206,0.25);
  background:rgba(0,114,206,0.06);
  color:var(--c-blue);
  font-weight:1000;
  cursor:pointer;
  transition:var(--trans);
  white-space:nowrap;
}
.uc-mini-btn:hover{background:rgba(0,114,206,0.10);border-color:rgba(0,114,206,0.35);}
.uc-mini-btn:disabled{opacity:.55;cursor:not-allowed;}

.uc-addr-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.uc-link-btn{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:none;
  background:transparent;
  padding:6px 2px;
  color:var(--c-blue);
  font-weight:900;
  cursor:pointer;
}
.uc-link-btn i{font-size:14px;}
.uc-addr-hint{font-size:11px;color:var(--c-muted);font-weight:700;}

.uc-pick-wrap{border:1px solid var(--c-border2);background:var(--c-surface2);border-radius:14px;overflow:hidden;}
.uc-pick-map{height:220px;width:100%;}

@media(max-width:768px){
  .uc-addcharger .uc-grid-2{ grid-template-columns:1fr; }
}

/* Ajustes SOLO mobile: menos alto/vertical y un poco mas ancho */
@media(max-width:560px){
  .swal2-popup.uc-swal-addcharger{padding:16px 16px 14px!important;border-radius:16px!important;width:calc(100vw - 16px)!important;max-width:520px!important;}
  .uc-swal-addcharger .swal2-actions{gap:10px!important;margin:14px 0 0!important;}
  .uc-swal-addcharger .swal2-confirm,.uc-swal-addcharger .swal2-cancel{height:54px!important;font-size:18px!important;}

  .uc-addcharger{padding:0 2px;}
  .uc-addcharger .uc-ac-head{font-size:28px;margin:2px 0 12px;}
  .uc-addcharger .uc-field{margin-bottom:16px;gap:10px;}
  .uc-addcharger .uc-label{font-size:14px;letter-spacing:.3px;}
  .uc-addcharger .uc-ac-hint{font-size:13px;}
  .uc-addcharger .uc-sub-label{font-size:13px;}
  .uc-addcharger .uc-grid-2{gap:14px;margin-bottom:12px;}
  .uc-addcharger .uc-grid-hours{gap:14px;}

  .uc-swal-addcharger .uc-addcharger .swal2-input,
  .uc-swal-addcharger .uc-addcharger .swal2-select{height:50px!important;font-size:15px!important;}
  .uc-addcharger .uc-file{font-size:12px;}

  .uc-mini-btn{height:50px;}
  .uc-pick-map{height:200px;}
}

/* SweetAlert en mobile: evitar modales angostos y botones desalineados */
@media(max-width:768px){
  .swal2-popup{width:calc(100vw - 24px)!important;padding:14px 14px 12px!important;}
  .swal2-actions{width:100%;margin:16px 0 0!important;}
  .swal2-confirm,.swal2-cancel{flex:1;min-width:0;}
}

/* ============================================================
   PERFIL (Version moderna - tarjeta tipo Imagen referencia)
   ============================================================ */
.uc-swal-profile{border-radius:22px!important;}
.uc-swal-profile .swal2-close{
  display:flex!important;
  align-items:center;
  justify-content:center;
  position:absolute;
  top:14px;
  right:14px;
  width:48px;
  height:48px;
  border-radius:16px;
  border:1px solid var(--c-border2);
  background:rgba(255,255,255,0.96);
  color:rgba(17,24,39,0.55);
  font-size:28px;
  line-height:1;
  box-shadow:0 12px 26px rgba(17,24,39,0.10);
  transition:var(--trans);
}
.uc-swal-profile .swal2-close:hover{transform:translateY(-1px);color:rgba(17,24,39,0.72);}
.uc-swal-profile .swal2-close:focus{box-shadow:0 0 0 2px rgba(0,114,206,0.20),0 12px 26px rgba(17,24,39,0.10);}

.uprofile2{padding:26px 22px 18px;position:relative;overflow:hidden;background:#fff;}
.uprofile2-top{display:flex;align-items:center;gap:14px;}
.uprofile2-avatar{
  width:48px;height:48px;border-radius:50%;
  background:#E5E7EB;border:2px solid rgba(255,255,255,0.95);
  box-shadow:0 2px 10px rgba(0,0,0,0.10);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-head);font-weight:900;color:rgba(17,24,39,0.75);
  flex-shrink:0;
}
.uprofile2-hello{font-family:var(--font-head);font-weight:1000;font-size:34px;letter-spacing:0;color:var(--c-text);line-height:1.05;}

.uprofile2-meta{margin-top:16px;text-align:left;}
.uprofile2-name{font-weight:1000;font-size:18px;color:var(--c-text);}
.uprofile2-ci{margin-top:4px;font-size:15px;color:var(--c-text2);font-weight:900;}
.uprofile2-mail{margin-top:2px;font-size:15px;color:var(--c-muted);word-break:break-word;}

.uprofile2-kpis{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap;}
.uprofile2-kpi{display:inline-flex;align-items:center;gap:10px;font-size:16px;color:var(--c-text);font-weight:1000;white-space:nowrap;}
.uprofile2-kpi .k{font-weight:1000;color:var(--c-text);}
.uprofile2-kpi .v{font-weight:1000;color:var(--c-text);}
.uprofile2-kpi i{font-size:22px;}
.uprofile2-kpi.kpi-pts i{color:var(--c-violet);}
.uprofile2-kpi.kpi-pts .v{color:var(--c-violet);}
.uprofile2-kpi.kpi-prem i{color:var(--c-orange);}
.uprofile2-kpi.kpi-prem.is-free i{color:rgba(17,24,39,0.25);}
.uprofile2-kpi.kpi-prem.is-free{color:rgba(17,24,39,0.45);}
.uprofile2-kpi.kpi-saldo .v{color:var(--c-green);}

.uc-ic-saldo{
  width:28px;height:28px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(5,150,105,0.14);
  color:var(--c-green);
  font-weight:1000;
  border:1px solid rgba(5,150,105,0.25);
}

.uprofile2-car{margin-top:18px;display:flex;align-items:center;justify-content:center;}
.uprofile2-carimg{max-width:100%;width:100%;height:auto;object-fit:contain;display:block;filter:none;}

.uprofile2-sep{height:1px;background:var(--c-border2);margin:18px -22px 16px;}

.uprofile2-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:center;}
.uprofile2-metric .mv{font-family:var(--font-head);font-weight:1000;font-size:24px;color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uprofile2-metric .mk{margin-top:2px;font-size:15px;font-weight:1000;color:var(--c-blue);}

.uprofile2-actions{margin-top:16px;display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.uprofile2-btn{height:58px;border-radius:18px;font-weight:1000;font-size:22px;transition:var(--trans);display:inline-flex;align-items:center;justify-content:center;border:2px solid transparent;white-space:nowrap;}
.uprofile2-btn.btn-blue{background:var(--c-blue);color:#fff;}
.uprofile2-btn.btn-blue:hover{background:#005BB5;}
.uprofile2-btn.btn-green{background:var(--c-green);color:#fff;}
.uprofile2-btn.btn-green:hover{background:#047857;}

@media (max-width: 560px){
  .uprofile2{padding:18px 16px 14px;}
  .uprofile2-hello{font-size:28px;}
  .uprofile2-name{font-size:16px;}
  .uprofile2-ci,.uprofile2-mail{font-size:13px;}
  .uprofile2-kpis{gap:10px;}
  .uprofile2-kpi{font-size:14px;}
  .uprofile2-kpi i{font-size:18px;}
  .uc-ic-saldo{width:24px;height:24px;font-size:14px;}
  .uprofile2-sep{margin:14px -16px 12px;}
  .uprofile2-metrics{grid-template-columns:repeat(2,1fr);}
  .uprofile2-metric .mv{font-size:18px;}
  .uprofile2-metric .mk{font-size:12px;}
  /* Botones siempre en 2 columnas, incluso en mobile */
  .uprofile2-actions{grid-template-columns:1fr 1fr;gap:10px;}
  .uprofile2-btn{height:50px;font-size:16px;border-radius:16px;}
  .uc-swal-profile .swal2-close{width:42px;height:42px;border-radius:14px;font-size:24px;}
}

.uprofile{padding:18px 18px 16px;position:relative;overflow:hidden;isolation:isolate;}
.uprofile-top{display:grid;grid-template-columns:1.1fr 0.9fr;gap:12px;align-items:stretch;position:relative;}
.uprofile-left{display:flex;flex-direction:column;gap:10px;min-width:0;position:relative;z-index:2;}
.uprofile-right{display:flex;align-items:stretch;justify-content:flex-end;min-width:0;position:relative;z-index:1;}

.uprofile-head{display:flex;align-items:center;gap:12px;}
.uprofile-avatar{width:44px;height:44px;border-radius:50%;background:#E5E7EB;border:2px solid rgba(255,255,255,0.95);box-shadow:0 2px 10px rgba(0,0,0,0.10);display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:900;color:rgba(17,24,39,0.75);flex-shrink:0;}
.uprofile-hello{font-family:var(--font-head);font-weight:900;font-size:28px;letter-spacing:0;color:var(--c-text);line-height:1.05;}

.uprofile-meta{display:flex;flex-direction:column;gap:2px;margin-top:2px;text-align:left;}
.uprofile-name{font-weight:800;font-size:12px;color:var(--c-text);}
.uprofile-ci{font-size:11px;color:var(--c-text2);}
.uprofile-mail{font-size:11px;color:var(--c-muted);word-break:break-word;}

.uprofile-kpis{display:flex;flex-direction:column;gap:8px;margin-top:6px;text-align:left;}
.uprofile-kpi{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--c-text2);font-weight:700;}
.uprofile-kpi .kpi-lbl{font-weight:800;color:var(--c-text2);}
.kpi-dot{width:12px;height:12px;border-radius:50%;display:inline-block;flex-shrink:0;}
.kpi-points .kpi-dot{background:var(--c-violet);}
.kpi-saldo  .kpi-dot{background:var(--c-green);}
.kpi-prem   .kpi-dot{background:var(--c-orange);}

.uprofile-car{width:100%;height:210px;overflow:visible;border-radius:0;display:flex;align-items:center;justify-content:flex-end;background:transparent;border:none;position:relative;}
.uprofile-carimg{position:absolute;top:50%;right:-55%;height:165%;width:auto;max-width:none;object-fit:cover;object-position:right center;display:block;transform:translateY(-50%);filter:drop-shadow(0 14px 22px rgba(0,0,0,0.08));pointer-events:none;z-index:0;}
 
.uprofile-metrics{margin-top:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:center;position:relative;z-index:3;}
.uprofile-metric .mv{font-family:var(--font-head);font-weight:900;font-size:16px;color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uprofile-metric .mk{margin-top:2px;font-size:11px;font-weight:800;color:var(--c-blue);}
 
.uprofile-actions{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;position:relative;z-index:3;}
.uprofile-btn{height:38px;padding:0 14px;border-radius:10px;font-weight:900;font-size:14px;transition:var(--trans);display:inline-flex;align-items:center;justify-content:center;min-width:110px;}
.uprofile-btn.btn-blue{background:var(--c-blue);color:#fff;}
.uprofile-btn.btn-blue:hover{background:#005BB5;}
.uprofile-btn.btn-green{background:var(--c-green);color:#fff;}
.uprofile-btn.btn-green:hover{background:#047857;}
.uprofile-btn.btn-orange{background:var(--c-orange);color:#fff;}
.uprofile-btn.btn-orange:hover{background:#d97706;}
.uprofile-btn.btn-dark{background:#111827;color:#fff;}
.uprofile-btn.btn-dark:hover{background:#0b1220;}

@media (max-width: 560px){
  .uprofile-top{grid-template-columns:1fr;}
  .uprofile-car{height:180px;}
  .uprofile-carimg{right:-35%;height:150%;}
  .uprofile-metrics{grid-template-columns:repeat(2,1fr);}
  .uprofile-btn{flex:1;min-width:0;}
}

/* ============================================================
   MENU CENTRAL (boton gris)
   ============================================================ */
.uc-hub-overlay{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(17,24,39,0.38);z-index:9100;}
.uc-hub-overlay.open{display:flex;}
.uc-hub-panel{width:940px;max-width:96vw;height:620px;max-height:90vh;background:var(--c-surface);border:1px solid var(--c-border2);border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden;display:grid;grid-template-columns:240px 1fr;}
.uc-hub-left{background:#fff;border-right:1px solid var(--c-border2);padding:14px;display:flex;flex-direction:column;gap:10px;}
.uc-hub-left-title{font-family:var(--font-head);font-weight:900;font-size:16px;color:var(--c-text);}
.uc-hub-left-sub{font-size:11px;color:var(--c-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uc-hub-nav{display:flex;flex-direction:column;gap:6px;overflow:auto;padding-right:2px;flex:1 1 auto;min-height:0;}
.uc-hub-nav-footer{margin-top:auto;padding-top:10px;border-top:1px solid var(--c-border2);}
.uc-hub-logout{
  width:100%;
  border:1px solid rgba(220,38,38,0.25);
  background:rgba(220,38,38,0.08);
  color:#b91c1c;
  border-radius:12px;
  padding:10px 10px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-weight:900;
  font-size:12px;
  transition:var(--trans);
}
.uc-hub-logout:hover{background:rgba(220,38,38,0.12);border-color:rgba(220,38,38,0.35);}
.uc-hub-logout i{font-size:13px;}
.uc-hub-item{border:1px solid transparent;background:transparent;border-radius:12px;padding:10px 10px;cursor:pointer;display:flex;align-items:center;gap:10px;color:var(--c-text2);font-weight:900;font-size:12px;text-align:left;transition:var(--trans);}
.uc-hub-item i{width:18px;text-align:center;color:rgba(17,24,39,0.55);}
.uc-hub-item:hover{background:rgba(0,114,206,0.06);border-color:rgba(0,114,206,0.15);}
.uc-hub-item.active{background:rgba(0,114,206,0.10);border-color:rgba(0,114,206,0.22);color:var(--c-text);}
.uc-hub-item.active i{color:var(--c-blue);}

.uc-hub-right{display:flex;flex-direction:column;min-width:0;}
.uc-hub-head{height:54px;border-bottom:1px solid var(--c-border2);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;background:var(--c-surface);}
.uc-hub-head-title{font-family:var(--font-head);font-weight:900;font-size:14px;color:var(--c-text);}
.uc-hub-close{width:34px;height:34px;border-radius:10px;border:1px solid var(--c-border2);background:var(--c-surface2);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:var(--trans);}
.uc-hub-close:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,0.08);}

.uc-hub-content{padding:14px;overflow:auto;min-height:0;}
.uc-hub-loading,.uc-hub-empty,.uc-hub-error{padding:12px;border-radius:12px;background:var(--c-surface2);border:1px solid var(--c-border2);font-size:12px;color:var(--c-muted);}
.uc-hub-error{color:var(--c-red);background:rgba(220,38,38,0.06);border-color:rgba(220,38,38,0.18);}
.uc-hub-cards{display:flex;flex-direction:column;gap:10px;}
.uc-hub-card{background:#fff;border:1px solid var(--c-border2);border-radius:14px;padding:12px;box-shadow:0 10px 22px rgba(17,24,39,0.06);}
.uc-hub-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.uc-hub-card-title{font-weight:1000;font-size:13px;color:var(--c-text);}
.uc-hub-card-sub{font-size:10px;color:var(--c-muted);white-space:nowrap;}
.uc-hub-muted{font-size:11px;color:var(--c-muted);margin-top:4px;line-height:1.35;}
.uc-hub-stars{font-size:14px;color:rgba(124,58,237,0.92);letter-spacing:1px;margin-top:6px;}

.uc-hub-section{max-width:760px;}
.uc-hub-form{display:flex;flex-direction:column;gap:8px;}
.uc-hub-form label{font-size:11px;color:var(--c-muted);font-weight:900;margin-top:6px;}
.uc-hub-form input,.uc-hub-form select{height:40px;border-radius:12px;border:1px solid var(--c-border2);background:var(--c-surface2);padding:0 12px;font-size:14px;outline:none;}
.uc-hub-form input:focus,.uc-hub-form select:focus{border-color:var(--c-blue);box-shadow:0 0 0 1px var(--c-blue);}
.uc-hub-actions{display:flex;gap:10px;align-items:center;margin-top:10px;flex-wrap:wrap;}
.uc-hub-primary,.uc-hub-secondary{height:40px;border-radius:12px;border:1px solid transparent;padding:0 14px;font-weight:1000;font-size:12px;cursor:pointer;transition:var(--trans);}
.uc-hub-primary{background:var(--c-blue);color:#fff;}
.uc-hub-primary:disabled{opacity:0.5;cursor:not-allowed;}
.uc-hub-secondary{background:var(--c-surface2);border-color:var(--c-border2);color:var(--c-text);}
.uc-hub-primary:hover:not(:disabled),.uc-hub-secondary:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(17,24,39,0.10);}

.uc-hub-table{border:1px solid var(--c-border2);border-radius:14px;overflow:hidden;background:#fff;}
.uc-hub-thead{display:grid;grid-template-columns:140px 120px 120px 1fr;gap:0;background:var(--c-surface2);padding:10px 12px;font-size:11px;color:var(--c-muted);font-weight:1000;}
.uc-hub-tr{display:grid;grid-template-columns:140px 120px 120px 1fr;gap:0;padding:10px 12px;border-top:1px solid var(--c-border2);font-size:11px;color:var(--c-text2);align-items:center;}
.uc-hub-money-in{color:var(--c-green);font-weight:1000;}
.uc-hub-money-out{color:var(--c-red);font-weight:1000;}
.uc-hub-money-pts{color:rgba(124,58,237,0.92);font-weight:1000;}

/* Mis movimientos: paginado + scroll vertical */
.uc-moves{display:flex;flex-direction:column;gap:12px;min-height:0;}
.uc-moves-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
.uc-moves-label{font-size:11px;color:var(--c-muted);font-weight:1000;}
.uc-moves-select{height:36px;border-radius:12px;border:1px solid var(--c-border2);background:var(--c-surface2);padding:0 10px;font-size:12px;font-weight:1000;outline:none;}
.uc-moves-select:focus{border-color:var(--c-blue);box-shadow:0 0 0 1px var(--c-blue);}
.uc-moves-footer{display:flex;justify-content:center;padding-top:2px;}

.uc-hub-table-moves{display:flex;flex-direction:column;min-height:0;}
.uc-hub-table-moves .uc-hub-tbody{flex:1;min-height:0;max-height:420px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(17,24,39,0.22) rgba(17,24,39,0.06);}
.uc-hub-table-moves .uc-hub-tbody::-webkit-scrollbar{width:10px;}
.uc-hub-table-moves .uc-hub-tbody::-webkit-scrollbar-track{background:rgba(17,24,39,0.06);}
.uc-hub-table-moves .uc-hub-tbody::-webkit-scrollbar-thumb{background:rgba(17,24,39,0.22);border-radius:999px;}

.uc-hub-note{font-size:11px;color:var(--c-muted);padding:10px 12px;border:1px solid var(--c-border2);background:var(--c-surface2);border-radius:14px;}
.uc-hub-kpi-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;}
.uc-hub-kpi{border:1px solid var(--c-border2);background:#fff;border-radius:14px;padding:10px 12px;}
.uc-hub-kpi .k{font-size:10px;color:var(--c-muted);font-weight:1000;text-transform:uppercase;}
.uc-hub-kpi .v{font-size:14px;font-weight:1000;color:var(--c-text);margin-top:4px;}
.uc-hub-kpi .ok{color:var(--c-green);}
.uc-hub-kpi .bad{color:var(--c-red);}
.uc-hub-warn{margin-top:6px;font-size:11px;color:var(--c-amber);font-weight:900;}
.uc-hub-subtitle{margin-top:14px;font-size:11px;font-weight:1000;color:var(--c-muted);text-transform:uppercase;letter-spacing:.4px;}

@media (max-width: 720px){
  .uc-hub-panel{grid-template-columns:1fr;height:92vh;}
  .uc-hub-left{border-right:none;border-bottom:1px solid var(--c-border2);}
  .uc-hub-nav{flex-direction:row;flex-wrap:wrap;}
  .uc-hub-item{flex:1 1 46%;}
  /* En mobile, permitir scroll horizontal si las columnas no entran */
  .uc-hub-table{overflow-x:scroll;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
  .uc-hub-thead,.uc-hub-tr{min-width:520px;}
  .uc-hub-thead,.uc-hub-tr{grid-template-columns:120px 100px 100px 1fr;}
  .uc-hub-table::-webkit-scrollbar{height:10px;}
  .uc-hub-table::-webkit-scrollbar-track{background:rgba(17,24,39,0.06);}
  .uc-hub-table::-webkit-scrollbar-thumb{background:rgba(17,24,39,0.22);border-radius:999px;}
}

/* Extracciones (solicitar + historial) dentro del hub */
.uc-ret-layout{display:grid;grid-template-columns:180px 1fr;gap:12px;}
.uc-ret-nav{display:flex;flex-direction:column;gap:8px;}
.uc-ret-navbtn{height:38px;border-radius:12px;border:1px solid var(--c-border2);background:var(--c-surface2);color:var(--c-text);font-weight:1000;font-size:12px;display:flex;align-items:center;gap:10px;padding:0 12px;cursor:pointer;transition:var(--trans);}
.uc-ret-navbtn i{color:var(--c-muted);font-size:13px;}
.uc-ret-navbtn.active{background:#fff;border-color:rgba(0,114,206,0.25);box-shadow:0 10px 22px rgba(17,24,39,0.08);}
.uc-ret-navbtn.active i{color:var(--c-blue);}
.uc-ret-panel{min-width:0;}
.uc-ret-confirm{margin-top:12px;}
.uc-ret-confirm-card{border:1px solid var(--c-border2);border-radius:14px;background:#fff;padding:12px;}
.uc-ret-confirm-title{font-weight:1000;color:var(--c-text);font-size:13px;margin-bottom:10px;}
.uc-ret-confirm-grid{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:12px;}
.uc-ret-confirm-grid .k{color:var(--c-muted);font-weight:900;}
.uc-ret-confirm-grid .v{font-weight:1000;color:var(--c-text);}
.uc-ret-confirm-grid .fee{color:var(--c-red);}
.uc-ret-confirm-grid .net{color:var(--c-green);}
.uc-ret-confirm-note{margin-top:10px;color:var(--c-muted);font-size:11px;}

/* Finanzas (admin) dentro del hub */
.uc-fin-layout{display:flex;flex-direction:column;gap:12px;align-items:stretch;}
.uc-fin-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.uc-fin-navbtn{height:38px;border-radius:12px;border:1px solid var(--c-border2);background:var(--c-surface2);color:var(--c-text);font-weight:1000;font-size:12px;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 12px;cursor:pointer;transition:var(--trans);}
.uc-fin-navbtn i{color:var(--c-muted);font-size:13px;}
.uc-fin-navbtn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}
.uc-fin-navbtn.active{background:#fff;border-color:rgba(0,114,206,0.25);box-shadow:0 10px 22px rgba(17,24,39,0.08);}
.uc-fin-navbtn.active i{color:var(--c-blue);}
.uc-fin-panel{min-width:0;}
.uc-fin-panel .uc-hub-table{max-height:56vh;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;}
.uc-fin-panel .uc-hub-thead,.uc-fin-panel .uc-hub-tr{min-width:0;}
.uc-fin-more{display:flex;justify-content:center;margin-top:10px;}

@supports not (scrollbar-gutter: stable){
  /* Fallback: evita que la ultima columna quede debajo de la scrollbar (Safari/Android viejos). */
  .uc-fin-panel .uc-hub-thead,
  .uc-fin-panel .uc-hub-tr{padding-right:20px;}
}

@media (max-width: 720px){
  .uc-ret-layout{grid-template-columns:1fr;}
  .uc-ret-nav{flex-direction:row;}
  .uc-ret-navbtn{flex:1;justify-content:center;}
  .uc-ret-navbtn span{white-space:nowrap;}

  .uc-fin-navbtn{justify-content:center;}
  .uc-fin-navbtn span{white-space:nowrap;}
  /* En mobile, mantener scroll horizontal/vertical dentro de tablas de finanzas */
  .uc-fin-panel .uc-hub-table{max-height:52vh;overflow:auto;}
}

.uc-profile{display:grid;grid-template-columns:1.05fr 0.95fr;gap:18px;padding:18px;min-height:420px;}
.uc-profile-left{display:flex;flex-direction:column;gap:14px;}
.uc-profile-right{display:flex;align-items:stretch;}

.uc-profile-head{display:flex;align-items:center;gap:12px;}
.uc-avatar{width:44px;height:44px;border-radius:14px;background:rgba(0,114,206,0.12);border:1px solid rgba(0,114,206,0.22);display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:700;color:var(--c-blue);}
.uc-hello{font-family:var(--font-head);font-weight:700;font-size:22px;color:var(--c-text);line-height:1.1;}
.uc-email{font-size:12px;color:var(--c-muted);margin-top:3px;word-break:break-word;}

.uc-profile-badges{display:flex;gap:8px;flex-wrap:wrap;}
.uc-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid var(--c-border2);background:var(--c-surface2);color:var(--c-text2);}
.uc-pill i{font-size:12px;}
.uc-pill-prem{background:rgba(217,119,6,0.10);border-color:rgba(217,119,6,0.25);color:var(--c-gold);}
.uc-pill-free{background:rgba(107,114,128,0.08);border-color:rgba(107,114,128,0.22);color:var(--c-muted);}
.uc-pill-admin{background:rgba(217,119,6,0.10);border-color:rgba(217,119,6,0.25);color:var(--c-amber);}

.uc-profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:2px;}
.uc-stat{background:var(--c-surface2);border:1px solid var(--c-border2);border-radius:14px;padding:12px 12px;display:flex;flex-direction:column;gap:6px;}
.uc-stat-k{font-size:12px;color:var(--c-muted);display:flex;align-items:center;gap:8px;}
.uc-stat-k i{color:var(--c-gold);}
.uc-stat:nth-child(2) .uc-stat-k i{color:var(--c-green);}
.uc-stat-v{font-family:var(--font-head);font-size:20px;font-weight:800;color:var(--c-text);}

.uc-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto;}
.uc-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;font-weight:800;font-size:13px;border:1px solid transparent;transition:var(--trans);}
.uc-btn i{font-size:13px;}
.uc-btn-blue{background:var(--c-blue);color:#fff;}
.uc-btn-blue:hover{background:#005BB5;}
.uc-btn-green{background:var(--c-green);color:#fff;}
.uc-btn-green:hover{background:#047857;}
.uc-btn-gold{background:var(--c-gold);color:#fff;}
.uc-btn-gold:hover{background:#b45309;}
.uc-btn-dark{background:#111827;color:#fff;}
.uc-btn-dark:hover{background:#0b1220;}

.uc-car-card{width:100%;border-radius:18px;border:1px solid var(--c-border2);background:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(17,24,39,0.10);display:flex;flex-direction:column;}
.uc-car-media{height:220px;background:#f3f4f6;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;}
.uc-car-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:rgba(17,24,39,0.30);font-size:44px;}
.uc-car-body{padding:14px 14px 16px;}
.uc-car-name{font-family:var(--font-head);font-weight:900;font-size:16px;color:var(--c-text);}
.uc-car-desc{margin-top:4px;color:var(--c-muted);font-size:12px;line-height:1.4;}
.uc-car-metrics{margin-top:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.uc-metric{min-width:0;background:var(--c-surface2);border:1px solid var(--c-border2);border-radius:12px;padding:10px 10px;display:flex;flex-direction:column;gap:4px;}
.uc-mv{font-family:var(--font-head);font-weight:900;font-size:12px;color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uc-mk{font-size:10px;font-weight:700;color:var(--c-muted);text-transform:uppercase;letter-spacing:.4px;}

/* Selector de autos */
.uc-car-picker{padding:14px 14px 16px;}
.uc-car-prompt{
  font-family:var(--font-head);
  font-weight:900;
  font-size:16px;
  color:var(--c-text);
  letter-spacing:0;
}
.uc-car-search{width:100%;height:40px;border-radius:14px;border:1px solid var(--c-border2);background:var(--c-surface2);padding:0 12px;font-size:14px;outline:none;}
.uc-car-search:focus{border-color:var(--c-blue);box-shadow:0 0 0 1px var(--c-blue);}
.uc-car-list{margin-top:12px;max-height:58vh;overflow:auto;display:flex;flex-direction:column;gap:8px;padding-right:2px;}
.uc-car-row{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid var(--c-border2);border-radius:14px;padding:10px 10px;transition:var(--trans);}
.uc-car-row:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,0.08);}
.uc-car-thumb{width:46px;height:46px;border-radius:12px;background:var(--c-surface2);border:1px solid var(--c-border);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;flex-shrink:0;}
.uc-car-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.uc-car-thumb-fb{position:absolute;inset:0;display:none;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:800;color:var(--c-blue);}
.uc-car-thumb[data-fallback="1"] .uc-car-thumb-fb{display:flex;}
.uc-swal-car .uc-car-row{gap:12px;}
.uc-swal-car .uc-car-thumb{width:88px;height:54px;border-radius:12px;}
.uc-swal-car .uc-car-thumb img{object-fit:contain;background:#fff;}
.uc-car-meta{flex:1;min-width:0;}
.uc-car-title{font-weight:900;color:var(--c-text);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uc-car-sub{margin-top:2px;color:var(--c-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uc-car-cta{font-size:12px;font-weight:900;color:var(--c-blue);background:rgba(0,114,206,0.10);border:1px solid rgba(0,114,206,0.22);padding:6px 10px;border-radius:999px;flex-shrink:0;}
.uc-car-empty{padding:18px;text-align:center;color:var(--c-muted);font-size:13px;}

/* Mis autos (gestor) */
.uc-mycar-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.uc-mycar-hint{font-size:11px;color:var(--c-muted);font-weight:700;}
.uc-mycar-add{display:inline-flex;align-items:center;gap:8px;background:var(--c-blue);color:#fff;border-radius:12px;padding:9px 12px;font-weight:900;font-size:13px;border:1px solid rgba(0,0,0,0.05);}
.uc-mycar-add:disabled{opacity:0.45;cursor:not-allowed;}
.uc-mycar-list{margin-top:12px;display:flex;flex-direction:column;gap:8px;max-height:58vh;overflow:auto;padding-right:2px;}
.uc-mycar-row{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid var(--c-border2);border-radius:14px;padding:10px 10px;}
.uc-mycar-left{display:flex;align-items:center;gap:10px;min-width:0;}
.uc-mycar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.uc-mycar-btn{background:rgba(0,114,206,0.10);border:1px solid rgba(0,114,206,0.22);color:var(--c-blue);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;}
.uc-mycar-btn:hover{background:rgba(0,114,206,0.16);}
.uc-mycar-ico{width:34px;height:34px;border-radius:10px;border:1px solid var(--c-border2);background:var(--c-surface2);display:flex;align-items:center;justify-content:center;color:var(--c-red);}
.uc-mycar-ico:hover{background:rgba(220,38,38,0.08);border-color:rgba(220,38,38,0.25);}

/* Dentro del hub (boton gris), evitamos doble scroll: el scroll lo maneja .uc-hub-content */
#ucHubContent .uc-mycar-list,
#ucHubContent .uc-car-list{max-height:none;overflow:visible;padding-right:0;}

@media (max-width: 860px){
  .uc-profile{grid-template-columns:1fr;min-height:auto;}
  .uc-car-media{height:200px;}
  .uc-car-metrics{grid-template-columns:repeat(2,1fr);}
}

/* ─── RESPONSIVE ─────────────────────────────────────────────*/
@media(max-width:768px){
  :root{
    --header-h: 60px;
    /* Alto del degradé bajo el header (según SVG: 60→93) */
    --subbar-h: 33px;
  }
  .search-bar{display:none;}
  .station-pill{display:none;}
  .sidebar{border-radius:0 var(--radius-md) var(--radius-md) 0;}
  .fab-group{bottom:14px;right:14px;padding-bottom:var(--safe-bottom);}
  .action-dock{bottom:calc(14px + var(--safe-bottom));}
  .fab{width:44px;height:44px;font-size:0.9rem;}
  /* Chat en mobile: evita solaparse con el header/subbar y con el dock inferior */
  .chat-window{
    left:10px;
    right:10px;
    width:auto;
    top:calc(var(--topbar-h) + 8px);
    bottom:calc(73px + var(--safe-bottom));
    height:auto;
    max-height:none;
  }
  .admin-dropdown{right:10px;width:calc(100vw - 20px);}

  /* Cargar saldo: VISIBLE en mobile (solo ocultar texto) */
  .recargar-tab{ display:flex !important; }
  .recargar-tab .recargar-text{ display:none; }

  /* Premium chip: solo ícono */
  .premium-chip .prem-text{ display:none; }
  .premium-chip{ padding:5px 8px; }

  /* Admin chip compacto */
  .admin-chip{ padding:5px 8px; gap:4px; font-size:11px; }

  /* Header (1 fila) + subbarra con degradé (solo mobile) */
  .header{ padding:0 10px; }
  .eslot-subbar{ display:block; }
  .eslot-nav{
    /* Columna izquierda auto para el logo, derecha flexible para stats/acciones */
    grid-template-columns:auto 1fr;
    grid-template-areas:
      "logo right";
    row-gap:0;
    column-gap:10px;
  }
  /* Nota: .eslot-left se mueve al #eslotSubbar vía JS en mobile */
  .header .eslot-left{ display:none; }
  .eslot-left{gap:12px;flex-wrap:nowrap;}
  .eslot-logo{grid-area:logo;justify-self:start;font-size:22px;}
  .eslot-logo .brand-logo-img{display:none;}
  .eslot-logo::before{
    content:"Spolum";
    display:block;
    font-family:"Funnel Sans", Inter, system-ui, sans-serif;
    font-size:22px;
    line-height:1;
    font-weight:800;
    color:#041934;
    letter-spacing:-0.05em;
  }
  .eslot-right{grid-area:right;gap:8px;justify-self:end;min-width:0;}

  /* Compactar textos para que nunca empujen a las acciones fuera de pantalla */
  .eslot-nearby{font-size:13px;}
  .eslot-car-btn{font-size:13px;padding:5px 8px;}
  .eslot-stat{font-size:12px;gap:5px;}
  .eslot-saldo{padding:5px 8px;}

  /* Header mobile simplificado: campana legible, badge discreto */
  .notif-btn,.user-chip{width:27px;height:27px;}
  .eslot-right .eslot-pts,
  .eslot-right .eslot-saldo,
  .eslot-right .admin-chip{display:none!important;}
  .eslot-right .notif-btn{display:inline-flex!important;width:32px;height:32px;color:#041934;}
  .eslot-right .user-chip{display:inline-flex!important;width:32px;height:32px;}
  .eslot-right .notif-btn i{font-size:17px;}
  .eslot-right #notifBadge{
    top:1px;
    right:1px;
    min-width:13px;
    height:13px;
    padding:0 3px;
    border-width:1.5px;
    font-size:7.5px;
  }

  /* Botón azul:
     - Sin sesión: tamaño normal (como el resto de acciones)
     - Con sesión (logout): más pequeño, como referencia del usuario */
  .btn-auth{width:auto;min-width:102px;height:32px;padding:0 12px;font-size:12px;}
  .btn-auth i{display:none;}
  /* Logout: tamaño exacto del SVG (13x13, rx=4.5) */
  .btn-auth.is-logout{
    width:13px;height:13px;
    border-radius:4.5px;
    background:linear-gradient(135deg,#1173C3 0%, #0F77CB 100%);
    border:1px solid rgba(82,160,224,0.44);
  }
  .btn-auth.is-logout i{font-size:8px;}
  .user-chip .avatar-initial{font-size:12px;}
}

/* ─── PANTALLAS MUY PEQUEÑAS (≤ 360px, iPhone SE, etc.) ─────*/
@media(max-width:360px){
  .header{ padding:0 6px; }
  .eslot-logo{ font-size:20px; }
  .eslot-nav{ row-gap:6px; }
  .notif-btn,.user-chip{ width:26px; height:26px; }
  .eslot-right .notif-btn{width:30px;height:30px;}
  .eslot-right .user-chip{width:30px;height:30px;}
  .eslot-right .notif-btn i{font-size:16px;}
  .eslot-right #notifBadge{min-width:12px;height:12px;font-size:7px;top:1px;right:0;}
  .btn-auth{ width:auto; min-width:96px; height:30px; padding:0 10px; font-size:11px; }
  /* Mantener el logout pequeno (13x13) tambien en pantallas muy chicas */
  .btn-auth.is-logout{ width:13px; height:13px; border-radius:4.5px; }
  .user-chip .avatar-initial{ font-size:11px; }
  .admin-chip{ padding:4px 6px; font-size:10px; }
  .fab-group{ right:8px; bottom:8px; gap:8px; }
  .action-dock{ bottom:calc(8px + var(--safe-bottom)); transform:translateX(-50%); transform-origin:bottom center; }
  .fab{ width:40px; height:40px; font-size:0.8rem; }
}

/* ─── LANDSCAPE en móvil (pantallas cortas) ─────────────────*/
@media(max-height:480px) and (orientation:landscape){
  .fab-group{ flex-direction:row; bottom:8px; right:8px; gap:6px; }
  .fab{ width:38px; height:38px; font-size:0.8rem; }
  .chat-window{ max-height:calc(100vh - 70px); }
  .sidebar{ height:calc(100vh - 64px); }
}

/* Adaptadores dentro de Mis autos */
.uc-adapter-section{margin-top:18px;border-top:1px solid var(--c-border2);padding-top:14px;}
.uc-adapter-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.uc-adapter-heading{font-weight:1000;color:var(--c-text);font-size:13px;}
.uc-adapter-note{margin-top:2px;font-size:11px;color:var(--c-muted);font-weight:700;}
.uc-adapter-add{white-space:nowrap;}
.uc-adapter-list{margin-top:10px;display:flex;flex-direction:column;gap:8px;}
.uc-adapter-row{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid var(--c-border2);border-radius:14px;padding:10px;}
.uc-adapter-meta{min-width:0;}
.uc-adapter-title{font-weight:1000;color:var(--c-text);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uc-adapter-sub{margin-top:2px;color:var(--c-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uc-adapter-form{display:grid;gap:10px;text-align:left;}
.uc-adapter-form label{font-size:12px;font-weight:900;color:var(--c-text2);}
.uc-adapter-form select{width:100%;height:42px;border-radius:12px;border:1px solid var(--c-border2);background:var(--c-surface2);padding:0 10px;font-weight:800;color:var(--c-text);outline:none;}
.uc-adapter-form select:focus{border-color:var(--c-blue);box-shadow:0 0 0 1px var(--c-blue);}
.uc-adapter-help{font-size:11px;line-height:1.35;color:var(--c-muted);background:rgba(0,114,206,0.06);border:1px solid rgba(0,114,206,0.14);border-radius:12px;padding:9px 10px;}
@media(max-width:768px){
  .uc-adapter-head{align-items:flex-start;}
  .uc-adapter-add{padding:8px 10px;font-size:12px;}
  .uc-adapter-title,.uc-adapter-sub{white-space:normal;}
}
/* ============================================================
   ADAPTACION MOVIL GLOBAL - Spolum
   Convierte paneles principales en pantallas/bottom sheets full-width.
   ============================================================ */
.uc-hub-back,.uc-hub-root-back{display:none;width:40px;height:40px;border:0;background:transparent;color:var(--c-text);align-items:center;justify-content:center;font-size:18px;cursor:pointer;}

@media(max-width:768px){
  html,body{width:100%;height:100%;overflow-x:hidden;background:#fff;}
  body{min-height:100dvh;overscroll-behavior:none;}
  #map{width:100vw;}

  .header{left:0;right:0;width:100vw;max-width:100vw;border-radius:0;box-shadow:0 1px 0 rgba(148,163,184,0.28);}
  .eslot-subbar{left:0;right:0;width:100vw;max-width:100vw;}

  .action-dock{
    left:50%;
    right:auto;
    bottom:calc(14px + var(--safe-bottom));
    width:306px;
    max-width:calc(100vw - 24px);
    height:59px;
    transform:translateX(-50%);
    justify-content:center;
    gap:2.4px;
    padding:6px;
    border-radius:14px;
    border:1px solid rgba(148,163,184,0.40);
  }
  .dock-btn{width:47px;height:47px;flex:0 0 47px;border-radius:11px;}

  .chat-window{
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    max-height:none!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
    border-bottom:0!important;
    z-index:9300!important;
    transform:translateY(16px)!important;
  }
  .chat-window.open{transform:translateY(0)!important;}
  .chat-head{min-height:60px;padding:12px 16px;}
  .chat-messages{padding:14px 12px;}
  .quick-msgs{padding:8px 10px;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .quick-msg{flex:0 0 auto;}
  .chat-input-row{padding:10px 12px calc(10px + var(--safe-bottom));}

  .uc-hub-overlay{padding:0;align-items:stretch;justify-content:stretch;background:rgba(17,24,39,0.38);}
  .uc-hub-panel{
    position:relative;
    width:100vw;
    max-width:none;
    height:100dvh;
    max-height:none;
    border:0;
    border-radius:0;
    box-shadow:none;
    display:block;
    overflow:hidden;
    background:#fff;
  }
  .uc-hub-left,
  .uc-hub-right{position:absolute;inset:0;width:100%;height:100%;background:#fff;border:0;}
  .uc-hub-left{padding:22px 18px calc(88px + var(--safe-bottom));overflow:auto;-webkit-overflow-scrolling:touch;}
  .uc-hub-left-head{margin-bottom:18px;display:flex;align-items:flex-start;gap:10px;}
  .uc-hub-root-back{display:flex;flex:0 0 40px;margin-top:-4px;}
  .uc-hub-left-copy{min-width:0;flex:1;}
  .uc-hub-left-title{font-size:22px;line-height:1.05;}
  .uc-hub-left-sub{font-size:12px;white-space:normal;line-height:1.25;margin-top:4px;}
  .uc-hub-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;overflow:visible;padding:0;}
  .uc-hub-item{min-height:72px;border-radius:16px;border:1px solid rgba(180,210,235,0.95);background:#fff;padding:12px;align-items:center;font-size:13px;box-shadow:0 8px 18px rgba(15,23,42,0.04);}
  .uc-hub-item i{width:22px;font-size:15px;}
  .uc-hub-item.active{background:rgba(0,114,206,0.10);}
  .uc-hub-nav-footer{margin-top:24px;padding-top:0;border:0;}
  .uc-hub-logout{height:54px;border-radius:16px;font-size:13px;}

  .uc-hub-right{display:flex;flex-direction:column;opacity:0;pointer-events:none;transform:translateX(16px);transition:opacity .18s ease, transform .18s ease;}
  .uc-hub-panel.view-open .uc-hub-right{opacity:1;pointer-events:auto;transform:none;}
  .uc-hub-panel.view-open .uc-hub-left{opacity:0;pointer-events:none;}
  .uc-hub-head{height:64px;padding:0 12px;border-bottom:1px solid var(--c-border2);justify-content:flex-start;}
  .uc-hub-back{display:flex;flex:0 0 40px;}
  .uc-hub-head-title{flex:1;text-align:center;font-size:19px;line-height:1.1;}
  .uc-hub-close{width:40px;height:40px;border-radius:14px;flex:0 0 40px;}
  .uc-hub-content{height:calc(100dvh - 64px);padding:18px 18px calc(88px + var(--safe-bottom));overflow:auto;-webkit-overflow-scrolling:touch;}
  .uc-hub-section{max-width:none;width:100%;}

  .uc-hub-card{border-radius:18px;box-shadow:none;padding:14px;}
  .uc-hub-cards{gap:12px;}
  .uc-hub-kpi-row{grid-template-columns:1fr;gap:10px;}
  .uc-hub-actions{width:100%;gap:10px;}
  .uc-hub-primary,.uc-hub-secondary{height:48px;border-radius:14px;flex:1;}
  .uc-hub-form input,.uc-hub-form select{height:48px;border-radius:14px;font-size:15px;}

  .uc-hub-table{width:100%;overflow:auto;-webkit-overflow-scrolling:touch;border-radius:16px;}
  .uc-hub-thead,.uc-hub-tr{min-width:620px;}
  .uc-hub-table-moves .uc-hub-tbody{max-height:none;overflow:visible;}
  .uc-moves-toolbar{justify-content:space-between;align-items:center;}
  .uc-moves-select{height:42px;border-radius:14px;}

  .uc-ret-layout{grid-template-columns:1fr;}
  .uc-ret-nav{display:grid;grid-template-columns:1fr 1fr;gap:10px;overflow:visible;}
  .uc-ret-navbtn{height:48px;border-radius:14px;justify-content:center;}
  .uc-fin-nav{grid-template-columns:1fr;gap:10px;}
  .uc-fin-navbtn{height:48px;border-radius:14px;}
  .uc-fin-panel .uc-hub-table{max-height:none;overflow:auto;}

  .uc-profile{display:flex;flex-direction:column;padding:0;gap:16px;}
  .uc-profile-head{align-items:center;}
  .uc-hello{font-size:24px;}
  .uc-profile-stats{grid-template-columns:1fr 1fr;}
  .uc-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
  .uc-btn{justify-content:center;min-height:48px;border-radius:14px;}
  .uc-car-card{border-radius:18px;box-shadow:none;}
  .uc-car-metrics{grid-template-columns:repeat(2,1fr);}

  .uc-mycar-top{align-items:flex-start;gap:12px;}
  .uc-mycar-add{height:44px;border-radius:14px;}
  .uc-mycar-list{max-height:none;overflow:visible;gap:10px;}
  .uc-mycar-row{border-radius:16px;align-items:flex-start;}
  .uc-mycar-actions{flex-direction:column;gap:6px;}

  .admin-dropdown{position:fixed;left:0;right:0;top:var(--header-h);width:100vw;max-width:100vw;border-radius:0 0 20px 20px;}

  .swal2-container{padding:0!important;align-items:flex-end!important;}
  .swal2-popup{width:100vw!important;max-width:100vw!important;margin:0!important;border-radius:24px 24px 0 0!important;border-left:0!important;border-right:0!important;border-bottom:0!important;max-height:calc(100dvh - 12px)!important;overflow:auto!important;}
  .swal2-html-container{max-height:none!important;}
  .swal2-actions{width:100%;padding:0 4px;}
  .swal2-confirm,.swal2-cancel,.swal2-deny{min-height:48px;border-radius:14px!important;}

  .swal2-popup.uc-swal-addcharger{height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:22px 18px 18px!important;}
  .uc-swal-addcharger .swal2-html-container{max-height:calc(100dvh - 132px)!important;overflow:auto!important;-webkit-overflow-scrolling:touch;}
  .uc-swal-addcharger .swal2-actions{position:sticky;bottom:0;background:#fff;padding-top:10px!important;}
  .uc-addcharger .uc-ac-head{font-size:30px;text-align:center;margin-bottom:18px;}
  .uc-addcharger .uc-field{margin-bottom:18px;}
  .uc-addcharger .uc-grid-2,.uc-addcharger .uc-grid-hours{grid-template-columns:1fr;gap:12px;}
  .uc-swal-addcharger .uc-addcharger .swal2-input,
  .uc-swal-addcharger .uc-addcharger .swal2-select{height:52px!important;border-radius:12px!important;font-size:16px!important;}

  .leaflet-popup-content{max-width:calc(100vw - 26px)!important;}
}

@media(max-width:420px){
  .uc-hub-left{padding-left:16px;padding-right:16px;}
  .uc-hub-content{padding-left:16px;padding-right:16px;}
  .uc-hub-nav{gap:10px;}
  .uc-hub-item{min-height:68px;font-size:12px;padding:10px;}
  .dock-btn{width:47px;height:47px;flex-basis:47px;}
  .uc-profile-stats{grid-template-columns:1fr;}
}
/* Mobile: todos los menues SweetAlert se anclan abajo, no al centro. */
@media(max-width:768px){
  body.swal2-shown,
  body.swal2-height-auto{height:100dvh!important;overflow:hidden!important;}

  .swal2-container,
  .swal2-container.swal2-center,
  .swal2-container.swal2-top,
  .swal2-container.swal2-bottom{
    position:fixed!important;
    inset:0!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
    padding:0!important;
  }

  .swal2-container .swal2-popup{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    width:100vw!important;
    max-width:100vw!important;
    margin:0!important;
    transform:none!important;
    border-radius:26px 26px 0 0!important;
  }

  .swal2-container .swal2-popup.uc-swal-addcharger{
    top:0!important;
    height:100dvh!important;
    border-radius:0!important;
  }

  .swal2-container .swal2-popup.uc-swal-puestos{
    left:50%!important;
    right:auto!important;
    bottom:calc(18px + var(--safe-bottom))!important;
    width:210px!important;
    max-width:calc(100vw - 24px)!important;
    transform:translateX(-50%)!important;
    border-radius:18px!important;
  }
}

/* Mobile: Mi cuenta como hoja inferior pegada al piso (referencia OPCIONES.png) */
@media(max-width:768px){
  .uc-hub-overlay.open{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:0;
    background:rgba(17,24,39,0.38);
  }

  .uc-hub-panel{
    position:relative;
    width:100vw;
    max-width:100vw;
    height:auto;
    max-height:calc(100dvh - 92px);
    border:0;
    border-radius:24px 24px 0 0;
    box-shadow:0 -18px 44px rgba(15,23,42,0.24);
    display:block;
    overflow:hidden;
    background:#fff;
  }

  .uc-hub-panel.view-open{
    height:100dvh;
    max-height:100dvh;
    border-radius:0;
    box-shadow:none;
  }

  .uc-hub-left{
    position:relative;
    inset:auto;
    width:100%;
    height:auto;
    max-height:calc(100dvh - 92px);
    padding:42px 32px calc(24px + var(--safe-bottom));
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    background:#fff;
    border:0;
  }

  .uc-hub-left-head{display:none;}
  .uc-hub-root-back{display:none!important;}

  .uc-hub-nav{
    display:flex;
    flex-direction:column;
    gap:3px;
    overflow:visible;
    padding:0;
  }

  .uc-hub-item{
    width:100%;
    min-height:54px;
    border:0;
    border-radius:15px;
    background:#fff;
    box-shadow:none;
    padding:0 10px;
    display:flex;
    align-items:center;
    gap:16px;
    color:#2B2D31;
    font-size:18px;
    font-weight:900;
    text-align:left;
  }

  .uc-hub-item:first-child{
    background:#E2F1FF;
  }

  .uc-hub-item i{
    width:38px;
    height:38px;
    flex:0 0 38px;
    border-radius:999px;
    background:#D9D9D9;
    color:transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:0;
  }

  .uc-hub-item span{line-height:1.1;}
  .uc-hub-item.active{background:#E2F1FF;border:0;color:#2B2D31;}
  .uc-hub-item.active i{color:transparent;}

  .uc-hub-nav-footer{
    margin-top:28px;
    padding-top:0;
    border:0;
  }

  .uc-hub-mobile-summary{
    display:grid;
    grid-template-columns:minmax(0,1fr) 58%;
    align-items:end;
    gap:4px;
    min-height:132px;
    margin-bottom:12px;
  }

  .uc-hub-mobile-stats{
    display:flex;
    flex-direction:column;
    gap:7px;
    padding-bottom:18px;
    font-size:14px;
    font-weight:1000;
  }

  .uc-hub-mobile-stats > div{display:flex;align-items:center;gap:8px;white-space:nowrap;}
  .uc-hub-mobile-stats .pts{color:#6366F1;}
  .uc-hub-mobile-stats .money{color:#059669;}
  .uc-hub-mobile-stats .premium{color:#F97316;}
  .uc-hub-mobile-stats i{font-size:19px;}
  .uc-hub-mobile-car{width:100%;max-height:142px;object-fit:contain;object-position:right bottom;display:block;}

  .uc-hub-logout{
    height:50px;
    border-radius:16px;
    font-size:14px;
  }

  .uc-hub-right{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    background:#fff;
    border:0;
    display:flex;
    flex-direction:column;
    opacity:0;
    pointer-events:none;
    transform:translateX(16px);
    transition:opacity .18s ease, transform .18s ease;
  }

  .uc-hub-panel.view-open .uc-hub-right{opacity:1;pointer-events:auto;transform:none;}
  .uc-hub-panel.view-open .uc-hub-left{opacity:0;pointer-events:none;}
  .uc-hub-panel.view-open .uc-hub-head{height:70px;padding:0 18px;border-bottom:0;justify-content:flex-start;}
  .uc-hub-panel.view-open .uc-hub-back{display:flex;flex:0 0 44px;width:44px;height:44px;border-radius:999px;background:#fff;color:#5F6368;font-size:22px;}
  .uc-hub-panel.view-open .uc-hub-head-title{flex:1;text-align:center;font-size:22px;font-weight:1000;color:#2B2D31;}
  .uc-hub-panel.view-open .uc-hub-close{visibility:hidden;flex:0 0 44px;width:44px;height:44px;}
  .uc-hub-panel.view-open .uc-hub-content{height:calc(100dvh - 70px);padding:18px 28px calc(92px + var(--safe-bottom));overflow:auto;-webkit-overflow-scrolling:touch;}
}
/* Login / registro móvil según referencia */
.uc-swal-auth{padding:0!important;overflow:hidden!important;background:#fff!important;}
.uc-swal-auth .swal2-html-container{margin:0!important;padding:0!important;overflow:visible!important;}
.uc-auth-mobile{position:relative;min-height:760px;background:#fff;color:#101827;text-align:left;font-family:var(--font-body);}
.uc-auth-hero{height:276px;background:url('../img/login-hero.png') center top/cover no-repeat;position:relative;border-radius:0 0 0 0;overflow:hidden;}
.uc-auth-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:92px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 82%);}
.uc-auth-brand{position:absolute;top:24px;left:0;right:0;z-index:2;display:flex;justify-content:center;align-items:center;}
.uc-auth-brand img{width:214px;max-width:68%;height:auto;display:block;filter:brightness(0) invert(1);opacity:.98;}
.uc-auth-copy{text-align:center;margin:-2px 32px 26px;position:relative;z-index:3;}
.uc-auth-copy h2{margin:0;font-family:var(--font-head);font-size:25px;line-height:1.08;font-weight:1000;color:#000;letter-spacing:0;}
.uc-auth-copy p{margin:3px 0 0;font-size:13px;font-weight:800;color:#666;line-height:1.25;}
.uc-auth-form{padding:0 32px;display:flex;flex-direction:column;gap:10px;}
.uc-auth-form label{font-size:14px;font-weight:1000;color:#2B2D31;margin-top:8px;}
.uc-auth-form input{width:100%;height:44px;border-radius:7px;border:1px solid rgba(0,0,0,0.30);background:#fff;box-shadow:0 2px 8px rgba(17,24,39,0.18);padding:0 14px;font-size:15px;font-weight:700;color:#2B2D31;outline:none;box-sizing:border-box;}
.uc-auth-form input::placeholder{color:#B9B9B9;font-weight:900;text-align:center;}
.uc-auth-form input:focus{border-color:#0F83DA;box-shadow:0 0 0 2px rgba(15,131,218,0.16),0 2px 8px rgba(17,24,39,0.16);}
.uc-auth-msg{min-height:18px;color:#DC2626;font-size:12px;font-weight:800;text-align:center;margin-top:2px;}
.uc-auth-primary,.uc-auth-secondary{width:100%;height:46px;border-radius:7px;font-size:15px;font-weight:1000;cursor:pointer;transition:filter .15s ease,transform .15s ease;}
.uc-auth-primary{background:#0B7FD3;color:#fff;border:1px solid #0B7FD3;box-shadow:0 2px 8px rgba(15,131,218,0.35);}
.uc-auth-secondary{background:#fff;color:#0B7FD3;border:2px solid #0B7FD3;margin-top:4px;}
.uc-auth-primary:disabled{opacity:.7;cursor:wait;}
.uc-auth-primary:active,.uc-auth-secondary:active{transform:translateY(1px);}
.uc-auth-foot{text-align:center;margin:28px 28px 0;color:#41464F;font-size:12px;font-weight:1000;}
.uc-auth-terms{position:absolute;left:22px;right:22px;bottom:18px;text-align:center;color:#41464F;font-size:11px;font-weight:1000;}
.uc-auth-register .uc-auth-hero{height:230px;}
.uc-auth-register .uc-auth-copy{margin-top:8px;margin-bottom:18px;}
.uc-auth-register .uc-auth-form{gap:8px;}

@media(max-width:768px){
  .swal2-container .swal2-popup.uc-swal-auth{
    inset:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    border-radius:0!important;
    padding:0!important;
    transform:none!important;
    overflow:hidden!important;
  }
  .uc-swal-auth .swal2-html-container{height:100dvh!important;overflow:auto!important;-webkit-overflow-scrolling:touch;}
  .uc-auth-mobile{min-height:100dvh;}
  .uc-auth-hero{height:30dvh;min-height:232px;max-height:292px;}
}

/* Correcciones del menú móvil de opciones */
@media(max-width:768px){
  .uc-hub-left{box-sizing:border-box;overflow-x:hidden;padding-left:32px;padding-right:32px;}
  .uc-hub-nav{width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden;}
  .uc-hub-item{box-sizing:border-box;max-width:100%;width:100%;flex:0 0 auto;overflow:hidden;}
  .uc-hub-item i{color:#8D939D!important;font-size:16px!important;background:#D9D9D9!important;}
  .uc-hub-item.active i,.uc-hub-item:first-child i{color:#8D939D!important;}
  .uc-hub-nav-footer{margin-top:24px;}
  .uc-hub-logout{display:none!important;}
  .uc-hub-mobile-summary{margin-bottom:0;}
}
/* Mobile: pantalla Solicitar extracción según referencia */
@media(max-width:768px){
  .uc-withdraw-mobile{
    min-height:calc(100dvh - 70px - 18px);
    display:flex;
    flex-direction:column;
    color:#45474D;
    font-family:var(--font-body);
    padding-top:92px;
  }

  .uc-withdraw-balance{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:100px;
    border-radius:10px;
    background:#079848;
    color:#fff;
    padding:0 24px;
    box-sizing:border-box;
  }

  .uc-withdraw-balance-label{
    flex:0 0 auto;
    text-align:left;
    font-size:18px;
    font-weight:1000;
    line-height:1;
    white-space:nowrap;
  }

  .uc-withdraw-balance-value{
    flex:1 1 auto;
    text-align:right;
    margin-left:12px;
    font-size:31px;
    font-weight:1000;
    letter-spacing:.2px;
    line-height:1;
    white-space:nowrap;
  }

  .uc-withdraw-meta{
    min-height:62px;
    margin-top:-1px;
    border:1px solid #C9D2DC;
    border-top:0;
    border-radius:0 0 10px 10px;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    padding:0 16px;
    box-sizing:border-box;
    background:#fff;
  }

  .uc-withdraw-status{
    color:#059669;
    font-size:16px;
    font-weight:1000;
    white-space:nowrap;
  }

  .uc-withdraw-bank{
    border:0;
    background:transparent;
    padding:0;
    margin:0;
    text-align:right;
    color:#6A6A6A;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    line-height:1.05;
    cursor:pointer;
  }

  .uc-withdraw-bank strong{
    display:block;
    font-size:16px;
    font-weight:1000;
    color:#6A6A6A;
  }

  .uc-withdraw-bank span{
    display:block;
    font-size:14px;
    font-weight:700;
    color:#777;
  }

  .uc-withdraw-label{
    margin-top:18px;
    font-size:16px;
    font-weight:1000;
    color:#45474D;
  }

  .uc-withdraw-amounts{
    margin-top:16px;
    display:grid;
    grid-template-columns:.72fr .84fr .78fr 1.5fr;
    gap:9px;
    align-items:center;
  }

  .uc-withdraw-chip{
    height:43px;
    border-radius:7px;
    border:1px solid #AFAFAF;
    background:#F2F2F2;
    color:#666;
    font-size:15px;
    font-weight:1000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 6px;
    box-shadow:none;
    outline:0;
    background-clip:padding-box;
    -webkit-appearance:none;
    appearance:none;
    -webkit-tap-highlight-color:transparent;
  }

  .uc-withdraw-chip.active{
    background:linear-gradient(180deg,#7F7F7F 0%, #666 100%);
    color:#fff;
    border-color:#6F6F6F;
    box-shadow:none;
    outline:0;
  }

  .uc-withdraw-chip.wide{min-width:0;}

  .uc-withdraw-custom{
    width:100%;
    min-width:0;
    text-align:center;
    appearance:textfield;
  }

  .uc-withdraw-custom::placeholder{
    color:#666;
    opacity:1;
  }

  .uc-withdraw-custom::-webkit-outer-spin-button,
  .uc-withdraw-custom::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
  }

  .uc-withdraw-calc{
    margin-top:16px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    align-items:center;
    font-size:16px;
    color:#4A4D54;
  }

  .uc-withdraw-calc > div:first-child{
    padding-left:0;
    text-align:left;
    justify-self:start;
    font-weight:500;
  }

  .uc-withdraw-calc > div:last-child{
    text-align:right;
    padding-right:2px;
    font-weight:1000;
  }

  .uc-withdraw-submit{
    margin-top:18px;
    height:48px;
    border-radius:6px;
    background:#0D80D4;
    color:#fff;
    border:1px solid #4AA4EA;
    box-shadow:inset 0 2px 0 rgba(255,255,255,.18), 0 2px 4px rgba(0,0,0,.16);
    font-size:18px;
    font-weight:1000;
    width:100%;
  }

  .uc-withdraw-submit:disabled{
    opacity:.62;
    cursor:not-allowed;
  }

  .uc-withdraw-status.disabled{color:#D97706;}

  .uc-withdraw-note{
    margin-top:13px;
    text-align:center;
    color:#8C8C8C;
    font-size:12px;
    line-height:1.2;
    font-weight:700;
  }

  .uc-withdraw-note strong,
  .uc-withdraw-note span{display:block;}

  .uc-withdraw-bottom{
    margin-top:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    align-items:center;
    padding-bottom:26px;
  }

  .uc-withdraw-help,
  .uc-withdraw-change{
    height:38px;
    border-radius:999px;
    font-size:16px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    white-space:nowrap;
  }

  .uc-withdraw-help{
    background:#F2F2F2;
    color:#777;
    border:1px solid #AFAFAF;
  }

  .uc-withdraw-change{
    background:#0D80D4;
    color:#fff;
    border:1px solid #0D80D4;
    font-weight:1000;
  }

  .uc-hub-panel.view-open .uc-hub-content:has(.uc-withdraw-mobile){
    padding:0 32px calc(0px + var(--safe-bottom));
    height:calc(100dvh - 70px);
  }
}
/* Ajuste móvil específico: Solicitar extracción como pantalla de referencia */
@media(max-width:768px){
  .uc-hub-panel.view-open:has(.uc-withdraw-mobile) .uc-hub-head{
    height:132px;
    padding:70px 28px 0;
    align-items:flex-start;
    border-bottom:0;
  }

  .uc-hub-panel.view-open:has(.uc-withdraw-mobile) .uc-hub-back{
    flex:0 0 44px;
    width:44px;
    height:44px;
    border-radius:999px;
    background:#F7F7F7;
    color:#5F6368;
    box-shadow:none;
    font-size:0;
  }

  .uc-hub-panel.view-open:has(.uc-withdraw-mobile) .uc-hub-back i{display:none;}

  .uc-hub-panel.view-open:has(.uc-withdraw-mobile) .uc-hub-back::before{
    content:'‹';
    display:block;
    font-family:Arial, sans-serif;
    font-size:42px;
    font-weight:300;
    line-height:38px;
    transform:translateY(-2px);
  }

  .uc-hub-panel.view-open:has(.uc-withdraw-mobile) .uc-hub-head-title{
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:900;
    color:#202329;
  }

  .uc-hub-panel.view-open:has(.uc-withdraw-mobile) .uc-hub-close{
    visibility:hidden;
    flex:0 0 44px;
    width:44px;
    height:44px;
  }

  .uc-hub-panel.view-open .uc-hub-content:has(.uc-withdraw-mobile){
    height:calc(100dvh - 132px);
    padding:0 32px calc(0px + var(--safe-bottom));
  }

  .uc-hub-panel.view-open .uc-hub-content:has(.uc-withdraw-mobile) .uc-withdraw-mobile{
    min-height:calc(100dvh - 132px - 18px);
    padding-top:48px;
  }
}

/* Mobile/Desktop: pantalla Cargar saldo según referencia */
.swal2-popup.uc-swal-recharge{
  width:min(446px, calc(100vw - 24px))!important;
  padding:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fff!important;
  color:#2B2D31!important;
}
.swal2-popup.uc-swal-recharge .swal2-html-container.uc-swal-recharge-html{
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
.uc-recharge-mobile{
  min-height:650px;
  padding:64px 32px 26px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  font-family:var(--font-body, Inter, system-ui, sans-serif);
  text-align:left;
  background:#fff;
}
.uc-recharge-top{
  display:grid;
  grid-template-columns:44px 1fr 44px;
  align-items:center;
  gap:8px;
  margin-bottom:70px;
}
.uc-recharge-top h2{
  margin:0;
  text-align:center;
  font-size:24px;
  line-height:1.1;
  font-weight:850;
  color:#2B2D31;
}
.uc-recharge-back{
  width:44px;
  height:44px;
  border:0;
  border-radius:999px;
  background:#F7F7F7;
  color:#5F6368;
  font-family:Arial, sans-serif;
  font-size:42px;
  font-weight:300;
  line-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 0 6px;
}
.uc-recharge-card{margin:0;}
.uc-recharge-balance{
  min-height:100px;
  border-radius:10px;
  background:#079848;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 45px;
  box-sizing:border-box;
}
.uc-recharge-balance span{
  font-size:18px;
  font-weight:850;
  white-space:nowrap;
}
.uc-recharge-balance strong{
  font-size:31px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
  margin-left:12px;
}
.uc-recharge-meta{
  min-height:62px;
  margin-top:-1px;
  border:1px solid #C9D2DC;
  border-top:0;
  border-radius:0 0 10px 10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  padding:0 16px;
  box-sizing:border-box;
  background:#fff;
}
.uc-recharge-release strong,
.uc-recharge-release span{
  display:block;
  font-size:14px;
  line-height:1.1;
  font-weight:850;
}
.uc-recharge-release strong{color:#059669;}
.uc-recharge-release span{color:#6366F1;}
.uc-recharge-links{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  line-height:1.1;
}
.uc-recharge-links button{
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  color:#6A6A6A;
  font-size:14px;
  line-height:1.15;
  font-weight:850;
  text-align:right;
}
.uc-recharge-links button + button{font-weight:700;}
.uc-recharge-label{
  margin-top:18px;
  font-size:16px;
  color:#45474D;
  font-weight:850;
}
.uc-recharge-amounts{
  margin-top:16px;
  display:grid;
  grid-template-columns:.9fr .9fr 1fr 1.25fr;
  gap:8px;
  align-items:center;
}
.uc-recharge-chip{
  height:43px;
  min-width:0;
  border-radius:7px;
  border:1px solid #AFAFAF;
  background:#F2F2F2;
  color:#666;
  font-size:15px;
  font-weight:850;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:0 8px;
  box-shadow:none;
  outline:0;
  appearance:none;
  -webkit-appearance:none;
  background-clip:padding-box;
}
.uc-recharge-chip.active{
  background:linear-gradient(180deg,#7F7F7F 0%, #666 100%);
  color:#fff;
  border-color:#6F6F6F;
}
.uc-recharge-custom{width:100%;appearance:textfield;}
.uc-recharge-custom::placeholder{color:#666;opacity:1;}
.uc-recharge-custom::-webkit-outer-spin-button,
.uc-recharge-custom::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.uc-recharge-pay{
  margin-top:26px;
  height:55px;
  width:100%;
  border-radius:6px;
  border:1px solid #4AA4EA;
  background:#0D80D4;
  color:#fff;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.18), 0 2px 4px rgba(0,0,0,.16);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-size:16px;
  font-weight:500;
  letter-spacing:0;
}
.uc-recharge-pay strong{font-weight:900;color:#fff;}
.uc-recharge-pay img{
  width:34px;
  height:24px;
  object-fit:contain;
  display:block;
}
.uc-recharge-legal{
  margin:17px 0 0;
  font-size:7px;
  line-height:1.25;
  color:#333;
  font-weight:500;
}
@media(max-width:768px){
  .swal2-container:has(.uc-swal-recharge){padding:0!important;align-items:stretch!important;}
  .swal2-popup.uc-swal-recharge{
    width:100vw!important;
    max-width:none!important;
    min-height:100dvh!important;
    border-radius:0!important;
  }
  .uc-recharge-mobile{
    min-height:100dvh;
    padding:82px 32px calc(36px + var(--safe-bottom,0px));
  }
  .uc-recharge-top{margin-bottom:70px;}
  .uc-recharge-bottom-spacer{margin-top:auto;}
}
@media(max-width:390px){
  .uc-recharge-mobile{padding-left:28px;padding-right:28px;}
  .uc-recharge-balance{padding-left:32px;padding-right:32px;}
  .uc-recharge-balance strong{font-size:28px;}
  .uc-recharge-amounts{gap:7px;grid-template-columns:.82fr .88fr .88fr 1.35fr;}
  .uc-recharge-chip{font-size:14px;padding:0 5px;}
}

/* Mobile: pantalla Mis datos según referencia */
@media(max-width:768px){
  .uc-hub-panel.view-open:has(.uc-data-mobile) .uc-hub-head{
    height:132px;
    padding:70px 28px 0;
    align-items:flex-start;
    border-bottom:0;
  }

  .uc-hub-panel.view-open:has(.uc-data-mobile) .uc-hub-back{
    flex:0 0 44px;
    width:44px;
    height:44px;
    border-radius:999px;
    background:#F7F7F7;
    color:#5F6368;
    box-shadow:none;
    font-size:0;
  }

  .uc-hub-panel.view-open:has(.uc-data-mobile) .uc-hub-back i{display:none;}

  .uc-hub-panel.view-open:has(.uc-data-mobile) .uc-hub-back::before{
    content:'‹';
    display:block;
    font-family:Arial, sans-serif;
    font-size:42px;
    font-weight:300;
    line-height:38px;
    transform:translateY(-2px);
  }

  .uc-hub-panel.view-open:has(.uc-data-mobile) .uc-hub-head-title{
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:900;
    color:#2B2D31;
  }

  .uc-hub-panel.view-open:has(.uc-data-mobile) .uc-hub-close{
    visibility:hidden;
    flex:0 0 44px;
    width:44px;
    height:44px;
  }

  .uc-hub-panel.view-open .uc-hub-content:has(.uc-data-mobile){
    height:calc(100dvh - 132px);
    padding:0 28px calc(0px + var(--safe-bottom));
    overflow:auto;
  }

  .uc-data-mobile{
    min-height:calc(100dvh - 132px - 18px);
    display:flex;
    flex-direction:column;
    padding-top:44px;
    color:#8A8A8A;
    font-family:var(--font-body);
  }

  .uc-data-hero{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:26px;
  }

  .uc-data-avatar{
    width:60px;
    height:60px;
    flex:0 0 60px;
    border-radius:999px;
    background:#E5E7EB;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#4B5563;
    font-size:24px;
    font-weight:900;
  }

  .uc-data-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .uc-data-avatar img + span{display:none;}
  .uc-data-avatar[data-fallback="1"] span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}

  .uc-data-hello{min-width:0;}
  .uc-data-hello h2{
    margin:0 0 4px;
    color:#2B2D31;
    font-size:28px;
    line-height:1.02;
    font-weight:1000;
    letter-spacing:0;
    white-space:nowrap;
  }

  .uc-data-kpis{
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
    font-size:10px;
    line-height:1;
    font-weight:1000;
  }

  .uc-data-kpis span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;}
  .uc-data-kpis img{width:12px;height:12px;object-fit:contain;display:block;flex:0 0 12px;}
  .uc-data-kpis .pts{color:#6366F1;}
  .uc-data-kpis .money{color:#059669;}
  .uc-data-kpis .premium{color:#F97316;}

  .uc-data-section{margin-top:14px;}
  .uc-data-section h3{
    margin:0 0 10px;
    color:#4A4D54;
    font-size:16px;
    line-height:1.1;
    font-weight:1000;
    font-family:var(--font-body);
  }

  .uc-data-section p{
    margin:0;
    color:#9A9A9A;
    font-size:14px;
    line-height:1.16;
    font-weight:800;
  }

  .uc-data-section strong{
    color:#868686;
    font-weight:1000;
  }


  .uc-data-edit-form-wrap{
    padding-top:18px;
  }

  .uc-data-edit-form label{
    font-size:13px;
    font-weight:900;
    color:#5F6368;
  }

  .uc-data-edit-form input:disabled{
    opacity:.68;
    color:#6B7280;
  }

  .uc-data-actions{
    margin-top:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    align-items:center;
    padding:34px 0 26px;
  }

  .uc-data-logout,
  .uc-data-edit{
    height:38px;
    border-radius:999px;
    font-size:16px;
    font-weight:1000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    white-space:nowrap;
  }

  .uc-data-logout{
    background:#F2F2F2;
    color:#777;
    border:1px solid #AFAFAF;
  }

  .uc-data-edit{
    background:#0D80D4;
    color:#fff;
    border:1px solid #0D80D4;
  }
}
/* ============================================================
   Ajustes móviles: publicar cargador + menú de opciones
   ============================================================ */
.uc-addcharger .uc-ac-head,
.uc-wiz-choice .t,
.uc-mini-btn,
.uc-link-btn,
.uc-addcharger .uc-file::file-selector-button,
.uc-addcharger .uc-file::-webkit-file-upload-button{
  font-weight:600!important;
}

@media(max-width:768px){
  .swal2-container .swal2-popup.uc-swal-addcharger-mobileform{
    inset:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    border-radius:0!important;
    padding:0 0 18px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    background:#fff!important;
  }

  .uc-swal-addcharger-mobileform .swal2-html-container{
    height:calc(100dvh - 92px)!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch;
    padding:0 32px!important;
    margin:0!important;
    scrollbar-gutter:stable;
  }

  .uc-swal-addcharger-mobileform .swal2-actions{
    height:74px!important;
    margin:0!important;
    padding:8px 32px calc(8px + var(--safe-bottom))!important;
    gap:14px!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }

  .uc-swal-addcharger-mobileform .swal2-confirm,
  .uc-swal-addcharger-mobileform .swal2-cancel{
    height:48px!important;
    border-radius:8px!important;
    font-size:15px!important;
    font-weight:600!important;
  }

  .uc-addcharger-mobile{
    padding:64px 0 10px!important;
    text-align:left;
  }

  .uc-addcharger-mobile .uc-ac-mobile-head{
    display:grid;
    grid-template-columns:54px 1fr 54px;
    align-items:center;
    gap:10px;
    margin:0 0 66px;
  }

  .uc-addcharger-mobile .uc-ac-mobile-head h2{
    margin:0;
    text-align:center;
    font-family:var(--font-head);
    font-size:24px;
    line-height:1.1;
    font-weight:600;
    color:#2B2D31;
  }

  .uc-addcharger-mobile .uc-ac-back{
    width:48px;
    height:48px;
    border:0;
    border-radius:999px;
    background:#F7F7F7;
    color:#5F6368;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    cursor:pointer;
  }

  .uc-addcharger-mobile .uc-field{
    margin:0 0 15px!important;
    gap:8px!important;
  }

  .uc-addcharger-mobile .uc-label{
    color:#2E3035!important;
    text-transform:none!important;
    letter-spacing:0!important;
    font-size:14px!important;
    font-weight:600!important;
  }

  .uc-swal-addcharger-mobileform .uc-addcharger .swal2-input,
  .uc-swal-addcharger-mobileform .uc-addcharger .swal2-select{
    height:43px!important;
    border:1.5px solid #9CA3AF!important;
    border-radius:7px!important;
    background:#F3F3F3!important;
    color:#2B2D31!important;
    font-size:14px!important;
    font-weight:600!important;
    box-shadow:none!important;
    padding:0 13px!important;
  }

  .uc-swal-addcharger-mobileform .uc-addcharger .swal2-input::placeholder{
    color:#BABABA!important;
    font-weight:600!important;
  }

  .uc-addcharger-mobile .uc-addr-row{
    grid-template-columns:minmax(0,1fr) 43px!important;
    gap:8px!important;
  }

  .uc-addcharger-mobile .uc-search-btn{
    width:43px!important;
    height:43px!important;
    padding:0!important;
    border:0!important;
    border-radius:7px!important;
    background:linear-gradient(180deg,#8E8E8E,#696969)!important;
    color:#fff!important;
    font-size:15px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .uc-addcharger-mobile .uc-pick-wrap{
    height:212px;
    border:0!important;
    border-radius:8px!important;
    overflow:hidden!important;
    margin:6px 0 8px;
    background:#EAEAEA!important;
  }

  .uc-addcharger-mobile .uc-pick-map{
    height:212px!important;
    filter:grayscale(.15) contrast(.98) brightness(1.02);
  }

  .uc-pick-pin-icon{
    background:transparent!important;
    border:0!important;
  }

  .uc-pick-pin-icon span{
    position:relative;
    display:block;
    width:18px;
    height:18px;
    margin:0 auto;
    border-radius:50% 50% 50% 0;
    background:#0072CE;
    transform:rotate(-45deg);
    box-shadow:0 2px 6px rgba(0,0,0,.22);
  }

  .uc-pick-pin-icon span::after{
    content:"";
    position:absolute;
    width:6px;
    height:6px;
    left:6px;
    top:6px;
    border-radius:50%;
    background:#fff;
  }

  .uc-addcharger-mobile .uc-addr-actions-mobile{
    display:grid;
    grid-template-columns:max-content minmax(0,1fr);
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin:0 0 12px;
  }

  .uc-addcharger-mobile .uc-link-btn{
    color:#0072CE!important;
    font-size:10.5px!important;
    font-weight:600!important;
    padding:0!important;
    gap:4px!important;
    white-space:nowrap;
  }

  .uc-addcharger-mobile .uc-addr-hint{
    color:#6E6E6E!important;
    font-size:9.5px!important;
    font-weight:600!important;
    white-space:nowrap;
    justify-self:end;
    text-align:right;
  }

  .uc-addcharger-mobile .uc-mobile-sep{
    height:1px;
    background:#A9A9A9;
    margin:11px 22px 20px;
  }

  .uc-addcharger-mobile .uc-mobile-grid3{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:10px;
    align-items:start;
  }

  .uc-addcharger-mobile .uc-mobile-grid-bottom{
    grid-template-columns:1fr 8px 1fr 1fr;
    grid-template-rows:43px auto;
    column-gap:8px;
    row-gap:0;
    align-items:start;
  }

  .uc-addcharger-mobile .uc-mobile-cell{
    min-width:0;
    text-align:center;
  }

  .uc-addcharger-mobile .uc-mobile-time:first-child{
    grid-column:1;
  }

  .uc-addcharger-mobile .uc-mobile-grid-bottom > .uc-mobile-cell:not(.uc-mobile-time){
    grid-column:4;
    grid-row:1;
  }

  .uc-addcharger-mobile .uc-mobile-arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    height:43px;
    color:#7B7B7B;
    font-size:15px;
    font-weight:900;
    line-height:1;
  }

  .uc-addcharger-mobile .uc-mobile-under{
    margin-top:7px;
    color:#2E3035;
    font-size:14px;
    line-height:1.05;
    font-weight:600;
  }

  .uc-addcharger-mobile .uc-mobile-under-hours{
    grid-column:1 / 4;
    grid-row:2;
    text-align:center;
    justify-self:center;
    margin-top:7px;
    white-space:nowrap;
  }

  .uc-addcharger-mobile .uc-mobile-under-reserve{
    grid-column:4;
    grid-row:2;
    justify-self:center;
    text-align:center;
    margin-top:7px;
    white-space:nowrap;
    font-size:13px;
  }

  .uc-addcharger-mobile .uc-field-file{
    margin-top:18px!important;
  }

  .uc-addcharger-mobile .uc-file{
    height:43px!important;
    border:1.5px solid #9CA3AF!important;
    border-radius:7px!important;
    background:#F3F3F3!important;
    font-size:11px!important;
    padding:8px!important;
  }

  .uc-hub-left{
    padding:30px 32px calc(18px + var(--safe-bottom))!important;
  }

  .uc-hub-nav{
    gap:0!important;
  }

  .uc-hub-item{
    min-height:45px!important;
    padding:0 8px!important;
    gap:13px!important;
    font-size:17px!important;
    line-height:1.05!important;
    font-weight:600!important;
    border-radius:12px!important;
  }

  .uc-hub-item i,
  .uc-hub-item.active i,
  .uc-hub-item:first-child i{
    width:24px!important;
    height:24px!important;
    flex:0 0 24px!important;
    border-radius:0!important;
    background:transparent!important;
    color:#8D939D!important;
    font-size:15px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .uc-hub-item span{
    line-height:1.08!important;
  }

  .uc-hub-mobile-summary{
    min-height:112px!important;
    margin-top:6px!important;
  }
}
/* ============================================================
   Mobile: Mis cargadores publicados / Tus cargadores
   ============================================================ */
.uc-owner-chargers{
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:760px;
}
.uc-owner-card{
  position:relative;
  overflow:hidden;
  border:1px solid #B7D7F2;
  border-radius:12px;
  background:#fff;
  padding:15px 14px 14px;
  box-shadow:none;
}
.uc-owner-card::before{
  content:'';
  position:absolute;
  inset:0 0 auto auto;
  width:118px;
  height:66px;
  pointer-events:none;
  opacity:.9;
  background:radial-gradient(circle at 100% 0%, rgba(16,185,129,.18), rgba(16,185,129,0) 66%);
}
.uc-owner-card.is-busy::before{background:radial-gradient(circle at 100% 0%, rgba(220,38,38,.20), rgba(220,38,38,0) 66%);}
.uc-owner-card.is-reserved::before{background:radial-gradient(circle at 100% 0%, rgba(99,102,241,.20), rgba(99,102,241,0) 66%);}
.uc-owner-card.is-off::before{background:radial-gradient(circle at 100% 0%, rgba(107,114,128,.16), rgba(107,114,128,0) 66%);}
.uc-owner-status{
  position:absolute;
  top:9px;
  right:10px;
  z-index:1;
  font-size:9px;
  line-height:1;
  font-weight:600;
  color:#059669;
}
.uc-owner-card.is-busy .uc-owner-status{color:#B91C1C;}
.uc-owner-card.is-reserved .uc-owner-status{color:#6366F1;}
.uc-owner-card.is-off .uc-owner-status{color:#6B7280;}
.uc-owner-top{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding-right:6px;
}
.uc-owner-name{
  min-width:0;
  color:#050505;
  font-size:16px;
  line-height:1.05;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.uc-owner-price{
  white-space:nowrap;
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  min-width:86px;
}
.uc-owner-price-green{color:#009B72;font-size:19px;font-weight:600;line-height:1;}
.uc-owner-price-unit{color:#8B8B8B;font-size:18px;font-weight:500;line-height:1;margin-left:2px;}
.uc-owner-meta{
  position:relative;
  z-index:1;
  margin-top:9px;
  color:#8A8A8A;
  font-size:12px;
  line-height:1.14;
  font-weight:600;
}
.uc-owner-meta strong{font-weight:600;color:#777;}
.uc-owner-actions{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(74px,1fr) minmax(74px,1fr) minmax(112px,1.18fr) 32px;
  gap:7px;
  align-items:center;
  margin-top:11px;
}
.uc-owner-btn,
.uc-owner-x{
  height:29px;
  border-radius:7px;
  font-size:12px;
  font-weight:600;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  white-space:nowrap;
  cursor:pointer;
  transition:filter .15s ease, transform .15s ease;
}
.uc-owner-btn{
  border:1px solid #B8B8B8;
  background:#F5F5F5;
  color:#666;
  padding:0 6px;
}
.uc-owner-price-btn{
  min-width:112px;
  color:#fff;
  border-color:#777;
  background:linear-gradient(180deg,#9A9A9A,#6D6D6D);
}
.uc-owner-x{
  border:0;
  background:linear-gradient(180deg,#E05B2F,#C93F1A);
  color:#fff;
  font-size:16px;
  padding:0;
  text-transform:uppercase;
}
.uc-owner-btn-arrow,
.uc-owner-inline-arrow{
  display:inline-block;
  font-weight:700;
  line-height:1;
  transform:translateY(-.5px);
}
.uc-owner-inline-arrow{
  color:#777;
  margin-left:2px;
}
.uc-owner-btn:active,
.uc-owner-x:active{transform:translateY(1px);}

@media(max-width:768px){
  .uc-hub-panel.view-open:has(.uc-owner-chargers) .uc-hub-head{
    height:132px;
    padding:70px 28px 0;
    align-items:flex-start;
    border-bottom:0;
    justify-content:flex-start;
  }
  .uc-hub-panel.view-open:has(.uc-owner-chargers) .uc-hub-back{
    flex:0 0 44px;
    width:44px;
    height:44px;
    border-radius:999px;
    background:#F7F7F7;
    color:#5F6368;
    font-size:22px;
  }
  .uc-hub-panel.view-open:has(.uc-owner-chargers) .uc-hub-back i{display:none;}
  .uc-hub-panel.view-open:has(.uc-owner-chargers) .uc-hub-back::before{
    content:'‹';
    display:block;
    font-family:Arial, sans-serif;
    font-size:42px;
    font-weight:300;
    line-height:34px;
    transform:translateY(-2px);
  }
  .uc-hub-panel.view-open:has(.uc-owner-chargers) .uc-hub-head-title{
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1;
    text-align:center;
    font-size:23px;
    font-weight:600;
    color:#2B2D31;
  }
  .uc-hub-panel.view-open:has(.uc-owner-chargers) .uc-hub-close{
    visibility:hidden;
    flex:0 0 44px;
    width:44px;
    height:44px;
  }
  .uc-hub-panel.view-open .uc-hub-content:has(.uc-owner-chargers){
    height:calc(100dvh - 132px);
    padding:48px 32px calc(24px + var(--safe-bottom));
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .uc-owner-chargers{
    gap:14px;
    max-width:none;
  }
  .uc-owner-card{
    min-height:140px;
    border-radius:11px;
    padding:15px 14px 13px;
  }
  .uc-owner-top{padding-right:0;}
  .uc-owner-actions{gap:7px;grid-template-columns:minmax(70px,1fr) minmax(70px,1fr) minmax(112px,1.16fr) 32px;}
  .uc-owner-btn{font-size:11.5px;padding:0 5px;}
  .uc-owner-price-btn{font-size:11.5px;min-width:112px;}
}
/* ============================================================
   Mis movimientos - vista tarjetas movil
   ============================================================ */
.uc-moves-cards{
  min-height:100%;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.uc-moves-headline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:4px;
}
.uc-moves-hist{
  font-size:16px;
  font-weight:800;
  color:#45484d;
}
.uc-moves-tools{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.uc-moves-mode-btn,
.uc-moves-filter{
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  font:inherit;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
}
.uc-moves-mode-btn{
  font-size:13px;
  font-weight:800;
  color:var(--c-green);
}
.uc-moves-mode-btn span{font-weight:900;}
.uc-moves-mode-btn.points,
.uc-moves-cards .uc-moves-mode-btn.points{color:#6366F1;}
.uc-moves-filter{
  font-size:13px;
  font-weight:700;
  color:#8d8d8d;
}
.uc-moves-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.uc-move-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  min-height:72px;
  border:1px solid #B7D7F2;
  border-radius:10px;
  background:#fff;
  padding:10px 14px;
  box-shadow:none;
}
.uc-move-main{min-width:0;}
.uc-move-title{
  font-size:16px;
  line-height:1.05;
  font-weight:800;
  color:#111;
  margin-bottom:3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.uc-move-detail,
.uc-move-date{
  font-size:12px;
  line-height:1.15;
  font-weight:600;
  color:#9a9a9a;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.uc-move-detail strong,
.uc-move-date strong{font-weight:800;color:#8f8f8f;}
.uc-move-amount{
  justify-self:end;
  align-self:center;
  font-size:20px;
  line-height:1;
  font-weight:800;
  color:#9a9a9a;
  white-space:nowrap;
}
.uc-move-amount.is-in{color:var(--c-green);}
.uc-move-amount.pts{color:#6366F1;}
.uc-move-amount.is-out{color:#9a9a9a;}
.uc-move-amount.is-out.pts{color:#6366F1;}
.uc-moves-empty{
  border:1px solid #B7D7F2;
  border-radius:12px;
  padding:16px;
  color:#8d8d8d;
  font-size:13px;
  font-weight:700;
  text-align:center;
  background:#fff;
}
.uc-moves-footer{
  display:flex;
  justify-content:center;
  padding:4px 0 0;
}
.uc-moves-more{
  min-width:128px;
  height:38px;
  border-radius:999px;
  border:1px solid #B7D7F2;
  background:#F2F8FD;
  color:var(--c-blue);
  font-size:14px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:filter .15s ease, transform .15s ease;
}
.uc-moves-more:hover{filter:brightness(.98);}
.uc-moves-more:active{transform:translateY(1px);}
.uc-moves-more:disabled{opacity:.7;cursor:wait;}
.uc-moves-bottom-actions{
  margin-top:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding-top:26px;
}
.uc-moves-bottom{
  height:38px;
  border-radius:999px;
  font-size:16px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  white-space:nowrap;
}
.uc-moves-bottom.secondary{
  border:1px solid #B8B8B8;
  background:#F5F5F5;
  color:#777;
}
.uc-moves-bottom.primary{
  border:1px solid var(--c-blue);
  background:var(--c-blue);
  color:#fff;
}

@media(max-width:768px){
  .uc-hub-panel.view-open:has(.uc-moves-cards) .uc-hub-head{
    height:132px;
    padding:70px 28px 0;
    align-items:flex-start;
    justify-content:flex-start;
    border-bottom:0;
  }
  .uc-hub-panel.view-open:has(.uc-moves-cards) .uc-hub-back{
    flex:0 0 44px;
    width:44px;
    height:44px;
    border-radius:999px;
    background:#F7F7F7;
    color:#5F6368;
    font-size:22px;
  }
  .uc-hub-panel.view-open:has(.uc-moves-cards) .uc-hub-back i{display:none;}
  .uc-hub-panel.view-open:has(.uc-moves-cards) .uc-hub-back::before{
    content:'‹';
    display:block;
    font-family:Arial, sans-serif;
    font-size:42px;
    font-weight:300;
    line-height:34px;
    transform:translateY(-2px);
  }
  .uc-hub-panel.view-open:has(.uc-moves-cards) .uc-hub-head-title{
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1;
    text-align:center;
    font-size:23px;
    font-weight:700;
    color:#2B2D31;
  }
  .uc-hub-panel.view-open:has(.uc-moves-cards) .uc-hub-close{
    visibility:hidden;
    flex:0 0 44px;
    width:44px;
    height:44px;
  }
  .uc-hub-panel.view-open .uc-hub-content:has(.uc-moves-cards){
    height:calc(100dvh - 132px);
    padding:48px 32px calc(24px + var(--safe-bottom));
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .uc-moves-cards{min-height:calc(100dvh - 204px);}
  .uc-moves-headline{margin-bottom:8px;}
  .uc-moves-hist{font-size:16px;}
  .uc-move-card{min-height:73px;padding:10px 13px;}
  .uc-move-title{font-size:16px;}
  .uc-move-amount{font-size:20px;}
}

@media(max-width:390px){
  .uc-hub-panel.view-open .uc-hub-content:has(.uc-moves-cards){padding-left:26px;padding-right:26px;}
  .uc-moves-bottom-actions{gap:10px;}
  .uc-moves-bottom{font-size:14px;}
  .uc-move-title{font-size:15px;}
  .uc-move-amount{font-size:18px;}
}
/* ============================================================
   Historial - vista movil tipo tarjetas
   ============================================================ */
.uc-history-mobile{
  min-height:100%;
  display:flex;
  flex-direction:column;
  color:#2B2D31;
  font-family:var(--font-body, Inter, system-ui, sans-serif);
}
.uc-history-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.uc-history-kicker{
  font-size:16px;
  line-height:1.1;
  font-weight:800;
  color:#44484E;
}
.uc-history-filter{
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  font:inherit;
  font-size:14px;
  line-height:1;
  font-weight:800;
  color:#8A8A8A;
  cursor:pointer;
}
.uc-history-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.uc-history-empty{
  min-height:90px;
  border:1px solid #B7D7F2;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8A8A8A;
  font-weight:700;
  background:#fff;
}
.uc-history-card{
  position:relative;
  min-height:112px;
  border:1px solid #B7D7F2;
  border-radius:12px;
  background:#fff;
  display:grid;
  grid-template-columns:minmax(0,1fr) 154px;
  column-gap:8px;
  padding:12px 12px 10px 14px;
  overflow:hidden;
}
.uc-history-main{
  min-width:0;
  padding-right:2px;
  position:relative;
  z-index:2;
}
.uc-history-main h3{
  margin:0 0 5px;
  color:#111;
  font-size:16px;
  line-height:1.06;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.uc-history-main p{
  margin:0;
  color:#999;
  font-size:12px;
  line-height:1.18;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.uc-history-main b{
  color:#8C8C8C;
  font-weight:900;
}
.uc-history-status{
  position:absolute;
  top:8px;
  right:12px;
  z-index:3;
  font-size:10px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}
.uc-history-status.is-en-curso{color:#087BEA;}
.uc-history-status.is-finalizada{color:#059669;}
.uc-history-status.is-cancelada{color:#C43B28;}
.uc-history-status.is-no-presentado,
.uc-history-status.is-otro{color:#8A8A8A;}
.uc-history-car{
  min-width:0;
  height:68px;
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  position:relative;
  z-index:1;
}
.uc-history-car img{
  width:154px;
  max-width:100%;
  height:72px;
  object-fit:contain;
  object-position:center;
  display:block;
}
.uc-history-connector{
  position:absolute;
  right:14px;
  bottom:10px;
  z-index:3;
  color:#96938D;
  font-size:13px;
  line-height:1;
  font-weight:900;
  text-align:right;
  max-width:160px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.uc-history-actions{
  margin-top:auto;
  padding-top:28px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.uc-history-action{
  height:38px;
  border-radius:999px;
  font-size:16px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  white-space:nowrap;
}
.uc-history-action.secondary{
  border:1px solid #B8B8B8;
  background:#F5F5F5;
  color:#777;
}
.uc-history-action.danger{
  border:1px solid #C6412D;
  background:#C9462D;
  color:#fff;
}

@media(max-width:768px){
  .uc-hub-panel.view-open:has(.uc-history-mobile) .uc-hub-head{
    height:132px;
    padding:70px 28px 0;
    align-items:flex-start;
    justify-content:flex-start;
    border-bottom:0;
  }
  .uc-hub-panel.view-open:has(.uc-history-mobile) .uc-hub-back{
    flex:0 0 44px;
    width:44px;
    height:44px;
    border-radius:999px;
    background:#F7F7F7;
    color:#5F6368;
    font-size:22px;
  }
  .uc-hub-panel.view-open:has(.uc-history-mobile) .uc-hub-back i{display:none;}
  .uc-hub-panel.view-open:has(.uc-history-mobile) .uc-hub-back::before{
    content:'\2039';
    display:block;
    font-family:Arial, sans-serif;
    font-size:42px;
    font-weight:300;
    line-height:34px;
    transform:translateY(-2px);
  }
  .uc-hub-panel.view-open:has(.uc-history-mobile) .uc-hub-head-title{
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1;
    text-align:center;
    font-size:23px;
    font-weight:700;
    color:#2B2D31;
  }
  .uc-hub-panel.view-open:has(.uc-history-mobile) .uc-hub-close{
    visibility:hidden;
    flex:0 0 44px;
    width:44px;
    height:44px;
  }
  .uc-hub-panel.view-open .uc-hub-content:has(.uc-history-mobile){
    height:calc(100dvh - 132px);
    padding:48px 32px calc(24px + var(--safe-bottom));
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .uc-history-mobile{min-height:calc(100dvh - 204px);}
}

@media(max-width:390px){
  .uc-hub-panel.view-open .uc-hub-content:has(.uc-history-mobile){
    padding-left:26px;
    padding-right:26px;
  }
  .uc-history-card{
    grid-template-columns:minmax(0,1fr) 132px;
    padding-left:13px;
    padding-right:10px;
  }
  .uc-history-car img{width:132px;height:66px;}
  .uc-history-connector{font-size:12px;right:12px;}
  .uc-history-action{font-size:14px;}
  .uc-history-actions{gap:10px;}
}
/* ============================================================
   Buscador de cargadores - bottom sheet movil
   ============================================================ */
.uc-finder-sheet{position:fixed;left:50%;bottom:0;width:min(446px,100vw);max-width:100vw;transform:translate(-50%,105%);z-index:9050;background:#fff;border:1px solid rgba(180,210,235,0.95);border-bottom:0;border-radius:24px 24px 0 0;padding:10px 38px calc(46px + var(--safe-bottom));box-shadow:0 -18px 45px rgba(15,23,42,0.18);font-family:var(--font-body);transition:transform .22s ease;}
.uc-finder-sheet.open{transform:translate(-50%,0);}
.uc-finder-sheet.dragging{transition:none;}
.uc-finder-grip{width:92px;height:4px;border-radius:999px;background:#B8B8B8;margin:0 auto 28px;cursor:grab;touch-action:none;}
.uc-finder-sheet h2{margin:0;text-align:center;font-size:26px;line-height:1.05;font-weight:800;color:#2B2D31;}
.uc-finder-sub{margin:3px 0 22px;text-align:center;font-size:16px;font-weight:700;color:#777;}
.uc-finder-search{height:44px;border:1px solid #A9A9A9;border-radius:7px;background:#fff;display:grid;grid-template-columns:34px 1fr auto;align-items:center;padding:0 8px 0 12px;gap:4px;}
.uc-finder-search i{font-size:16px;color:#777;}
.uc-finder-search input{min-width:0;border:0;outline:0;background:transparent;font-size:14px;font-weight:700;color:#2B2D31;}
.uc-finder-search input::placeholder{color:#777;opacity:1;}
.uc-finder-search button{border:0;background:transparent;color:#777;font-weight:900;font-size:13px;white-space:nowrap;padding:0 2px;}
.uc-finder-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0 12px;font-size:12px;font-weight:800;}
.uc-finder-link,.uc-finder-radius{border:0;background:transparent;padding:0;color:#777;font:inherit;white-space:nowrap;}
.uc-finder-radius{color:#666;}
.uc-finder-radius-menu{display:flex;gap:6px;margin:-2px 0 12px;overflow-x:auto;padding-bottom:2px;}
.uc-finder-radius-menu[hidden]{display:none!important;}
.uc-finder-radius-menu button{height:34px;border-radius:8px;border:1px solid #B7B7B7;background:#F7F7F7;padding:0 12px;font-weight:800;color:#5C5C5C;white-space:nowrap;}
.uc-finder-radius-menu button.active{background:#676767;color:#fff;border-color:#676767;}
.uc-finder-sep{height:1px;background:#A9A9A9;margin:0 3px 13px;}
.uc-finder-sorts{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-bottom:13px;}
.uc-finder-sorts button{height:44px;border-radius:7px;border:1px solid #A9A9A9;background:#F7F7F7;color:#686868;font-size:14px;font-weight:800;white-space:nowrap;}
.uc-finder-sorts button.active{background:#F8FFFB;border-color:#009B67;color:#009B67;}
.uc-finder-submit{width:100%;height:56px;border:0;border-radius:7px;background:#10A957;color:#fff;font-size:18px;font-weight:900;box-shadow:inset 0 -2px 0 rgba(0,0,0,0.12);}
.uc-finder-map-actions{position:fixed;left:50%;bottom:calc(104px + var(--safe-bottom));transform:translateX(-50%);z-index:9040;display:none;grid-template-columns:1fr 1fr 1fr;gap:8px;width:min(430px,calc(100vw - 22px));padding:8px;border:1px solid rgba(148,163,184,.38);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 12px 30px rgba(15,23,42,.18);backdrop-filter:blur(10px);}
.uc-finder-map-actions.show{display:grid;}
.uc-finder-action{height:38px;border-radius:12px;border:1px solid #B8C7D6;background:#F8FAFC;color:#313946;font-size:clamp(10px,2.8vw,12px);font-weight:900;white-space:nowrap;}
.uc-finder-action-again{background:#EAF5FF;color:#0878D5;border-color:#B8D9F3;}
.uc-finder-action-stop{background:#FFF1F1;color:#C43B28;border-color:#F2C6C1;}
.uc-finder-action-detail{background:#F8FFFB;color:#009B67;border-color:#A8DFC7;}
.uc-finder-detail-container{padding:12px!important;}
.uc-finder-detail-modal{width:min(430px,calc(100vw - 18px))!important;max-height:min(82dvh,680px)!important;border-radius:22px!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}
.uc-finder-detail-modal .swal2-title{flex:0 0 auto;font-size:22px!important;font-weight:900!important;padding:22px 42px 8px 18px!important;color:#1F2530!important;}
.uc-finder-detail-modal .swal2-html-container{flex:1 1 auto;min-height:0;margin:0!important;padding:0 16px calc(20px + var(--safe-bottom))!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#9DB5CC #EEF5FB;}
.uc-finder-detail-modal .swal2-html-container::-webkit-scrollbar{width:7px;}
.uc-finder-detail-modal .swal2-html-container::-webkit-scrollbar-track{background:#EEF5FB;border-radius:999px;}
.uc-finder-detail-modal .swal2-html-container::-webkit-scrollbar-thumb{background:#9DB5CC;border-radius:999px;}
.uc-finder-detail-list{display:flex;flex-direction:column;gap:10px;text-align:left;padding-bottom:4px;}
.uc-finder-detail-card{position:relative;width:100%;min-height:88px;display:grid;grid-template-columns:10px 1fr;gap:12px;align-items:stretch;border:1px solid #C6D9EB;border-radius:14px;background:#fff;padding:10px 12px 10px 0;text-align:left;overflow:hidden;}
.uc-finder-detail-color{display:block;width:10px;border-radius:14px 0 0 14px;background:var(--station-color,#059669);box-shadow:0 0 0 5px color-mix(in srgb,var(--station-color,#059669) 18%,transparent);}
.uc-finder-detail-main{min-width:0;display:flex;flex-direction:column;gap:3px;}
.uc-finder-detail-main strong{font-size:15px;line-height:1.15;font-weight:900;color:#151A23;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uc-finder-detail-main em{font-style:normal;font-size:11px;line-height:1.25;font-weight:700;color:#8A8A8A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uc-finder-detail-meta{display:flex;align-items:center;gap:10px;margin-top:3px;}
.uc-finder-detail-meta b{font-size:12px;font-weight:900;color:#4F5662;}
.uc-finder-detail-rating{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;}
.uc-finder-stars .on{color:#D97706;}
.uc-finder-stars .off{color:#D1D5DB;}
.uc-finder-reviews{color:#8A8A8A;}
@media(max-width:768px){.uc-finder-sheet{width:100vw;padding-left:38px;padding-right:38px;}}
@media(max-width:768px){
  .uc-finder-detail-container{align-items:flex-end!important;justify-content:flex-end!important;padding:0!important;}
  .uc-finder-detail-modal{width:100vw!important;max-width:100vw!important;max-height:calc(88dvh - var(--safe-bottom))!important;border-radius:24px 24px 0 0!important;border-bottom:0!important;}
  .uc-finder-detail-modal .swal2-title{padding-top:24px!important;}
  .uc-finder-detail-modal .swal2-html-container{padding-left:18px!important;padding-right:18px!important;padding-bottom:calc(26px + var(--safe-bottom))!important;}
}
@media(max-width:380px){.uc-finder-sheet{padding-left:28px;padding-right:28px;}.uc-finder-sheet h2{font-size:24px;}.uc-finder-sub{font-size:14px;}.uc-finder-sorts{gap:8px;}.uc-finder-sorts button{font-size:12px;}}
/* Perfil resumido al tocar foto de usuario (referencia Perfil resumido.png) */
.uc-swal-profile-summary{
  width:min(446px, calc(100vw - 24px))!important;
  padding:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 18px 45px rgba(15,23,42,.24)!important;
}
.uc-swal-profile-summary .swal2-html-container{
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
.uc-swal-profile-summary .swal2-close{
  top:0!important;
  right:0!important;
  width:38px!important;
  height:38px!important;
  border:0!important;
  border-radius:0 18px 0 18px!important;
  background:#F2F2F2!important;
  box-shadow:none!important;
  color:#8A8A8A!important;
  font-size:28px!important;
  font-weight:700!important;
  line-height:1!important;
}
.uc-swal-profile-summary .uprofile2{
  padding:40px 38px 30px!important;
  background:#fff!important;
  overflow:hidden!important;
  color:#2B2D31;
  font-family:var(--font-body, Inter, system-ui, sans-serif);
}
.uc-swal-profile-summary .uprofile2-top{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
}
.uc-swal-profile-summary .uprofile2-avatar{
  width:48px!important;
  height:48px!important;
  border-radius:999px!important;
  overflow:hidden!important;
  border:0!important;
  box-shadow:none!important;
  background:#EDEFF2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 48px!important;
  color:#4B5563!important;
  font-size:21px!important;
  font-weight:700!important;
}
.uc-swal-profile-summary .uprofile2-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.uc-swal-profile-summary .uprofile2-avatar[data-fallback="0"] span{display:none!important;}
.uc-swal-profile-summary .uprofile2-hello{
  margin:0!important;
  font-family:var(--font-body, Inter, system-ui, sans-serif)!important;
  font-size:26px!important;
  font-weight:850!important;
  line-height:1.05!important;
  color:#2B2D31!important;
  letter-spacing:0!important;
  white-space:nowrap;
}
.uc-swal-profile-summary .uprofile2-kpis{
  margin-top:24px!important;
  display:grid!important;
  grid-template-columns:auto auto auto!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:14px!important;
  flex-wrap:nowrap!important;
}
.uc-swal-profile-summary .uprofile2-kpi{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  white-space:nowrap!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:1!important;
}
.uc-swal-profile-summary .uprofile2-kpi img{
  width:22px!important;
  height:22px!important;
  object-fit:contain!important;
  flex:0 0 22px!important;
}
.uc-swal-profile-summary .uprofile2-kpi.kpi-pts .v{color:#6366F1!important;}
.uc-swal-profile-summary .uprofile2-kpi.kpi-saldo .v{color:#059669!important;}
.uc-swal-profile-summary .uprofile2-kpi.kpi-prem .k{color:#F97316!important;}
.uc-swal-profile-summary .uprofile2-kpi.kpi-prem.is-free{opacity:.55;}
.uc-swal-profile-summary .uprofile2-status{
  margin:12px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  text-align:left!important;
  font-size:15px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.uc-swal-profile-summary .uprofile2-status strong{
  color:#0875D1!important;
  font-weight:900!important;
  flex:0 0 auto!important;
}
.uc-swal-profile-summary .uprofile2-status span,
.uc-swal-profile-summary .uprofile2-status em{
  color:#666!important;
  font-style:normal!important;
  font-weight:700!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.uc-swal-profile-summary .uprofile2-car{
  margin:26px -18px 10px!important;
  height:180px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
.uc-swal-profile-summary .uprofile2-carimg{
  width:112%!important;
  max-width:none!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  filter:none!important;
  display:block!important;
}
.uc-swal-profile-summary .uprofile2-sep{
  height:1px!important;
  background:#BDBDBD!important;
  margin:16px 0 14px!important;
}
.uc-swal-profile-summary .uprofile2-metrics{
  display:grid!important;
  grid-template-columns:repeat(4, minmax(0,1fr))!important;
  gap:10px!important;
  text-align:center!important;
}
.uc-swal-profile-summary .uprofile2-metric .mv{
  font-family:var(--font-body, Inter, system-ui, sans-serif)!important;
  font-size:17px!important;
  line-height:1.05!important;
  font-weight:850!important;
  color:#4A4D54!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.uc-swal-profile-summary .uprofile2-metric .mk{
  margin-top:3px!important;
  font-size:12px!important;
  line-height:1.05!important;
  font-weight:850!important;
  color:#2E95E8!important;
  white-space:nowrap!important;
}
.uc-swal-profile-summary .uprofile2-actions{
  margin-top:15px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr .78fr!important;
  gap:14px!important;
}
.uc-swal-profile-summary .uprofile2-btn{
  height:38px!important;
  min-width:0!important;
  border-radius:999px!important;
  border:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
  padding:0 12px!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.22), 0 2px 3px rgba(0,0,0,.16)!important;
}
.uc-swal-profile-summary .uprofile2-btn.btn-blue{background:#0D80D4!important;}
.uc-swal-profile-summary .uprofile2-btn.btn-green{background:#0BA160!important;}
.uc-swal-profile-summary .uprofile2-btn.btn-gray{background:linear-gradient(180deg,#9D9D9D 0%, #6F6F6F 100%)!important;}
@media(max-width:768px){
  .swal2-container .swal2-popup.uc-swal-profile-summary{
    left:50%!important;
    right:auto!important;
    bottom:calc(18px + var(--safe-bottom,0px))!important;
    width:min(446px, calc(100vw - 28px))!important;
    max-width:calc(100vw - 28px)!important;
    transform:translateX(-50%)!important;
    border-radius:18px!important;
  }
}
@media(max-width:420px){
  .uc-swal-profile-summary .uprofile2{padding:38px 28px 28px!important;}
  .uc-swal-profile-summary .uprofile2-hello{font-size:23px!important;}
  .uc-swal-profile-summary .uprofile2-kpis{gap:8px!important;}
  .uc-swal-profile-summary .uprofile2-kpi{font-size:13px!important;}
  .uc-swal-profile-summary .uprofile2-kpi img{width:19px!important;height:19px!important;flex-basis:19px!important;}
  .uc-swal-profile-summary .uprofile2-status{font-size:13px!important;}
  .uc-swal-profile-summary .uprofile2-car{height:155px!important;margin-left:-12px!important;margin-right:-12px!important;}
  .uc-swal-profile-summary .uprofile2-metric .mv{font-size:15px!important;}
  .uc-swal-profile-summary .uprofile2-metric .mk{font-size:11px!important;}
  .uc-swal-profile-summary .uprofile2-actions{gap:10px!important;}
  .uc-swal-profile-summary .uprofile2-btn{font-size:14px!important;height:36px!important;padding:0 8px!important;}
}
/* Mobile Mis autos - AUTOS reference */
.uc-cars-mobile-view{
  display:flex;
  flex-direction:column;
  gap:18px;
  min-height:100%;
}
.uc-mycar-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(180,210,235,0.95);
  border-radius:14px;
  background:#fff;
  padding:12px 12px 14px;
  box-shadow:0 10px 22px rgba(15,23,42,0.04);
}
.uc-mycar-card.is-current{
  border:2px solid #4AA4EA;
  box-shadow:0 10px 24px rgba(74,164,234,0.10);
}
.uc-mycar-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  position:relative;
  z-index:2;
}
.uc-mycar-card-title{
  font-size:16px;
  line-height:1.04;
  font-weight:800;
  color:#171A22;
}
.uc-mycar-card-sub{
  margin-top:2px;
  font-size:12px;
  line-height:1.05;
  font-weight:800;
  color:#009B62;
}
.uc-mycar-card:not(.is-current) .uc-mycar-card-sub{color:#6F737C;}
.uc-mycar-badge{
  flex:0 0 auto;
  max-width:110px;
  color:#0878D5;
  font-size:10px;
  font-weight:900;
  line-height:1.1;
  text-align:right;
  white-space:nowrap;
}
.uc-mycar-card:not(.is-current) .uc-mycar-badge{color:#6F737C;}
.uc-mycar-card-img{
  height:156px;
  margin:2px 4px 4px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.uc-mycar-card-img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:none;
}
.uc-mycar-card-img .uc-car-thumb-fb{
  display:none;
  width:84px;
  height:84px;
  border-radius:17px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(180,210,235,0.95);
  background:#EFF6FD;
  color:#0878D5;
  font-weight:900;
  font-size:24px;
}
.uc-mycar-card-img[data-fallback="1"] .uc-car-thumb-fb{display:flex;}
.uc-mycar-metrics{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
  align-items:start;
  text-align:center;
}
.uc-mycar-metrics div{min-width:0;}
.uc-mycar-metrics strong{
  display:block;
  color:#4C515A;
  font-size:18px;
  line-height:1.03;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.uc-mycar-metrics span{
  display:block;
  margin-top:2px;
  color:#2F98E7;
  font-size:13px;
  line-height:1.05;
  font-weight:900;
}
.uc-mycar-card-actions{
  margin-top:10px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
}
.uc-mycar-bottom{
  display:grid;
  grid-template-columns:0.86fr 1.14fr;
  gap:14px;
  align-items:center;
  margin-top:auto;
  padding-top:8px;
}
.uc-mycar-modify,
.uc-mycar-add-bottom{
  height:38px;
  border-radius:999px;
  font-size:16px;
  font-weight:800;
  border:1px solid rgba(110,116,126,0.42);
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.uc-mycar-modify{
  background:#F4F4F4;
  color:#6F737C;
}
.uc-mycar-add-bottom{
  background:#0B82D8;
  border-color:#0B82D8;
  color:#fff;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,0.10);
}
.uc-mycar-modify:disabled,
.uc-mycar-add-bottom:disabled{opacity:.45;cursor:not-allowed;}
.uc-adapter-section{
  margin-top:0;
  padding:12px;
  border:1px solid rgba(180,210,235,0.95);
  border-radius:14px;
  background:#fff;
}
.uc-adapter-head{align-items:center;}
.uc-adapter-heading{
  font-size:15px;
  font-weight:800;
  color:#2B2D31;
}
.uc-adapter-note{
  font-size:12px;
  color:#7A7F89;
  font-weight:700;
}
.uc-adapter-add{
  min-height:34px;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
}
.uc-adapter-list{gap:7px;}
.uc-adapter-row{
  border-radius:12px;
  padding:8px 9px;
  background:#F9FBFD;
}

@media(max-width:768px){
  .uc-hub-panel.view-open:has(.uc-cars-mobile-view) .uc-hub-head{
    height:132px;
    padding:70px 28px 0;
    align-items:flex-start;
    justify-content:flex-start;
    border-bottom:0;
  }
  .uc-hub-panel.view-open:has(.uc-cars-mobile-view) .uc-hub-back{
    flex:0 0 44px;
    width:44px;
    height:44px;
    border-radius:999px;
    background:#F7F7F7;
    color:#5F646D;
    font-size:22px;
  }
  .uc-hub-panel.view-open:has(.uc-cars-mobile-view) .uc-hub-back i{display:none;}
  .uc-hub-panel.view-open:has(.uc-cars-mobile-view) .uc-hub-back::before{
    content:'‹';
    display:block;
    font-family:Arial, sans-serif;
    font-size:42px;
    line-height:1;
    font-weight:300;
    transform:translateY(-2px);
  }
  .uc-hub-panel.view-open:has(.uc-cars-mobile-view) .uc-hub-head-title{
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1;
    text-align:center;
    font-size:24px;
    font-weight:800;
    color:#2B2D31;
  }
  .uc-hub-panel.view-open:has(.uc-cars-mobile-view) .uc-hub-close{
    visibility:hidden;
    flex:0 0 44px;
    width:44px;
    height:44px;
  }
  .uc-hub-panel.view-open .uc-hub-content:has(.uc-cars-mobile-view){
    height:calc(100dvh - 132px);
    padding:48px 32px calc(24px + var(--safe-bottom));
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .uc-cars-mobile-view{gap:22px;min-height:calc(100dvh - 132px - 72px);}
  .uc-cars-mobile-view .uc-mycar-top{display:none;}
  .uc-cars-mobile-view .uc-mycar-list{margin-top:0;gap:22px;overflow:visible;max-height:none;padding-right:0;}
  .uc-cars-mobile-view .uc-mycar-card{border-radius:13px;padding:12px 10px 14px;}
  .uc-cars-mobile-view .uc-mycar-card-img{height:150px;margin-top:0;}
  .uc-cars-mobile-view .uc-mycar-metrics strong{font-size:18px;}
  .uc-cars-mobile-view .uc-mycar-metrics span{font-size:13px;}
  .uc-cars-mobile-view .uc-mycar-card-actions{margin-top:8px;}
  .uc-cars-mobile-view .uc-mycar-btn{height:30px;border-radius:999px;padding:0 12px;font-size:12px;}
  .uc-cars-mobile-view .uc-mycar-ico{width:32px;height:32px;border-radius:10px;}
  .uc-cars-mobile-view .uc-adapter-section{margin-top:0;}
  .uc-cars-mobile-view .uc-mycar-bottom{margin-top:auto;}
}

@media(max-width:390px){
  .uc-hub-panel.view-open .uc-hub-content:has(.uc-cars-mobile-view){padding-left:28px;padding-right:28px;}
  .uc-cars-mobile-view .uc-mycar-card-img{height:136px;}
  .uc-cars-mobile-view .uc-mycar-metrics strong{font-size:16px;}
  .uc-cars-mobile-view .uc-mycar-metrics span{font-size:12px;}
  .uc-mycar-modify,.uc-mycar-add-bottom{font-size:15px;}
}

@keyframes spolum-soft-rise{
  from{opacity:0;transform:translateY(14px) scale(.985);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
@keyframes spolum-soft-fade{
  from{opacity:0;}
  to{opacity:1;}
}
@media(prefers-reduced-motion:no-preference){
  .uc-hub-panel,.swal2-popup,.chat-window.open{animation:spolum-soft-rise .22s cubic-bezier(.2,.8,.2,1) both;}
  .uc-hub-panel.view-open .uc-hub-right{transition:opacity .24s ease, transform .24s cubic-bezier(.2,.8,.2,1);}
  .uc-mycar-card,.uc-owner-card,.uc-move-card,.uc-withdraw-mobile,.uc-data-mobile,.uc-publicar-mobile{animation:spolum-soft-rise .22s ease both;}
  .dock-btn,.uc-hub-item,.uc-mycar-add-bottom,.uc-mycar-modify,.uc-mycar-card,.uc-adapter-row{transition:transform .16s ease, filter .16s ease, box-shadow .16s ease, border-color .16s ease;}
  .dock-btn:active,.uc-hub-item:active,.uc-mycar-add-bottom:active,.uc-mycar-modify:active,.uc-mycar-card:active{transform:scale(.97);}
}
@media(prefers-reduced-motion:reduce){
  .uc-hub-panel,.swal2-popup,.chat-window,.uc-mycar-card,.uc-owner-card,.uc-move-card,.uc-withdraw-mobile,.uc-data-mobile,.uc-publicar-mobile{animation:none!important;}
}
/* Chat closed-state guard: el chat solo puede verse con .open */
.chat-window:not(.open){
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.chat-window.open{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
/* Mobile: OPCIONES sin resumen inferior de auto/puntos/saldo/premium */
@media(max-width:768px){
  .uc-hub-mobile-summary{display:none!important;}
  .uc-hub-nav-footer:empty{display:none!important;}
  .uc-hub-left{padding-bottom:calc(28px + var(--safe-bottom))!important;}
}
/* Mapa: centrar atribución Leaflet/OpenStreetMap */
.leaflet-control-container .leaflet-bottom.leaflet-right{
  left:0!important;
  right:0!important;
  display:flex!important;
  justify-content:center!important;
  pointer-events:none;
}
.leaflet-control-container .leaflet-bottom.leaflet-right .leaflet-control-attribution{
  float:none!important;
  margin:0 auto 4px!important;
  text-align:center!important;
  pointer-events:auto;
}

/* Modo oscuro: colores globales sin alterar disposición */
body.dark-mode .eslot-car-btn:hover,
body.dark-mode .user-chip:hover,
body.dark-mode .notif-btn:hover{background:rgba(56,189,248,0.10);border-color:rgba(56,189,248,0.22);color:var(--c-blue);}
body.dark-mode .eslot-logo .brand-logo-img{filter:none;}
body.dark-mode .eslot-right .notif-btn{color:#fff;}
body.dark-mode #notifBadge{border-color:#07111F;}
body.dark-mode .ucp{
  background:#0F1B2D;
  color:var(--c-text);
  box-shadow:0 18px 42px rgba(0,0,0,0.48);
}
body.dark-mode .ucp::after{border-top-color:#0F1B2D;filter:drop-shadow(0 10px 14px rgba(0,0,0,0.34));}
body.dark-mode .ucp-corner{background:#17263A;}
body.dark-mode .ucp-close{color:#CBD5E1;}
body.dark-mode .ucp-avatar,
body.dark-mode .ucp-kpi,
body.dark-mode .ucp-box.gray,
body.dark-mode .ucp-box.purple,
body.dark-mode .ucp-schedule,
body.dark-mode .ucp-act.gray,
body.dark-mode .ucp-meta,
body.dark-mode .ucp-publicmeta,
body.dark-mode .ucp-ctype-next{
  background:#17263A;
  color:var(--c-text);
}
body.dark-mode .ucp-box.orange{background:rgba(251,191,36,0.10);}
body.dark-mode .ucp-box .lbl{color:#FBBF24;}
body.dark-mode .ucp-chip{background:rgba(251,191,36,0.14);color:#FDE68A;}
body.dark-mode .ucp-stars .muted{color:#475569;}
body.dark-mode .ucp-reviews,
body.dark-mode .ucp-reviews-btn,
body.dark-mode .ucp-dot,
body.dark-mode .ucp-kpi .k,
body.dark-mode .ucp-pill small,
body.dark-mode .ucp-consep,
body.dark-mode .ucp-conkw,
body.dark-mode .ucp-conmore{color:var(--c-muted);}
body.dark-mode .ucp-money .ucp-per,
body.dark-mode .ucp-money,
body.dark-mode .ucp-points,
body.dark-mode .ucp-meta-arrow,
body.dark-mode .ucp-schedule-txt{color:var(--c-text);}
body.dark-mode .ucp-ctype-next{color:#DDE7F4;}
body.dark-mode .ucp-publicmeta-row .left,
body.dark-mode .ucp-publicmeta-row .mid{border-right-color:rgba(148,163,184,0.20);}
body.dark-mode .chat-window,
body.dark-mode .uc-hub-panel,
body.dark-mode .admin-dropdown,
body.dark-mode .sidebar,
body.dark-mode .swal2-popup{
  background:var(--c-surface)!important;
  color:var(--c-text)!important;
  border-color:var(--c-border2)!important;
}
body.dark-mode .swal2-title,
body.dark-mode .swal2-html-container,
body.dark-mode .uc-hub-head-title,
body.dark-mode .uc-hub-left-title{color:var(--c-text)!important;}
body.dark-mode .chat-head,
body.dark-mode .quick-msgs,
body.dark-mode .chat-input-row,
body.dark-mode .uc-hub-head{border-color:var(--c-border)!important;}
body.dark-mode .chat-conv-item,
body.dark-mode .uc-hub-item,
body.dark-mode .uc-mycar-row,
body.dark-mode .uc-adapter-row,
body.dark-mode .uc-owner-card,
body.dark-mode .uc-move-card,
body.dark-mode .uc-car-row,
body.dark-mode .uc-menu-btn{
  background:#111F33!important;
  border-color:var(--c-border2)!important;
  color:var(--c-text)!important;
}
body.dark-mode .chat-conv-item:hover,
body.dark-mode .uc-hub-item:hover{background:#17263A!important;}
body.dark-mode .chat-input,
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea{
  background:#17263A!important;
  color:var(--c-text)!important;
  border-color:var(--c-border2)!important;
}
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder{color:#64748B!important;}
body.dark-mode .msg.recv .msg-bubble,
body.dark-mode .quick-msg{background:#17263A;color:var(--c-text);border-color:var(--c-border2);}
body.dark-mode .swal2-popup.uc-swal-report-actions,
body.dark-mode .swal2-popup.uc-swal-recharge{background:#0F1B2D!important;}
body.dark-mode .ucp-report-badge,
body.dark-mode .swal2-popup.uc-swal-report-actions .swal2-close{background:#17263A!important;}
body.dark-mode .ucp-report-title{color:#fff;}
body.dark-mode .ucp-report-kicker,
body.dark-mode .ucp-report-station,
body.dark-mode .ucp-report-reward{color:#94A3B8!important;}
body.dark-mode .ucp-report-carousel .report-card{
  background:#17263A!important;
  border-color:rgba(148,163,184,0.55)!important;
  color:#DDE7F4!important;
}
/* Mobile: acciones de reportar desde popup */
.swal2-container.uc-report-container{
  padding:0!important;
  align-items:flex-end!important;
}
.swal2-popup.uc-swal-report-actions{
  width:min(100vw,446px)!important;
  max-width:100vw!important;
  margin:0!important;
  padding:0!important;
  border-radius:22px 22px 0 0!important;
  background:#fff!important;
  overflow:visible!important;
  box-shadow:0 -10px 26px rgba(15,23,42,.16)!important;
}
.swal2-popup.uc-swal-report-actions .swal2-html-container{
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
.swal2-popup.uc-swal-report-actions .uc-report-close,
.swal2-popup.uc-swal-report-actions .swal2-close{
  position:absolute!important;
  top:12px!important;
  right:18px!important;
  width:34px!important;
  height:34px!important;
  border-radius:12px!important;
  background:#f2f2f2!important;
  color:#8a8a8a!important;
  font-size:28px!important;
  line-height:1!important;
  z-index:5!important;
  box-shadow:none!important;
}
.ucp-report-sheet{
  position:relative;
  min-height:264px;
  padding:52px 16px 20px;
  text-align:center;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  box-sizing:border-box;
}
.ucp-report-badge{
  position:absolute;
  top:-33px;
  left:50%;
  transform:translateX(-50%);
  width:66px;
  height:66px;
  border-radius:17px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 22px rgba(15,23,42,.18);
  color:#e59a00;
  font-size:31px;
}
.ucp-report-badge::before{
  content:"";
  width:39px;
  height:39px;
  background:#e59a00;
  clip-path:polygon(50% 0%,61% 20%,84% 12%,82% 36%,100% 50%,82% 64%,84% 88%,61% 80%,50% 100%,39% 80%,16% 88%,18% 64%,0% 50%,18% 36%,16% 12%,39% 20%);
  position:absolute;
}
.ucp-report-badge i{position:relative;z-index:1;color:#fff;font-size:20px;}
.ucp-report-kicker{font-size:16px;font-weight:700;color:#747474;margin:0 22px 3px;}
.ucp-report-title{font-size:22px;line-height:1.12;font-weight:800;color:#080808;margin:0 22px 9px;}
.ucp-report-station{font-size:13px;font-weight:700;color:#747474;margin:0 auto 22px;max-width:calc(100vw - 70px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ucp-report-carousel{
  display:flex!important;
  flex-direction:row!important;
  gap:12px!important;
  margin:0 -16px!important;
  padding:0 16px 16px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.ucp-report-carousel::-webkit-scrollbar{display:none;}
.ucp-report-carousel .report-card{
  flex:0 0 clamp(132px, 34vw, 156px);
  min-width:clamp(132px, 34vw, 156px);
  height:48px;
  border:2px solid #b9b9b9!important;
  border-radius:6px!important;
  background:#f7f7f7!important;
  color:#6b6b6b!important;
  font-size:15px!important;
  font-weight:700!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 10px!important;
  scroll-snap-align:center;
  white-space:nowrap;
  box-shadow:none!important;
}
.ucp-report-carousel .report-card:first-child{margin-left:0;}
.ucp-report-carousel .report-card span{white-space:nowrap;}
.ucp-report-recent{
  width:auto!important;
  margin:0 auto 10px!important;
  display:inline-flex!important;
  justify-content:center!important;
  border:none!important;
  background:transparent!important;
  color:#8b8b8b!important;
  font-size:12px!important;
  font-weight:700!important;
  text-align:center!important;
}
.ucp-report-reward{font-size:12px;font-weight:700;color:#bfbfbf;margin-top:6px;}
@media(min-width:769px){
  .swal2-popup.uc-swal-report-actions{
    width:446px!important;
    border-radius:24px!important;
    margin-bottom:24px!important;
  }
}
@media(max-width:480px){
  .swal2-popup.uc-swal-report-actions{width:100vw!important;}
  .ucp-report-title{font-size:21px;}
  .ucp-report-carousel{padding-left:16px!important;padding-right:16px!important;}
  .ucp-report-carousel .report-card{flex-basis:140px;min-width:140px;font-size:14px!important;}
}

/* Dark mode: pantallas moviles que tenian fondos blancos fijos */
body.dark-mode .uc-hub-panel,
body.dark-mode .uc-hub-left,
body.dark-mode .uc-hub-right,
body.dark-mode .uc-hub-content,
body.dark-mode .uc-swal-addcharger-mobileform,
body.dark-mode .uc-swal-addcharger-mobileform .swal2-actions,
body.dark-mode .uc-addcharger-mobile,
body.dark-mode .swal2-popup.uc-swal-report-actions{
  background:var(--c-surface)!important;
  color:var(--c-text)!important;
}
body.dark-mode .uc-hub-overlay.open{background:rgba(0,0,0,.56)!important;}
body.dark-mode .uc-hub-item{
  background:#111F33!important;
  border-color:rgba(148,163,184,.24)!important;
  color:var(--c-text)!important;
}
body.dark-mode .uc-hub-item:first-child,
body.dark-mode .uc-hub-item.active{background:#17263A!important;color:#fff!important;}
body.dark-mode .uc-hub-item i,
body.dark-mode .uc-hub-item.active i,
body.dark-mode .uc-hub-item:first-child i{
  background:transparent!important;
  color:#94A3B8!important;
}
body.dark-mode .uc-hub-panel.view-open .uc-hub-back,
body.dark-mode .uc-addcharger-mobile .uc-ac-back{
  background:#17263A!important;
  color:#DDE7F4!important;
}
body.dark-mode .uc-hub-panel.view-open .uc-hub-head-title,
body.dark-mode .uc-addcharger-mobile .uc-ac-mobile-head h2,
body.dark-mode .uc-addcharger-mobile .uc-label,
body.dark-mode .uc-addcharger-mobile .uc-mobile-under{
  color:var(--c-text)!important;
}
body.dark-mode .uc-addcharger-mobile .uc-addr-hint,
body.dark-mode .uc-addcharger-mobile .uc-ac-mobile-head p,
body.dark-mode .uc-addcharger-mobile .uc-help{
  color:var(--c-muted)!important;
}
body.dark-mode .uc-swal-addcharger-mobileform .uc-addcharger .swal2-input,
body.dark-mode .uc-swal-addcharger-mobileform .uc-addcharger .swal2-select,
body.dark-mode .uc-addcharger-mobile .uc-file,
body.dark-mode .uc-addcharger-mobile .uc-pick-wrap{
  background:#17263A!important;
  color:var(--c-text)!important;
  border-color:rgba(148,163,184,.38)!important;
}
body.dark-mode .uc-addcharger-mobile .uc-mobile-sep{background:rgba(148,163,184,.35)!important;}
body.dark-mode .uc-wiz-choice{
  background:#17263A!important;
  border-color:rgba(148,163,184,.38)!important;
  color:var(--c-text)!important;
}
body.dark-mode .uc-wiz-choice .t{color:#fff!important;}
body.dark-mode .uc-wiz-choice .d{color:#B7C4D6!important;}
body.dark-mode .uc-swal-addcharger-mobileform .swal2-confirm{
  background:#0B83DA!important;
  color:#fff!important;
}
body.dark-mode .uc-swal-addcharger-mobileform .swal2-cancel{
  background:#17263A!important;
  color:#DDE7F4!important;
  border-color:rgba(56,189,248,.55)!important;
}
body.dark-mode .uc-swal-addcharger-mobileform .swal2-confirm:disabled,
body.dark-mode .uc-swal-addcharger-mobileform .swal2-cancel:disabled{
  opacity:.55!important;
}
body.dark-mode .ucp-report-sheet{background:var(--c-surface)!important;color:var(--c-text)!important;}
body.dark-mode .swal2-popup.uc-swal-report-actions .uc-report-close,
body.dark-mode .swal2-popup.uc-swal-report-actions .swal2-close,
body.dark-mode .ucp-report-badge{background:#17263A!important;color:#FBBF24!important;}
body.dark-mode .ucp-report-title{color:#fff!important;}
body.dark-mode .ucp-report-kicker,
body.dark-mode .ucp-report-station,
body.dark-mode .ucp-report-recent,
body.dark-mode .ucp-report-reward{color:#B7C4D6!important;}
body.dark-mode .ucp-report-carousel .report-card{
  background:#17263A!important;
  border-color:rgba(148,163,184,.48)!important;
  color:#E5EDF8!important;
}

/* Login móvil: referencia INICIAR SESION, sin submit automático por formulario */
.swal2-popup.uc-swal-auth,
body.dark-mode .swal2-popup.uc-swal-auth{
  width:min(447px,100vw)!important;
  max-width:100vw!important;
  padding:0!important;
  margin:0!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#101827!important;
  overflow:hidden!important;
  box-shadow:0 18px 44px rgba(15,23,42,.20)!important;
}
.swal2-popup.uc-swal-auth .swal2-html-container,
body.dark-mode .swal2-popup.uc-swal-auth .swal2-html-container{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  color:#101827!important;
}
.uc-auth-enter{animation:ucAuthIn .22s cubic-bezier(.2,.8,.2,1) both!important;}
.uc-auth-exit{animation:ucAuthOut .2s cubic-bezier(.4,0,.2,1) both!important;}
@keyframes ucAuthIn{from{opacity:0;transform:translateY(22px) scale(.985);}to{opacity:1;transform:none;}}
@keyframes ucAuthOut{from{opacity:1;transform:none;}to{opacity:0;transform:translateY(28px) scale(.985);}}

.uc-auth-mobile.uc-auth-login,
body.dark-mode .uc-auth-mobile.uc-auth-login{
  height:min(924px,calc(100vh - 28px));
  max-height:924px;
  min-height:0;
  background:#fff!important;
  color:#101827!important;
  display:flex;
  flex-direction:column;
  overflow:hidden!important;
  font-family:var(--font-body);
}
.uc-auth-login .uc-auth-hero{
  flex:0 0 clamp(206px,30vh,270px);
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  background:url('../img/login-hero.png') center top/cover no-repeat!important;
  position:relative;
}
.uc-auth-login .uc-auth-hero::after{
  height:74px;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff 86%);
}
.uc-auth-login .uc-auth-brand{top:24px;}
.uc-auth-login .uc-auth-brand img{
  width:clamp(170px,52vw,216px);
  max-width:72%;
  filter:brightness(0) invert(1);
}
.uc-auth-login .uc-auth-copy{
  margin:-6px 30px 20px;
  text-align:center;
  flex:0 0 auto;
}
.uc-auth-login .uc-auth-copy h2{
  margin:0;
  color:#000!important;
  font-family:var(--font-head);
  font-size:clamp(25px,6.5vw,30px);
  line-height:1.05;
  font-weight:900;
}
.uc-auth-login .uc-auth-copy p{
  margin:4px 0 0;
  color:#5D5D5D!important;
  font-size:13px;
  line-height:1.2;
  font-weight:700;
}
.uc-auth-login .uc-auth-form{
  padding:0 32px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:0 0 auto;
}
.uc-auth-login .uc-auth-form label{
  margin:5px 0 3px;
  color:#2B2D31!important;
  font-size:14px;
  line-height:1;
  font-weight:800;
}
.uc-auth-input{
  position:relative;
  width:100%;
  height:43px;
  display:flex;
  align-items:center;
}
.uc-auth-input > i{
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  color:#B5B5B5;
  font-size:16px;
  z-index:2;
  pointer-events:none;
}
.uc-auth-login .uc-auth-input input,
body.dark-mode .uc-auth-login .uc-auth-input input{
  width:100%;
  height:43px;
  margin:0!important;
  border-radius:7px;
  border:1px solid rgba(0,0,0,.30)!important;
  background:#fff!important;
  color:#2B2D31!important;
  box-shadow:0 2px 8px rgba(17,24,39,.18)!important;
  padding:0 43px!important;
  font-size:14px!important;
  font-weight:700!important;
  outline:none;
  box-sizing:border-box;
}
.uc-auth-login .uc-auth-input input::placeholder{color:#B9B9B9!important;font-weight:800!important;}
.uc-auth-login .uc-auth-input input:focus{
  border-color:#0F83DA!important;
  box-shadow:0 0 0 2px rgba(15,131,218,.14),0 2px 8px rgba(17,24,39,.16)!important;
}
.uc-auth-eye{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border:0;
  background:transparent!important;
  color:#A7A7A7;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  z-index:3;
}
.uc-auth-msg{
  min-height:14px!important;
  margin:0!important;
  font-size:11px!important;
  line-height:14px!important;
  color:#DC2626!important;
  text-align:center;
}
.uc-auth-login .uc-auth-primary,
.uc-auth-login .uc-auth-secondary{
  height:46px;
  border-radius:7px!important;
  font-size:15px!important;
  font-weight:900!important;
  margin:0!important;
}
.uc-auth-login .uc-auth-primary{
  background:#0B7FD3!important;
  color:#fff!important;
  border:1px solid #0B7FD3!important;
  box-shadow:0 2px 8px rgba(15,131,218,.34)!important;
}
.uc-auth-login .uc-auth-secondary{
  background:#fff!important;
  color:#0072CE!important;
  border:2px solid #0B7FD3!important;
  box-shadow:none!important;
}
.uc-auth-forgot{
  height:20px;
  color:#0072CE!important;
  font-size:12px;
  font-weight:700;
  line-height:1;
  background:transparent!important;
  border:0;
  padding:0;
  text-align:center;
}
.uc-auth-foot{
  margin:18px 28px 0!important;
  color:#41464F!important;
  font-size:12px!important;
  font-weight:900!important;
  text-align:center;
  flex:0 0 auto;
}
.uc-auth-benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:15px 30px 11px;
  flex:0 0 auto;
}
.uc-auth-benefit{
  text-align:center;
  min-width:0;
}
.uc-auth-benefit span{
  width:48px;
  height:48px;
  border-radius:999px;
  background:#E5EFFD;
  color:#0B7FD3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}
.uc-auth-benefit p{
  margin:5px 0 0;
  color:#41464F;
  font-size:10px;
  line-height:1.02;
  font-weight:800;
}
.uc-auth-terms{
  position:static!important;
  margin:2px 32px 13px!important;
  color:#41464F!important;
  font-size:9px!important;
  line-height:1.08!important;
  font-weight:600!important;
  text-align:center!important;
  flex:0 0 auto;
}
@media(max-width:768px){
  .swal2-container .swal2-popup.uc-swal-auth{
    inset:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
  }
  .uc-auth-mobile.uc-auth-login{
    height:100dvh;
    max-height:100dvh;
  }
}
@media(max-height:820px){
  .uc-auth-login .uc-auth-hero{flex-basis:clamp(174px,27vh,218px);}
  .uc-auth-login .uc-auth-copy{margin:-4px 28px 13px;}
  .uc-auth-login .uc-auth-copy h2{font-size:24px;}
  .uc-auth-login .uc-auth-copy p{font-size:12px;}
  .uc-auth-login .uc-auth-form{gap:6px;}
  .uc-auth-login .uc-auth-form label{font-size:13px;margin:3px 0 2px;}
  .uc-auth-input,
  .uc-auth-login .uc-auth-input input{height:40px!important;}
  .uc-auth-login .uc-auth-primary,
  .uc-auth-login .uc-auth-secondary{height:42px!important;}
  .uc-auth-foot{margin:12px 28px 0!important;font-size:11px!important;}
  .uc-auth-benefit span{width:40px;height:40px;font-size:16px;}
  .uc-auth-benefit p{font-size:9px;}
  .uc-auth-benefits{margin-top:10px!important;margin-bottom:8px!important;}
  .uc-auth-terms{font-size:8px!important;margin-top:2px!important;margin-bottom:9px!important;}
}

/* Dark mode: consolidacion de pantallas moviles agregadas */
body.dark-mode .uc-hub-left,
body.dark-mode .uc-hub-right,
body.dark-mode .uc-hub-content,
body.dark-mode .uc-hub-panel,
body.dark-mode .uc-withdraw-mobile,
body.dark-mode .uc-recharge-mobile,
body.dark-mode .uc-publicar-mobile,
body.dark-mode .uc-data-mobile,
body.dark-mode .uc-owner-chargers,
body.dark-mode .uc-moves-cards,
body.dark-mode .uc-history-mobile,
body.dark-mode .uc-cars-mobile-view,
body.dark-mode .uc-addcharger-mobile,
body.dark-mode .uc-finder-sheet,
body.dark-mode .uc-finder-detail-modal,
body.dark-mode .ucp-report-sheet,
body.dark-mode .uprofile2{
  background:var(--c-surface)!important;
  color:var(--c-text)!important;
}

body.dark-mode .uc-hub-card,
body.dark-mode .uc-hub-table,
body.dark-mode .uc-hub-kpi,
body.dark-mode .uc-hub-note,
body.dark-mode .uc-hub-loading,
body.dark-mode .uc-hub-empty,
body.dark-mode .uc-owner-card,
body.dark-mode .uc-move-card,
body.dark-mode .uc-moves-empty,
body.dark-mode .uc-history-card,
body.dark-mode .uc-history-empty,
body.dark-mode .uc-mycar-card,
body.dark-mode .uc-mycar-row,
body.dark-mode .uc-adapter-section,
body.dark-mode .uc-adapter-row,
body.dark-mode .uc-data-section,
body.dark-mode .uc-recharge-meta,
body.dark-mode .uc-withdraw-meta,
body.dark-mode .uc-ret-confirm-card,
body.dark-mode .uc-fin-navbtn,
body.dark-mode .uc-finder-search,
body.dark-mode .uc-finder-detail-card,
body.dark-mode .uc-finder-radius-menu button,
body.dark-mode .uc-finder-sorts button,
body.dark-mode .ucp-report-carousel .report-card,
body.dark-mode .uprofile2-car{
  background:#111F33!important;
  border-color:rgba(148,163,184,.30)!important;
  color:var(--c-text)!important;
  box-shadow:none!important;
}

body.dark-mode .uc-hub-item{
  background:#111F33!important;
  border-color:rgba(148,163,184,.26)!important;
  color:#EAF2FF!important;
  box-shadow:none!important;
}
body.dark-mode .uc-hub-item.active,
body.dark-mode .uc-hub-item:hover,
body.dark-mode .uc-hub-item:first-child{
  background:#17263A!important;
  border-color:rgba(56,189,248,.30)!important;
  color:#fff!important;
}
body.dark-mode .uc-hub-item i{
  background:transparent!important;
  color:#B7C4D6!important;
}

body.dark-mode .uc-hub-head,
body.dark-mode .uc-hub-panel.view-open .uc-hub-head{
  background:var(--c-surface)!important;
  border-color:var(--c-border)!important;
}
body.dark-mode .uc-hub-panel.view-open .uc-hub-back,
body.dark-mode .uc-recharge-back,
body.dark-mode .uc-addcharger-mobile .uc-ac-back{
  background:#17263A!important;
  border-color:rgba(148,163,184,.30)!important;
  color:#DDE7F4!important;
}

body.dark-mode .uc-owner-name,
body.dark-mode .uc-owner-title,
body.dark-mode .uc-move-title,
body.dark-mode .uc-history-main h3,
body.dark-mode .uc-mycar-card-title,
body.dark-mode .uc-data-hello h2,
body.dark-mode .uc-data-section h3,
body.dark-mode .uc-recharge-top h2,
body.dark-mode .uc-withdraw-mobile h2,
body.dark-mode .uc-withdraw-label,
body.dark-mode .uc-finder-sheet h2,
body.dark-mode .uc-finder-detail-modal .swal2-title,
body.dark-mode .uc-finder-detail-main strong,
body.dark-mode .uprofile2-hello,
body.dark-mode .uprofile2-name,
body.dark-mode .uprofile2-metric .mv{
  color:var(--c-text)!important;
}

body.dark-mode .uc-owner-meta,
body.dark-mode .uc-owner-meta strong,
body.dark-mode .uc-owner-price-unit,
body.dark-mode .uc-move-detail,
body.dark-mode .uc-move-date,
body.dark-mode .uc-history-main p,
body.dark-mode .uc-history-main b,
body.dark-mode .uc-mycar-card-sub,
body.dark-mode .uc-mycar-badge,
body.dark-mode .uc-adapter-note,
body.dark-mode .uc-data-section p,
body.dark-mode .uc-data-section strong,
body.dark-mode .uc-recharge-label,
body.dark-mode .uc-recharge-links button,
body.dark-mode .uc-recharge-legal,
body.dark-mode .uc-withdraw-bank,
body.dark-mode .uc-withdraw-bank span,
body.dark-mode .uc-withdraw-note,
body.dark-mode .uc-finder-sub,
body.dark-mode .uc-finder-link,
body.dark-mode .uc-finder-radius,
body.dark-mode .uc-finder-detail-main em,
body.dark-mode .uc-finder-detail-meta b,
body.dark-mode .uc-finder-reviews,
body.dark-mode .uprofile2-ci,
body.dark-mode .uprofile2-mail,
body.dark-mode .uprofile2-metric .mk{
  color:var(--c-muted)!important;
}

body.dark-mode .uc-recharge-chip,
body.dark-mode .uc-withdraw-chip,
body.dark-mode .uc-withdraw-custom,
body.dark-mode .uc-ret-navbtn,
body.dark-mode .uc-owner-btn,
body.dark-mode .uc-mycar-modify,
body.dark-mode .uc-mycar-add-bottom,
body.dark-mode .uc-history-action,
body.dark-mode .uc-data-logout,
body.dark-mode .uc-finder-search input{
  background:#17263A!important;
  border-color:rgba(148,163,184,.36)!important;
  color:#EAF2FF!important;
}

body.dark-mode .uc-recharge-chip.active,
body.dark-mode .uc-withdraw-chip.active,
body.dark-mode .uc-ret-navbtn.active,
body.dark-mode .uc-finder-radius-menu button.active,
body.dark-mode .uc-finder-sorts button.active{
  background:linear-gradient(180deg,#2563EB,#1D4ED8)!important;
  border-color:#38BDF8!important;
  color:#fff!important;
}

body.dark-mode .uc-recharge-custom::placeholder,
body.dark-mode .uc-withdraw-custom::placeholder,
body.dark-mode .uc-finder-search input::placeholder{
  color:#8EA3BC!important;
  opacity:1;
}

body.dark-mode .uc-recharge-balance,
body.dark-mode .uc-withdraw-balance{
  background:#079447!important;
  color:#fff!important;
}
body.dark-mode .uc-recharge-meta,
body.dark-mode .uc-withdraw-meta{
  border-top-color:rgba(255,255,255,.10)!important;
}
body.dark-mode .uc-recharge-pay,
body.dark-mode .uc-withdraw-submit,
body.dark-mode .uc-data-edit,
body.dark-mode .uc-mycar-add,
body.dark-mode .uc-mycar-add-bottom,
body.dark-mode .uc-history-action.danger,
body.dark-mode .uc-finder-submit{
  color:#fff!important;
}

body.dark-mode .uc-addcharger-mobile .uc-mobile-actions,
body.dark-mode .uc-swal-addcharger-mobileform .swal2-actions{
  background:var(--c-surface)!important;
  border-color:rgba(148,163,184,.22)!important;
}
body.dark-mode .uc-addcharger-mobile .uc-wiz-choice,
body.dark-mode .uc-addcharger-mobile .uc-pick-wrap,
body.dark-mode .uc-addcharger-mobile .uc-file,
body.dark-mode .uc-addcharger-mobile .uc-map-picker,
body.dark-mode .uc-addcharger-mobile .uc-mobile-field{
  background:#111F33!important;
  border-color:rgba(148,163,184,.30)!important;
  color:var(--c-text)!important;
}
body.dark-mode .uc-addcharger-mobile .uc-label,
body.dark-mode .uc-addcharger-mobile .uc-mobile-under,
body.dark-mode .uc-addcharger-mobile .uc-help{
  color:#DDE7F4!important;
}

body.dark-mode .uc-finder-map-actions{
  background:rgba(15,27,45,.94)!important;
  border-color:rgba(148,163,184,.30)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.42)!important;
}
body.dark-mode .uc-finder-action{
  background:#17263A!important;
  border-color:rgba(148,163,184,.34)!important;
  color:#DDE7F4!important;
}
body.dark-mode .uc-finder-action-again{color:#7DD3FC!important;border-color:rgba(56,189,248,.42)!important;}
body.dark-mode .uc-finder-action-stop{color:#FCA5A5!important;border-color:rgba(248,113,113,.42)!important;}
body.dark-mode .uc-finder-action-detail{color:#34D399!important;border-color:rgba(52,211,153,.42)!important;}
body.dark-mode .uc-finder-detail-modal,
body.dark-mode .uc-finder-detail-card{
  background:#0F1B2D!important;
  border-color:rgba(148,163,184,.30)!important;
}
body.dark-mode .uc-finder-detail-modal .swal2-title,
body.dark-mode .uc-finder-detail-main strong{color:#F8FAFC!important;}
body.dark-mode .uc-finder-detail-main em,
body.dark-mode .uc-finder-reviews{color:#94A3B8!important;}
body.dark-mode .uc-finder-detail-meta b{color:#DDE7F4!important;}
body.dark-mode .uc-finder-grip,
body.dark-mode .uc-finder-sep{
  background:rgba(148,163,184,.38)!important;
}

body.dark-mode .swal2-popup:not(.uc-swal-auth) .swal2-input,
body.dark-mode .swal2-popup:not(.uc-swal-auth) .swal2-select,
body.dark-mode .swal2-popup:not(.uc-swal-auth) .swal2-textarea{
  background:#17263A!important;
  border-color:rgba(148,163,184,.36)!important;
  color:#EAF2FF!important;
}

/* Paso inicial: Que desea hacer */
.uc-swal-addcharger-choice .swal2-html-container{
  height:100%;
}
.uc-swal-addcharger-choice .uc-addcharger-choice{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
}
.uc-choice-head{
  display:grid;
  grid-template-columns:54px 1fr 54px;
  align-items:center;
  gap:10px;
  margin:0 0 54px;
}
.uc-choice-head .uc-ac-head{
  margin:0;
  text-align:center;
  font-size:24px;
  line-height:1.1;
  font-weight:600!important;
}
.uc-choice-back{
  width:48px;
  height:48px;
  border:0;
  border-radius:999px;
  background:#F7F7F7;
  color:#5F6368;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  cursor:pointer;
}
.uc-addcharger-choice .uc-wiz-choice-grid{
  gap:14px;
  margin:0;
}
.uc-addcharger-choice .uc-wiz-choice{
  border:1px solid rgba(180,210,235,.95);
  border-radius:10px;
  padding:17px 30px;
  min-height:118px;
  background:#fff;
}
.uc-addcharger-choice .uc-wiz-choice .t{
  font-size:16px;
  line-height:1.12;
  font-weight:600!important;
  color:#111827;
}
.uc-addcharger-choice .uc-wiz-choice .d{
  margin-top:7px;
  font-size:12px;
  line-height:1.13;
  font-weight:600;
  color:#949494;
}
.uc-choice-info{
  margin-top:auto;
  padding:0 8px 18px;
  color:#9B9B9B;
  font-size:12px;
  line-height:1.12;
  font-weight:500;
}
.uc-choice-info p{
  margin:0 0 17px;
}
.uc-choice-info p:last-child{
  margin-bottom:0;
}

@media(max-width:768px){
  .swal2-container .swal2-popup.uc-swal-addcharger-choice{
    inset:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    border-radius:0!important;
    padding:66px 32px calc(18px + var(--safe-bottom))!important;
    overflow:hidden!important;
  }
  .uc-swal-addcharger-choice .swal2-html-container{
    height:calc(100dvh - 156px - var(--safe-bottom))!important;
    overflow:hidden!important;
  }
  .uc-swal-addcharger-choice .swal2-actions{
    height:64px!important;
    margin:0!important;
    padding:0!important;
    gap:20px!important;
    background:transparent!important;
  }
  .uc-swal-addcharger-choice .swal2-confirm,
  .uc-swal-addcharger-choice .swal2-cancel{
    height:38px!important;
    border-radius:999px!important;
    font-size:16px!important;
    font-weight:600!important;
  }
  .uc-swal-addcharger-choice .swal2-cancel{
    background:#F7F7F7!important;
    color:#6E6E6E!important;
    border:1px solid #B7B7B7!important;
  }
  .uc-swal-addcharger-choice .swal2-confirm{
    background:#087DCD!important;
    color:#fff!important;
    border:1px solid #087DCD!important;
  }
}
@media(max-width:390px){
  .swal2-container .swal2-popup.uc-swal-addcharger-choice{
    padding-left:28px!important;
    padding-right:28px!important;
  }
  .uc-addcharger-choice .uc-wiz-choice{
    padding-left:22px;
    padding-right:22px;
  }
  .uc-choice-info{
    font-size:11px;
  }
}
body.dark-mode .swal2-popup.uc-swal-addcharger-choice{
  background:var(--c-surface)!important;
  color:var(--c-text)!important;
}
body.dark-mode .uc-swal-addcharger-choice .swal2-actions{
  background:var(--c-surface)!important;
}
body.dark-mode .uc-choice-back{
  background:#17263A!important;
  color:#DDE7F4!important;
}
body.dark-mode .uc-addcharger-choice .uc-wiz-choice{
  background:#111F33!important;
  border-color:rgba(148,163,184,.34)!important;
  color:var(--c-text)!important;
}
body.dark-mode .uc-addcharger-choice .uc-wiz-choice.selected{
  border-color:rgba(56,189,248,.70)!important;
  box-shadow:0 0 0 2px rgba(56,189,248,.20)!important;
}
body.dark-mode .uc-addcharger-choice .uc-wiz-choice .t{
  color:#F8FAFC!important;
}
body.dark-mode .uc-addcharger-choice .uc-wiz-choice .d,
body.dark-mode .uc-choice-info{
  color:#AEBBD0!important;
}
body.dark-mode .uc-swal-addcharger-choice .swal2-cancel{
  background:#17263A!important;
  color:#DDE7F4!important;
  border-color:rgba(148,163,184,.38)!important;
}
