/* token-status — styles page (migration DA, ne pas dupliquer la coque) */

html, body { font-family: 'Inter', sans-serif; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); min-height: 100vh; margin: 0; padding: 0; }
  body { display: flex; flex-direction: column; }
  .main-content { flex: 1; }
  .card { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 2rem; box-shadow: 0 25px 50px rgba(0,0,0,0.3); overflow: visible; }

  .badge { background: rgba(145,70,255,0.15); color: #b794f4; border: 1px solid rgba(145,70,255,0.35); padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .2px; }
  .scope-tag { background: rgba(255, 107, 53, 0.15); border: 1px solid rgba(255, 107, 53, 0.3); color: rgba(255, 255, 255, 0.9); padding: 0.375rem 0.75rem; border-radius: 12px; font-size: 0.875rem; font-weight: 500; display: inline-block; white-space: nowrap; }
  .scope-tag-muted { opacity: 0.6; }
  .scopes-container { max-height: 300px; overflow-y: auto; overflow-x: hidden; padding: 8px; }
  .scopes-container::-webkit-scrollbar { width: 6px; }
  .scopes-container::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 10px; }
  .scopes-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
  .scopes-container::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }
  .token-card-inactive { opacity: 0.5; pointer-events: none; }
  .token-card-active-badge { font-size: 11px; font-weight: 600; color: #6ee7b7; }
  .token-card-inactive-badge { font-size: 11px; color: #9ca3af; }

  /* Toggle module (même style que Commandes basiques / EventSub) */
  .module-toggle {
    position: relative;
    width: 90px;
    height: 36px;
    border-radius: 18px;
    background: #374151;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 4px;
    transition: all 0.25s ease;
  }
  .module-toggle.on {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
  }
  .module-toggle .thumb {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 14px;
    transform: translateX(0);
    transition: transform 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  }
  .module-toggle.on .thumb {
    transform: translateX(54px);
  }
  .module-toggle .labels {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    pointer-events: none;
  }
