.flex-1{flex:1 !important}
.mt-2{margin-top:2px !important}
.bg-pay{background:#10b981 !important}
.ml-auto{margin-left:auto!important}
.inline-flex{display:inline-flex!important}
.gap-6{gap:6px!important}
.btn-tiny{padding:6px 10px!important;border-radius:8px!important;font-size:12px!important}
.items-center{align-items:center !important}
.gap-6{gap:6px !important}
.gap-12{gap:12px !important}
.gap-8{gap:8px !important}
.flex-wrap{flex-wrap:wrap !important}
.justify-between{justify-content:space-between !important}
.justify-center{justify-content:center !important}
.flex-center-between{display:flex;justify-content:space-between;align-items:center}
.wrap{flex-wrap:wrap !important}
.no-margin{margin:0 !important}
.w-300{width:300px !important}
.max-w-520{max-width:520px !important}
.max-w-360{max-width:360px !important}
.max-w-320{max-width:320px !important}
.max-w-720{max-width:720px !important}
.flex-col{flex-direction:column !important}
.p-16{padding:16px !important}
.mt-16{margin-top:16px !important}
.mt-20{margin-top:20px !important}
.mt-28{margin-top:28px !important}
.border-top{border-top:1px solid var(--border) !important}
.pt-20{padding-top:20px !important}
.inline-block{display:inline-block !important}
.danger-title{color:#dc2626 !important}
.danger-box{background:#fee2e2 !important;border:1px solid #fca5a5 !important;border-radius:8px !important;padding:16px !important;margin-bottom:16px !important}
.danger-box p{margin:0 0 8px 0}
.danger-note{font-size:14px !important;color:#7f1d1d !important;margin:0 !important}
.btn-warn{background:#f59e0b !important}
.btn-violet{background:#8b5cf6 !important}
.btn-danger{background:#dc2626 !important}
.btn-gray{background:#6b7280 !important}
.bordered{border:1px solid #e2e8f0 !important;border-radius:10px !important}
.bg-soft{background:#f8fafc !important}
.overflow-hidden{overflow:hidden !important}
.min-h-280{min-height:280px !important}
.h-320{height:320px !important}
.w-100p{width:100% !important}
.border-0{border:0 !important}
.hidden-el{display:none !important}
.px-4{padding-left:4px !important;padding-right:4px !important}
.py-8{padding-top:8px !important;padding-bottom:8px !important}
.fs-12{font-size:12px !important}
.fw-600{font-weight:600 !important}
.rounded-4{border-radius:4px !important}
.my-8{margin-top:8px !important;margin-bottom:8px !important}
.align-end{align-items:flex-end !important}
.mb-10{margin-bottom:10px !important}
.bg-readonly{background:var(--bg-soft) !important;color:var(--text) !important;border:1px solid var(--border) !important;opacity:0.95}
/* Sutil para campos de solo lectura/deshabilitados en todo el sistema */
input[readonly], textarea[readonly], select[readonly],
input:disabled, textarea:disabled, select:disabled{
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  opacity: 0.95;
}
.mb-16{margin-bottom:16px !important}
.mb-8{margin-bottom:8px !important}
.mt-8{margin-top:8px !important}
.ml-8{margin-left:8px !important}
.text-accent{color:var(--accent) !important}
.btn-compact{padding:4px 8px !important;font-size:13px !important}
.p-8{padding:8px !important}
.px-8{padding-left:8px !important;padding-right:8px !important}
.py-4{padding-top:4px !important;padding-bottom:4px !important}
.rounded-6{border-radius:6px !important}
.border-light{border:1px solid #ddd !important}
.prewrap{white-space:pre-wrap !important}
.text-muted{color:var(--muted) !important}
.bg-danger{background:#dc2626 !important}
:root{
  --bg:#ffffff; --bg-soft:#f8fafc; --card:#ffffff; --muted:#6b7280; --text:#000000; --accent:#9900cc; --accent-2:#16a34a; --warn:#f59e0b; --err:#ef4444;
  --sidebar-bg:#fafafa; --border:#e5e7eb; --hover:#f3f4f6;
  /* Branding */
  --brand-primary:#6d28d9; /* Purple */
  --brand-secondary:#6366f1; /* Indigo */
  --brand-tertiary:#9333ea; /* Accent Purple */
  --brand-gradient: radial-gradient(circle at 75% 25%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%), linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 55%, var(--accent) 100%);
  --brand-surface: rgba(255,255,255,0.65);
  --brand-surface-soft: rgba(255,255,255,0.45);
  --brand-text-on: #ffffff;
  --brand-shadow: 0 4px 18px -4px rgba(60,0,90,0.25);
}
/* Dark theme overrides */
.theme-dark{
  --bg:#0f172a; --bg-soft:#1e293b; --card:#1e293b; --muted:#94a3b8; --text:#f1f5f9; --accent:#9900cc; --accent-2:#22c55e; --warn:#f59e0b; --err:#ef4444;
  --sidebar-bg:#1e293b; --border:#334155; --hover:#475569;
  --brand-surface: rgba(30,41,59,0.75);
  --brand-surface-soft: rgba(30,41,59,0.55);
  --brand-text-on:#f8fafc;
}

/* Dark theme specific fixes for hardcoded colors */
.theme-dark button.danger{background:#dc2626 !important;color:#ffffff !important}
.theme-dark button.danger:hover{background:#b91c1c !important}

.theme-dark small[style*="color:#777"], 
.theme-dark span[style*="color:#777"],
.theme-dark div[style*="color:#777"] { color: var(--muted) !important; }

.theme-dark small[style*="color:#666"], 
.theme-dark span[style*="color:#666"],
.theme-dark div[style*="color:#666"] { color: var(--muted) !important; }

.theme-dark [style*="color:#6b7280"] { color: var(--muted) !important; }
.theme-dark [style*="color:#374151"] { color: var(--text) !important; }
.theme-dark [style*="color:#1f2937"] { color: var(--text) !important; }
.theme-dark [style*="color:#0f172a"] { color: var(--text) !important; }

/* Fix preview text background */
.theme-dark #tplPreviewText { background: var(--bg-soft) !important; color: var(--text) !important; }

/* Ensure pre elements always use theme colors */
pre { background: var(--bg-soft) !important; border-color: var(--border) !important; color: var(--text) !important; }

/* Fix status badges in dark mode */
.theme-dark .status-badge { background: var(--bg-soft) !important; color: var(--text) !important; }
.theme-dark .status-badge.ready { background: #065f46 !important; color: #34d399 !important; }
.theme-dark .status-badge.running { background: #1e3a8a !important; color: #60a5fa !important; }
.theme-dark .status-badge.linked { background: #92400e !important; color: #fbbf24 !important; }
.theme-dark .status-badge.idle { background: var(--bg-soft) !important; color: var(--muted) !important; }

/* Fix subscription info colors */
.theme-dark div[style*="color:#166534"] { color: var(--accent-2) !important; }

/* Fix error banner */
.theme-dark .error-banner { background: #7f1d1d !important; color: #fca5a5 !important; border-color: #991b1b !important; }
*{box-sizing:border-box}
html,body{min-height:100%}
body{margin:0;font-family:system-ui,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:16px;line-height:1.6;overflow-x:hidden}
/* Fondo de marca aplicado globalmente (suave) */
body.brand-bg:not(.theme-dark){
  background: var(--brand-gradient) fixed;
  color: var(--brand-text-on);
}
body.brand-bg.theme-dark{
  background: var(--brand-gradient) fixed;
  color: var(--brand-text-on);
}

/* Superficies translucidas para fondos de marca */
.brand-surface{background:var(--brand-surface);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,0.35);box-shadow:var(--brand-shadow)}
.brand-surface-soft{background:var(--brand-surface-soft);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.25)}
.brand-elevated{box-shadow:0 8px 30px -6px rgba(0,0,0,0.35),0 0 0 1px rgba(255,255,255,0.15)}

/* Barra superior mínima de identidad */
.brand-bar{position:relative;z-index:40;display:flex;align-items:center;gap:10px;padding:6px 14px;background:linear-gradient(90deg,rgba(255,255,255,0.18),rgba(255,255,255,0));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:13px;font-weight:600;letter-spacing:.5px;color:var(--brand-text-on)}
.brand-bar .logo{font-weight:800;font-size:14px;text-transform:uppercase;letter-spacing:1px;color:var(--brand-text-on);text-decoration:none}
.brand-pill{padding:4px 10px;border-radius:40px;background:rgba(255,255,255,0.18);font-size:11px;font-weight:600}
.theme-dark .brand-pill{background:rgba(0,0,0,0.25)}

/* Ajustes cuando se usa brand-bg para mantener contraste interno */
body.brand-bg .card, body.brand-bg .modal-content, body.brand-bg .panel{background:var(--brand-surface);color:var(--text);}
body.brand-bg .card, body.brand-bg .panel{border:1px solid rgba(255,255,255,0.3)}
body.brand-bg .global-footer{background:rgba(0,0,0,0.15);border-top-color:rgba(255,255,255,0.3);color:var(--brand-text-on)}
body.brand-bg .sidebar{background:var(--brand-surface-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);}
body.brand-bg button{box-shadow:0 2px 6px -1px rgba(0,0,0,0.25)}
body.brand-bg .status-badge{background:rgba(255,255,255,0.25) !important;color:#fff !important}
body.brand-bg .status-badge.ready{background:rgba(34,197,94,0.9)!important;color:#fff!important}
body.brand-bg .status-badge.running{background:rgba(59,130,246,0.85)!important}
body.brand-bg .status-badge.linked{background:rgba(250,204,21,0.9)!important;color:#3b2f00!important}
body.brand-bg .status-badge.idle{background:rgba(255,255,255,0.25)!important}
body.brand-bg .alert{background:rgba(255,255,255,0.15);color:#fff;border-color:rgba(255,255,255,0.35)}
body.brand-bg.theme-dark .alert{background:rgba(0,0,0,0.4)}

/* Botones de marca */
.btn-brand{background:linear-gradient(135deg,var(--brand-secondary),var(--brand-primary));color:#fff;font-weight:600;box-shadow:0 4px 14px -4px rgba(0,0,0,0.35);}
.btn-brand:hover{filter:brightness(1.08)}
.btn-ghost-brand{background:rgba(255,255,255,0.1);color:#fff;border:1px solid rgba(255,255,255,0.35)}
.btn-ghost-brand:hover{background:rgba(255,255,255,0.2)}
/* Utilidades generales */
.hidden{display:none !important}
.flex{display:flex}
.flex-row{display:flex;align-items:center;gap:8px}
.flex-start-wrap{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}
.min-w-240{min-width:240px}
.mt-8{margin-top:8px !important}
.mt-10{margin-top:10px !important}
.mt-12{margin-top:12px !important}
.mt-16{margin-top:16px !important}
.mt-20{margin-top:20px !important}
.mb-0{margin-bottom:0 !important}
.center{text-align:center !important}
.w-100{width:100% !important}
.fw-600{font-weight:600 !important}
.fs-12{font-size:12px !important}
.fs-13{font-size:13px !important}
.fs-14{font-size:14px !important}

/* Bloques específicos extraídos de estilos inline previos */
.subscription-info{margin-top:10px;padding:10px;background:#f8f9fa;border-radius:6px;border-left:4px solid #10b981}
.subscription-info-title{font-weight:600;color:#166534;margin-bottom:4px}
.qr-container{display:none;text-align:center;margin-top:16px}
.qr-image{max-width:300px;width:100%;border:1px solid #e5e7eb;border-radius:8px}
.section-divider{padding:10px 0;border-bottom:1px solid #e5e7eb;margin-bottom:10px}
.conversation-subheader{font-size:12px;color:var(--muted);margin-top:4px}
.load-more-btn{margin:4px auto 8px;display:none}
.qr-window-badge{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;background:#e0e7ff;color:#3730a3;letter-spacing:.2px}
.qr-window-open{background:#dcfce7;color:#166534}
.qr-window-closed{background:#fef3c7;color:#92400e}
.qr-window-exhausted{background:#fee2e2;color:#b91c1c}
.qr-window-pending{background:#e0f2fe;color:#075985}
.theme-dark .qr-window-badge{background:rgba(148,163,184,0.25);color:#e2e8f0;border:1px solid rgba(148,163,184,0.45)}
.theme-dark .qr-window-open{background:rgba(34,197,94,0.22);color:#bbf7d0;border-color:rgba(34,197,94,0.45)}
.theme-dark .qr-window-closed{background:rgba(249,115,22,0.2);color:#fcd34d;border-color:rgba(249,115,22,0.4)}
.theme-dark .qr-window-exhausted{background:rgba(239,68,68,0.22);color:#fecaca;border-color:rgba(239,68,68,0.5)}
.theme-dark .qr-window-pending{background:rgba(59,130,246,0.18);color:#bfdbfe;border-color:rgba(59,130,246,0.45)}

.theme-dark .subscription-info{background:var(--bg-soft);border-left-color:var(--accent)}
.theme-dark .subscription-info-title{color:var(--accent-2)}
.layout{display:flex;min-height:100vh;height:auto;}
body.admin-shell{display:flex;flex-direction:column;min-height:100vh;}
body.admin-shell .layout{flex:1;}
.sidebar{width:220px;background:var(--sidebar-bg);border-right:1px solid var(--border);padding:10px 12px 24px;overflow:auto;transition:width .25s ease}
.sidebar.compact{width:70px;padding:10px 8px}
.sidebar.compact .row button.full{justify-content:center !important;padding:10px 6px;font-size:18px}
.sidebar.compact hr{margin:10px 0}
.sidebar .row{margin:6px 0}
.sidebar .row button.full{display:flex;align-items:center;gap:8px;text-align:left}
.sidebar .nav-label{flex:1;white-space:nowrap}
.sidebar.compact .nav-label{display:none}
.sidebar-toggle-trigger{position:absolute;top:12px;right:-12px;background:var(--accent);color:#fff;border:none;border-radius:50%;width:28px;height:28px;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.25);z-index:1050}

/* Hide mobile sidebar header on desktop */
.mobile-sidebar-header{display:none}

/* Sidebar content - no padding in desktop */
.sidebar-content{
  padding-top: 0;
}

.content{flex:1;padding:4px 10px 28px;overflow:visible;min-width:0;display:flex;flex-direction:column;position:relative;}
.wrap{width:100%;max-width:1400px;margin:0 auto;padding:8px 12px}
.wrap-narrow{max-width:960px}
@media (max-width:1280px){
  .wrap{max-width:100%;padding:10px 16px}
}
.wrap-wide{max-width:1280px}
.h-scroll{overflow-x:auto}
.table-responsive{width:100%;border-collapse:collapse}
.table-responsive th,.table-responsive td{padding:6px 10px;text-align:left;border-bottom:1px solid var(--border);font-size:14px}
@media (max-width:720px){
  .table-responsive th,.table-responsive td{white-space:nowrap}
}
.hero{padding:24px 0 12px;text-align:left}
/* Hide mobile header on desktop */
.mobile-header{display:none}
.mobile-header h2{margin:0; font-size:18px; color:var(--text); text-align:center;}
.mobile-header-actions{display: flex; align-items: center; gap: 8px;}

h1,h2,h3{margin:0 0 10px 0}
h1{font-size:clamp(1.5rem, 3.5vw, 2.1rem)}
h2{font-size:clamp(1.25rem, 3vw, 1.6rem)}
h3{font-size:clamp(1.1rem, 2.5vw, 1.3rem)}
label{display:block;margin:8px 0 6px;color:var(--muted);font-size:15px}
input,textarea,select{width:100%;padding:12px;border-radius:10px;border:1px solid var(--border);background:var(--card);color:var(--text);font-size:16px}
button{padding:12px 16px;border:none;border-radius:10px;background:var(--accent);color:#fff;cursor:pointer;font-size:16px}
button.secondary{background:#334155}
button.ghost{background:transparent;border:1px solid rgba(255,255,255,.12)}
button.danger{background:#dc2626;color:#ffffff}
button.danger:hover{background:#b91c1c}
button.full{width:100%}
.toolbar{display:flex;flex-wrap:wrap;gap:8px}
.row{margin:10px 0}
.muted{color:var(--muted);font-size:14px}
.small{font-size:13px}
.card{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:12px 14px;margin:0 0 12px}
.grid{display:grid;gap:12px}
.grid-2{grid-template-columns:1fr 1fr}
.grid-3{grid-template-columns:repeat(3,1fr)}
.list-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--border)}
.btn-row{display:flex;gap:8px;flex-wrap:wrap}
.badge{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--bg-soft);color:var(--text);font-size:12px}
.ok{color:var(--accent-2)}
.err{color:var(--err)}
pre{background:var(--bg-soft);border:1px solid var(--border);color:var(--text);padding:12px;border-radius:8px;max-height:320px;overflow:auto}
.qrimg{max-width:280px;width:100%}

/* Client header responsive */
.header-bar{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.header-actions{display:flex;gap:8px;flex-wrap:wrap}
@media (max-width:640px){
  .header-actions{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
  .header-bar h1{flex:1 0 100%;margin:0 0 4px 0}
}

/* Compact + mobile: icon bar single line horizontally scrollable */
@media (max-width:640px){
  body.compact .header-actions { display:flex !important; flex-wrap:nowrap; overflow-x:auto; width:100%; gap:6px; }
  body.compact .header-actions button { flex:0 0 auto; min-width:44px; padding:8px 10px; }
}

.alert{border:1px solid #f59e0b33;background:#fff7e6;color:#8a5a00;padding:12px 14px;border-radius:8px;margin:8px 0}
.alert strong{color:#8a5a00}

/* Theme toggle button */
.theme-toggle{
  position:fixed;top:16px;right:16px;z-index:100;
  background:var(--card);border:1px solid var(--border);
  border-radius:8px;padding:8px 12px;cursor:pointer;
  font-size:14px;color:var(--text);
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  transition:all 0.2s;
}
.theme-toggle:hover{
  background:var(--hover);
}

/* Configuration Tabs */
.config-tabs{
  display:flex;margin:20px 0;border-bottom:2px solid var(--border);gap:5px;
}
.tab-button{
  padding:12px 20px;border:none;background:transparent;
  color:var(--text-muted);cursor:pointer;font-size:14px;
  font-weight:500;border-radius:8px 8px 0 0;
  transition:all 0.2s ease;position:relative;
}
.tab-button:hover{
  background:var(--hover);color:var(--text);
}
.tab-button.active{
  background:var(--card);color:var(--text);
  border-bottom:2px solid var(--primary);
}
.tab-button.active::after{
  content:'';position:absolute;bottom:-2px;
  left:0;right:0;height:2px;background:var(--primary);
}
.tab-content{
  display:none;
}
.tab-content.active{
  display:block;
}
.config-common{
  margin-top:30px;padding-top:20px;
  border-top:1px solid var(--border);
}

/* Controls header */
.controls-header{
  background:var(--card);border:1px solid var(--border);
  border-radius:12px;padding:20px;margin:0 0 24px;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}
.controls-group .toolbar{
  display:flex;gap:8px;flex-wrap:wrap;
}
.controls-group button{
  padding:10px 16px;border-radius:8px;
  border:1px solid var(--border);background:var(--card);
  color:var(--text);cursor:pointer;font-weight:500;
  transition:all 0.2s ease;
}
.controls-group button:hover{
  background:var(--primary);color:white;
  border-color:var(--primary);
}

@media (max-width: 900px){
  .sidebar{
    position:fixed;
    top:0;
    left:-280px;
    height:100vh;
    width:280px;
    z-index:1001;
    transition:left 0.3s ease;
    border-right:1px solid var(--border);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 0 16px 16px 16px;
  }
  
  /* Mobile sidebar header with close button */
  .mobile-sidebar-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px;
    background:var(--sidebar-bg);
    border-bottom:1px solid var(--border);
    margin-bottom:8px;
  }
  
  /* Sidebar content with proper spacing for mobile header */
  .sidebar-content{
    padding-top: 60px; /* Space for mobile header: 12px + 18px + 12px + extra */
    position: relative;
  }
  
  .sidebar-title{
    font-weight:600;
    font-size:16px;
    color:var(--text);
  }
  .mobile-close-btn{
    background:transparent;
    border:none;
    font-size:24px;
    color:var(--text);
    cursor:pointer;
    padding:4px 8px;
    border-radius:4px;
    line-height:1;
    min-width:32px;
    min-height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .mobile-close-btn:hover{
    background:var(--hover);
  }
  .mobile-close-btn:active{
    background:var(--border);
  }
  
  /* Hide mobile header on desktop */
  .mobile-sidebar-header{
    display:none;
  }
  
  .sidebar.compact{width:280px;padding:0 16px 16px 16px}
  .sidebar.show{left:0}
  .sidebar.show .mobile-sidebar-header{display:flex}
  .sidebar.show .sidebar .row:first-of-type{margin-top:0}
  .sidebar-toggle-trigger{display:none}
  .layout{flex-direction:column}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .wrap{max-width:100%;padding:12px 16px}
  
  /* Mobile header with hamburger */
  .mobile-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 16px;
    background:var(--sidebar-bg);
    border-bottom:1px solid var(--border);
    position:sticky;
    top:0;
    z-index:1002;
  }
  .mobile-header h2{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 18px;
    color: var(--text);
  }
  .hamburger{
    display:flex;
    flex-direction:column;
    cursor:pointer;
    padding:8px;
    background:transparent;
    border:none;
    border-radius:4px;
    z-index:1003;
    position:relative;
    min-width:36px;
    min-height:36px;
    justify-content:center;
    align-items:center;
  }
  .hamburger:hover{background:var(--hover)}
  .hamburger:active{background:var(--border)}
  .hamburger span{
    display:block;
    width:20px;
    height:2px;
    background:var(--text);
    margin:2px 0;
    transition:0.3s;
  }
  .hamburger.active span:nth-child(1){transform:rotate(-45deg) translate(-4px, 4px)}
  .hamburger.active span:nth-child(2){opacity:0}
  .hamburger.active span:nth-child(3){transform:rotate(45deg) translate(-4px, -4px)}
  
  /* Overlay when menu is open */
  .sidebar-overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    z-index:1000;
  }
  .sidebar-overlay.show{display:block}
}

@media (max-width: 480px){
  body{font-size:17px}
  label{font-size:15px}
  input,textarea,select,button{font-size:17px; min-height:44px}
  .muted{font-size:15px}
  .small{font-size:14px}
}

/* Force mobile layout regardless of viewport width (when body has class force-mobile) */
body.force-mobile{font-size:17px}
body.force-mobile .sidebar{
  position:fixed;
  top:0;
  left:-280px;
  height:100vh;
  width:280px;
  z-index:1001;
  transition:left 0.3s ease;
  border-right:1px solid var(--border);
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
body.force-mobile .sidebar.show{left:0}
body.force-mobile .layout{flex-direction:column}
body.force-mobile .grid-2, body.force-mobile .grid-3{grid-template-columns:1fr}
body.force-mobile label{font-size:15px}
body.force-mobile input, body.force-mobile textarea, body.force-mobile select, body.force-mobile button{font-size:17px; min-height:44px}
body.force-mobile .muted{font-size:15px}
body.force-mobile .small{font-size:14px}

/* Mobile header for force-mobile */
body.force-mobile .mobile-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 16px;
  background:var(--sidebar-bg);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:1002;
}
body.force-mobile .mobile-header h2{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 18px;
  color: var(--text);
}
body.force-mobile .hamburger{
  display:flex;
  flex-direction:column;
  cursor:pointer;
  padding:8px;
  background:transparent;
  border:none;
  border-radius:4px;
  z-index:1003;
  position:relative;
  min-width:36px;
  min-height:36px;
  justify-content:center;
  align-items:center;
}
body.force-mobile .hamburger:hover{background:var(--hover)}
body.force-mobile .hamburger:active{background:var(--border)}
body.force-mobile .hamburger span{
  display:block;
  width:20px;
  height:2px;
  background:var(--text);
  margin:2px 0;
  transition:0.3s;
}
body.force-mobile .hamburger.active span:nth-child(1){transform:rotate(-45deg) translate(-4px, 4px)}
body.force-mobile .hamburger.active span:nth-child(2){opacity:0}
body.force-mobile .hamburger.active span:nth-child(3){transform:rotate(45deg) translate(-4px, -4px)}
body.force-mobile .sidebar-overlay{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  z-index:1000;
}
body.force-mobile .sidebar-overlay.show{display:block}
body.force-mobile .small{font-size:14px}

/* Agent Status Styles */
.success { background: #d4edda; color: #155724; padding: 12px; border-radius: 6px; border-left: 4px solid #28a745; }
.warning { background: #fff3cd; color: #856404; padding: 12px; border-radius: 6px; border-left: 4px solid #ffc107; }
.info { background: #d1ecf1; color: #0c5460; padding: 12px; border-radius: 6px; border-left: 4px solid #17a2b8; }
.alert-info { background: #e7f3ff; color: #0066cc; padding: 12px; border-radius: 6px; border-left: 4px solid #0066cc; margin: 12px 0; }

/* Lead items */
.lead-item { border: 1px solid #ddd; padding: 12px; margin: 8px 0; border-radius: 6px; background: #f9f9f9; }
.lead-item:hover { background: #f0f0f0; }

/* Compact mode tweaks */
body.compact .header-actions button { padding:6px 8px; font-size:14px; }
body.compact .header-actions button .txt { margin-left:4px; }
body.compact .header-actions button .txt { display:none !important; }
@media (max-width:640px){
  body.compact .header-actions button .txt { display:none; }
  body.compact .header-actions button { justify-content:center; }
}

.global-footer{
  margin-top:auto;
  padding:20px 16px;
  text-align:center;
  font-size:13px;
  color:var(--muted);
  border-top:1px solid var(--border);
  background:var(--bg-soft);
  width:100%;
  opacity:0.9;
  transition:opacity 0.2s ease;
  flex-shrink:0;
}

/* Footer forzado para asegurar visibilidad */
.footer-forced {
  margin: 40px 0 0 0 !important;
  padding: 20px !important;
  text-align: center !important;
  background: var(--bg-soft) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 0.9 !important;
  position: relative !important;
  z-index: 100 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.global-footer strong{
  font-weight:500;
  font-size:12px;
}

.global-footer:hover{
  opacity:1;
}

.theme-dark .global-footer{
  border-top-color:var(--border);
  background:var(--bg);
}

.theme-dark .footer-forced {
  background: var(--bg-soft) !important;
  border-top-color: var(--border) !important;
  color: var(--muted) !important;
}

/* Tabs for Prospects & Clients */
.tab-btn {
  background:none;border:none;padding:12px 20px;cursor:pointer;border-bottom:2px solid transparent;font-weight:500;color:#6b7280;transition:all 0.2s;
}
.tab-btn.active {
  color:#9900cc;border-bottom-color:#9900cc;
}
.tab-btn:hover {
  color:#1d4ed8;background:#f8fafc;
}

/* Prospect/Client Grids */
.prospects-grid {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;margin-top:12px;
}
.prospect-card {
  background:var(--bg-soft);border:1px solid var(--border);border-radius:8px;padding:16px;transition:all 0.2s;
}
.prospect-card:hover {
  background:var(--hover);border-color:var(--muted);
}
.prospect-header {
  display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;
}
.prospect-name {
  font-weight:600;color:var(--text);margin:0;
}
.prospect-company {
  font-size:13px;color:var(--muted);margin:2px 0 0 0;
}
.prospect-status {
  padding:4px 8px;border-radius:12px;font-size:11px;font-weight:500;text-transform:uppercase;
}
.status-demo {
  background:#fef3c7;color:#92400e;
}
.status-client {
  background:#d1fae5;color:#065f46;
}
.prospect-details {
  display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:13px;color:var(--muted);
}
.prospect-contact {
  margin-top:12px;padding-top:12px;border-top:1px solid var(--border);font-size:13px;
}

/* Distributor Grids */
.distributors-grid {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px;margin-top:12px;
}
.distributor-card {
  background:var(--bg-soft);border:1px solid var(--border);border-radius:8px;padding:16px;transition:all 0.2s;
}
.distributor-card:hover {
  background:var(--hover);border-color:var(--muted);
}
.distributor-header {
  display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;
}
.distributor-name {
  font-weight:600;color:var(--text);margin:0;
}
.distributor-company {
  font-size:13px;color:var(--muted);margin:2px 0 0 0;
}
.distributor-status {
  padding:4px 8px;border-radius:12px;font-size:11px;font-weight:500;text-transform:uppercase;
}
.distributor-commission {
  font-size:12px;color:var(--muted);margin-top:4px;font-weight:500;
}
.status-active {
  background:#d1fae5;color:#065f46;
}
.status-inactive {
  background:#fef3c7;color:#92400e;
}
.status-suspended {
  background:#fee2e2;color:#dc2626;
}
.status-unknown {
  background:#f3f4f6;color:#6b7280;
}
.distributor-details {
  display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:13px;color:var(--muted);
}
.distributor-contact {
  margin-top:12px;padding-top:12px;border-top:1px solid var(--border);font-size:13px;
}
.distributor-actions {
  margin-top:12px;display:flex;gap:8px;flex-wrap:wrap;
}
.distributor-actions button {
  padding:4px 8px;font-size:12px;border-radius:4px;border:1px solid var(--border);background:var(--bg-soft);cursor:pointer;color:var(--text);
}
.distributor-actions button:hover {
  background:var(--hover);
}
.distributor-actions button.danger {
  color:#dc2626;border-color:#dc2626;
}

/* Modal Styles */
.modal {
  position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);z-index:1000;display:flex;align-items:center;justify-content:center;
}
.modal-content {
  background:var(--card);border-radius:8px;padding:24px;width:90%;max-width:600px;max-height:90%;overflow-y:auto;color:var(--text);
}

/* Updated Prospect Cards */
.prospect-actions {
  margin-top:12px;display:flex;gap:8px;flex-wrap:wrap;
}
.prospect-actions button {
  padding:4px 8px;font-size:12px;border-radius:4px;border:1px solid var(--border);background:var(--bg-soft);cursor:pointer;color:var(--text);
}
.prospect-actions button:hover {
  background:var(--hover);
}
.prospect-actions button.danger {
  color:#dc2626;border-color:#dc2626;
}

/* Status indicators - unified for prospects and distributors */
.status-prospect { background:#fef3c7;color:#92400e; }
.status-verified { background:#dbeafe;color:#1d4ed8; }
.status-inactive { background:#f3f4f6;color:#6b7280; }
.status-expired { background:#fee2e2;color:#dc2626; }
.prospect-actions button.danger:hover {
  background:#fef2f2;
}

/* Status badges updated */
.status-prospect {
  background:#e0e7ff;color:#3730a3;
}
.status-verified {
  background:#dcfce7;color:#166534;
}
.status-expired {
  background:#fee2e2;color:#991b1b;
}
.status-inactive {
  background:#f3f4f6;color:#6b7280;
}

/* Sidebar theme toggle styles */
.sidebar-theme-row {
  margin-top: auto; 
  padding-top: 16px; 
  border-top: 1px solid #e2e8f0; 
  text-align: center;
}

.theme-dark .sidebar-theme-row {
  border-top-color: var(--border);
}

.sidebar-theme-toggle {
  background: transparent !important; 
  border: 1px solid #e2e8f0 !important; 
  padding: 6px 12px !important; 
  border-radius: 20px !important; 
  font-size: 12px !important; 
  color: var(--muted) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  transition: all 0.2s ease;
  cursor: pointer;
  z-index: 1;
  position: relative;
}

.theme-dark .sidebar-theme-toggle {
  border-color: var(--border) !important;
  color: var(--muted) !important;
}

.sidebar-theme-toggle:hover {
  background: var(--hover) !important;
  border-color: var(--border) !important;
  transform: scale(1.05);
}

.theme-dark .sidebar-theme-toggle:hover {
  color: var(--text) !important;
}

/* Filter container styles */
.filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.theme-dark .filter-container {
  background: var(--bg-soft);
}

.filter-buttons-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-weight: 600;
  color: var(--text);
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 12px !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  color: white !important;
  cursor: pointer;
  transition: opacity 0.2s;
}

.filter-btn:hover {
  opacity: 0.8;
}

.filter-all { background: #6366f1 !important; }
.filter-active { background: #10b981 !important; }
.filter-inactive { background: #6b7280 !important; }
.filter-demo-active { background: #f59e0b !important; }
.filter-demo-expired { background: #dc2626 !important; }

.agent-count {
  color: #64748b;
  font-size: 14px;
}

.theme-dark .agent-count {
  color: var(--muted);
}

/* Mobile responsiveness for filters */
@media (max-width: 900px) {
  .filter-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .filter-buttons-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .filter-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
  }
  
  .filter-btn {
    padding: 8px 12px !important;
    font-size: 13px !important;
    text-align: center;
  }
  
  .agent-count {
    text-align: center;
    font-weight: 600;
  }
}

body.force-mobile .filter-container {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

body.force-mobile .filter-buttons-container {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

body.force-mobile .filter-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

body.force-mobile .filter-btn {
  padding: 8px 12px !important;
  font-size: 13px !important;
  text-align: center;
}

body.force-mobile .agent-count {
  text-align: center;
  font-weight: 600;
}

/* ========== ESTILOS PRINCIPALES PARA LANDING PAGE ========== */

*{margin:0;padding:0;box-sizing:border-box}
body{font-family:system-ui,'Segoe UI',Roboto,Arial,sans-serif;line-height:1.55;font-weight:500}
body.brand-bg{min-height:100vh;}
.navbar{position:fixed;top:0;left:0;right:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:10px 18px;background:linear-gradient(90deg,rgba(255,255,255,0.55),rgba(255,255,255,0.35));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,0.35)}
.nav-container{max-width:1200px;width:100%;display:flex;align-items:center;gap:18px}
.logo{font-weight:800;font-size:20px;letter-spacing:.5px;color:#fff;text-decoration:none;text-shadow:0 2px 6px rgba(0,0,0,0.25)}
.nav-links{display:flex;list-style:none;gap:10px;margin-left:auto}
.nav-links a{display:inline-flex;align-items:center;padding:10px 16px;font-size:14px;font-weight:600;color:#fff;text-decoration:none;border-radius:28px;position:relative;transition:.25s;background:rgba(255,255,255,0.12);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.price-discount{color:#f59e0b;font-weight:700;margin-left:.5rem}
.price-value{font-size:1.4rem;font-weight:700;color:#9900cc}
.price-contact{font-size:1.2rem;font-weight:700}
.old-price{text-decoration:line-through;color:#888;font-size:1.1rem}
.center-block{max-width:600px;margin:0 auto;text-align:center}
.center-block p.lead{font-size:1.2rem;margin-bottom:2rem;opacity:.9}
.mb-3rem{margin-bottom:3rem}
.footer-meta{margin-left:2rem;opacity:.5;font-size:.8rem}
.link-plain{color:inherit;text-decoration:none}
.hide{display:none}
.nav-links a:hover{background:rgba(255,255,255,0.25);}
.nav-links a.primary{background:linear-gradient(135deg,var(--brand-secondary),var(--brand-primary));box-shadow:0 4px 16px -6px rgba(0,0,0,.45)}
.nav-links a.primary:hover{filter:brightness(1.08)}
.mobile-menu-btn{display:none}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #9900cc;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-links a.primary {
    background: #667eea;
    color: white;
}

.nav-links a.primary:hover {
    background: #5a6fd8;
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-links li {
    margin: 0;
}

.mobile-menu-links a {
    display: block;
    padding: 1rem 2rem;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.mobile-menu-links a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mobile-menu-links a.primary {
    background: #667eea;
    color: white;
}

.mobile-menu-links a.primary:hover {
    background: #5a6fd8;
}

.hero {
    min-height: 100vh;
    background: 
        linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%),
        url('/img/head1.png') center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
    order: 2;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
}

.robot-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-content .description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #9900cc;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(153, 0, 204, 0.3);
}

.btn-primary:hover {
    background: #7a0099;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 0, 204, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #9900cc;
}

.features {
    padding: 5rem 2rem;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card.destacado {
    border: 2px solid #9900cc;
    box-shadow: 0 8px 25px rgba(153, 0, 204, 0.15);
    background: linear-gradient(135deg, #f8f0ff 0%, #f0e6ff 100%);
    position: relative;
    transform: scale(1.05);
}

@media (max-width: 800px) {
    .feature-card.destacado {
        transform: none;
    }
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

.benefits {
    background: linear-gradient(135deg, #9900cc 0%, #7a0099 100%);
    color: white;
    padding: 5rem 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.signature {
    margin-top: 2rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 8rem 2rem 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .robot-image {
        max-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    margin-left: auto;
    margin-right: 15px;
}

.language-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    min-width: 120px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    padding: 10px 15px;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile adjustments for language selector */
@media (max-width: 768px) {
    .language-selector {
        margin-right: 10px;
    }
    
    .language-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .language-dropdown {
        min-width: 100px;
    }
    
    .language-option {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Quick Setup Badge */
.quick-setup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    letter-spacing: 0.3px;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
        transform: scale(1.02);
    }
}

/* Responsive adjustments for badge */
@media (max-width: 768px) {
    .quick-setup-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 12px;
    }
}

