/* /Pages/Auth/Login.razor.rz.scp.css */
.login-page[b-gwmojdbocq] {
  min-height: 100vh;
  background: #f1f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.login-logo-top[b-gwmojdbocq] {
  display: flex;
  justify-content: center;
}

.login-logo-top img[b-gwmojdbocq] {
  height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
}

.login-grid[b-gwmojdbocq] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(520px, 100%);
  position: relative;
  z-index: 1;
}

.login-panel[b-gwmojdbocq] {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.login-panel.glass[b-gwmojdbocq] {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(24px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04),
    0 24px 60px rgba(59, 130, 246, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 2rem;
}

.login-panel.accent[b-gwmojdbocq] {
  display: none;
}

.accent-overlay[b-gwmojdbocq] {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 255, 255, 0.15),
    transparent 40%
  );
  pointer-events: none;
}

.accent-content[b-gwmojdbocq] {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: #fff;
  padding: 2rem 1.5rem;
}

.accent-content[b-gwmojdbocq]  .mud-chip {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.accent-content[b-gwmojdbocq]  .mud-chip .mud-chip-icon {
  color: #fff !important;
}

.accent-title[b-gwmojdbocq] {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.accent-text[b-gwmojdbocq] {
  color: #fff;
  line-height: 1.6;
}

.login-brand[b-gwmojdbocq] {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}

.brand-logo[b-gwmojdbocq] {
  height: 200px;
  width: auto;
  display: block;
  object-fit: contain;
  padding: 8px;
  background: #f1f5f8;
  border-radius: 18px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.1));
}

.brand-mark[b-gwmojdbocq] {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 60%, #1d4ed8 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3);
}

.brand-mark[b-gwmojdbocq]  .mud-icon-root {
  color: #fff !important;
}

.brand-text[b-gwmojdbocq] {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.brand-kicker[b-gwmojdbocq] {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3b82f6;
}

.brand-title[b-gwmojdbocq] {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.brand-sub[b-gwmojdbocq] {
  font-size: 0.95rem;
  color: #334155;
}

.login-cta[b-gwmojdbocq] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.login-cta[b-gwmojdbocq]  .mud-chip {
  width: fit-content;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.cta-title[b-gwmojdbocq] {
  color: #0f172a;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin: 0.25rem 0;
}

.cta-sub[b-gwmojdbocq] {
  color: #64748b;
  font-size: 0.938rem;
  line-height: 1.5;
}

.login-card[b-gwmojdbocq] {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06),
    0 2px 8px rgba(59, 130, 246, 0.04);
}

/* Modern Input Fields */
.login-card[b-gwmojdbocq]  .mud-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.login-card[b-gwmojdbocq]  .mud-input-root {
  margin-bottom: 0;
}

.login-card[b-gwmojdbocq]  .mud-input-control-input-container {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.9),
    rgba(241, 245, 249, 0.8)
  );
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.login-card[b-gwmojdbocq]  .mud-input-control-input-container:hover {
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 1),
    rgba(241, 245, 249, 0.95)
  );
  border-color: rgba(147, 197, 253, 0.7);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.login-card[b-gwmojdbocq]
  
  .mud-input-root.mud-input-root-filled:focus-within
  .mud-input-control-input-container,
.login-card[b-gwmojdbocq]
  
  .mud-input-root.mud-input-root-filled.mud-input-focused
  .mud-input-control-input-container {
  background: rgba(255, 255, 255, 1);
  border-color: #3b82f6;
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1),
    0 8px 20px rgba(59, 130, 246, 0.15);
}

.login-card[b-gwmojdbocq]  .mud-input {
  padding: 1rem 1.125rem;
  font-size: 0.938rem;
  font-weight: 500;
  color: #0f172a;
  background: transparent;
}

.login-card[b-gwmojdbocq]  .mud-input::placeholder {
  color: #3b82f6;
  opacity: 1;
}

.login-card[b-gwmojdbocq]  .mud-input-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #3b82f6;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.login-card[b-gwmojdbocq]
  
  .mud-input-root.mud-input-root-filled.mud-input-focused
  .mud-input-label,
.login-card[b-gwmojdbocq]
  
  .mud-input-root.mud-input-root-filled:focus-within
  .mud-input-label {
  color: #3b82f6;
  font-weight: 700;
}

.login-card[b-gwmojdbocq]  .mud-input-adornment {
  color: #3b82f6;
  transition: all 0.2s ease;
}

.login-card[b-gwmojdbocq]
  
  .mud-input-root.mud-input-root-filled.mud-input-focused
  .mud-input-adornment,
.login-card[b-gwmojdbocq]
  
  .mud-input-root.mud-input-root-filled:focus-within
  .mud-input-adornment {
  color: #3b82f6;
}

.login-card[b-gwmojdbocq]  .mud-input-adornment.mud-input-adornment-start {
  margin-right: 0.75rem;
}

.login-card[b-gwmojdbocq]  .mud-input-underline {
  display: none;
}

.login-card[b-gwmojdbocq]  .mud-input-slot {
  padding: 0;
}

/* Alert Styling */
.login-alert[b-gwmojdbocq] {
  margin-bottom: 1rem;
}

.login-card[b-gwmojdbocq]  .mud-alert {
  border-radius: 10px;
  border-left-width: 4px;
  font-weight: 500;
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.08) 0%,
    rgba(220, 38, 38, 0.05) 100%
  );
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
}

/* Submit Button */
.login-submit[b-gwmojdbocq] {
  border-radius: 14px;
  font-weight: 700;
  height: 52px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35),
    0 2px 6px rgba(37, 99, 235, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.login-submit[b-gwmojdbocq]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.login-submit:active[b-gwmojdbocq]::before {
  width: 300px;
  height: 300px;
}

.login-submit:hover[b-gwmojdbocq] {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45),
    0 4px 10px rgba(37, 99, 235, 0.35);
}

.login-submit:active[b-gwmojdbocq] {
  transform: translateY(0);
}

.login-footer[b-gwmojdbocq] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.813rem;
  padding: 0.5rem 0 0 0;
}

.login-footer .mud-typography[b-gwmojdbocq] {
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 960px) {
  .login-grid[b-gwmojdbocq] {
    grid-template-columns: 1fr;
  }

  .login-panel.accent[b-gwmojdbocq] {
    order: -1;
  }
}

@media (max-width: 640px) {
  .login-page[b-gwmojdbocq] {
    padding: 1rem;
  }

  .login-panel.glass[b-gwmojdbocq] {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .login-card[b-gwmojdbocq] {
    padding: 1.5rem;
  }

  .login-submit[b-gwmojdbocq] {
    height: 48px;
  }

  .brand-mark[b-gwmojdbocq] {
    width: 48px;
    height: 48px;
  }

  .brand-title[b-gwmojdbocq] {
    font-size: 1.25rem;
  }

  .cta-title[b-gwmojdbocq] {
    font-size: 1.5rem;
  }
}
/* /Pages/Help/PointsTemplate.razor.rz.scp.css */
.tpl-page[b-93vawgsrmt] {
  min-height: 100vh;
  background: radial-gradient(120% 120% at 10% 20%, rgba(59, 130, 246, 0.1), transparent 40%),
              radial-gradient(90% 90% at 90% 0%, rgba(16, 185, 129, 0.12), transparent 45%),
              #f8fafc;
  padding: 2.5rem;
}

.glass[b-93vawgsrmt] {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.tpl-hero[b-93vawgsrmt] {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.tpl-hero[b-93vawgsrmt]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 120% 20%, rgba(59, 130, 246, 0.08), transparent 55%),
              radial-gradient(60% 60% at 0% 0%, rgba(16, 185, 129, 0.08), transparent 60%);
  pointer-events: none;
}

.tpl-hero-left[b-93vawgsrmt] {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tpl-title[b-93vawgsrmt] {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.tpl-subtitle[b-93vawgsrmt] {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  max-width: 720px;
}

.hero-badge[b-93vawgsrmt] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.12));
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-actions[b-93vawgsrmt] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn[b-93vawgsrmt] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.btn.primary[b-93vawgsrmt] {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.btn.primary:hover[b-93vawgsrmt] { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28); }

.btn.secondary[b-93vawgsrmt] {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.25);
}

.btn.secondary:hover[b-93vawgsrmt] { background: rgba(37, 99, 235, 0.15); }

.btn.ghost[b-93vawgsrmt] {
  background: rgba(226, 232, 240, 0.8);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.5);
}

.btn.ghost:hover[b-93vawgsrmt] { background: rgba(226, 232, 240, 1); }

.hero-tags[b-93vawgsrmt] {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag[b-93vawgsrmt] {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.tag.primary[b-93vawgsrmt] { background: rgba(37, 99, 235, 0.1); color: #1d4ed8; border-color: rgba(37, 99, 235, 0.18); }
.tag.success[b-93vawgsrmt] { background: rgba(22, 163, 74, 0.12); color: #15803d; border-color: rgba(22, 163, 74, 0.2); }
.tag.info[b-93vawgsrmt] { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; border-color: rgba(14, 165, 233, 0.2); }

.tpl-hero-right[b-93vawgsrmt] {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-card[b-93vawgsrmt] {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-head[b-93vawgsrmt] {
  display: flex;
  gap: 0.5rem;
}

.file-pill[b-93vawgsrmt] {
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.85rem;
}

.file-pill.alt[b-93vawgsrmt] {
  background: rgba(16, 185, 129, 0.12);
  color: #0f9b74;
}

.file-title[b-93vawgsrmt] {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.file-meta[b-93vawgsrmt] {
  color: #475569;
  font-size: 0.95rem;
}

.file-footer[b-93vawgsrmt] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.hint-label[b-93vawgsrmt] {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hint-value[b-93vawgsrmt] {
  font-weight: 700;
  color: #0f172a;
}

.tpl-grid[b-93vawgsrmt] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.panel[b-93vawgsrmt] {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.panel-head[b-93vawgsrmt] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-kicker[b-93vawgsrmt] {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
  font-size: 0.8rem;
}

.panel-title[b-93vawgsrmt] {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.panel-sub[b-93vawgsrmt] {
  color: #475569;
  font-size: 0.95rem;
  margin-top: 0.1rem;
}

.panel-body[b-93vawgsrmt] {
  color: #0f172a;
}

.bullet-list[b-93vawgsrmt] {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.bullet-list li[b-93vawgsrmt] {
  color: #334155;
}

.steps-list[b-93vawgsrmt] {
  display: grid;
  gap: 0.85rem;
}

.step[b-93vawgsrmt] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.step-id[b-93vawgsrmt] {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.step-title[b-93vawgsrmt] {
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.step-desc[b-93vawgsrmt] {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .tpl-hero[b-93vawgsrmt] {
    grid-template-columns: 1fr;
  }
  .tpl-grid[b-93vawgsrmt] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tpl-page[b-93vawgsrmt] {
    padding: 1.5rem;
  }
  .tpl-title[b-93vawgsrmt] {
    font-size: 2rem;
  }
  .panel-head[b-93vawgsrmt] {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* /Pages/Index.razor.rz.scp.css */
.landing[b-2sok1rc4o3] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.landing-logo[b-2sok1rc4o3] {
  height: 96px;
  width: auto;
}

.cards[b-2sok1rc4o3] {
  width: 100%;
  max-width: 980px;
}

/* /Pages/Settings/UsageManagement.razor.rz.scp.css */
/* Container principal avec fond dégradé et grille */
.usage-container[b-5skbjl5plo] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding: 2rem;
  position: relative;
  overflow: visible;
}

.usage-container[b-5skbjl5plo]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(59, 130, 246, 0.05) 2px,
      rgba(59, 130, 246, 0.05) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(59, 130, 246, 0.05) 2px,
      rgba(59, 130, 246, 0.05) 4px
    );
  pointer-events: none;
  z-index: 0;
}

.usage-content[b-5skbjl5plo] {
  position: relative;
  z-index: 1;
}

/* Typo globale de la page */
:host[b-5skbjl5plo] {
  font-family:
    "Inter",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: #0f172a;
}

/* Header principal */
.usage-header[b-5skbjl5plo] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-5skbjl5plo 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.usage-title[b-5skbjl5plo] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.usage-subtitle[b-5skbjl5plo] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.usage-stat-chip[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-5skbjl5plo 0.8s ease both;
}

.usage-stat-chip:hover[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

@keyframes fadeIn-b-5skbjl5plo {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Boutons d'action modernes */
.action-buttons-container[b-5skbjl5plo] {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.add-category-btn[b-5skbjl5plo] {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.12),
    rgba(139, 92, 246, 0.12)
  );
  border: 2px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #a855f7;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.1);
}

.add-category-btn:hover[b-5skbjl5plo] {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.18),
    rgba(139, 92, 246, 0.18)
  );
  border-color: rgba(168, 85, 247, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
}

.add-category-icon[b-5skbjl5plo] {
  font-size: 1.5rem;
  animation: pulse-b-5skbjl5plo 2s infinite;
}

.add-usage-btn[b-5skbjl5plo] {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.12)
  );
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.add-usage-btn:hover[b-5skbjl5plo] {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.18),
    rgba(37, 99, 235, 0.18)
  );
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.add-usage-icon[b-5skbjl5plo] {
  font-size: 1.5rem;
  animation: pulse-b-5skbjl5plo 2s infinite;
}

@keyframes pulse-b-5skbjl5plo {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.refresh-btn[b-5skbjl5plo] {
  background: rgba(248, 250, 252, 0.9);
  border: 2px solid rgba(203, 213, 225, 0.6);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
}

.refresh-btn:hover[b-5skbjl5plo] {
  background: rgba(241, 245, 249, 1);
  border-color: rgba(100, 116, 139, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(100, 116, 139, 0.15);
}

/* Dialog moderne - Style harmonisé */
.dialog-header[b-5skbjl5plo] {
  position: relative;
  padding: 2rem 2rem 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(59, 130, 246, 0.15);
  overflow: hidden;
}

.dialog-header[b-5skbjl5plo]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.03) 0%,
    rgba(37, 99, 235, 0.03) 100%
  );
  pointer-events: none;
}

.dialog-title[b-5skbjl5plo] {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.dialog-icon[b-5skbjl5plo] {
  width: 44px;
  height: 44px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.12)
  );
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.dialog-content-custom[b-5skbjl5plo] {
  padding: 2rem;
  background: rgba(248, 250, 252, 0.4);
  position: relative;
}

.form-field[b-5skbjl5plo] {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-field:last-child[b-5skbjl5plo] {
  margin-bottom: 0;
}

.form-field-label[b-5skbjl5plo] {
  font-weight: 600;
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-field-label[b-5skbjl5plo]::before {
  content: "";
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  border-radius: 2px;
}

.dialog-actions[b-5skbjl5plo] {
  display: flex;
  gap: 0.75rem;
  padding: 1.75rem 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
}

.dialog-btn-cancel[b-5skbjl5plo] {
  background: rgba(248, 250, 252, 0.9);
  border: 2px solid rgba(203, 213, 225, 0.6);
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.dialog-btn-cancel:hover[b-5skbjl5plo] {
  background: rgba(241, 245, 249, 1);
  border-color: rgba(100, 116, 139, 0.5);
  color: #334155;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dialog-btn-cancel:active[b-5skbjl5plo] {
  transform: translateY(0);
}

.dialog-btn-submit[b-5skbjl5plo] {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.12)
  );
  border: 2px solid rgba(59, 130, 246, 0.4);
  padding: 0.75rem 2rem;
  border-radius: 10px;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.dialog-btn-submit:hover[b-5skbjl5plo] {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.18),
    rgba(37, 99, 235, 0.18)
  );
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.dialog-btn-submit:active[b-5skbjl5plo] {
  transform: translateY(0);
}

@keyframes slideDown-b-5skbjl5plo {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Usage Inline Loader */
.usage-inline-loader[b-5skbjl5plo] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  color: #64748b;
  font-weight: 500;
}

/* Empty State */
.empty-state[b-5skbjl5plo] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
  background: rgba(248, 250, 252, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Layout principal avec liste et panel */
.usage-layout[b-5skbjl5plo] {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.usage-list-container[b-5skbjl5plo] {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
}

/* Barre de recherche */
.usage-search-bar[b-5skbjl5plo] {
  padding: 0.75rem 1rem;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Section catégorie */
.category-section[b-5skbjl5plo] {
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.category-section:last-child[b-5skbjl5plo] {
  border-bottom: none;
}

.category-section-header[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(37, 99, 235, 0.03)
  );
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.category-section-info[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-section-name[b-5skbjl5plo] {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

/* Ligne usage */
.usage-row[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.usage-row:hover[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.04);
  border-left-color: rgba(59, 130, 246, 0.3);
}

.usage-row-selected[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.08) !important;
  border-left-color: #3b82f6 !important;
}

.usage-row-main[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.usage-row-name[b-5skbjl5plo] {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
}

.usage-row-desc[b-5skbjl5plo] {
  font-size: 0.8rem;
  color: #64748b;
}

.usage-row-actions[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.usage-badge[b-5skbjl5plo] {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.usage-badge.success[b-5skbjl5plo] {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.usage-badge.info[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  font-family: monospace;
}

.empty-category-row[b-5skbjl5plo] {
  padding: 1rem 2.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
  font-style: italic;
}

/* Sections Métier */
.metier-section[b-5skbjl5plo] {
  margin-bottom: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.metier-section-header[b-5skbjl5plo] {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  padding: 1rem 1.5rem;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.metier-section-header[b-5skbjl5plo]::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

.metier-section-info[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.metier-icon[b-5skbjl5plo] {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.metier-section-name[b-5skbjl5plo] {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.metier-usage-count[b-5skbjl5plo] {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: auto;
}

/* Section Catégorie dans un métier */
.metier-section .category-section[b-5skbjl5plo] {
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  margin: 0;
}

.metier-section .category-section:last-child[b-5skbjl5plo] {
  border-bottom: none;
}

.metier-section .category-section-header[b-5skbjl5plo] {
  padding: 0.65rem 1.25rem 0.65rem 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(37, 99, 235, 0.02));
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  border-left: 4px solid rgba(59, 130, 246, 0.5);
}

.metier-section .category-section-name[b-5skbjl5plo] {
  font-weight: 600;
  color: #1e40af;
  font-size: 0.9rem;
}

.metier-section .category-section-header .mud-chip[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.1) !important;
  color: #1e40af !important;
  font-size: 0.75rem;
}

.metier-section .category-section-header .mud-chip .mud-chip-content[b-5skbjl5plo] {
  color: #1e40af !important;
}

.metier-section .usage-row[b-5skbjl5plo] {
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.6);
}

.metier-section .usage-row:hover[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.05);
  border-left-color: rgba(59, 130, 246, 0.3);
}

.metier-section .usage-row-selected[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.08) !important;
  border-left-color: #3b82f6 !important;
}

.metier-section .usage-row-name[b-5skbjl5plo] {
  color: #334155;
  font-weight: 500;
  font-size: 0.875rem;
}

.metier-section .usage-row-desc[b-5skbjl5plo] {
  color: #64748b;
  font-size: 0.8rem;
}

.metier-section .empty-category-row[b-5skbjl5plo] {
  padding: 0.75rem 2.5rem;
  color: #94a3b8;
  font-size: 0.8rem;
  font-style: italic;
  background: rgba(248, 250, 252, 0.5);
}

/* Panel seuils sticky */
.threshold-side-panel[b-5skbjl5plo] {
  width: 320px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.threshold-side-header[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(37, 99, 235, 0.03)
  );
  border-radius: 12px 12px 0 0;
}

.threshold-side-title[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
}

.threshold-side-content[b-5skbjl5plo] {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.threshold-items[b-5skbjl5plo] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.threshold-row[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.threshold-row:hover[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
}

.threshold-row-selected[b-5skbjl5plo] {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.threshold-row-info[b-5skbjl5plo] {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.threshold-row-name[b-5skbjl5plo] {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.85rem;
}

.threshold-row-values[b-5skbjl5plo] {
  display: flex;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #64748b;
}

.no-thresholds[b-5skbjl5plo] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
  background: rgba(248, 250, 252, 0.6);
  border-radius: 8px;
  border: 1px dashed rgba(203, 213, 225, 0.8);
}

.threshold-form[b-5skbjl5plo] {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.threshold-form-header-row[b-5skbjl5plo] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.threshold-form-header[b-5skbjl5plo] {
  font-weight: 600;
  color: #475569;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.threshold-form-grid[b-5skbjl5plo] {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0.5rem;
}

/* Error */
.error-paper[b-5skbjl5plo] {
  border-left: 6px solid #e53935;
  background: linear-gradient(135deg, #fff7f7 0%, #ffe8e8 100%);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.12);
}

/* Loader */
.site-loader[b-5skbjl5plo] {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.site-loader[b-5skbjl5plo]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(100, 116, 139, 0.05) 2px,
      rgba(100, 116, 139, 0.05) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(100, 116, 139, 0.05) 2px,
      rgba(100, 116, 139, 0.05) 4px
    );
  pointer-events: none;
  z-index: 0;
}

.loader-card[b-5skbjl5plo] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  max-width: 560px;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: slideDown-b-5skbjl5plo 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-icon[b-5skbjl5plo] {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(100, 116, 139, 0.16),
    rgba(71, 85, 105, 0.16)
  );
  border: 1px solid rgba(100, 116, 139, 0.3);
  display: grid;
  place-items: center;
  color: #475569;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(100, 116, 139, 0.2);
}

.loader-body[b-5skbjl5plo] {
  display: grid;
  gap: 0.35rem;
}

.loader-title[b-5skbjl5plo] {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.loader-sub[b-5skbjl5plo] {
  color: #475569;
  font-weight: 500;
}

.loader-bar[b-5skbjl5plo] {
  border-radius: 999px;
  height: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .usage-layout[b-5skbjl5plo] {
    flex-direction: column;
  }

  .threshold-side-panel[b-5skbjl5plo] {
    width: 100%;
    position: relative;
    top: 0;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .usage-row[b-5skbjl5plo] {
    padding-left: 1rem;
  }

  .usage-row-main[b-5skbjl5plo] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .threshold-form-grid[b-5skbjl5plo] {
    grid-template-columns: 1fr;
  }
}
/* /Pages/Sites/Home.razor.rz.scp.css */
/* ── Page container ─────────────────────────────────────────────────────── */
.home-page-container[b-f3b23a8c1e] {
  padding: 1.5rem 0 2rem;
  margin: 0;
}

/* ── Hero banner ─────────────────────────────────────────────────────────── */
.home-hero[b-f3b23a8c1e] {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  margin-bottom: 1.75rem;
  background: #0f172a;
}

.home-hero-bg[b-f3b23a8c1e] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: blur(0.5px) brightness(0.9);
  transform: scale(1.02);
}

.home-hero-overlay[b-f3b23a8c1e] {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.18) 30%,
    rgba(10, 12, 20, 0.88) 100%
  );
}

.home-hero-bottom[b-f3b23a8c1e] {
  position: relative;
  z-index: 2;
  padding: 0 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-hero-stats[b-f3b23a8c1e] {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.25rem;
}

.home-hero-stat[b-f3b23a8c1e] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
}

.home-hero-stat-value[b-f3b23a8c1e] {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.home-hero-stat-label[b-f3b23a8c1e] {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-hero-stat-divider[b-f3b23a8c1e] {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
}

.home-hero-title-row[b-f3b23a8c1e] {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.home-hero-accent[b-f3b23a8c1e] {
  width: 4px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6b00, #ff9f66);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.home-hero-title-block[b-f3b23a8c1e] {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.home-hero-eyebrow[b-f3b23a8c1e] {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.home-hero-title[b-f3b23a8c1e] {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.home-hero-cta[b-f3b23a8c1e] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: rgba(255, 107, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 150, 80, 0.5);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.home-hero-cta:hover[b-f3b23a8c1e] {
  background: rgba(255, 107, 0, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.45);
  color: #ffffff;
  text-decoration: none;
}

/* ── Section switcher ────────────────────────────────────────────────────── */
.section-switcher[b-f3b23a8c1e] {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 0.35rem;
  width: fit-content;
}

.section-btn[b-f3b23a8c1e] {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.section-btn:hover[b-f3b23a8c1e] {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.section-btn.active[b-f3b23a8c1e] {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.section-btn-dot[b-f3b23a8c1e] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pending-dot[b-f3b23a8c1e] { background: #f59e0b; }
.done-dot[b-f3b23a8c1e]    { background: #10b981; }

.section-btn-count[b-f3b23a8c1e] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  transition: all 0.2s ease;
}

.section-btn.active .section-btn-count[b-f3b23a8c1e] {
  background: rgba(255, 107, 0, 0.12);
  color: #ff6b00;
}

/* ── Sites grid ──────────────────────────────────────────────────────────── */
.sites-grid[b-f3b23a8c1e] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  animation: fadeInUp-b-f3b23a8c1e 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInUp-b-f3b23a8c1e {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Site card — hero style ──────────────────────────────────────────────── */
.site-card[b-f3b23a8c1e] {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-card:hover[b-f3b23a8c1e] {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.site-card-link[b-f3b23a8c1e] {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Background image — fills the entire card */
.site-card-bg[b-f3b23a8c1e] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92);
  transform: scale(1.02);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.4s ease;
}

.site-card:hover .site-card-bg[b-f3b23a8c1e] {
  transform: scale(1.08);
  filter: brightness(0.80);
}

/* Placeholder when no image */
.site-card-bg-placeholder[b-f3b23a8c1e] {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-card-bg-icon[b-f3b23a8c1e] {
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.12);
}

/* Gradient overlay — dark at bottom */
.site-card-overlay[b-f3b23a8c1e] {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.0) 0%,
    rgba(0, 0, 0, 0.12) 40%,
    rgba(10, 12, 20, 0.85) 100%
  );
  transition: background 0.3s ease;
}

.site-card:hover .site-card-overlay[b-f3b23a8c1e] {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(10, 12, 20, 0.92) 100%
  );
}

/* Status badge — top right */
.site-card-status-badge[b-f3b23a8c1e] {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.pending-badge[b-f3b23a8c1e] {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.done-badge[b-f3b23a8c1e] {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

/* Bottom bar: accent + title + arrow */
.site-card-body[b-f3b23a8c1e] {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 1rem 1rem 1rem 0.875rem;
}

.site-card-accent[b-f3b23a8c1e] {
  width: 3px;
  min-height: 32px;
  border-radius: 999px;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.pending-accent[b-f3b23a8c1e] { background: linear-gradient(180deg, #f59e0b, #fbbf24); }
.done-accent[b-f3b23a8c1e]    { background: linear-gradient(180deg, #10b981, #34d399); }

.site-card-info[b-f3b23a8c1e] {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.site-card-label[b-f3b23a8c1e] {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-card-title[b-f3b23a8c1e] {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-card-arrow[b-f3b23a8c1e] {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
  padding-bottom: 2px;
}

.site-card:hover .site-card-arrow[b-f3b23a8c1e] {
  color: rgba(255, 255, 255, 0.85);
  transform: translateX(3px);
}

/* Delete button */
.site-card-delete[b-f3b23a8c1e] {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: all 0.25s ease;
}

.site-card:hover .site-card-delete[b-f3b23a8c1e] { opacity: 1; }

.site-card-delete:hover[b-f3b23a8c1e] {
  background: rgba(239, 68, 68, 0.8);
  border-color: #ef4444;
  color: #ffffff;
  transform: scale(1.1);
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty-state[b-f3b23a8c1e] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
  animation: fadeInUp-b-f3b23a8c1e 0.4s ease both;
}

.empty-icon-wrap[b-f3b23a8c1e] {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.empty-title[b-f3b23a8c1e] {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.empty-sub[b-f3b23a8c1e] {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .home-hero[b-f3b23a8c1e] { height: 200px; border-radius: 16px; }
  .home-hero-title[b-f3b23a8c1e] { font-size: 1.9rem; }

  .sites-grid[b-f3b23a8c1e] {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
  }

  .site-card-delete[b-f3b23a8c1e] { opacity: 1; }
}

@media (max-width: 600px) {
  .home-hero[b-f3b23a8c1e] { height: 180px; border-radius: 14px; }
  .home-hero-title[b-f3b23a8c1e] { font-size: 1.6rem; }
  .home-hero-cta[b-f3b23a8c1e] { display: none; }
  .home-hero-bottom[b-f3b23a8c1e] { padding: 0 1.25rem 1.25rem; }

  .sites-grid[b-f3b23a8c1e] { grid-template-columns: 1fr; }
  .site-card[b-f3b23a8c1e] { height: 180px; }
}
/* /Pages/Sites/SiteCreate.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════ */
/* B4U SITE CREATE - Orange Theme                                  */
/* ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════ */
/* ERROR BANNER                                                    */
/* ═══════════════════════════════════════════════════════════════ */
.error-banner[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fca5a5;
    border-radius: 10px;
    color: #dc2626;
    font-weight: 500;
    margin-bottom: 20px;
    animation: slideDown-b-mj73by3nwv 0.3s ease;
}
.error-banner svg[b-mj73by3nwv] { width: 22px; height: 22px; flex-shrink: 0; fill: #dc2626; }

/* ═══════════════════════════════════════════════════════════════ */
/* HERO HEADER - Style ESPACE B4U                                  */
/* ═══════════════════════════════════════════════════════════════ */
.create-hero[b-mj73by3nwv] {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0.04) 100%);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    animation: slideDown-b-mj73by3nwv 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.create-hero-bg[b-mj73by3nwv] {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.create-hero-content[b-mj73by3nwv] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    gap: 24px;
    flex-wrap: wrap;
}

.create-hero-left[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.create-hero-icon[b-mj73by3nwv] {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 50%, #ff9f66 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
    transition: transform 0.3s ease;
}
.create-hero:hover .create-hero-icon[b-mj73by3nwv] { transform: scale(1.05) rotate(3deg); }
.create-hero-icon svg[b-mj73by3nwv] { width: 32px; height: 32px; fill: #fff; }

.create-hero-text[b-mj73by3nwv] { display: flex; flex-direction: column; gap: 4px; }

.create-hero-badge[b-mj73by3nwv] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #64748b;
    text-transform: uppercase;
    width: fit-content;
}

.create-hero-title[b-mj73by3nwv] {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 50%, #cc5500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.create-hero-subtitle[b-mj73by3nwv] {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

.create-hero-actions[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* BUTTONS                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.btn-ghost[b-mj73by3nwv], .btn-outline[b-mj73by3nwv], .btn-primary[b-mj73by3nwv] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
    font-family: inherit;
}
.btn-ghost svg[b-mj73by3nwv], .btn-outline svg[b-mj73by3nwv], .btn-primary svg[b-mj73by3nwv] { width: 18px; height: 18px; flex-shrink: 0; }

.btn-ghost[b-mj73by3nwv] {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #64748b;
}
.btn-ghost svg[b-mj73by3nwv] { fill: #64748b; }
.btn-ghost:hover[b-mj73by3nwv] { background: #f1f5f9; border-color: #cbd5e1; transform: translateY(-1px); }

.btn-outline[b-mj73by3nwv] {
    background: transparent;
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: #ff6b00;
}
.btn-outline svg[b-mj73by3nwv] { fill: #ff6b00; }
.btn-outline:hover[b-mj73by3nwv] { background: rgba(255, 107, 0, 0.08); border-color: #ff6b00; }

.btn-primary[b-mj73by3nwv] {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}
.btn-primary svg[b-mj73by3nwv] { fill: #fff; }
.btn-primary:hover[b-mj73by3nwv] { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4); }
.btn-primary:disabled[b-mj73by3nwv] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-sm[b-mj73by3nwv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    border: none;
}
.btn-sm svg[b-mj73by3nwv] { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm.btn-outline[b-mj73by3nwv] { background: transparent; border: 1px solid #e2e8f0; color: #64748b; }
.btn-sm.btn-outline svg[b-mj73by3nwv] { fill: #64748b; }
.btn-sm.btn-outline:hover[b-mj73by3nwv] { border-color: #3b82f6; color: #3b82f6; background: rgba(59, 130, 246, 0.05); }
.btn-sm.btn-outline:hover svg[b-mj73by3nwv] { fill: #3b82f6; }
.btn-sm.btn-ghost[b-mj73by3nwv] { background: transparent; color: #64748b; border: none; }
.btn-sm.btn-ghost svg[b-mj73by3nwv] { fill: #64748b; }
.btn-sm.btn-ghost:hover[b-mj73by3nwv] { color: #3b82f6; }
.btn-sm.btn-ghost:hover svg[b-mj73by3nwv] { fill: #3b82f6; }

/* ═══════════════════════════════════════════════════════════════ */
/* STEP INDICATOR                                                  */
/* ═══════════════════════════════════════════════════════════════ */
.step-indicator[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 16px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}
.step-item[b-mj73by3nwv] { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 8px 18px; border-radius: 10px; transition: all 0.3s; }
.step-item:hover[b-mj73by3nwv] { background: rgba(255,107,0,0.06); }
.step-circle[b-mj73by3nwv] {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
    background: #e2e8f0; color: #64748b;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.step-item.active .step-circle[b-mj73by3nwv] { background: linear-gradient(135deg, #ff6b00, #ff8533); color: #fff; box-shadow: 0 4px 16px rgba(255,107,0,0.35); }
.step-item.done .step-circle[b-mj73by3nwv] { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.step-item span[b-mj73by3nwv] { font-size: 0.9rem; font-weight: 500; color: #64748b; transition: color 0.3s; }
.step-item.active span[b-mj73by3nwv], .step-item.done span[b-mj73by3nwv] { color: #0f172a; }
.step-line[b-mj73by3nwv] { width: 60px; height: 3px; background: #e2e8f0; border-radius: 99px; margin: 0 8px; transition: background 0.4s; }
.step-line.active[b-mj73by3nwv] { background: linear-gradient(90deg, #22c55e, #ff6b00); }

/* ═══════════════════════════════════════════════════════════════ */
/* LOADING SPINNER                                                 */
/* ═══════════════════════════════════════════════════════════════ */
.loading-spinner[b-mj73by3nwv] {
    display: flex;
    justify-content: center;
    padding: 60px 0;
}
.spinner[b-mj73by3nwv] {
    width: 48px;
    height: 48px;
    border: 4px solid #f1f5f9;
    border-top-color: #ff6b00;
    border-radius: 50%;
    animation: spin-b-mj73by3nwv 0.8s linear infinite;
}
@keyframes spin-b-mj73by3nwv { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════ */
/* FORM LAYOUT                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.form-layout[b-mj73by3nwv] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin-top: 20px;
}
@media (max-width: 1100px) { .form-layout[b-mj73by3nwv] { grid-template-columns: 1fr; } }

.form-main[b-mj73by3nwv] { display: flex; flex-direction: column; gap: 20px; }

/* ═══════════════════════════════════════════════════════════════ */
/* FORM SECTIONS                                                   */
/* ═══════════════════════════════════════════════════════════════ */
.form-section[b-mj73by3nwv] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    animation: fadeUp-b-mj73by3nwv 0.5s ease both;
}
.form-section:nth-child(1)[b-mj73by3nwv] { animation-delay: 0s; }
.form-section:nth-child(2)[b-mj73by3nwv] { animation-delay: 0.1s; }
.form-section:nth-child(3)[b-mj73by3nwv] { animation-delay: 0.2s; }
.form-section:nth-child(4)[b-mj73by3nwv] { animation-delay: 0.3s; }

@keyframes fadeUp-b-mj73by3nwv {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}
.section-header svg.section-icon[b-mj73by3nwv] { width: 24px; height: 24px; fill: #64748b; flex-shrink: 0; }
.section-header h2[b-mj73by3nwv] { margin: 0; font-size: 1.05rem; font-weight: 700; color: #0f172a; }
.section-header .badge[b-mj73by3nwv] {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: #e2e8f0;
    color: #475569;
}

/* ═══════════════════════════════════════════════════════════════ */
/* FORM GRID & FIELDS                                              */
/* ═══════════════════════════════════════════════════════════════ */
.form-grid[b-mj73by3nwv] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 22px;
}
@media (max-width: 600px) { .form-grid[b-mj73by3nwv] { grid-template-columns: 1fr; } }
.form-field.full-width[b-mj73by3nwv] { grid-column: 1 / -1; }

.form-field label[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}
.form-field label svg[b-mj73by3nwv] { width: 16px; height: 16px; fill: #94a3b8; flex-shrink: 0; }
.form-field label.required[b-mj73by3nwv]::after { content: ' *'; color: #ef4444; font-weight: 700; }

.form-field input[type="text"][b-mj73by3nwv],
.form-field input[type="number"][b-mj73by3nwv],
.form-field input[type="date"][b-mj73by3nwv],
.form-field input[type="url"][b-mj73by3nwv] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #0f172a;
    background: #fff;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}
.form-field input:focus[b-mj73by3nwv] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.form-field input[b-mj73by3nwv]::placeholder { color: #94a3b8; }
.form-field input:disabled[b-mj73by3nwv] { background: #f1f5f9; cursor: not-allowed; color: #94a3b8; }

/* File upload */
.file-input-label[b-mj73by3nwv] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px dashed rgba(99, 102, 241, 0.4);
    border-radius: 12px;
    color: #4338ca;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}
.file-input-label:hover[b-mj73by3nwv] {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border-color: rgba(99, 102, 241, 0.6);
}
.file-input-label:active[b-mj73by3nwv] {
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════ */
/* SEARCH BOX                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.search-box[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin: 16px 22px 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}
.search-box svg[b-mj73by3nwv] { width: 20px; height: 20px; fill: #94a3b8; flex-shrink: 0; }
.search-box input[b-mj73by3nwv] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #0f172a;
    font-family: inherit;
}
.search-box input:focus[b-mj73by3nwv] { outline: none; }
.search-box input[b-mj73by3nwv]::placeholder { color: #94a3b8; }

/* ═══════════════════════════════════════════════════════════════ */
/* INDICATOR QUICK FILTERS                                         */
/* ═══════════════════════════════════════════════════════════════ */
.indicator-quick-filters[b-mj73by3nwv] {
    display: flex;
    gap: 8px;
    padding: 12px 22px 0;
    flex-wrap: wrap;
}

.btn-quick-filter[b-mj73by3nwv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-family: inherit;
}
.btn-quick-filter svg[b-mj73by3nwv] { width: 16px; height: 16px; flex-shrink: 0; }
.btn-quick-filter:hover[b-mj73by3nwv] { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-quick-filter:disabled[b-mj73by3nwv] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-qf-elec[b-mj73by3nwv] { background: rgba(234,179,8,0.12); border-color: rgba(234,179,8,0.4); color: #b45309; }
.btn-qf-elec svg[b-mj73by3nwv] { fill: #d97706; }
.btn-qf-elec:hover[b-mj73by3nwv] { background: rgba(234,179,8,0.2); border-color: #d97706; }

.btn-qf-eau[b-mj73by3nwv] { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.35); color: #1d4ed8; }
.btn-qf-eau svg[b-mj73by3nwv] { fill: #3b82f6; }
.btn-qf-eau:hover[b-mj73by3nwv] { background: rgba(59,130,246,0.18); border-color: #3b82f6; }

.btn-qf-ec[b-mj73by3nwv] { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.35); color: #b91c1c; }
.btn-qf-ec svg[b-mj73by3nwv] { fill: #ef4444; }
.btn-qf-ec:hover[b-mj73by3nwv] { background: rgba(239,68,68,0.18); border-color: #ef4444; }

.btn-qf-eg[b-mj73by3nwv] { background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.35); color: #0e7490; }
.btn-qf-eg svg[b-mj73by3nwv] { fill: #06b6d4; }
.btn-qf-eg:hover[b-mj73by3nwv] { background: rgba(6,182,212,0.18); border-color: #06b6d4; }

/* ═══════════════════════════════════════════════════════════════ */
/* CHECKBOX GRID                                                   */
/* ═══════════════════════════════════════════════════════════════ */
.checkbox-grid[b-mj73by3nwv] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    padding: 16px 22px;
    max-height: 280px;
    overflow-y: auto;
}

.checkbox-item[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.checkbox-item:hover[b-mj73by3nwv] { background: rgba(59, 130, 246, 0.05); }
.checkbox-item.checked[b-mj73by3nwv] { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.2); }

.checkbox-item input[type="checkbox"][b-mj73by3nwv] { display: none; }
.checkmark[b-mj73by3nwv] {
    width: 20px; height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #fff;
}
.checkbox-item.checked .checkmark[b-mj73by3nwv] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #3b82f6;
}
.checkbox-item.checked .checkmark[b-mj73by3nwv]::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.checkbox-label[b-mj73by3nwv] { font-size: 0.85rem; color: #0f172a; line-height: 1.3; }
.checkbox-label .text-muted[b-mj73by3nwv] { color: #64748b; font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════════════════ */
/* INFO CALLOUT                                                    */
/* ═══════════════════════════════════════════════════════════════ */
.info-callout[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 16px 22px 0;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #1e40af;
}
.info-callout svg[b-mj73by3nwv] { width: 20px; height: 20px; fill: #3b82f6; flex-shrink: 0; }
.info-callout strong[b-mj73by3nwv] { color: #1e3a8a; }

/* ═══════════════════════════════════════════════════════════════ */
/* ACTION ROW                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.action-row[b-mj73by3nwv] {
    display: flex;
    gap: 10px;
    padding: 0 22px 16px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CHIPS                                                           */
/* ═══════════════════════════════════════════════════════════════ */
.chips-container[b-mj73by3nwv] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 22px 18px;
    border-top: 1px solid #e2e8f0;
    margin-top: 8px;
}
.chip[b-mj73by3nwv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2563eb;
}
.chip.secondary[b-mj73by3nwv] { background: rgba(100,116,139,0.1); border-color: rgba(100,116,139,0.2); color: #64748b; }
.chip-close[b-mj73by3nwv] {
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}
.chip-close:hover[b-mj73by3nwv] { background: rgba(0,0,0,0.1); }

/* ═══════════════════════════════════════════════════════════════ */
/* SIDEBAR                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.form-sidebar[b-mj73by3nwv] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}

.preview-card[b-mj73by3nwv], .package-summary[b-mj73by3nwv] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.preview-header[b-mj73by3nwv], .package-summary header[b-mj73by3nwv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}
.preview-header svg[b-mj73by3nwv], .package-summary header svg[b-mj73by3nwv] { width: 20px; height: 20px; fill: #64748b; }

.preview-body[b-mj73by3nwv] { padding: 16px; }
.preview-image[b-mj73by3nwv] {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}
.preview-empty[b-mj73by3nwv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    background: #f8fafc;
    border-radius: 10px;
    color: #94a3b8;
    gap: 8px;
}
.preview-empty svg[b-mj73by3nwv] { width: 40px; height: 40px; fill: #cbd5e1; }
.preview-empty span[b-mj73by3nwv] { font-size: 0.85rem; }

.preview-info[b-mj73by3nwv] { padding: 0 16px 16px; }
.preview-name[b-mj73by3nwv] { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.preview-address[b-mj73by3nwv] { font-size: 0.85rem; color: #64748b; margin-bottom: 8px; }
.preview-surface[b-mj73by3nwv] {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    background: #e2e8f0;
    color: #475569;
    border-radius: 6px;
}

.package-summary[b-mj73by3nwv] { padding: 0 0 16px; }
.package-name[b-mj73by3nwv] { font-size: 1.1rem; font-weight: 700; color: #0f172a; padding: 12px 18px 4px; }
.package-features[b-mj73by3nwv] { font-size: 0.85rem; color: #64748b; padding: 0 18px; }

/* ═══════════════════════════════════════════════════════════════ */
/* ANIMATIONS                                                      */
/* ═══════════════════════════════════════════════════════════════ */
@keyframes slideDown-b-mj73by3nwv {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* PACKAGE SHOWCASE (Step 1)                                       */
/* ═══════════════════════════════════════════════════════════════ */
.pkg-showcase[b-mj73by3nwv] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    align-items: stretch;
    margin-top: 24px;
}
@media(max-width:1400px) { .pkg-showcase[b-mj73by3nwv] { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:960px)  { .pkg-showcase[b-mj73by3nwv] { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px)  { .pkg-showcase[b-mj73by3nwv] { grid-template-columns: 1fr; } }

.pkg-card[b-mj73by3nwv] {
    position: relative;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease;
    border: 3px solid transparent;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    animation: pkgSlideUp-b-mj73by3nwv .45s ease-out both;
}
.pkg-card:nth-child(1)[b-mj73by3nwv] { animation-delay: 0s; }
.pkg-card:nth-child(2)[b-mj73by3nwv] { animation-delay: 0.07s; }
.pkg-card:nth-child(3)[b-mj73by3nwv] { animation-delay: 0.14s; }
.pkg-card:nth-child(4)[b-mj73by3nwv] { animation-delay: 0.21s; }
.pkg-card:nth-child(5)[b-mj73by3nwv] { animation-delay: 0.28s; }

@keyframes pkgSlideUp-b-mj73by3nwv {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}

.pkg-card:hover[b-mj73by3nwv] { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.pkg-card.selected[b-mj73by3nwv] { border-color: #ff6b00; box-shadow: 0 0 0 2px rgba(255,107,0,0.25), 0 16px 40px rgba(255,107,0,0.18); }

.pkg-card-inner[b-mj73by3nwv] { position: relative; z-index: 1; padding: 22px 20px; display: flex; flex-direction: column; flex: 1; }
.pkg-waves[b-mj73by3nwv] { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.pkg-check[b-mj73by3nwv] {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    color: #ff6b00; background: #fff; border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255,107,0,0.3);
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
}
.pkg-check[b-mj73by3nwv]  .mud-icon-root { color: #ff6b00 !important; font-size: 24px !important; }

.pkg-icon-wrap[b-mj73by3nwv] { margin-bottom: 10px; }
.pkg-icon[b-mj73by3nwv] { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.pkg-icon[b-mj73by3nwv]  .mud-icon-root { font-size: 28px !important; }
.pkg-title[b-mj73by3nwv] { font-weight: 900; letter-spacing: -0.02em; margin-bottom: 2px; line-height: 1.15; }
.pkg-subtitle[b-mj73by3nwv] { font-size: 0.78rem; font-weight: 600; font-style: italic; margin-bottom: 8px; line-height: 1.35; }
.pkg-desc[b-mj73by3nwv] { font-size: 0.76rem; line-height: 1.5; margin-bottom: 12px; }
.pkg-includes[b-mj73by3nwv] { margin-top: auto; }
.pkg-includes-header[b-mj73by3nwv] { font-size: 0.8rem; font-weight: 800; margin-bottom: 6px; }
.pkg-inherits[b-mj73by3nwv] { font-size: 0.76rem; font-weight: 600; margin-bottom: 4px; display: flex; align-items: baseline; gap: 6px; }
.pkg-inherits-bullet[b-mj73by3nwv] { font-size: 1.1rem; line-height: 1; }
.pkg-plus-sep[b-mj73by3nwv] { margin: 6px 0; }
.pkg-plus-circle[b-mj73by3nwv] { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(128,128,128,0.3); display: flex; align-items: center; justify-content: center; color: #64748b; }
.pkg-plus-circle[b-mj73by3nwv]  .mud-icon-root { font-size: 14px !important; color: inherit !important; }
.pkg-feat-list[b-mj73by3nwv] { list-style: none; padding: 0; margin: 0; }
.pkg-feat-list li[b-mj73by3nwv] { font-size: 0.74rem; line-height: 1.45; padding: 2px 0 2px 14px; position: relative; }
.pkg-feat-list li[b-mj73by3nwv]::before { content: '\2022'; position: absolute; left: 0; font-weight: 700; }
.pkg-feat-list.highlight li[b-mj73by3nwv] { color: #d97706; font-weight: 500; }
.pkg-feat-list.highlight li[b-mj73by3nwv]::before { color: #d97706; }

/* Package themes */
.pkg-card.energy[b-mj73by3nwv] { background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 50%, #e8f1fb 100%); border-color: rgba(200,215,235,0.6); }
.pkg-card.energy .pkg-icon[b-mj73by3nwv] { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; box-shadow: 0 4px 12px rgba(245,158,11,0.3); }
.pkg-card.energy .pkg-icon[b-mj73by3nwv]  .mud-icon-root { color: #fff !important; }
.pkg-card.energy .pkg-title[b-mj73by3nwv] { font-size: 1.45rem; color: #1e293b; }
.pkg-card.energy .pkg-subtitle[b-mj73by3nwv], .pkg-card.energy .pkg-desc[b-mj73by3nwv] { color: #475569; }
.pkg-card.energy .pkg-includes-header[b-mj73by3nwv] { color: #1e293b; }
.pkg-card.energy .pkg-feat-list li[b-mj73by3nwv] { color: #334155; }

.pkg-card.pkg360[b-mj73by3nwv] { background: linear-gradient(180deg, #ffffff 0%, #fefcf3 40%, #fdf6e3 100%); border-color: rgba(220,210,190,0.5); }
.pkg-card.pkg360 .pkg-icon[b-mj73by3nwv] { background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff; box-shadow: 0 4px 12px rgba(234,88,12,0.3); }
.pkg-card.pkg360 .pkg-icon[b-mj73by3nwv]  .mud-icon-root { color: #fff !important; }
.pkg-card.pkg360 .pkg-title[b-mj73by3nwv] { font-size: 1.45rem; color: #1e293b; }
.pkg-card.pkg360 .pkg-subtitle[b-mj73by3nwv], .pkg-card.pkg360 .pkg-desc[b-mj73by3nwv] { color: #475569; }
.pkg-card.pkg360 .pkg-includes-header[b-mj73by3nwv] { color: #1e293b; }
.pkg-card.pkg360 .pkg-plus-circle[b-mj73by3nwv] { border-color: rgba(217,119,6,0.4); color: #d97706; }
.pkg-card.pkg360 .pkg-plus-circle[b-mj73by3nwv]  .mud-icon-root { color: #d97706 !important; }

.pkg-card.control[b-mj73by3nwv] { background: linear-gradient(165deg, #0c2d5e 0%, #0f3460 30%, #1a4a7a 60%, #1e5a8a 100%); }
.pkg-card.control .pkg-icon[b-mj73by3nwv] { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.pkg-card.control .pkg-icon[b-mj73by3nwv]  .mud-icon-root { color: #fff !important; }
.pkg-card.control .pkg-title[b-mj73by3nwv] { font-size: 2.4rem; color: #fff; text-transform: uppercase; }
.pkg-card.control .pkg-subtitle[b-mj73by3nwv], .pkg-card.control .pkg-desc[b-mj73by3nwv] { color: rgba(255,255,255,0.8); }
.pkg-card.control .pkg-includes-header[b-mj73by3nwv] { color: #fff; }
.pkg-card.control .pkg-inherits[b-mj73by3nwv] { color: rgba(255,255,255,0.85); }
.pkg-card.control .pkg-plus-circle[b-mj73by3nwv] { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.6); }
.pkg-card.control .pkg-plus-circle[b-mj73by3nwv]  .mud-icon-root { color: rgba(255,255,255,0.6) !important; }
.pkg-card.control .pkg-feat-list li[b-mj73by3nwv] { color: rgba(255,255,255,0.8); }
.pkg-card.control .pkg-feat-list li[b-mj73by3nwv]::before { color: rgba(255,255,255,0.8); }
.pkg-card.control .pkg-check[b-mj73by3nwv] { color: #fff; background: rgba(255,255,255,0.2); }
.pkg-card.control .pkg-check[b-mj73by3nwv]  .mud-icon-root { color: #fff !important; }

.pkg-card.echarge[b-mj73by3nwv] { background: linear-gradient(165deg, #2d0a1e 0%, #4a1028 25%, #5c1a35 50%, #3d0f22 100%); }
.pkg-card.echarge .pkg-icon[b-mj73by3nwv] { background: linear-gradient(135deg, #f87171, #dc2626); color: #fff; box-shadow: 0 4px 12px rgba(220,38,38,0.35); }
.pkg-card.echarge .pkg-icon[b-mj73by3nwv]  .mud-icon-root { color: #fff !important; }
.pkg-card.echarge .pkg-title[b-mj73by3nwv] { font-size: 1.3rem; color: #fff; }
.pkg-card.echarge .pkg-subtitle[b-mj73by3nwv], .pkg-card.echarge .pkg-desc[b-mj73by3nwv] { color: rgba(255,255,255,0.8); }
.pkg-card.echarge .pkg-includes-header[b-mj73by3nwv] { color: #fff; }
.pkg-card.echarge .pkg-feat-list li[b-mj73by3nwv] { color: rgba(255,255,255,0.8); }
.pkg-card.echarge .pkg-feat-list li[b-mj73by3nwv]::before { color: rgba(255,255,255,0.8); }
.pkg-card.echarge .pkg-check[b-mj73by3nwv] { color: #fff; background: rgba(255,255,255,0.2); }
.pkg-card.echarge .pkg-check[b-mj73by3nwv]  .mud-icon-root { color: #fff !important; }

.pkg-card.locker[b-mj73by3nwv] { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border-color: rgba(226,232,240,0.6); }
.pkg-card.locker .pkg-icon[b-mj73by3nwv] { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.pkg-card.locker .pkg-icon[b-mj73by3nwv]  .mud-icon-root { color: #fff !important; }
.pkg-card.locker .pkg-title[b-mj73by3nwv] { font-size: 1.3rem; color: #1e293b; }
.pkg-card.locker .pkg-subtitle[b-mj73by3nwv], .pkg-card.locker .pkg-desc[b-mj73by3nwv] { color: #475569; }
.pkg-card.locker .pkg-includes-header[b-mj73by3nwv] { color: #1e293b; }
.pkg-card.locker .pkg-feat-list li[b-mj73by3nwv] { color: #334155; }

.pkg-card.default[b-mj73by3nwv] { background: #fff; border-color: rgba(226,232,240,0.6); }
.pkg-card.default .pkg-icon[b-mj73by3nwv] { background: linear-gradient(135deg,#94a3b8,#64748b); color:#fff; }
.pkg-card.default .pkg-icon[b-mj73by3nwv]  .mud-icon-root { color: #fff !important; }
.pkg-card.default .pkg-title[b-mj73by3nwv] { font-size: 1.3rem; color: #1e293b; }

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                      */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .create-hero-content[b-mj73by3nwv] { padding: 20px 24px; flex-direction: column; align-items: stretch; }
    .create-hero-left[b-mj73by3nwv] { flex-direction: column; text-align: center; }
    .create-hero-icon[b-mj73by3nwv] { align-self: center; }
    .create-hero-badge[b-mj73by3nwv] { align-self: center; }
    .create-hero-actions[b-mj73by3nwv] { justify-content: center; flex-wrap: wrap; }
    .create-hero-title[b-mj73by3nwv] { font-size: 1.6rem; }

    .step-indicator[b-mj73by3nwv] { flex-wrap: wrap; padding: 12px 16px; }
    .step-item span[b-mj73by3nwv] { display: none; }
    .step-line[b-mj73by3nwv] { width: 40px; }
}
/* /Pages/Sites/SiteDetails.razor.rz.scp.css */
/* Typo globale de la page */
:host[b-c2qa40g8hl] {
  font-family:
    "Inter",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: #0f172a;
}

/* Hero Header */
.hero-header[b-c2qa40g8hl] {
  position: relative;
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  margin: 0;
  max-width: 100%;
}

.hero-overlay[b-c2qa40g8hl] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(30, 41, 59, 0.65) 50%,
    rgba(51, 65, 85, 0.7) 100%
  );
  backdrop-filter: blur(2px);
}

.hero-content[b-c2qa40g8hl] {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-title-section[b-c2qa40g8hl] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.hero-title[b-c2qa40g8hl] {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

h1.hero-title[b-c2qa40g8hl],
.hero-title h1[b-c2qa40g8hl] {
  color: #ffffff !important;
}

.hero-subtitle[b-c2qa40g8hl] {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-actions[b-c2qa40g8hl] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Status Indicator - Pastille en bas à droite */
.status-indicator[b-c2qa40g8hl] {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3;
  animation: statusPulse-b-c2qa40g8hl 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-indicator:hover[b-c2qa40g8hl] {
  transform: scale(1.2);
  animation: none;
}

.status-indicator-success[b-c2qa40g8hl] {
  background: #10b981;
}

.status-indicator-warning[b-c2qa40g8hl] {
  background: #f59e0b;
}

/* Tooltip */
.status-indicator[b-c2qa40g8hl]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.status-indicator[b-c2qa40g8hl]::before {
  content: "";
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: rgba(15, 23, 42, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.status-indicator:hover[b-c2qa40g8hl]::after,
.status-indicator:hover[b-c2qa40g8hl]::before {
  opacity: 1;
}

.status-indicator:hover[b-c2qa40g8hl]::after {
  transform: translateY(-50%) translateX(-4px);
}

@keyframes statusPulse-b-c2qa40g8hl {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }
}

/* Modern Buttons */
.modern-btn[b-c2qa40g8hl] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.modern-btn[b-c2qa40g8hl]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.modern-btn:active[b-c2qa40g8hl]::before {
  width: 300px;
  height: 300px;
}

.modern-btn:hover[b-c2qa40g8hl] {
  transform: translateY(-2px);
}

.modern-btn:active[b-c2qa40g8hl] {
  transform: translateY(0);
}

/* Primary Button */
.modern-btn-primary[b-c2qa40g8hl] {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow:
    0 4px 12px rgba(37, 99, 235, 0.3),
    0 1px 3px rgba(37, 99, 235, 0.2);
}

.modern-btn-primary:hover[b-c2qa40g8hl] {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.4),
    0 2px 6px rgba(37, 99, 235, 0.3);
}

/* Secondary Button */
.modern-btn-secondary[b-c2qa40g8hl] {
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.15),
    rgba(59, 130, 246, 0.1)
  );
  color: #2563eb;
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.modern-btn-secondary:hover[b-c2qa40g8hl] {
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.25),
    rgba(59, 130, 246, 0.15)
  );
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}

/* Ghost Button */
.modern-btn-ghost[b-c2qa40g8hl] {
  background: transparent;
  color: #64748b;
  border: 1.5px solid rgba(100, 116, 139, 0.2);
  box-shadow: none;
}

.modern-btn-ghost:hover[b-c2qa40g8hl] {
  background: rgba(100, 116, 139, 0.08);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.3);
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.1);
}

/* Hero Header Responsive */
@media (max-width: 768px) {
  .hero-header[b-c2qa40g8hl] {
    height: 220px;
    border-radius: 16px;
    max-width: 100%;
    margin: 0;
  }

  .hero-content[b-c2qa40g8hl] {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .hero-title[b-c2qa40g8hl] {
    font-size: 2.5rem;
  }

  .hero-subtitle[b-c2qa40g8hl] {
    font-size: 1rem;
  }

  .hero-actions[b-c2qa40g8hl] {
    width: 100%;
    justify-content: flex-start;
  }

  .modern-btn[b-c2qa40g8hl] {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-header[b-c2qa40g8hl] {
    height: 180px;
    border-radius: 12px;
    max-width: 100%;
    margin: 0;
  }

  .hero-title[b-c2qa40g8hl] {
    font-size: 1.75rem;
  }

  .hero-subtitle[b-c2qa40g8hl] {
    font-size: 0.875rem;
  }

  .status-badge[b-c2qa40g8hl] {
    font-size: 0.813rem;
    padding: 0.4rem 0.8rem;
  }

  .modern-btn[b-c2qa40g8hl] {
    font-size: 0.813rem;
    padding: 0.5rem 1rem;
  }
}

/* Sections Cards */
.section-card[b-c2qa40g8hl] {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(250, 251, 255, 0.96)
  );
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.05),
    0 12px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.section-card:hover[b-c2qa40g8hl] {
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.08),
    0 16px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.card-header[b-c2qa40g8hl] {
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.08),
    rgba(59, 130, 246, 0.05)
  );
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
  padding: 1rem 1.25rem;
}

.card-header .mud-typography-h6[b-c2qa40g8hl] {
  font-weight: 700;
  color: #1e40af;
  display: flex;
  align-items: center;
  font-size: 1.125rem;
}

.card-header-primary[b-c2qa40g8hl] {
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.15),
    rgba(59, 130, 246, 0.1)
  );
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  padding: 1rem 1.25rem;
}

.card-header-primary .mud-typography-h6[b-c2qa40g8hl] {
  font-weight: 700;
  color: #1e40af;
}

.visual-body[b-c2qa40g8hl] {
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
  padding: 1.25rem;
}

.site-image[b-c2qa40g8hl] {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(37, 99, 235, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.site-image:hover[b-c2qa40g8hl] {
  transform: scale(1.02);
  box-shadow:
    0 12px 32px rgba(37, 99, 235, 0.16),
    0 4px 12px rgba(15, 23, 42, 0.12);
}

/* Chips Styling */
.chips[b-c2qa40g8hl] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips .mud-chip[b-c2qa40g8hl] {
  margin: 0;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.chips .mud-chip:hover[b-c2qa40g8hl] {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Info Grid - Modern Design */
.info-grid[b-c2qa40g8hl] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-item[b-c2qa40g8hl] {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 250, 252, 0.9)
  );
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 12px;
  padding: 1rem 1.125rem;
  transition: all 0.25s ease;
  overflow: hidden;
}

.info-item[b-c2qa40g8hl]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.info-item:hover[b-c2qa40g8hl] {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  transform: translateX(2px);
}

.info-item:hover[b-c2qa40g8hl]::before {
  opacity: 1;
}

.info-item.col-span-2[b-c2qa40g8hl] {
  grid-column: 1 / -1;
}

.info-item .label[b-c2qa40g8hl] {
  font-size: 0.813rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.info-item .label .mud-icon-root[b-c2qa40g8hl] {
  font-size: 1rem;
  margin-right: 0.375rem;
  color: #3b82f6;
}

.info-item .value[b-c2qa40g8hl] {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.truncate[b-c2qa40g8hl] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Parameter Labels */
.small[b-c2qa40g8hl] {
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
  display: block;
}

.text-muted[b-c2qa40g8hl] {
  color: #64748b;
}

.fw-semibold[b-c2qa40g8hl] {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.938rem;
  background: rgba(241, 245, 249, 0.5);
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  display: block;
  transition: all 0.2s ease;
}

.fw-semibold:hover[b-c2qa40g8hl] {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(239, 246, 255, 0.6);
}

.mt-2[b-c2qa40g8hl] {
  margin-top: 1rem;
}

/* GTB Section Enhancements */
#gtb-section[b-c2qa40g8hl] {
  animation: slideDown-b-c2qa40g8hl 0.4s ease-out;
}

@keyframes slideDown-b-c2qa40g8hl {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#gtb-section .mud-tabs[b-c2qa40g8hl] {
  border-radius: 12px;
  overflow: hidden;
}

#gtb-section .mud-tab[b-c2qa40g8hl] {
  font-weight: 600;
  text-transform: none;
  transition: all 0.2s ease;
}

#gtb-section .mud-tab:hover[b-c2qa40g8hl] {
  background: rgba(59, 130, 246, 0.05);
}

#gtb-section .mud-tab.mud-tab-active[b-c2qa40g8hl] {
  color: #2563eb;
  font-weight: 700;
}

.gtb-panel[b-c2qa40g8hl] {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 1rem;
}

.gtb-panel-head[b-c2qa40g8hl] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.gtb-panel-title[b-c2qa40g8hl] {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.gtb-panel-sub[b-c2qa40g8hl] {
  color: #475569;
  font-size: 0.95rem;
}

.gtb-pill[b-c2qa40g8hl] {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(16, 185, 129, 0.12)
  );
  font-weight: 700;
  color: #0f172a;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.gtb-panel-body[b-c2qa40g8hl] {
  display: grid;
  gap: 0.75rem;
}

.gtb-inline-loader[b-c2qa40g8hl] {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(248, 250, 252, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #475569;
  font-weight: 600;
}

.gtb-tree .mud-expand-panel[b-c2qa40g8hl] {
  border-radius: 12px;
  border-color: rgba(226, 232, 240, 0.7);
}

.gtb-table-shell[b-c2qa40g8hl] {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.6),
    rgba(255, 255, 255, 0.95)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Table Enhancements */
.mud-table[b-c2qa40g8hl] {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.mud-table thead[b-c2qa40g8hl] {
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.1),
    rgba(59, 130, 246, 0.08)
  );
}

.mud-table th[b-c2qa40g8hl] {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.813rem;
  letter-spacing: 0.05em;
  color: #1e40af;
}

.mud-table tbody tr[b-c2qa40g8hl] {
  transition: all 0.2s ease;
}

.mud-table tbody tr:hover[b-c2qa40g8hl] {
  background: rgba(96, 165, 250, 0.06);
  transform: translateX(2px);
}

/* Expansion Panels */
.mud-expand-panel[b-c2qa40g8hl] {
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.mud-expand-panel:hover[b-c2qa40g8hl] {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.mud-expand-panel-header[b-c2qa40g8hl] {
  font-weight: 600;
}

/* Alert Styling */
.mud-alert[b-c2qa40g8hl] {
  border-radius: 12px;
  border-left-width: 4px;
  font-weight: 500;
}

/* Error */
.error-paper[b-c2qa40g8hl] {
  border-left: 6px solid #e53935;
  background: linear-gradient(135deg, #fff7f7 0%, #ffe8e8 100%);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.12);
}

/* Meters Catalog Sticky */
.meters-catalog-container[b-c2qa40g8hl] {
  position: sticky;
  top: 1rem;
  align-self: flex-start;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px dashed rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.meters-catalog-container.sticky[b-c2qa40g8hl] {
  position: sticky;
  top: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.08),
    0 8px 32px rgba(59, 130, 246, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  padding: 1.5rem;
  animation: slideDownSticky-b-c2qa40g8hl 0.3s ease-out;
}

@keyframes slideDownSticky-b-c2qa40g8hl {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.meters-catalog-container.sticky .mud-table-container[b-c2qa40g8hl] {
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .info-grid[b-c2qa40g8hl] {
    grid-template-columns: 1fr;
  }

  .section-card:hover[b-c2qa40g8hl] {
    transform: none;
  }

  .info-item:hover[b-c2qa40g8hl] {
    transform: none;
  }

  .site-image:hover[b-c2qa40g8hl] {
    transform: none;
  }

  .meters-catalog-container.sticky[b-c2qa40g8hl] {
    padding: 1rem;
  }
}

/* Loader */
.site-loader[b-c2qa40g8hl] {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(
      140% 120% at 20% 20%,
      rgba(59, 130, 246, 0.1),
      transparent 40%
    ),
    #f8fafc;
}

.loader-card[b-c2qa40g8hl] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  max-width: 560px;
  width: 100%;
}

.loader-icon[b-c2qa40g8hl] {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.16),
    rgba(59, 130, 246, 0.16)
  );
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: grid;
  place-items: center;
  color: #1d4ed8;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.loader-body[b-c2qa40g8hl] {
  display: grid;
  gap: 0.35rem;
}

.loader-title[b-c2qa40g8hl] {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.loader-sub[b-c2qa40g8hl] {
  color: #475569;
  font-weight: 500;
}

.loader-bar[b-c2qa40g8hl] {
  border-radius: 999px;
  height: 8px;
}
/* /Pages/Sites/SiteEnergy.razor.rz.scp.css */
/* Typo globale de la page */
:host[b-32291206wu] {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0f172a;
}

/* Hero Header */
.hero-header[b-32291206wu] {
  position: relative;
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  margin: 1rem auto;
  max-width: calc(100% - 2rem);
}

.hero-overlay[b-32291206wu] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.65) 50%, rgba(51, 65, 85, 0.7) 100%);
  backdrop-filter: blur(2px);
}

.hero-content[b-32291206wu] {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-title-section[b-32291206wu] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.hero-title[b-32291206wu] {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

h1.hero-title[b-32291206wu],
.hero-title h1[b-32291206wu] {
  color: #ffffff !important;
}

.hero-subtitle[b-32291206wu] {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-actions[b-32291206wu] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Status Indicator - Pastille en bas à droite */
.status-indicator[b-32291206wu] {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3;
  animation: statusPulse-b-32291206wu 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-indicator:hover[b-32291206wu] {
  transform: scale(1.2);
  animation: none;
}

.status-indicator-success[b-32291206wu] {
  background: #10b981;
}

.status-indicator-warning[b-32291206wu] {
  background: #f59e0b;
}

/* Tooltip */
.status-indicator[b-32291206wu]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.status-indicator[b-32291206wu]::before {
  content: '';
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: rgba(15, 23, 42, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.status-indicator:hover[b-32291206wu]::after,
.status-indicator:hover[b-32291206wu]::before {
  opacity: 1;
}

.status-indicator:hover[b-32291206wu]::after {
  transform: translateY(-50%) translateX(-4px);
}

@keyframes statusPulse-b-32291206wu {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }
}

/* Hero Header Responsive */
@media (max-width: 768px) {
  .hero-header[b-32291206wu] {
    height: 220px;
    border-radius: 16px;
    max-width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
  }

  .hero-content[b-32291206wu] {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .hero-title[b-32291206wu] {
    font-size: 2.5rem;
  }

  .hero-subtitle[b-32291206wu] {
    font-size: 1rem;
  }

  .hero-actions[b-32291206wu] {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-header[b-32291206wu] {
    height: 180px;
    border-radius: 12px;
    max-width: calc(100% - 1rem);
    margin: 0.5rem auto;
  }

  .hero-title[b-32291206wu] {
    font-size: 1.75rem;
  }

  .hero-subtitle[b-32291206wu] {
    font-size: 0.875rem;
  }
}

/* Section Card */
.section-card[b-32291206wu] {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 255, 0.96));
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.05),
    0 12px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Energy Panels */
.energy-panel[b-32291206wu] {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 1rem;
}

.energy-panel-head[b-32291206wu] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.energy-panel-title[b-32291206wu] {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.energy-panel-sub[b-32291206wu] {
  color: #475569;
  font-size: 0.95rem;
}

.energy-pill[b-32291206wu] {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(245, 158, 11, 0.12));
  font-weight: 700;
  color: #0f172a;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.energy-panel-body[b-32291206wu] {
  display: grid;
  gap: 0.75rem;
}

/* Error */
.error-paper[b-32291206wu] {
  border-left: 6px solid #e53935;
  background: linear-gradient(135deg, #fff7f7 0%, #ffe8e8 100%);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.12);
}

/* Loader */
.site-loader[b-32291206wu] {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(140% 120% at 20% 20%, rgba(251, 191, 36, 0.1), transparent 40%), #f8fafc;
}

.loader-card[b-32291206wu] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  max-width: 560px;
  width: 100%;
}

.loader-icon[b-32291206wu] {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(245, 158, 11, 0.16));
  border: 1px solid rgba(251, 191, 36, 0.3);
  display: grid;
  place-items: center;
  color: #d97706;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
}

.loader-body[b-32291206wu] {
  display: grid;
  gap: 0.35rem;
}

.loader-title[b-32291206wu] {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.loader-sub[b-32291206wu] {
  color: #475569;
  font-weight: 500;
}

.loader-bar[b-32291206wu] {
  border-radius: 999px;
  height: 8px;
}
/* /Pages/Sites/SiteFinalize.razor.rz.scp.css */
/* ================================================================ */
/* SITE FINALIZE - Dashboard d'integration par zones                */
/* ================================================================ */

/* ── HERO (SiteHeroCard scoped styles) ── */
.hero-header[b-bp5x9xyitr] {
    position: relative; width: 100%; height: 240px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; overflow: hidden;
    border-radius: 20px; margin: 1rem auto; max-width: calc(100% - 2rem);
}
.hero-overlay[b-bp5x9xyitr] {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,.75), rgba(30,41,59,.65) 50%, rgba(51,65,85,.7));
    backdrop-filter: blur(2px);
}
.hero-content[b-bp5x9xyitr] {
    position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.hero-title-section[b-bp5x9xyitr] { display: flex; flex-direction: column; gap: .5rem; min-width: 0; flex: 1; }
.hero-title[b-bp5x9xyitr] {
    margin: 0; font-size: 3.5rem; font-weight: 900; color: #fff !important;
    letter-spacing: -.03em; line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0,0,0,.4), 0 2px 4px rgba(0,0,0,.3);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
h1.hero-title[b-bp5x9xyitr], .hero-title h1[b-bp5x9xyitr] { color: #fff !important; }
.hero-subtitle[b-bp5x9xyitr] {
    margin: 0; font-size: 1.125rem; font-weight: 500;
    color: rgba(255,255,255,.9); text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.hero-actions[b-bp5x9xyitr] { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }

/* Status dot */
.status-indicator[b-bp5x9xyitr] {
    position: absolute; bottom: 1.5rem; right: 1.5rem;
    width: 20px; height: 20px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,.9);
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    z-index: 3; cursor: pointer; animation: statusPulse-b-bp5x9xyitr 2s ease-in-out infinite;
}
.status-indicator:hover[b-bp5x9xyitr] { transform: scale(1.2); animation: none; }
.status-indicator-success[b-bp5x9xyitr] { background: #10b981; }
.status-indicator-warning[b-bp5x9xyitr] { background: #f59e0b; }
@keyframes statusPulse-b-bp5x9xyitr {
    0%,100% { transform: scale(1); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
    50%     { transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,.4); }
}

/* ================================================================ */
/* PROGRESS HEADER                                                   */
/* ================================================================ */
.progress-header[b-bp5x9xyitr] {
    display: flex; align-items: center; gap: 24px;
    padding: 24px 28px; margin-bottom: 24px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15,23,42,.08);
}
.progress-circle[b-bp5x9xyitr] {
    position: relative; width: 100px; height: 100px; flex-shrink: 0;
    cursor: default;
}
.progress-circle svg[b-bp5x9xyitr] { width: 100%; height: 100%; }
.progress-circle[b-bp5x9xyitr]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: normal;
    width: max-content;
    max-width: 480px;
    line-height: 1.6;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 20;
}
.progress-circle[b-bp5x9xyitr]::before {
    content: '';
    position: absolute;
    left: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: rgba(15, 23, 42, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 20;
}
.progress-circle:hover[b-bp5x9xyitr]::after,
.progress-circle:hover[b-bp5x9xyitr]::before {
    opacity: 1;
}
.progress-circle:hover[b-bp5x9xyitr]::after {
    transform: translateY(-50%) translateX(4px);
}
.progress-arc[b-bp5x9xyitr] {
    transition: stroke-dasharray .6s ease;
}
.progress-text[b-bp5x9xyitr] {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.progress-pct[b-bp5x9xyitr] { font-size: 1.4rem; font-weight: 800; color: #0f172a; line-height: 1; }
.progress-label[b-bp5x9xyitr] { font-size: .7rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.progress-summary[b-bp5x9xyitr] { flex: 1; }
.progress-summary h2[b-bp5x9xyitr] { margin: 0 0 4px; font-size: 1.2rem; font-weight: 700; color: #0f172a; }
.progress-summary p[b-bp5x9xyitr] { margin: 0; font-size: .9rem; color: #64748b; }
.progress-actions[b-bp5x9xyitr] { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ================================================================ */
/* ZONES GRID                                                        */
/* ================================================================ */
.zones-grid[b-bp5x9xyitr] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* ── Zone Card ── */
.zone-card[b-bp5x9xyitr] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
    overflow: hidden;
    animation: fadeUp-b-bp5x9xyitr .4s ease both;
    display: flex; flex-direction: column;
}
.zone-card:nth-child(1)[b-bp5x9xyitr] { animation-delay: 0s; }
.zone-card:nth-child(2)[b-bp5x9xyitr] { animation-delay: .05s; }
.zone-card:nth-child(3)[b-bp5x9xyitr] { animation-delay: .1s; }

@keyframes fadeUp-b-bp5x9xyitr {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.zone-header[b-bp5x9xyitr] {
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}
.zone-number[b-bp5x9xyitr] {
    display: inline-block; font-size: .7rem; font-weight: 700;
    color: #64748b; text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 2px;
}
.zone-header h3[b-bp5x9xyitr] {
    margin: 0; font-size: .95rem; font-weight: 700; color: #0f172a;
    line-height: 1.3;
}
.zone-body[b-bp5x9xyitr] {
    padding: 12px; flex: 1;
    display: flex; flex-direction: column; gap: 10px;
}

/* ── Zone Item ── */
.zone-item[b-bp5x9xyitr] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    transition: all .2s ease;
}
.zone-item:hover[b-bp5x9xyitr] {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.zone-item-locked[b-bp5x9xyitr] {
    opacity: .6;
    background: repeating-linear-gradient(
        -45deg, #f8fafc, #f8fafc 8px, #f1f5f9 8px, #f1f5f9 16px
    );
}
.zone-item-header[b-bp5x9xyitr] {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
}
.zone-item-title[b-bp5x9xyitr] {
    flex: 1; font-size: .82rem; font-weight: 600; color: #334155;
    display: flex; align-items: center;
}
.zone-item-body[b-bp5x9xyitr] {
    margin-top: 8px;
    display: flex; flex-direction: column; gap: 6px;
}
.zone-item-note[b-bp5x9xyitr] {
    display: flex; align-items: center; gap: 4px;
    font-size: .75rem; color: #94a3b8; font-weight: 500;
}

/* ── Badges ── */
.badge[b-bp5x9xyitr] {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 2px 8px; border-radius: 6px;
    font-size: .68rem; font-weight: 700; letter-spacing: .03em;
    white-space: nowrap; flex-shrink: 0;
}
.badge-done[b-bp5x9xyitr] { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-progress[b-bp5x9xyitr] { background: #fef9c3; color: #a16207; border: 1px solid #fde68a; }
.badge-missing[b-bp5x9xyitr] { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-failed[b-bp5x9xyitr] { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-notready[b-bp5x9xyitr] { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
.badge-locked[b-bp5x9xyitr] { background: #e2e8f0; color: #64748b; border: 1px solid #cbd5e1; }
.badge-running[b-bp5x9xyitr] { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; animation: badgePulse-b-bp5x9xyitr 2s ease-in-out infinite; }
.badge-notreviewed[b-bp5x9xyitr] { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

@keyframes badgePulse-b-bp5x9xyitr {
    0%,100% { opacity: 1; }
    50%     { opacity: .7; }
}

/* ── URL input ── */
.form-field-compact[b-bp5x9xyitr] {
    display: flex; flex-direction: column; gap: 4px;
}
.form-field-compact label[b-bp5x9xyitr] {
    display: flex; align-items: center; gap: 6px;
    font-size: .78rem; font-weight: 600; color: #64748b;
}
.form-field-compact label svg[b-bp5x9xyitr] {
    width: 14px; height: 14px; flex-shrink: 0;
}
.form-grid-compact[b-bp5x9xyitr] {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
@media (max-width: 600px) { .form-grid-compact[b-bp5x9xyitr] { grid-template-columns: 1fr; } }
.form-grid-compact input[type="number"][b-bp5x9xyitr] {
    width: 100%; padding: 8px 10px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: .8rem; color: #0f172a; background: #fff;
    transition: all .2s ease; font-family: inherit; box-sizing: border-box;
}
.form-grid-compact input[type="number"]:focus[b-bp5x9xyitr] { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.form-grid-compact input[b-bp5x9xyitr]::placeholder { color: #94a3b8; }
.form-grid-compact label[b-bp5x9xyitr] { font-size: .78rem; font-weight: 600; color: #64748b; margin-bottom: 4px; display: block; }
.form-grid-compact label.required[b-bp5x9xyitr]::after { content: ' *'; color: #ef4444; font-weight: 700; }

.url-input-group[b-bp5x9xyitr] {
    display: flex; gap: 6px; align-items: center;
}
.url-input[b-bp5x9xyitr] {
    flex: 1; min-width: 0; padding: 8px 10px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: .8rem; color: #0f172a; background: #fff;
    transition: all .2s ease; font-family: inherit;
}
.url-input:focus[b-bp5x9xyitr] { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.url-input[b-bp5x9xyitr]::placeholder { color: #94a3b8; }

.zone-link[b-bp5x9xyitr] {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: .78rem; color: #3b82f6; font-weight: 600;
    text-decoration: none; transition: all .2s ease;
    padding: 4px 0;
}
.zone-link svg[b-bp5x9xyitr] {
    width: 14px; height: 14px; flex-shrink: 0; fill: #3b82f6;
}
.zone-link:hover[b-bp5x9xyitr] { color: #2563eb; text-decoration: underline; }
.zone-link:hover svg[b-bp5x9xyitr] { fill: #2563eb; }

/* ── Compact import actions ── */
.import-actions-compact[b-bp5x9xyitr] {
    display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.file-input-label-sm[b-bp5x9xyitr] {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 10px; background: rgba(99,102,241,.08);
    border: 1px dashed rgba(99,102,241,.3); border-radius: 8px;
    color: #4338ca; font-weight: 600; font-size: .75rem; cursor: pointer;
    transition: all .2s ease;
}
.file-input-label-sm:hover[b-bp5x9xyitr] {
    background: rgba(99,102,241,.12); border-color: rgba(99,102,241,.5);
}

/* ── Compact stats chips ── */
.stats-chips-compact[b-bp5x9xyitr] {
    display: flex; flex-wrap: wrap; gap: 4px;
}
.chip-mini[b-bp5x9xyitr] {
    display: inline-flex; padding: 2px 6px;
    background: #eff6ff; border: 1px solid #dbeafe; border-radius: 4px;
    font-size: .7rem; font-weight: 600; color: #2563eb;
}

/* ── Cycle button ── */
.btn-icon-cycle[b-bp5x9xyitr] {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border: 1px solid #e2e8f0; border-radius: 6px;
    background: #fff; cursor: pointer; color: #64748b;
    transition: all .2s ease; flex-shrink: 0;
    padding: 0;
}
.btn-icon-cycle:hover[b-bp5x9xyitr] {
    border-color: #3b82f6; color: #3b82f6; background: rgba(59,130,246,.05);
}

/* ================================================================ */
/* BUTTONS                                                           */
/* ================================================================ */
.btn-sm[b-bp5x9xyitr] {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; font-size: .78rem; font-weight: 600;
    border-radius: 8px; cursor: pointer; transition: all .2s ease;
    font-family: inherit; border: none; white-space: nowrap;
}
.btn-sm svg[b-bp5x9xyitr] { width: 14px; height: 14px; flex-shrink: 0; }
.btn-sm.btn-outline[b-bp5x9xyitr] {
    background: transparent; border: 1px solid #e2e8f0; color: #64748b;
}
.btn-sm.btn-outline svg[b-bp5x9xyitr] { fill: #64748b; }
.btn-sm.btn-outline:hover[b-bp5x9xyitr] {
    border-color: #3b82f6; color: #3b82f6; background: rgba(59,130,246,.05);
}
.btn-sm.btn-outline:hover svg[b-bp5x9xyitr] { fill: #3b82f6; }
.btn-sm.btn-primary[b-bp5x9xyitr] {
    background: #3b82f6; color: #fff; border: 1px solid #2563eb;
}
.btn-sm.btn-primary:hover[b-bp5x9xyitr] {
    background: #2563eb;
}
.btn-sm.btn-primary svg[b-bp5x9xyitr] { fill: #fff; }
.btn-sm:disabled[b-bp5x9xyitr] { opacity: .4; cursor: not-allowed; }

.btn-finalize[b-bp5x9xyitr] {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border: none; border-radius: 12px;
    font-size: .95rem; font-weight: 700; font-family: inherit; cursor: pointer;
    color: #fff; background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 4px 16px rgba(22,163,74,.3);
    transition: all .3s cubic-bezier(.16,1,.3,1); letter-spacing: .02em;
}
.btn-finalize svg[b-bp5x9xyitr] { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.btn-finalize:hover[b-bp5x9xyitr] {
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,163,74,.4);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}
.btn-finalize:disabled[b-bp5x9xyitr] {
    opacity: .5; cursor: not-allowed; transform: none;
    box-shadow: 0 2px 8px rgba(22,163,74,.15);
}

/* ================================================================ */
/* DETAIL SECTION                                                    */
/* ================================================================ */
.detail-section[b-bp5x9xyitr] {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15,23,42,.08);
    overflow: hidden; animation: fadeUp-b-bp5x9xyitr .4s ease both;
}
.section-header[b-bp5x9xyitr] {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}
.section-header svg.section-icon[b-bp5x9xyitr] { width: 24px; height: 24px; fill: #64748b; flex-shrink: 0; }
.section-header h2[b-bp5x9xyitr] { margin: 0; font-size: 1.05rem; font-weight: 700; color: #0f172a; }

/* ── Form grid ── */
.form-grid[b-bp5x9xyitr] {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 16px; padding: 20px 22px;
}
.form-field label[b-bp5x9xyitr] {
    display: flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 600; color: #64748b; margin-bottom: 6px;
}
.form-field label.required[b-bp5x9xyitr]::after { content: ' *'; color: #ef4444; font-weight: 700; }
.form-field input[type="text"][b-bp5x9xyitr],
.form-field input[type="number"][b-bp5x9xyitr],
.form-field input[type="url"][b-bp5x9xyitr],
.form-field input[type="date"][b-bp5x9xyitr] {
    width: 100%; padding: 12px 14px;
    border: 1px solid #e2e8f0; border-radius: 10px;
    font-size: .9rem; color: #0f172a; background: #fff;
    transition: all .2s ease; font-family: inherit; box-sizing: border-box;
}
.form-field input:focus[b-bp5x9xyitr] { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.form-field input[b-bp5x9xyitr]::placeholder { color: #94a3b8; }

/* File upload */
.file-input[b-bp5x9xyitr] { position: absolute; width: .1px; height: .1px; opacity: 0; overflow: hidden; z-index: -1; }
.file-input-label[b-bp5x9xyitr] {
    display: inline-flex; align-items: center; gap: .75rem;
    padding: .875rem 1.75rem;
    background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(139,92,246,.1));
    border: 2px dashed rgba(99,102,241,.4); border-radius: 12px;
    color: #4338ca; font-weight: 600; font-size: .95rem; cursor: pointer;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 2px 8px rgba(99,102,241,.08);
}
.file-input-label:hover[b-bp5x9xyitr] {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99,102,241,.2);
    background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(139,92,246,.15));
    border-color: rgba(99,102,241,.6);
}

/* ── Import content ── */
.import-content[b-bp5x9xyitr] { padding: 20px 22px; }

/* ── Stat chips ── */
.stats-chips[b-bp5x9xyitr] {
    display: flex; flex-wrap: wrap; gap: .75rem;
    border-top: 1px solid #e2e8f0;
}
.gtb-stat-chip[b-bp5x9xyitr] {
    background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(37,99,235,.05));
    border: 1px solid rgba(59,130,246,.2); border-radius: 12px;
    padding: .75rem 1.25rem;
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 600; color: #2563eb; font-size: .9rem;
    transition: all .25s ease;
}
.gtb-stat-chip:hover[b-bp5x9xyitr] { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(59,130,246,.15); }
.gtb-stat-chip.success[b-bp5x9xyitr] {
    background: linear-gradient(135deg, rgba(34,197,94,.08), rgba(22,163,74,.05));
    border-color: rgba(34,197,94,.2); color: #16a34a;
}

/* ── Tables ── */
.setpoints-table-wrapper[b-bp5x9xyitr], .states-table-wrapper[b-bp5x9xyitr] {
    overflow-x: auto; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.setpoints-table .col-browse[b-bp5x9xyitr], .states-table .col-browse[b-bp5x9xyitr] {
    white-space: normal; word-break: break-word; max-width: 520px; font-size: .9rem; color: #475569;
}

/* ── Alerts ── */
.mud-alert[b-bp5x9xyitr] { border-radius: 12px; border-left-width: 4px; font-weight: 500; }

/* Error page */
.error-paper[b-bp5x9xyitr] {
    border-left: 6px solid #e53935;
    background: linear-gradient(135deg, #fff7f7, #ffe8e8);
    border-radius: 14px; padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(229,57,53,.12);
}

/* ── Loader ── */
.site-loader[b-bp5x9xyitr] {
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
    padding: 2rem;
    background: radial-gradient(140% 120% at 20% 20%, rgba(59,130,246,.1), transparent 40%), #f8fafc;
}
.loader-card[b-bp5x9xyitr] {
    display: grid; grid-template-columns: auto 1fr;
    gap: 1rem; padding: 1.5rem 1.75rem;
    border-radius: 16px; background: rgba(255,255,255,.9);
    border: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 12px 32px rgba(15,23,42,.12);
    backdrop-filter: blur(14px); max-width: 560px; width: 100%;
}
.loader-icon[b-bp5x9xyitr] {
    width: 54px; height: 54px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(59,130,246,.16));
    border: 1px solid rgba(59,130,246,.3);
    display: grid; place-items: center;
    color: #1d4ed8; font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(37,99,235,.2);
}
.loader-body[b-bp5x9xyitr] { display: grid; gap: .35rem; }
.loader-title[b-bp5x9xyitr] { font-size: 1.15rem; font-weight: 800; color: #0f172a; }
.loader-sub[b-bp5x9xyitr] { color: #475569; font-weight: 500; }
.loader-bar[b-bp5x9xyitr] { border-radius: 999px; height: 8px; }

/* ================================================================ */
/* RESPONSIVE                                                        */
/* ================================================================ */
@media (max-width: 1100px) {
    .zones-grid[b-bp5x9xyitr] { grid-template-columns: repeat(2, 1fr); }
    .progress-header[b-bp5x9xyitr] { flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .zones-grid[b-bp5x9xyitr] { grid-template-columns: 1fr; }
    .hero-header[b-bp5x9xyitr] { height: 220px; border-radius: 16px; max-width: calc(100% - 1.5rem); margin: .75rem auto; }
    .hero-content[b-bp5x9xyitr] { flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 0 1.5rem; }
    .hero-title[b-bp5x9xyitr] { font-size: 2.5rem; }
    .progress-header[b-bp5x9xyitr] { flex-direction: column; text-align: center; }
    .progress-actions[b-bp5x9xyitr] { justify-content: center; }
    .form-grid[b-bp5x9xyitr] { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-header[b-bp5x9xyitr] { height: 180px; border-radius: 12px; max-width: calc(100% - 1rem); margin: .5rem auto; }
    .hero-title[b-bp5x9xyitr] { font-size: 1.75rem; }
}

/* ================================================================ */
/* ZONES DRAWER                                                      */
/* ================================================================ */
.zones-drawer-backdrop[b-bp5x9xyitr] {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    z-index: 200;
    animation: fadeIn-b-bp5x9xyitr .2s ease;
}

@keyframes fadeIn-b-bp5x9xyitr {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.zones-drawer[b-bp5x9xyitr] {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 480px; max-width: 95vw;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.15);
    z-index: 201;
    display: flex; flex-direction: column;
    animation: slideInRight-b-bp5x9xyitr .25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

@keyframes slideInRight-b-bp5x9xyitr {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

.zones-drawer-header[b-bp5x9xyitr] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.zones-drawer-title[b-bp5x9xyitr] {
    display: flex; align-items: center; gap: 8px;
    font-size: .95rem; font-weight: 700; color: #0f172a;
}

.zones-drawer-close[b-bp5x9xyitr] {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    color: #64748b; cursor: pointer;
    transition: all .2s ease;
}
.zones-drawer-close:hover[b-bp5x9xyitr] {
    background: #e2e8f0; color: #0f172a;
}

.zones-drawer-body[b-bp5x9xyitr] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
}

.zones-drawer-body .zone-card[b-bp5x9xyitr] {
    animation: none;
}
/* /Pages/Sites/SiteGTB.razor.rz.scp.css */
/* Typo globale de la page */
:host[b-rudw2uv5wr] {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0f172a;
}

/* Hero Header */
.hero-header[b-rudw2uv5wr] {
  position: relative;
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  margin: 1rem auto;
  max-width: calc(100% - 2rem);
}

.hero-overlay[b-rudw2uv5wr] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.65) 50%, rgba(51, 65, 85, 0.7) 100%);
  backdrop-filter: blur(2px);
}

.hero-content[b-rudw2uv5wr] {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-title-section[b-rudw2uv5wr] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.hero-title[b-rudw2uv5wr] {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

h1.hero-title[b-rudw2uv5wr],
.hero-title h1[b-rudw2uv5wr] {
  color: #ffffff !important;
}

.hero-subtitle[b-rudw2uv5wr] {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-actions[b-rudw2uv5wr] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Status Indicator - Pastille en bas à droite */
.status-indicator[b-rudw2uv5wr] {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3;
  animation: statusPulse-b-rudw2uv5wr 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-indicator:hover[b-rudw2uv5wr] {
  transform: scale(1.2);
  animation: none;
}

.status-indicator-success[b-rudw2uv5wr] {
  background: #10b981;
}

.status-indicator-warning[b-rudw2uv5wr] {
  background: #f59e0b;
}

/* Tooltip */
.status-indicator[b-rudw2uv5wr]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.status-indicator[b-rudw2uv5wr]::before {
  content: '';
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: rgba(15, 23, 42, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.status-indicator:hover[b-rudw2uv5wr]::after,
.status-indicator:hover[b-rudw2uv5wr]::before {
  opacity: 1;
}

.status-indicator:hover[b-rudw2uv5wr]::after {
  transform: translateY(-50%) translateX(-4px);
}

@keyframes statusPulse-b-rudw2uv5wr {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }
}

/* Modern Buttons */
.modern-btn[b-rudw2uv5wr] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.modern-btn[b-rudw2uv5wr]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.modern-btn:active[b-rudw2uv5wr]::before {
  width: 300px;
  height: 300px;
}

.modern-btn:hover[b-rudw2uv5wr] {
  transform: translateY(-2px);
}

.modern-btn:active[b-rudw2uv5wr] {
  transform: translateY(0);
}

.modern-btn-ghost[b-rudw2uv5wr] {
  background: transparent;
  color: #64748b;
  border: 1.5px solid rgba(100, 116, 139, 0.2);
  box-shadow: none;
}

.modern-btn-ghost:hover[b-rudw2uv5wr] {
  background: rgba(100, 116, 139, 0.08);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.3);
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.1);
}

/* Hero Header Responsive */
@media (max-width: 768px) {
  .hero-header[b-rudw2uv5wr] {
    height: 220px;
    border-radius: 16px;
    max-width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
  }

  .hero-content[b-rudw2uv5wr] {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .hero-title[b-rudw2uv5wr] {
    font-size: 2.5rem;
  }

  .hero-subtitle[b-rudw2uv5wr] {
    font-size: 1rem;
  }

  .hero-actions[b-rudw2uv5wr] {
    width: 100%;
    justify-content: flex-start;
  }

  .modern-btn[b-rudw2uv5wr] {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-header[b-rudw2uv5wr] {
    height: 180px;
    border-radius: 12px;
    max-width: calc(100% - 1rem);
    margin: 0.5rem auto;
  }

  .hero-title[b-rudw2uv5wr] {
    font-size: 1.75rem;
  }

  .hero-subtitle[b-rudw2uv5wr] {
    font-size: 0.875rem;
  }

  .modern-btn[b-rudw2uv5wr] {
    font-size: 0.813rem;
    padding: 0.5rem 1rem;
  }
}

/* Section Card */
.section-card[b-rudw2uv5wr] {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 255, 0.96));
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.05),
    0 12px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* GTB Panels */
.gtb-panel[b-rudw2uv5wr] {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 1rem;
}

.gtb-panel-head[b-rudw2uv5wr] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.gtb-panel-title[b-rudw2uv5wr] {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.gtb-panel-sub[b-rudw2uv5wr] {
  color: #475569;
  font-size: 0.95rem;
}

.gtb-pill[b-rudw2uv5wr] {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.12));
  font-weight: 700;
  color: #0f172a;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.gtb-panel-body[b-rudw2uv5wr] {
  display: grid;
  gap: 0.75rem;
}

.gtb-inline-loader[b-rudw2uv5wr] {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(248, 250, 252, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #475569;
  font-weight: 600;
}

.gtb-tree .mud-expand-panel[b-rudw2uv5wr] {
  border-radius: 12px;
  border-color: rgba(226, 232, 240, 0.7);
}

.gtb-table-shell[b-rudw2uv5wr] {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), rgba(255, 255, 255, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.meters-catalog-container[b-rudw2uv5wr] {
  position: sticky;
  top: 1rem;
  align-self: flex-start;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px dashed rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

/* Error */
.error-paper[b-rudw2uv5wr] {
  border-left: 6px solid #e53935;
  background: linear-gradient(135deg, #fff7f7 0%, #ffe8e8 100%);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.12);
}

/* Loader */
.site-loader[b-rudw2uv5wr] {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(140% 120% at 20% 20%, rgba(59, 130, 246, 0.1), transparent 40%), #f8fafc;
}

.loader-card[b-rudw2uv5wr] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  max-width: 560px;
  width: 100%;
}

.loader-icon[b-rudw2uv5wr] {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: grid;
  place-items: center;
  color: #1d4ed8;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.loader-body[b-rudw2uv5wr] {
  display: grid;
  gap: 0.35rem;
}

.loader-title[b-rudw2uv5wr] {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.loader-sub[b-rudw2uv5wr] {
  color: #475569;
  font-weight: 500;
}

.loader-bar[b-rudw2uv5wr] {
  border-radius: 999px;
  height: 8px;
}
/* /Pages/Sites/SiteHealthBuilding.razor.rz.scp.css */
/* Typo globale de la page */
:host[b-w5y1ctn93d] {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0f172a;
}

/* Hero Header */
.hero-header[b-w5y1ctn93d] {
  position: relative;
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  margin: 1rem auto;
  max-width: calc(100% - 2rem);
}

.hero-overlay[b-w5y1ctn93d] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(30, 41, 59, 0.65) 50%,
    rgba(51, 65, 85, 0.7) 100%
  );
  backdrop-filter: blur(2px);
}

.hero-content[b-w5y1ctn93d] {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-title-section[b-w5y1ctn93d] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.hero-title[b-w5y1ctn93d] {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

h1.hero-title[b-w5y1ctn93d],
.hero-title h1[b-w5y1ctn93d] {
  color: #ffffff !important;
}

.hero-subtitle[b-w5y1ctn93d] {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-actions[b-w5y1ctn93d] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Status Indicator - Pastille en bas à droite */
.status-indicator[b-w5y1ctn93d] {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3;
  animation: statusPulse-b-w5y1ctn93d 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-indicator:hover[b-w5y1ctn93d] {
  transform: scale(1.2);
  animation: none;
}

.status-indicator-success[b-w5y1ctn93d] {
  background: #10b981;
}

.status-indicator-warning[b-w5y1ctn93d] {
  background: #f59e0b;
}

/* Tooltip */
.status-indicator[b-w5y1ctn93d]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.status-indicator[b-w5y1ctn93d]::before {
  content: "";
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: rgba(15, 23, 42, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.status-indicator:hover[b-w5y1ctn93d]::after,
.status-indicator:hover[b-w5y1ctn93d]::before {
  opacity: 1;
}

.status-indicator:hover[b-w5y1ctn93d]::after {
  transform: translateY(-50%) translateX(-4px);
}

@keyframes statusPulse-b-w5y1ctn93d {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }
}

/* Hero Header Responsive */
@media (max-width: 768px) {
  .hero-header[b-w5y1ctn93d] {
    height: 220px;
    border-radius: 16px;
    max-width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
  }

  .hero-content[b-w5y1ctn93d] {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .hero-title[b-w5y1ctn93d] {
    font-size: 2.5rem;
  }

  .hero-subtitle[b-w5y1ctn93d] {
    font-size: 1rem;
  }

  .hero-actions[b-w5y1ctn93d] {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-header[b-w5y1ctn93d] {
    height: 180px;
    border-radius: 12px;
    max-width: calc(100% - 1rem);
    margin: 0.5rem auto;
  }

  .hero-title[b-w5y1ctn93d] {
    font-size: 1.75rem;
  }

  .hero-subtitle[b-w5y1ctn93d] {
    font-size: 0.875rem;
  }
}

/* Section Card */
.section-card[b-w5y1ctn93d] {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(250, 251, 255, 0.96)
  );
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05),
    0 12px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Health Panels */
.energy-panel[b-w5y1ctn93d] {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 1rem;
}

.energy-panel-head[b-w5y1ctn93d] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.energy-panel-title[b-w5y1ctn93d] {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.energy-panel-sub[b-w5y1ctn93d] {
  color: #475569;
  font-size: 0.95rem;
}

.energy-pill[b-w5y1ctn93d] {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.12),
    rgba(5, 150, 105, 0.12)
  );
  font-weight: 700;
  color: #0f172a;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.energy-panel-body[b-w5y1ctn93d] {
  display: grid;
  gap: 0.75rem;
}

/* Error */
.error-paper[b-w5y1ctn93d] {
  border-left: 6px solid #e53935;
  background: linear-gradient(135deg, #fff7f7 0%, #ffe8e8 100%);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.12);
}

/* Loader */
.site-loader[b-w5y1ctn93d] {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(
      140% 120% at 20% 20%,
      rgba(16, 185, 129, 0.1),
      transparent 40%
    ),
    #f8fafc;
}

.loader-card[b-w5y1ctn93d] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  max-width: 560px;
  width: 100%;
}

.loader-icon[b-w5y1ctn93d] {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.16),
    rgba(5, 150, 105, 0.16)
  );
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: grid;
  place-items: center;
  color: #059669;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.loader-body[b-w5y1ctn93d] {
  display: grid;
  gap: 0.35rem;
}

.loader-title[b-w5y1ctn93d] {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.loader-sub[b-w5y1ctn93d] {
  color: #475569;
  font-weight: 500;
}

.loader-bar[b-w5y1ctn93d] {
  border-radius: 999px;
  height: 8px;
}
/* /Pages/Sites/SiteHierarchy.razor.rz.scp.css */
/* Typo globale de la page */
:host[b-664t0vvdu7] {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0f172a;
}

/* Hero Header */
.hero-header[b-664t0vvdu7] {
  position: relative;
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  margin: 1rem auto;
  max-width: calc(100% - 2rem);
}

.hero-overlay[b-664t0vvdu7] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.75) 0%, rgba(13, 148, 136, 0.65) 50%, rgba(15, 118, 110, 0.7) 100%);
  backdrop-filter: blur(2px);
}

.hero-content[b-664t0vvdu7] {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-title-section[b-664t0vvdu7] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.hero-title[b-664t0vvdu7] {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

h1.hero-title[b-664t0vvdu7],
.hero-title h1[b-664t0vvdu7] {
  color: #ffffff !important;
}

.hero-subtitle[b-664t0vvdu7] {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Status Indicator - Pastille en bas à droite */
.status-indicator[b-664t0vvdu7] {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3;
  animation: statusPulse-b-664t0vvdu7 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-indicator:hover[b-664t0vvdu7] {
  transform: scale(1.2);
  animation: none;
}

.status-indicator-success[b-664t0vvdu7] {
  background: #10b981;
}

.status-indicator-warning[b-664t0vvdu7] {
  background: #f59e0b;
}

/* Tooltip */
.status-indicator[b-664t0vvdu7]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.status-indicator[b-664t0vvdu7]::before {
  content: '';
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: rgba(15, 23, 42, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.status-indicator:hover[b-664t0vvdu7]::after,
.status-indicator:hover[b-664t0vvdu7]::before {
  opacity: 1;
}

.status-indicator:hover[b-664t0vvdu7]::after {
  transform: translateY(-50%) translateX(-4px);
}

@keyframes statusPulse-b-664t0vvdu7 {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }
}

/* Hero Header Responsive */
@media (max-width: 768px) {
  .hero-header[b-664t0vvdu7] {
    height: 220px;
    border-radius: 16px;
    max-width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
  }

  .hero-content[b-664t0vvdu7] {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .hero-title[b-664t0vvdu7] {
    font-size: 2.5rem;
  }

  .hero-subtitle[b-664t0vvdu7] {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-header[b-664t0vvdu7] {
    height: 180px;
    border-radius: 12px;
    max-width: calc(100% - 1rem);
    margin: 0.5rem auto;
  }

  .hero-title[b-664t0vvdu7] {
    font-size: 1.75rem;
  }

  .hero-subtitle[b-664t0vvdu7] {
    font-size: 0.875rem;
  }
}

/* Section Card */
.section-card[b-664t0vvdu7] {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 255, 0.96));
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.05),
    0 12px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* GTB Panels */
.gtb-panel[b-664t0vvdu7] {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 1rem;
}

.gtb-panel-head[b-664t0vvdu7] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.gtb-panel-title[b-664t0vvdu7] {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.gtb-panel-sub[b-664t0vvdu7] {
  color: #475569;
  font-size: 0.95rem;
}

.gtb-pill[b-664t0vvdu7] {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(13, 148, 136, 0.12));
  font-weight: 700;
  color: #0f172a;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.gtb-panel-body[b-664t0vvdu7] {
  display: grid;
  gap: 0.75rem;
}

.gtb-inline-loader[b-664t0vvdu7] {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(248, 250, 252, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #475569;
  font-weight: 600;
}

.gtb-tree .mud-expand-panel[b-664t0vvdu7] {
  border-radius: 12px;
  border-color: rgba(226, 232, 240, 0.7);
}

.gtb-table-shell[b-664t0vvdu7] {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), rgba(255, 255, 255, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Error */
.error-paper[b-664t0vvdu7] {
  border-left: 6px solid #e53935;
  background: linear-gradient(135deg, #fff7f7 0%, #ffe8e8 100%);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.12);
}

/* Loader */
.site-loader[b-664t0vvdu7] {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(140% 120% at 20% 20%, rgba(20, 184, 166, 0.1), transparent 40%), #f8fafc;
}

.loader-card[b-664t0vvdu7] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  max-width: 560px;
  width: 100%;
}

.loader-icon[b-664t0vvdu7] {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(13, 148, 136, 0.16));
  border: 1px solid rgba(20, 184, 166, 0.3);
  display: grid;
  place-items: center;
  color: #0d9488;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.2);
}

.loader-body[b-664t0vvdu7] {
  display: grid;
  gap: 0.35rem;
}

.loader-title[b-664t0vvdu7] {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.loader-sub[b-664t0vvdu7] {
  color: #475569;
  font-weight: 500;
}

.loader-bar[b-664t0vvdu7] {
  border-radius: 999px;
  height: 8px;
}
/* /Pages/Sites/SiteInformations.razor.rz.scp.css */
/* Typo globale de la page */
:host[b-3ygwr66neg] {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0f172a;
}

/* Hero Header */
.hero-header[b-3ygwr66neg] {
  position: relative;
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  margin: 1rem auto;
  max-width: calc(100% - 2rem);
}

.hero-overlay[b-3ygwr66neg] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.65) 50%, rgba(51, 65, 85, 0.7) 100%);
  backdrop-filter: blur(2px);
}

.hero-content[b-3ygwr66neg] {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-title-section[b-3ygwr66neg] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.hero-title[b-3ygwr66neg] {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

h1.hero-title[b-3ygwr66neg],
.hero-title h1[b-3ygwr66neg] {
  color: #ffffff !important;
}

.hero-subtitle[b-3ygwr66neg] {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-actions[b-3ygwr66neg] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Status Indicator - Pastille en bas à droite */
.status-indicator[b-3ygwr66neg] {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3;
  animation: statusPulse-b-3ygwr66neg 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-indicator:hover[b-3ygwr66neg] {
  transform: scale(1.2);
  animation: none;
}

.status-indicator-success[b-3ygwr66neg] {
  background: #10b981;
}

.status-indicator-warning[b-3ygwr66neg] {
  background: #f59e0b;
}

/* Tooltip */
.status-indicator[b-3ygwr66neg]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.status-indicator[b-3ygwr66neg]::before {
  content: '';
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: rgba(15, 23, 42, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.status-indicator:hover[b-3ygwr66neg]::after,
.status-indicator:hover[b-3ygwr66neg]::before {
  opacity: 1;
}

.status-indicator:hover[b-3ygwr66neg]::after {
  transform: translateY(-50%) translateX(-4px);
}

@keyframes statusPulse-b-3ygwr66neg {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }
}

/* Modern Buttons */
.modern-btn[b-3ygwr66neg] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.modern-btn[b-3ygwr66neg]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.modern-btn:active[b-3ygwr66neg]::before {
  width: 300px;
  height: 300px;
}

.modern-btn:hover[b-3ygwr66neg] {
  transform: translateY(-2px);
}

.modern-btn:active[b-3ygwr66neg] {
  transform: translateY(0);
}

/* Primary Button */
.modern-btn-primary[b-3ygwr66neg] {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow:
    0 4px 12px rgba(37, 99, 235, 0.3),
    0 1px 3px rgba(37, 99, 235, 0.2);
}

.modern-btn-primary:hover[b-3ygwr66neg] {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.4),
    0 2px 6px rgba(37, 99, 235, 0.3);
}

/* Ghost Button */
.modern-btn-ghost[b-3ygwr66neg] {
  background: transparent;
  color: #64748b;
  border: 1.5px solid rgba(100, 116, 139, 0.2);
  box-shadow: none;
}

.modern-btn-ghost:hover[b-3ygwr66neg] {
  background: rgba(100, 116, 139, 0.08);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.3);
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.1);
}

/* Hero Header Responsive */
@media (max-width: 768px) {
  .hero-header[b-3ygwr66neg] {
    height: 220px;
    border-radius: 16px;
    max-width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
  }

  .hero-content[b-3ygwr66neg] {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .hero-title[b-3ygwr66neg] {
    font-size: 2.5rem;
  }

  .hero-subtitle[b-3ygwr66neg] {
    font-size: 1rem;
  }

  .hero-actions[b-3ygwr66neg] {
    width: 100%;
    justify-content: flex-start;
  }

  .modern-btn[b-3ygwr66neg] {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-header[b-3ygwr66neg] {
    height: 180px;
    border-radius: 12px;
    max-width: calc(100% - 1rem);
    margin: 0.5rem auto;
  }

  .hero-title[b-3ygwr66neg] {
    font-size: 1.75rem;
  }

  .hero-subtitle[b-3ygwr66neg] {
    font-size: 0.875rem;
  }

  .status-badge[b-3ygwr66neg] {
    font-size: 0.813rem;
    padding: 0.4rem 0.8rem;
  }

  .modern-btn[b-3ygwr66neg] {
    font-size: 0.813rem;
    padding: 0.5rem 1rem;
  }
}

/* Sections Cards */
.section-card[b-3ygwr66neg] {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 255, 0.96));
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.05),
    0 12px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.section-card:hover[b-3ygwr66neg] {
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.08),
    0 16px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.card-header[b-3ygwr66neg] {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(59, 130, 246, 0.05));
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
  padding: 1rem 1.25rem;
}

.card-header .mud-typography-h6[b-3ygwr66neg] {
  font-weight: 700;
  color: #1e40af;
  display: flex;
  align-items: center;
  font-size: 1.125rem;
}

.card-header-primary[b-3ygwr66neg] {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.1));
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  padding: 1rem 1.25rem;
}

.card-header-primary .mud-typography-h6[b-3ygwr66neg] {
  font-weight: 700;
  color: #1e40af;
}

.visual-body[b-3ygwr66neg] {
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
  padding: 1.25rem;
}

.site-image[b-3ygwr66neg] {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(37, 99, 235, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.site-image:hover[b-3ygwr66neg] {
  transform: scale(1.02);
  box-shadow:
    0 12px 32px rgba(37, 99, 235, 0.16),
    0 4px 12px rgba(15, 23, 42, 0.12);
}

/* Chips Styling */
.chips[b-3ygwr66neg] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips .mud-chip[b-3ygwr66neg] {
  margin: 0;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.chips .mud-chip:hover[b-3ygwr66neg] {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Info Grid - Modern Design */
.info-grid[b-3ygwr66neg] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-item[b-3ygwr66neg] {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 12px;
  padding: 1rem 1.125rem;
  transition: all 0.25s ease;
  overflow: hidden;
}

.info-item[b-3ygwr66neg]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.info-item:hover[b-3ygwr66neg] {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  transform: translateX(2px);
}

.info-item:hover[b-3ygwr66neg]::before {
  opacity: 1;
}

.info-item.col-span-2[b-3ygwr66neg] {
  grid-column: 1 / -1;
}

.info-item .label[b-3ygwr66neg] {
  font-size: 0.813rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.info-item .label .mud-icon-root[b-3ygwr66neg] {
  font-size: 1rem;
  margin-right: 0.375rem;
  color: #3b82f6;
}

.info-item .value[b-3ygwr66neg] {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.truncate[b-3ygwr66neg] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Parameter Labels */
.small[b-3ygwr66neg] {
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
  display: block;
}

.text-muted[b-3ygwr66neg] {
  color: #64748b;
}

.fw-semibold[b-3ygwr66neg] {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.938rem;
  background: rgba(241, 245, 249, 0.5);
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  display: block;
  transition: all 0.2s ease;
}

.fw-semibold:hover[b-3ygwr66neg] {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(239, 246, 255, 0.6);
}

.mt-2[b-3ygwr66neg] {
  margin-top: 1rem;
}

/* Alert Styling */
.mud-alert[b-3ygwr66neg] {
  border-radius: 12px;
  border-left-width: 4px;
  font-weight: 500;
}

/* Error */
.error-paper[b-3ygwr66neg] {
  border-left: 6px solid #e53935;
  background: linear-gradient(135deg, #fff7f7 0%, #ffe8e8 100%);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.12);
}

/* Responsive */
@media (max-width: 768px) {
  .info-grid[b-3ygwr66neg] {
    grid-template-columns: 1fr;
  }

  .section-card:hover[b-3ygwr66neg] {
    transform: none;
  }

  .info-item:hover[b-3ygwr66neg] {
    transform: none;
  }

  .site-image:hover[b-3ygwr66neg] {
    transform: none;
  }
}

/* Loader */
.site-loader[b-3ygwr66neg] {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(140% 120% at 20% 20%, rgba(59, 130, 246, 0.1), transparent 40%), #f8fafc;
}

.loader-card[b-3ygwr66neg] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  max-width: 560px;
  width: 100%;
}

.loader-icon[b-3ygwr66neg] {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: grid;
  place-items: center;
  color: #1d4ed8;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.loader-body[b-3ygwr66neg] {
  display: grid;
  gap: 0.35rem;
}

.loader-title[b-3ygwr66neg] {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.loader-sub[b-3ygwr66neg] {
  color: #475569;
  font-weight: 500;
}

.loader-bar[b-3ygwr66neg] {
  border-radius: 999px;
  height: 8px;
}
/* /Shared/Dialogs/AddLevelDialog.razor.rz.scp.css */
.usage-select-dialog[b-liu5oxbm20] {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.dialog-header[b-liu5oxbm20] {
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
  padding: 1.5rem;
  margin: -1.5rem -1.5rem 1.5rem -1.5rem;
  border-radius: 12px 12px 0 0;
  color: white;
}

.dialog-title[b-liu5oxbm20] {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.dialog-subtitle[b-liu5oxbm20] {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.dialog-description[b-liu5oxbm20] {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Styles pour la section du métier */
.metier-section[b-liu5oxbm20] {
  margin-bottom: 1.5rem;
}

.metier-section.has-error[b-liu5oxbm20] {
  margin-bottom: 0.5rem;
}

.metier-label[b-liu5oxbm20] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #334155;
}

.required[b-liu5oxbm20] {
  color: #ef4444;
}

.metier-select[b-liu5oxbm20] {
  margin-bottom: 0.5rem;
}

.metier-select-item[b-liu5oxbm20] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metier-option-icon[b-liu5oxbm20] {
  font-size: 1.2rem;
}

.metier-error[b-liu5oxbm20] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Styles pour la recherche et le filtrage */
.search-filter-container[b-liu5oxbm20] {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-box[b-liu5oxbm20] {
  flex: 2;
}

.category-filter[b-liu5oxbm20] {
  flex: 1;
}

/* Styles pour les résultats */
.results-count[b-liu5oxbm20] {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.usage-list-container[b-liu5oxbm20] {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.category-group[b-liu5oxbm20] {
  margin-bottom: 1.5rem;
}

.category-header[b-liu5oxbm20] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.category-icon[b-liu5oxbm20] {
  color: #a855f7;
}

.category-count[b-liu5oxbm20] {
  background: #f1f5f9;
  color: #64748b;
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Styles pour les options d'usage */
.usage-option[b-liu5oxbm20] {
  background: rgba(248, 250, 252, 0.9);
  border: 2px solid rgba(203, 213, 225, 0.6);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.usage-option:hover[b-liu5oxbm20] {
  background: rgba(241, 245, 249, 1);
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
}

.usage-option.selected[b-liu5oxbm20] {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.usage-option-header[b-liu5oxbm20] {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.usage-option-radio[b-liu5oxbm20] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #a855f7;
  margin-top: 0.125rem;
}

.usage-option-content[b-liu5oxbm20] {
  flex: 1;
}

.usage-option-label[b-liu5oxbm20] {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.usage-unit-badge[b-liu5oxbm20] {
  background: #f1f5f9;
  color: #475569;
  padding: 0.125rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.usage-description[b-liu5oxbm20] {
  color: #64748b;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.usage-option-icon[b-liu5oxbm20] {
  color: #a855f7;
  opacity: 0.7;
}

/* Styles pour la mise en évidence du texte recherché */
.highlight[b-liu5oxbm20] {
  background-color: rgba(168, 85, 247, 0.2);
  padding: 0 2px;
  border-radius: 2px;
}

/* Styles pour l'état vide */
.empty-state[b-liu5oxbm20] {
  text-align: center;
  padding: 3rem 1rem;
  color: #94a3b8;
}

.empty-state-icon[b-liu5oxbm20] {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Styles pour la barre de défilement */
.usage-list-container[b-liu5oxbm20]::-webkit-scrollbar {
  width: 6px;
}

.usage-list-container[b-liu5oxbm20]::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.usage-list-container[b-liu5oxbm20]::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.usage-list-container[b-liu5oxbm20]::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}
/* /Shared/Dialogs/AddUsageDialog.razor.rz.scp.css */
.usage-select-dialog[b-6dh9wz0wxo] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.search-filter-container[b-6dh9wz0wxo] {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-box[b-6dh9wz0wxo] {
    flex: 1;
    min-width: 250px;
}

.category-filter[b-6dh9wz0wxo] {
    min-width: 200px;
}

.dialog-description[b-6dh9wz0wxo] {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.usage-list-container[b-6dh9wz0wxo] {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.usage-list-container[b-6dh9wz0wxo]::-webkit-scrollbar {
    width: 8px;
}

.usage-list-container[b-6dh9wz0wxo]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.usage-list-container[b-6dh9wz0wxo]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.usage-list-container[b-6dh9wz0wxo]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.category-group[b-6dh9wz0wxo] {
    margin-bottom: 2rem;
}

.category-header[b-6dh9wz0wxo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.category-icon[b-6dh9wz0wxo] {
    font-size: 1.3rem;
}

.category-count[b-6dh9wz0wxo] {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.usage-option[b-6dh9wz0wxo] {
    background: rgba(248, 250, 252, 0.9);
    border: 2px solid rgba(203, 213, 225, 0.6);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.usage-option:hover[b-6dh9wz0wxo] {
    background: rgba(241, 245, 249, 1);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.usage-option.selected[b-6dh9wz0wxo] {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.usage-option-header[b-6dh9wz0wxo] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.usage-option-radio[b-6dh9wz0wxo] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #6366f1;
    flex-shrink: 0;
}

.usage-option-content[b-6dh9wz0wxo] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.usage-option-label[b-6dh9wz0wxo] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.usage-unit-badge[b-6dh9wz0wxo] {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.usage-description[b-6dh9wz0wxo] {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.25rem;
}

.usage-option-icon[b-6dh9wz0wxo] {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.empty-state[b-6dh9wz0wxo] {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

.empty-state-icon[b-6dh9wz0wxo] {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.results-count[b-6dh9wz0wxo] {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(241, 245, 249, 0.8);
    border-radius: 8px;
    display: inline-block;
}

.highlight[b-6dh9wz0wxo] {
    background-color: rgba(99, 102, 241, 0.2);
    padding: 0 2px;
    border-radius: 2px;
}

.metier-section[b-6dh9wz0wxo] {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
}

.metier-section.has-error[b-6dh9wz0wxo] {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.metier-label[b-6dh9wz0wxo] {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metier-label .required[b-6dh9wz0wxo] {
    color: #ef4444;
}

.metier-options[b-6dh9wz0wxo] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.metier-option[b-6dh9wz0wxo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 2px solid rgba(203, 213, 225, 0.6);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.metier-option:hover[b-6dh9wz0wxo] {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.03);
}

.metier-option.selected[b-6dh9wz0wxo] {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.metier-option-radio[b-6dh9wz0wxo] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
}

.metier-option-content[b-6dh9wz0wxo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metier-option-icon[b-6dh9wz0wxo] {
    font-size: 1.25rem;
}

.metier-option-label[b-6dh9wz0wxo] {
    font-weight: 500;
    color: #334155;
}

.metier-error[b-6dh9wz0wxo] {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
/* /Shared/Dialogs/CaptorsDialog.razor.rz.scp.css */

    .captors-dialog[b-ellkpj0smv] {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    

    .captors-dialog .mud-dialog-actions[b-ellkpj0smv] {
        padding: 0 !important;
        margin: 0 !important;
    }

    .dialog-header-gradient[b-ellkpj0smv] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 2rem;
        margin: -1.5rem -1.5rem 0 -1.5rem;
        border-radius: 12px 12px 0 0;
        position: relative;
        overflow: hidden;
    }

    .mud-dialog .mud-dialog-title[b-ellkpj0smv] {
        padding: 0px !important; 
    }

    .dialog-title[b-ellkpj0smv] {
        color: white;
        font-size: 1.75rem;
        font-weight: 700;
        margin: 0;
        position: relative;
        z-index: 1;
        text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .dialog-subtitle[b-ellkpj0smv] {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.95rem;
        margin-top: 0.5rem;
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .usage-badge[b-ellkpj0smv] {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
        padding: 0.35rem 0.9rem;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.85rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .stats-container[b-ellkpj0smv] {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
        position: relative;
        z-index: 1;
    }

    .stat-card[b-ellkpj0smv] {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        padding: 0.75rem 1.25rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        transition: all 0.3s ease;
    }

    .stat-card:hover[b-ellkpj0smv] {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }

    .stat-icon[b-ellkpj0smv] {
        font-size: 1.5rem;
    }

    .stat-value[b-ellkpj0smv] {
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
        line-height: 1;
    }

    .stat-label[b-ellkpj0smv] {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.85);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 500;
    }

    /* BARRE DE RECHERCHE */
    .search-container[b-ellkpj0smv] {
        margin: 1.5rem 0;
        position: relative;
    }

    .search-input-wrapper[b-ellkpj0smv] {
        position: relative;
        display: flex;
        align-items: center;
    }

    .search-icon[b-ellkpj0smv] {
        position: absolute;
        left: 1.25rem;
        font-size: 1.2rem;
        color: #94a3b8;
        pointer-events: none;
    }

    .search-input[b-ellkpj0smv] {
        width: 100%;
        padding: 0.875rem 1rem 0.875rem 3.5rem;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        background: white;
        font-family: inherit;
    }

    .search-input:focus[b-ellkpj0smv] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .search-input[b-ellkpj0smv]::placeholder {
        color: #94a3b8;
    }

    .clear-search[b-ellkpj0smv] {
        position: absolute;
        right: 1rem;
        background: #e2e8f0;
        border: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        color: #64748b;
        font-size: 1.1rem;
    }

    .clear-search:hover[b-ellkpj0smv] {
        background: #cbd5e1;
        color: #1e293b;
        transform: scale(1.1);
    }

    .search-stats[b-ellkpj0smv] {
        margin-top: 0.75rem;
        color: #64748b;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .search-stats-highlight[b-ellkpj0smv] {
        color: #667eea;
        font-weight: 600;
    }

    /* TOOLBAR DE SÉLECTION */
    .selection-toolbar[b-ellkpj0smv] {
       background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 1rem 1.5rem;
        margin: 1rem 0;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
        animation: slideInDown-b-ellkpj0smv 0.3s ease-out;
    }

    .selection-info[b-ellkpj0smv] {
        color: white;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .selection-count[b-ellkpj0smv] {
        background: rgba(255, 255, 255, 0.25);
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.9rem;
    }

    .selection-actions[b-ellkpj0smv] {
        display: flex;
        gap: 0.75rem;
    }

    .btn-select-all[b-ellkpj0smv],
    .btn-deselect-all[b-ellkpj0smv],
    .btn-delete-selected[b-ellkpj0smv] {
        background: white;
        /* color: #f5576c; */
        border: none;
        padding: 0.6rem 1.2rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-delete-selected[b-ellkpj0smv] {
        /* background: #ef4444; */
        /* color: white; */
    }

    .btn-select-all:hover[b-ellkpj0smv],
    .btn-deselect-all:hover[b-ellkpj0smv] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .btn-delete-selected:hover[b-ellkpj0smv] {
        /* background: #dc2626; */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    }

    .captors-list-container[b-ellkpj0smv] {
        padding: 0;
        max-height: 50vh;
        overflow-y: auto;
    }

    .captors-list-container[b-ellkpj0smv]::-webkit-scrollbar {
        width: 8px;
    }

    .captors-list-container[b-ellkpj0smv]::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 4px;
    }

    .captors-list-container[b-ellkpj0smv]::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    .captors-list-container[b-ellkpj0smv]::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    .captor-card[b-ellkpj0smv] {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        max-width: 99%;
    }

    .captor-card[b-ellkpj0smv]::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .captor-card:hover[b-ellkpj0smv] {
        transform: translateX(4px);
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
        border-color: #667eea;
    }

    .captor-card:hover[b-ellkpj0smv]::before {
        opacity: 1;
    }

    .captor-card.selected[b-ellkpj0smv] {
        background: #fef3f2;
        border-color: #f5576c;
        box-shadow: 0 4px 16px rgba(245, 87, 108, 0.2);
    }

    .captor-card.selected[b-ellkpj0smv]::before {
        background: linear-gradient(180deg, #f093fb 0%, #f5576c 100%);
        opacity: 1;
    }

    .captor-id-header[b-ellkpj0smv] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .checkbox-wrapper[b-ellkpj0smv] {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-checkbox[b-ellkpj0smv] {
        appearance: none;
        width: 24px;
        height: 24px;
        border: 2px solid #cbd5e1;
        border-radius: 6px;
        cursor: pointer;
        position: relative;
        transition: all 0.3s ease;
        background: white;
    }

    .custom-checkbox:hover[b-ellkpj0smv] {
        border-color: #667eea;
    }

    .custom-checkbox:checked[b-ellkpj0smv] {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        border-color: #f5576c;
    }

    .custom-checkbox:checked[b-ellkpj0smv]::after {
        content: '✓';
        position: absolute;
        color: white;
        font-size: 16px;
        font-weight: bold;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .captor-id-badge[b-ellkpj0smv] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 0.4rem 1rem;
        border-radius: 8px;
        font-family: 'Roboto Mono', monospace;
        font-size: 0.95rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }

    .level-badge[b-ellkpj0smv] {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-left: auto;
        box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
    }

    .captor-details[b-ellkpj0smv] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .detail-item[b-ellkpj0smv] {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .detail-label[b-ellkpj0smv] {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #64748b;
        font-weight: 600;
    }

    .detail-value[b-ellkpj0smv] {
        font-size: 0.9rem;
        color: #1e293b;
        word-break: break-word;
    }

    .detail-value.empty[b-ellkpj0smv] {
        color: #94a3b8;
        font-style: italic;
    }

    .detail-value.path[b-ellkpj0smv] {
        font-family: 'Roboto Mono', monospace;
        font-size: 0.8rem;
        background: #f8fafc;
        padding: 0.5rem;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
    }

    .empty-state[b-ellkpj0smv] {
        text-align: center;
        padding: 4rem 2rem;
        color: #64748b;
    }

    .empty-state-icon[b-ellkpj0smv] {
        font-size: 4rem;
        margin-bottom: 1rem;
        opacity: 0.3;
    }

    .empty-state-text[b-ellkpj0smv] {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .dialog-actions-custom[b-ellkpj0smv] {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        gap: 0.75rem;
    }

    .btn-close[b-ellkpj0smv] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        padding: 0.75rem 2rem;
        border-radius: 10px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .btn-close:hover[b-ellkpj0smv] {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

    .btn-close:active[b-ellkpj0smv] {
        transform: translateY(0);
    }

    @media (max-width: 768px) {
        .captor-details[b-ellkpj0smv] {
            grid-template-columns: 1fr;
        }
        
        .stats-container[b-ellkpj0smv] {
            flex-direction: column;
        }

        .dialog-header-gradient[b-ellkpj0smv] {
            padding: 1.5rem;
        }

        .dialog-title[b-ellkpj0smv] {
            font-size: 1.4rem;
        }

        .selection-toolbar[b-ellkpj0smv] {
            flex-direction: column;
            gap: 1rem;
        }

        .selection-actions[b-ellkpj0smv] {
            width: 100%;
            flex-direction: column;
        }

        .btn-select-all[b-ellkpj0smv],
        .btn-deselect-all[b-ellkpj0smv],
        .btn-delete-selected[b-ellkpj0smv] {
            width: 100%;
            justify-content: center;
        }
    }

    /* Animations */
    @keyframes slideInUp-b-ellkpj0smv {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideInDown-b-ellkpj0smv {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .captor-card[b-ellkpj0smv] {
        animation: slideInUp-b-ellkpj0smv 0.4s ease-out backwards;
    }

    .captor-card:nth-child(1)[b-ellkpj0smv] { animation-delay: 0.05s; }
    .captor-card:nth-child(2)[b-ellkpj0smv] { animation-delay: 0.1s; }
    .captor-card:nth-child(3)[b-ellkpj0smv] { animation-delay: 0.15s; }
    .captor-card:nth-child(4)[b-ellkpj0smv] { animation-delay: 0.2s; }
    .captor-card:nth-child(5)[b-ellkpj0smv] { animation-delay: 0.25s; }
/* /Shared/Dialogs/DeleteSiteDialog.razor.rz.scp.css */
.delete-dialog-root[b-e01ixifg44] {
  padding: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(120% 140% at 0% 0%, rgba(248, 113, 113, 0.14), transparent 40%), #f8fafc;
}

.delete-dialog-root[b-e01ixifg44]  .mud-dialog-title {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  line-height: 0 !important;
}

.delete-hero[b-e01ixifg44] {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.25rem 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(248, 113, 113, 0.15);
}

.delete-icon[b-e01ixifg44] {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #fb7185 100%);
  box-shadow: 0 14px 34px rgba(239, 68, 68, 0.28);
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.delete-icon[b-e01ixifg44]  .mud-icon-root {
  color: #fff !important;
  font-size: 30px !important;
}

.delete-hero-text[b-e01ixifg44] {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.delete-hero-text .kicker[b-e01ixifg44] {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ef4444;
}

.delete-hero-text .title[b-e01ixifg44] {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.delete-hero-text .subtitle[b-e01ixifg44] {
  font-size: 1rem;
  color: #475569;
}

.delete-body[b-e01ixifg44] {
  padding: 0 1.25rem 1.25rem 1.25rem;
}

.delete-dialog-panel[b-e01ixifg44] {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(239, 68, 68, 0.14);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 14px 34px rgba(239, 68, 68, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.badge-line[b-e01ixifg44] {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.badge-line[b-e01ixifg44]::before {
  content: "Action irréversible";
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.12);
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.panel-title[b-e01ixifg44] {
  font-weight: 800;
  margin-top: 0.1rem;
  color: #0f172a;
}

.panel-text[b-e01ixifg44] {
  color: #334155;
  line-height: 1.6;
}

.panel-text.strong[b-e01ixifg44] {
  font-weight: 700;
  color: #0f172a;
}

.consequences[b-e01ixifg44] {
  display: grid;
  gap: 0.45rem;
  margin: 0.25rem 0 0.75rem 0;
}

.consequence[b-e01ixifg44] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a;
  font-weight: 600;
}

.consequence .dot[b-e01ixifg44] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #fb7185);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.delete-dialog-alert[b-e01ixifg44] {
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.15);
}

.delete-dialog-input[b-e01ixifg44]  .mud-input-root {
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
}

.delete-dialog-error[b-e01ixifg44] {
  margin-top: -0.25rem;
}

.danger-note[b-e01ixifg44] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.08);
  color: #9f1239;
  font-weight: 700;
  border: 1px solid rgba(248, 113, 113, 0.18);
}

.danger-note[b-e01ixifg44]  .mud-icon-root {
  color: #ef4444;
}

.delete-dialog-actions[b-e01ixifg44] {
  padding: 0.9rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.delete-dialog-actions[b-e01ixifg44]  .mud-button {
  border-radius: 12px;
  font-weight: 700;
}
/* /Shared/Dialogs/SetPointsDialog.razor.rz.scp.css */
/* =========================
   SETPOINTS DIALOG - HEADER WITH GRADIENT
   ========================= */

[b-38h7ibwejb] .mud-dialog .mud-dialog-title {
    padding: 0 !important;
}

.dialog-header-gradient[b-38h7ibwejb] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    margin: 0;
    color: white;
}

.dialog-title[b-38h7ibwejb] {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: white;
    letter-spacing: -0.02em;
}

.dialog-subtitle[b-38h7ibwejb] {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.95;
}

.usage-badge[b-38h7ibwejb] {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}

/* =========================
   STATS CONTAINER
   ========================= */

.stats-container[b-38h7ibwejb] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-card[b-38h7ibwejb] {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.stat-icon[b-38h7ibwejb] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg[b-38h7ibwejb] {
    width: 28px;
    height: 28px;
}

.stat-value[b-38h7ibwejb] {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label[b-38h7ibwejb] {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
}

/* =========================
   SEARCH CONTAINER
   ========================= */

.search-container[b-38h7ibwejb] {
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.search-input-wrapper[b-38h7ibwejb] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon[b-38h7ibwejb] {
    position: absolute;
    left: 1rem;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.search-input[b-38h7ibwejb] {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.search-input:focus[b-38h7ibwejb] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.clear-search[b-38h7ibwejb] {
    position: absolute;
    right: 1rem;
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
    color: #64748b;
    transition: all 0.2s ease;
}

.clear-search:hover[b-38h7ibwejb] {
    background: #cbd5e1;
    color: #1e293b;
}

.search-stats[b-38h7ibwejb] {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.search-stats-highlight[b-38h7ibwejb] {
    font-weight: 700;
    color: #667eea;
}

/* =========================
   SELECTION TOOLBAR
   ========================= */

.selection-toolbar[b-38h7ibwejb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.08));
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.selection-info[b-38h7ibwejb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #667eea;
}

.selection-count[b-38h7ibwejb] {
    font-size: 1rem;
}

.selection-actions[b-38h7ibwejb] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.selection-actions button[b-38h7ibwejb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-select-all[b-38h7ibwejb] {
    background: white;
    color: #667eea;
    border-color: #667eea;
}

.btn-select-all:hover[b-38h7ibwejb] {
    background: #667eea;
    color: white;
}

.btn-deselect-all[b-38h7ibwejb] {
    background: white;
    color: #64748b;
    border-color: #cbd5e1;
}

.btn-deselect-all:hover[b-38h7ibwejb] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-delete-selected[b-38h7ibwejb] {
    background: #fee;
    color: #dc2626;
    border-color: #fca5a5;
}

.btn-delete-selected:hover[b-38h7ibwejb] {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

/* =========================
   CAPTORS LIST CONTAINER
   ========================= */

.captors-list-container[b-38h7ibwejb] {
    padding: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
}

.captor-card[b-38h7ibwejb] {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.captor-card:hover[b-38h7ibwejb] {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.captor-card.selected[b-38h7ibwejb] {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.03));
}

/* =========================
   CAPTOR ID HEADER
   ========================= */

.captor-id-header[b-38h7ibwejb] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkbox-wrapper[b-38h7ibwejb] {
    display: flex;
    align-items: center;
}

.custom-checkbox[b-38h7ibwejb] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.captor-id-badge[b-38h7ibwejb] {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* =========================
   CAPTOR DETAILS
   ========================= */

.captor-details[b-38h7ibwejb] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item[b-38h7ibwejb] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label[b-38h7ibwejb] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value[b-38h7ibwejb] {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 500;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
}

.detail-value.path[b-38h7ibwejb] {
    font-family: 'Courier New', monospace;
    color: #667eea;
    word-break: break-all;
}

.detail-value.empty[b-38h7ibwejb] {
    color: #94a3b8;
    font-style: italic;
}

/* =========================
   EMPTY STATE
   ========================= */

.empty-state[b-38h7ibwejb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.empty-state-icon[b-38h7ibwejb] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state-text[b-38h7ibwejb] {
    font-size: 1.1rem;
    color: #64748b;
}

/* =========================
   DIALOG ACTIONS
   ========================= */

.dialog-actions-custom[b-38h7ibwejb] {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
}

.btn-close[b-38h7ibwejb] {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close:hover[b-38h7ibwejb] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
    .dialog-header-gradient[b-38h7ibwejb] {
        padding: 1.5rem;
    }

    .dialog-title[b-38h7ibwejb] {
        font-size: 1.5rem;
    }

    .stats-container[b-38h7ibwejb] {
        flex-direction: column;
    }

    .stat-card[b-38h7ibwejb] {
        min-width: 100%;
    }

    .selection-toolbar[b-38h7ibwejb] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .selection-actions[b-38h7ibwejb] {
        width: 100%;
    }

    .selection-actions button[b-38h7ibwejb] {
        flex: 1;
    }
}
/* /Shared/Dialogs/TargetListDialog.razor.rz.scp.css */
.target-dialog-root[b-kbpd3mpl60] {
    padding: 1.25rem;
}

.target-dialog-hero[b-kbpd3mpl60] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0.75rem;
}

.target-dialog-title[b-kbpd3mpl60] {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.target-dialog-sub[b-kbpd3mpl60] {
    color: #64748b;
    font-size: 0.95rem;
}

.target-dialog-list[b-kbpd3mpl60] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 60vh;
    overflow: auto;
    padding-right: 0.25rem;
}

.target-dialog-item[b-kbpd3mpl60] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.target-dialog-dot[b-kbpd3mpl60] {
    color: #2563eb;
    font-size: 1.1rem;
    line-height: 1.2;
}

.target-dialog-name[b-kbpd3mpl60] {
    font-weight: 700;
    color: #0f172a;
}

.target-dialog-meta[b-kbpd3mpl60] {
    color: #64748b;
    font-size: 0.9rem;
}

.target-dialog-empty[b-kbpd3mpl60] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    padding: 1rem 0;
}

.target-dialog-empty[b-kbpd3mpl60]  .mud-icon-root {
    font-size: 2rem !important;
    color: #cbd5e1 !important;
}

.target-dialog-actions[b-kbpd3mpl60] {
    padding: 0.75rem 1.25rem 1.25rem 1.25rem;
}

.target-dialog-actions[b-kbpd3mpl60]  .mud-button {
    border-radius: 10px;
    font-weight: 700;
}
/* /Shared/EmptyLayout.razor.rz.scp.css */
/* Fullscreen centered container without navbar */
.empty-layout[b-ltcfmev3il] {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* /Shared/GtbMesures.razor.rz.scp.css */

    /* @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap');  */

    .gtb-container[b-a7zg44q7cp] {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        min-height: 100vh;
        padding: 2rem;
        position: relative;
        overflow: visible;
    }

    .gtb-container[b-a7zg44q7cp]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
            repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
        pointer-events: none;
        z-index: 0;
    }

    .gtb-content[b-a7zg44q7cp] {
        position: relative;
        z-index: 1;
    }

    .gtb-header[b-a7zg44q7cp] {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(59, 130, 246, 0.15);
        border-radius: 20px;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        animation: slideDown-b-a7zg44q7cp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideDown-b-a7zg44q7cp {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .gtb-title[b-a7zg44q7cp] {
        font-size: 3rem;
        font-weight: 700;
        background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
    }

    .gtb-subtitle[b-a7zg44q7cp] {
        color: #64748b;
        font-size: 1.1rem;
        font-weight: 400;
        letter-spacing: 0.05em;
    }

    .gtb-stat-chip[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.08);
        border: 1px solid rgba(59, 130, 246, 0.25);
        border-radius: 12px;
        padding: 0.75rem 1.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
        color: #2563eb;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        animation: fadeIn-b-a7zg44q7cp 0.8s ease both;
    }

    .gtb-stat-chip:hover[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
    }

    .gtb-stat-chip.success[b-a7zg44q7cp] {
        background: rgba(34, 197, 94, 0.08);
        border-color: rgba(34, 197, 94, 0.25);
        color: #16a34a;
    }

    .gtb-stat-chip.success:hover[b-a7zg44q7cp] {
        background: rgba(34, 197, 94, 0.15);
        box-shadow: 0 8px 16px rgba(34, 197, 94, 0.15);
    }

    @keyframes fadeIn-b-a7zg44q7cp {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Bouton Ajouter Usage */
    .add-usage-btn[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
        border: 2px dashed rgba(99, 102, 241, 0.4);
        border-radius: 16px;
        padding: 2rem;
        margin-bottom: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        color: #6366f1;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .add-usage-btn:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
        border-color: rgba(99, 102, 241, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    }

    .add-usage-icon[b-a7zg44q7cp] {
        font-size: 2rem;
        animation: pulse-b-a7zg44q7cp 2s infinite;
    }

    @keyframes pulse-b-a7zg44q7cp {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }

    .usage-card[b-a7zg44q7cp] {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(226, 232, 240, 0.8);
        border-radius: 16px;
        padding: 1.75rem;
        margin-bottom: 1.5rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        overflow: hidden;
        animation: slideUp-b-a7zg44q7cp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .usage-card[b-a7zg44q7cp]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, #3b82f6, #60a5fa);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .usage-card:hover[b-a7zg44q7cp]::before {
        opacity: 1;
    }

    .usage-card:hover[b-a7zg44q7cp] {
        transform: translateY(-4px);
        border-color: rgba(59, 130, 246, 0.4);
        box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
    }

    @keyframes slideUp-b-a7zg44q7cp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .usage-header[b-a7zg44q7cp] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        cursor: pointer;
    }

    .usage-title[b-a7zg44q7cp] {
        font-size: 1.5rem;
        font-weight: 600;
        color: #2563eb;
        letter-spacing: -0.01em;
        align-items: center;
    }

    .usage-subtitle[b-a7zg44q7cp] {
        color: #64748b;
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: 0.05em;
    }

    .usage-category-title[b-a7zg44q7cp] {
        font-size: 1.75rem;
        font-weight: 600;
        color: #1e293b;
        letter-spacing: -0.01em;
    }

    .usage-unit[b-a7zg44q7cp] {
        font-size: 0.85rem;
        color: #64748b;
        font-weight: 400;
        margin-left: 0.25rem;
    }

    .measure-badge[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
        border: 1px solid rgba(59, 130, 246, 0.3);
        padding: 0.5rem 1.25rem;
        border-radius: 10px;
        font-size: 0.9rem;
        color: #2563eb;
        font-weight: 500;
        margin-left:20px
    }

    .level-badge[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
        border: 1px solid #a855f766;
        padding: 0.5rem 1.25rem;
        border-radius: 10px;
        font-size: 0.9rem;
        color:  #6366f1;
        font-weight: 500;
        margin-left:20px
    }

    .threshold-badge[b-a7zg44q7cp] {
        background:linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));;
        border: 1px solid rgba(34, 197, 94, 0.4);
        padding: 0.5rem 1.25rem;
        border-radius: 10px;
        font-size: 0.9rem;
        color: #16a34a;
        font-weight: 500;
        margin-left:20px
    }

    .level-container[b-a7zg44q7cp] {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .level-card[b-a7zg44q7cp] {
        background: rgba(248, 250, 252, 0.8);
        border: 4px dashed rgba(148, 163, 184, 0.4);
        border-radius: 12px;
        padding: 1.25rem;
        transition: all 0.3s ease;
        min-height: 140px;
        position: relative;
    }

    .level-card:hover[b-a7zg44q7cp] {
        background: rgba(241, 245, 249, 0.9);
        border-color: rgba(59, 130, 246, 0.3);
    }

    /* Carte pour ajouter un niveau */
    .add-level-card[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(139, 92, 246, 0.05));
        border: 3px dashed rgba(168, 85, 247, 0.4);
        border-radius: 12px;
        padding: 1.25rem;
        transition: all 0.3s ease;
        min-height: 140px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .add-level-card:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.1));
        border-color: rgba(168, 85, 247, 0.6);
        transform: scale(1.02);
    }

    .add-level-icon[b-a7zg44q7cp] {
        font-size: 2rem;
        color: #a855f7;
    }

    .add-level-text[b-a7zg44q7cp] {
        color: #a855f7;
        font-weight: 600;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .level-label[b-a7zg44q7cp] {
        font-size: 0.95rem;
        font-weight: 600;
        color: #475569;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .level-label[b-a7zg44q7cp]::before {
        content: '';
        width: 8px;
        height: 8px;
        background: #3b82f6;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }

    

    .captor-chip[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.3);
        padding: 0.4rem 0.9rem;
        border-radius: 8px;
        font-size: 0.85rem;
        color: #2563eb;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .captor-chip:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }

    .captor-chip.more[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(100, 116, 139, 0.08), rgba(71, 85, 105, 0.08));
        border-color: rgba(100, 116, 139, 0.3);
        color: #475569;
    }

    .captor-chip.more:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(71, 85, 105, 0.15));
    }

    

    .threshold-table[b-a7zg44q7cp] {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-top: 1rem;
    }

    .threshold-table th[b-a7zg44q7cp] {
        background: rgba(248, 250, 252, 0.8);
        color: #64748b;
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 0.75rem 1rem;
        text-align: left;
        border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    }

    .threshold-table td[b-a7zg44q7cp] {
        padding: 0.75rem 1rem;
        color: #334155;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    }

    .threshold-table tr:hover td[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.03);
    }

    .threshold-input[b-a7zg44q7cp] {
        width: 100%;
        padding: 0.4rem 0.6rem;
        background: rgba(248, 250, 252, 0.9);
        border: 1px solid rgba(203, 213, 225, 0.6);
        border-radius: 6px;
        font-size: 0.9rem;
        color: #334155;
        transition: all 0.2s ease;
        outline: none;
    }

    .threshold-input:focus[b-a7zg44q7cp] {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .threshold-value-display[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
        border: 1px solid rgba(34, 197, 94, 0.3);
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        display: inline-block;
        font-weight: 500;
        color: #16a34a;
        font-size: 0.9rem;
        min-width: 60px;
        text-align: center;
    }

    .threshold-actions[b-a7zg44q7cp] {
        display: flex;
        gap: 0.5rem;
    }

    .threshold-action-btn[b-a7zg44q7cp] {
        padding: 0.3rem 0.6rem;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid;
    }

    .threshold-action-btn.delete[b-a7zg44q7cp] {
        background: rgba(239, 68, 68, 0.08);
        border-color: rgba(239, 68, 68, 0.3);
        color: #dc2626;
    }

    .threshold-action-btn.delete:hover[b-a7zg44q7cp] {
        background: rgba(239, 68, 68, 0.15);
        transform: scale(1.05);
    }

    .threshold-divider[b-a7zg44q7cp] {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(203, 213, 225, 0.6), transparent);
        margin: 1.5rem 0;
    }

    .threshold-section-header[b-a7zg44q7cp] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .threshold-section-title[b-a7zg44q7cp] {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1e293b;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .add-threshold-btn[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
        border: 2px dashed rgba(34, 197, 94, 0.4);
        padding: 0.5rem 1rem;
        border-radius: 8px;
        color: #16a34a;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .add-threshold-btn:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.15));
        border-color: rgba(34, 197, 94, 0.6);
        transform: translateY(-2px);
    }

    .catalog-section[b-a7zg44q7cp] {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(16px);
        border: 2px dashed rgba(148, 163, 184, 0.4);
        border-radius: 16px;
        padding: 1.75rem;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        animation: slideLeft-b-a7zg44q7cp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        will-change: transform;
        contain: layout style paint;
        z-index: 5;
    }

    .usage-section[b-a7zg44q7cp]{
        display: flex; 
        align-items: center;
        width: 100%;
    }

    .search-container[b-a7zg44q7cp] {
        margin-bottom: 1.5rem;
        position: relative;
    }

    .search-box[b-a7zg44q7cp] {
        width: 100%;
        padding: 0.9rem 1rem 0.9rem 3rem;
        background: rgba(248, 250, 252, 0.9);
        border: 2px solid rgba(203, 213, 225, 0.6);
        border-radius: 12px;
        font-size: 0.9rem;
        color: #334155;
        transition: all 0.3s ease;
        outline: none;
    }

    .search-box:focus[b-a7zg44q7cp] {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    }

    .search-box[b-a7zg44q7cp]::placeholder {
        color: #94a3b8;
    }

    .search-icon[b-a7zg44q7cp] {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        font-size: 1.1rem;
        pointer-events: none;
    }

    .search-clear[b-a7zg44q7cp] {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #64748b;
        cursor: pointer;
        font-size: 1.2rem;
        padding: 0.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        opacity: 0;
        pointer-events: none;
    }

    .search-clear.visible[b-a7zg44q7cp] {
        opacity: 1;
        pointer-events: all;
    }

    .search-clear:hover[b-a7zg44q7cp] {
        color: #ef4444;
        transform: translateY(-50%) scale(1.1);
    }

    .selection-controls[b-a7zg44q7cp] {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .select-btn[b-a7zg44q7cp] {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.3);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #2563eb;
        cursor: pointer;
        transition: all 0.2s ease;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .select-btn:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
        transform: translateY(-1px);
    }

    .select-btn:active[b-a7zg44q7cp] {
        transform: translateY(0);
    }

    .select-btn.clear[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.08));
        border-color: rgba(239, 68, 68, 0.3);
        color: #dc2626;
    }

    .select-btn.clear:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
    }

    .selected-count[b-a7zg44q7cp] {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #16a34a;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .selected-count-number[b-a7zg44q7cp] {
        background: rgba(34, 197, 94, 0.2);
        padding: 0.15rem 0.5rem;
        border-radius: 6px;
    }

    @keyframes slideLeft-b-a7zg44q7cp {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .catalog-title[b-a7zg44q7cp] {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    /* .catalog-title::before {
        content: '📦';
        font-size: 1.75rem;
    } */

    .catalog-item[b-a7zg44q7cp] {
        background: rgba(248, 250, 252, 0.9);
        border: 1px solid rgba(203, 213, 225, 0.6);
        border-radius: 10px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        cursor: move;
        transition: all 0.3s ease;
        position: relative;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        will-change: transform;
        contain: layout style paint;
    }

    .catalog-item.selected[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.08);
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    }

    .catalog-item:hover[b-a7zg44q7cp] {
        background: rgba(241, 245, 249, 1);
        border-color: rgba(59, 130, 246, 0.4);
        transform: translateX(-4px);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    }

    .catalog-item.selected:hover[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.12);
    }

    .catalog-item-checkbox[b-a7zg44q7cp] {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        width: 20px;
        height: 20px;
        cursor: pointer;
        accent-color: #3b82f6;
    }

    .catalog-items-container[b-a7zg44q7cp] {
        display: flex;
        flex-direction: column;
    }

    .no-results[b-a7zg44q7cp] {
        text-align: center;
        padding: 2rem;
        color: #64748b;
        font-size: 0.9rem;
        font-style: italic;
    }

    .no-results-icon[b-a7zg44q7cp] {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.3;
    }

    .catalog-item-id[b-a7zg44q7cp] {
        font-weight: 600;
        color: #2563eb;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .catalog-item-path[b-a7zg44q7cp] {
        font-size: 0.8rem;
        color: #2563eb;
        margin-bottom: 0.25rem;
        word-break: break-all;
    }

    .catalog-item-desc[b-a7zg44q7cp] {
        font-size: 0.85rem;
        color: #475569;
        line-height: 1.4;
    }

    .catalog-item-date[b-a7zg44q7cp] {
        font-size: 0.75rem;
        color: #94a3b8;
        margin-top: 0.25rem;
    }

    .catalog-section[b-a7zg44q7cp]::-webkit-scrollbar {
        width: 8px;
    }

    .catalog-section[b-a7zg44q7cp]::-webkit-scrollbar-track {
        background: rgba(241, 245, 249, 0.5);
        border-radius: 4px;
    }

    .catalog-section[b-a7zg44q7cp]::-webkit-scrollbar-thumb {
        background: rgba(59, 130, 246, 0.3);
        border-radius: 4px;
    }

    .catalog-section[b-a7zg44q7cp]::-webkit-scrollbar-thumb:hover {
        background: rgba(59, 130, 246, 0.5);
    }

    .empty-state[b-a7zg44q7cp] {
        text-align: center;
        padding: 2rem;
        color: #64748b;
        font-size: 0.9rem;
    }

    .usage-card:nth-child(1)[b-a7zg44q7cp] { animation-delay: 0.1s; }
    .usage-card:nth-child(2)[b-a7zg44q7cp] { animation-delay: 0.2s; }
    .usage-card:nth-child(3)[b-a7zg44q7cp] { animation-delay: 0.3s; }
    .usage-card:nth-child(4)[b-a7zg44q7cp] { animation-delay: 0.4s; }

    .gtb-stat-chip:nth-child(1)[b-a7zg44q7cp] { animation-delay: 0.3s; }
    .gtb-stat-chip:nth-child(2)[b-a7zg44q7cp] { animation-delay: 0.4s; }

    @media (max-width: 960px) {
        .gtb-title[b-a7zg44q7cp] {
            font-size: 2rem;
        }
        
        .catalog-section[b-a7zg44q7cp] {
            position: relative;
            top: 0;
            max-height: none;
        }
    }

    .catalog-section[b-a7zg44q7cp] {
        transition: 
            top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .catalog-section.sticky-active[b-a7zg44q7cp] {
        position: sticky;
        top: 1rem;
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateZ(0);
    }


    .gtb-container[b-a7zg44q7cp] {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        min-height: 100vh;
        padding: 2rem;
        position: relative;
        overflow: visible;
    }

    .gtb-container[b-a7zg44q7cp]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
            repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
        pointer-events: none;
        z-index: 0;
    }

    .gtb-content[b-a7zg44q7cp] {
        position: relative;
        z-index: 1;
    }

    .gtb-header[b-a7zg44q7cp] {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(59, 130, 246, 0.15);
        border-radius: 20px;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        animation: slideDown-b-a7zg44q7cp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .level-card[b-a7zg44q7cp] {
        background: rgba(248, 250, 252, 0.8);
        border: 4px dashed rgba(148, 163, 184, 0.4);
        border-radius: 12px;
        padding: 1.25rem;
        transition: all 0.3s ease;
        min-height: 140px;
    }

    .level-card:hover[b-a7zg44q7cp] {
        background: rgba(241, 245, 249, 0.9);
        border-color: rgba(59, 130, 246, 0.3);
    }

    @keyframes slideDown-b-a7zg44q7cp {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .gtb-title[b-a7zg44q7cp] {
        font-size: 3rem;
        font-weight: 700;
        background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
    }

    .gtb-subtitle[b-a7zg44q7cp] {
        color: #64748b;
        font-size: 1.1rem;
        font-weight: 400;
        letter-spacing: 0.05em;
    }

    .gtb-stat-chip[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.08);
        border: 1px solid rgba(59, 130, 246, 0.25);
        border-radius: 12px;
        padding: 0.75rem 1.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
        color: #2563eb;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        animation: fadeIn-b-a7zg44q7cp 0.8s ease both;
    }

    .gtb-stat-chip:hover[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
    }

    .gtb-stat-chip.success[b-a7zg44q7cp] {
        background: rgba(34, 197, 94, 0.08);
        border-color: rgba(34, 197, 94, 0.25);
        color: #16a34a;
    }

    .gtb-stat-chip.success:hover[b-a7zg44q7cp] {
        background: rgba(34, 197, 94, 0.15);
        box-shadow: 0 8px 16px rgba(34, 197, 94, 0.15);
    }

    @keyframes fadeIn-b-a7zg44q7cp {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Bouton Ajouter Usage */
    .add-usage-btn[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
        border: 2px dashed rgba(99, 102, 241, 0.4);
        border-radius: 16px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        color: #6366f1;
        font-weight: 600;
        font-size: 1rem;
    }

    .add-usage-btn:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
        border-color: rgba(99, 102, 241, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    }

    .add-usage-icon[b-a7zg44q7cp] {
        font-size: 1.5rem;
        animation: pulse-b-a7zg44q7cp 2s infinite;
    }

    @keyframes pulse-b-a7zg44q7cp {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }

    /* ============================================
       CARTES DE CATÉGORIES (NOUVEAU)
       ============================================ */

    .category-card[b-a7zg44q7cp] {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(226, 232, 240, 0.8);
        border-radius: 16px;
        padding: 0;
        margin-bottom: 1.5rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
        animation: slideUp-b-a7zg44q7cp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .category-card:hover[b-a7zg44q7cp] {
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
    }

    @keyframes slideUp-b-a7zg44q7cp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .category-header[b-a7zg44q7cp] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        cursor: pointer;
        transition: all 0.3s ease;
        user-select: none;
    }

    .category-header:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
    }

    .category-info[b-a7zg44q7cp] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .category-icon[b-a7zg44q7cp] {
        font-size: 1.5rem;
    }

    .category-name[b-a7zg44q7cp] {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1e293b;
        letter-spacing: -0.01em;
    }

    .category-count[b-a7zg44q7cp] {
        font-size: 0.85rem;
        color: #64748b;
        background: rgba(100, 116, 139, 0.1);
        padding: 0.25rem 0.75rem;
        border-radius: 8px;
        font-weight: 500;
    }

    .category-toggle[b-a7zg44q7cp] {
        font-size: 1rem;
        color: #6366f1;
        font-weight: 600;
    }

    .category-content[b-a7zg44q7cp] {
        padding: 1rem;
    }

    /* ============================================
       CARTES D'USAGE COMPACTES (NOUVEAU)
       ============================================ */

    .usage-card-compact[b-a7zg44q7cp] {
        background: rgba(248, 250, 252, 0.8);
        border: 1px solid rgba(226, 232, 240, 0.6);
        border-radius: 12px;
        margin-bottom: 0.75rem;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .usage-card-compact:hover[b-a7zg44q7cp] {
        border-color: rgba(59, 130, 246, 0.4);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
    }

    .usage-header-compact[b-a7zg44q7cp] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
        user-select: none;
    }

    .usage-header-compact:hover[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.03);
    }

    .usage-info-compact[b-a7zg44q7cp] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .usage-toggle-icon[b-a7zg44q7cp] {
        font-size: 0.85rem;
        color: #3b82f6;
        font-weight: 600;
        transition: transform 0.3s ease;
    }

    .usage-badges[b-a7zg44q7cp] {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .threshold-badge-compact[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.25);
        padding: 0.35rem 0.85rem;
        border-radius: 8px;
        font-size: 0.8rem;
        color: #2563eb;
        font-weight: 500;
    }

    .usage-content-compact[b-a7zg44q7cp] {
        padding: 0 1rem 1rem 1rem;
        animation: expandDown-b-a7zg44q7cp 0.3s ease;
    }

    @keyframes expandDown-b-a7zg44q7cp {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }

    /* ============================================
       NIVEAUX EN LIGNE (NOUVEAU)
       ============================================ */

    .level-container-compact[b-a7zg44q7cp] {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 0.75rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
        border: 1px solid rgba(226, 232, 240, 0.6);
    }

    .level-item-compact[b-a7zg44q7cp] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        background: rgba(248, 250, 252, 0.9);
        border: 2px dashed rgba(148, 163, 184, 0.4);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .level-item-compact:hover[b-a7zg44q7cp] {
        border-color: rgba(59, 130, 246, 0.4);
        background: rgba(241, 245, 249, 0.9);
    }

    .level-label-compact[b-a7zg44q7cp] {
        font-size: 0.8rem;
        font-weight: 600;
        color: #475569;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        min-width: 30px;
    }

    .drop-zone-compact[b-a7zg44q7cp] {
        display: flex;
        align-items: center;
        min-width: 80px;
    }

    .captor-count-chip[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.3);
        padding: 0.35rem 0.75rem;
        border-radius: 6px;
        font-size: 0.8rem;
        color: #2563eb;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .captor-count-chip:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }

    .add-level-btn-compact[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(139, 92, 246, 0.08));
        border: 2px dashed rgba(168, 85, 247, 0.4);
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        color: #a855f7;
        font-weight: 600;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .add-level-btn-compact:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(139, 92, 246, 0.12));
        border-color: rgba(168, 85, 247, 0.6);
        transform: scale(1.02);
    }

    /* ============================================
       SECTION SEUILS COMPACTE (NOUVEAU)
       ============================================ */

    .threshold-section-compact[b-a7zg44q7cp] {
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 10px;
        border: 1px solid rgba(226, 232, 240, 0.6);
    }

    .threshold-header-compact[b-a7zg44q7cp] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .toggle-threshold-btn[b-a7zg44q7cp] {
        background: rgba(248, 250, 252, 0.8);
        border: 1px solid rgba(203, 213, 225, 0.6);
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        color: #475569;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex: 1;
    }

    .toggle-threshold-btn:hover[b-a7zg44q7cp] {
        background: rgba(241, 245, 249, 1);
        border-color: rgba(59, 130, 246, 0.4);
        color: #2563eb;
    }

    .add-threshold-btn-compact[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));
        border: 2px dashed rgba(34, 197, 94, 0.4);
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        color: #16a34a;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .add-threshold-btn-compact:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.12));
        border-color: rgba(34, 197, 94, 0.6);
        transform: scale(1.05);
    }

    .threshold-list-compact[b-a7zg44q7cp] {
        margin-top: 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .threshold-item-compact[b-a7zg44q7cp] {
        background: rgba(248, 250, 252, 0.9);
        border: 1px solid rgba(226, 232, 240, 0.6);
        border-radius: 8px;
        padding: 0.5rem;
        transition: all 0.2s ease;
    }

    .threshold-item-compact:hover[b-a7zg44q7cp] {
        background: rgba(255, 255, 255, 1);
        border-color: rgba(59, 130, 246, 0.3);
    }

    .threshold-row[b-a7zg44q7cp] {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .threshold-input-compact[b-a7zg44q7cp] {
        flex: 1;
        padding: 0.4rem 0.6rem;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(203, 213, 225, 0.6);
        border-radius: 6px;
        font-size: 0.85rem;
        color: #334155;
        transition: all 0.2s ease;
        outline: none;
    }

    .threshold-input-compact.small[b-a7zg44q7cp] {
        flex: 0 0 70px;
        max-width: 70px;
    }

    .threshold-input-compact:focus[b-a7zg44q7cp] {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .delete-btn-compact[b-a7zg44q7cp] {
        padding: 0.4rem 0.6rem;
        border-radius: 6px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s ease;
        background: rgba(239, 68, 68, 0.08);
        border: 1px solid rgba(239, 68, 68, 0.3);
        color: #dc2626;
    }

    .delete-btn-compact:hover[b-a7zg44q7cp] {
        background: rgba(239, 68, 68, 0.15);
        transform: scale(1.05);
    }

    /* ============================================
       CATALOGUE (INCHANGÉ)
       ============================================ */

    .catalog-section[b-a7zg44q7cp] {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(16px);
        border: 2px dashed rgba(148, 163, 184, 0.4);
        border-radius: 16px;
        padding: 1.75rem;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        animation: slideLeft-b-a7zg44q7cp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        will-change: transform;
        contain: layout style paint;
        z-index: 5;
    }

    .search-container[b-a7zg44q7cp] {
        margin-bottom: 1.5rem;
        position: relative;
    }

    .search-box[b-a7zg44q7cp] {
        width: 100%;
        padding: 0.9rem 1rem 0.9rem 3rem;
        background: rgba(248, 250, 252, 0.9);
        border: 2px solid rgba(203, 213, 225, 0.6);
        border-radius: 12px;
        font-size: 0.9rem;
        color: #334155;
        transition: all 0.3s ease;
        outline: none;
    }

    .search-box:focus[b-a7zg44q7cp] {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    }

    .search-box[b-a7zg44q7cp]::placeholder {
        color: #94a3b8;
    }

    .search-icon[b-a7zg44q7cp] {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        font-size: 1.1rem;
        pointer-events: none;
    }

    .search-clear[b-a7zg44q7cp] {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #64748b;
        cursor: pointer;
        font-size: 1.2rem;
        padding: 0.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        opacity: 0;
        pointer-events: none;
    }

    .search-clear.visible[b-a7zg44q7cp] {
        opacity: 1;
        pointer-events: all;
    }

    .search-clear:hover[b-a7zg44q7cp] {
        color: #ef4444;
        transform: translateY(-50%) scale(1.1);
    }

    .selection-controls[b-a7zg44q7cp] {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .select-btn[b-a7zg44q7cp] {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.3);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #2563eb;
        cursor: pointer;
        transition: all 0.2s ease;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .select-btn:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
        transform: translateY(-1px);
    }

    .select-btn:active[b-a7zg44q7cp] {
        transform: translateY(0);
    }

    .select-btn.clear[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.08));
        border-color: rgba(239, 68, 68, 0.3);
        color: #dc2626;
    }

    .select-btn.clear:hover[b-a7zg44q7cp] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
    }

    .selected-count[b-a7zg44q7cp] {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #16a34a;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .selected-count-number[b-a7zg44q7cp] {
        background: rgba(34, 197, 94, 0.2);
        padding: 0.15rem 0.5rem;
        border-radius: 6px;
    }

    @keyframes slideLeft-b-a7zg44q7cp {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .catalog-title[b-a7zg44q7cp] {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .catalog-item[b-a7zg44q7cp] {
        background: rgba(248, 250, 252, 0.9);
        border: 1px solid rgba(203, 213, 225, 0.6);
        border-radius: 10px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        cursor: move;
        transition: all 0.3s ease;
        position: relative;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        will-change: transform;
        contain: layout style paint;
    }

    .catalog-item.selected[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.08);
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    }

    .catalog-item:hover[b-a7zg44q7cp] {
        background: rgba(241, 245, 249, 1);
        border-color: rgba(59, 130, 246, 0.4);
        transform: translateX(-4px);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    }

    .catalog-item.selected:hover[b-a7zg44q7cp] {
        background: rgba(59, 130, 246, 0.12);
    }

    .catalog-item-checkbox[b-a7zg44q7cp] {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        width: 20px;
        height: 20px;
        cursor: pointer;
        accent-color: #3b82f6;
    }

    .catalog-items-container[b-a7zg44q7cp] {
        display: flex;
        flex-direction: column;
    }

    .no-results[b-a7zg44q7cp] {
        text-align: center;
        padding: 2rem;
        color: #64748b;
        font-size: 0.9rem;
        font-style: italic;
    }

    .no-results-icon[b-a7zg44q7cp] {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.3;
    }

    .catalog-item-path[b-a7zg44q7cp] {
        font-size: 0.8rem;
        color: #2563eb;
        margin-bottom: 0.25rem;
        word-break: break-all;
    }

    .catalog-item-desc[b-a7zg44q7cp] {
        font-size: 0.85rem;
        color: #475569;
        line-height: 1.4;
    }

    .catalog-item-date[b-a7zg44q7cp] {
        font-size: 0.75rem;
        color: #94a3b8;
        margin-top: 0.25rem;
    }

    .catalog-section[b-a7zg44q7cp]::-webkit-scrollbar {
        width: 8px;
    }

    .catalog-section[b-a7zg44q7cp]::-webkit-scrollbar-track {
        background: rgba(241, 245, 249, 0.5);
        border-radius: 4px;
    }

    .catalog-section[b-a7zg44q7cp]::-webkit-scrollbar-thumb {
        background: rgba(59, 130, 246, 0.3);
        border-radius: 4px;
    }

    .catalog-section[b-a7zg44q7cp]::-webkit-scrollbar-thumb:hover {
        background: rgba(59, 130, 246, 0.5);
    }

    .empty-state[b-a7zg44q7cp] {
        text-align: center;
        padding: 2rem;
        color: #64748b;
        font-size: 0.9rem;
    }

    .category-card:nth-child(1)[b-a7zg44q7cp] { animation-delay: 0.1s; }
    .category-card:nth-child(2)[b-a7zg44q7cp] { animation-delay: 0.2s; }
    .category-card:nth-child(3)[b-a7zg44q7cp] { animation-delay: 0.3s; }
    .category-card:nth-child(4)[b-a7zg44q7cp] { animation-delay: 0.4s; }

    .gtb-stat-chip:nth-child(1)[b-a7zg44q7cp] { animation-delay: 0.3s; }
    .gtb-stat-chip:nth-child(2)[b-a7zg44q7cp] { animation-delay: 0.4s; }

    @media (max-width: 960px) {
        .gtb-title[b-a7zg44q7cp] {
            font-size: 2rem;
        }
        
        .catalog-section[b-a7zg44q7cp] {
            position: relative;
            top: 0;
            max-height: none;
        }

        .level-container-compact[b-a7zg44q7cp] {
            flex-direction: column;
            align-items: stretch;
        }

        .level-item-compact[b-a7zg44q7cp] {
            width: 100%;
        }

        .threshold-row[b-a7zg44q7cp] {
            flex-wrap: wrap;
        }

        .threshold-input-compact.small[b-a7zg44q7cp] {
            flex: 0 0 calc(50% - 0.25rem);
        }
    }

    .catalog-section[b-a7zg44q7cp] {
        transition: 
            top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .catalog-section.sticky-active[b-a7zg44q7cp] {
        position: sticky;
        top: 1rem;
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateZ(0);
    }

    .captors-zone[b-a7zg44q7cp] {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        min-height: 60px;
    }

    .level-card[b-a7zg44q7cp]  .mud-drop-zone {
        position: absolute;
        transition: all 300ms cubic-bezier(.4, 0, .2, 1) 0ms;
        width: 100%;
        top: 0;
        right: 0;
        height: 100%;
        padding: 60px 15px 15px;
    }

    .floating-field[b-a7zg44q7cp] {
    position: relative;
    width: 100%;
}

.floating-input[b-a7zg44q7cp] {
    width: 100%;
    padding: 12px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    background: none;
}

.floating-input:focus[b-a7zg44q7cp] {
    border-color: #1976d2; /* bleu MUI */
}

.floating-label[b-a7zg44q7cp] {
    position: absolute;
    top: 0%;
    left: 6px;
    font-weight: 700;
    transform: translateY(-50%);
    font-size: 12px;
    color: #1976d2;
    pointer-events: none;
    background: white;
    padding: 0px 2px;
    transition: all 0.2s ease;
}

/* Quand focus ou valeur présente */
.floating-input:focus + .floating-label[b-a7zg44q7cp],
.floating-input:not(:placeholder-shown) + .floating-label[b-a7zg44q7cp] {
    top: -6px;
    font-size: 11px;
    color: #1976d2;
}

 /* TOGGLE SWITCH SHOWINSTATS */
    .showinstats-container[b-a7zg44q7cp] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: white;
        /* border: 2px solid #e2e8f0; */
        border-radius: 12px;
        padding: 1rem 1.5rem;
        margin: 1rem 0;
        transition: all 0.3s ease;
    }

    /* .showinstats-container:hover {
        border-color: #667eea;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    } */

    .showinstats-label-group[b-a7zg44q7cp] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .showinstats-icon[b-a7zg44q7cp] {
        font-size: 1.5rem;
    }

    .showinstats-text[b-a7zg44q7cp] {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        margin-right:5px
    }

    .showinstats-title[b-a7zg44q7cp] {
        font-weight: 600;
        color: #1e293b;
        font-size: 0.95rem;
    }

    .showinstats-description[b-a7zg44q7cp] {
        font-size: 0.8rem;
        color: #64748b;
    }

    /* Switch Toggle personnalisé */
    .toggle-switch[b-a7zg44q7cp] {
        position: relative;
        display: inline-block;
        width: 56px;
        height: 30px;
    }

    .toggle-switch input[b-a7zg44q7cp] {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .toggle-slider[b-a7zg44q7cp] {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #cbd5e1;
        transition: all 0.3s ease;
        border-radius: 30px;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    }

    .toggle-slider[b-a7zg44q7cp]:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: all 0.3s ease;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .toggle-switch input:checked + .toggle-slider[b-a7zg44q7cp] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    }

    .toggle-switch input:checked + .toggle-slider[b-a7zg44q7cp]:before {
        transform: translateX(26px);
    }

    .toggle-switch input:focus + .toggle-slider[b-a7zg44q7cp] {
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    }

    /* État ON/OFF text */
    .toggle-status[b-a7zg44q7cp] {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .toggle-status.off[b-a7zg44q7cp] {
        right: 6px;
        color: #64748b;
    }

    .toggle-status.on[b-a7zg44q7cp] {
        left: 6px;
        color: white;
        opacity: 0;
    }

    .toggle-switch input:checked ~ .toggle-status.on[b-a7zg44q7cp] {
        opacity: 1;
    }

    .toggle-switch input:checked ~ .toggle-status.off[b-a7zg44q7cp] {
        opacity: 0;
    }
/* /Shared/GtbMeters.razor.rz.scp.css */
.gtb-container[b-m5tqqze6r1] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-m5tqqze6r1] {
  position: relative;
}

.gtb-container[b-m5tqqze6r1]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
  pointer-events: none;
  z-index: 0;
}

.gtb-header[b-m5tqqze6r1] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-m5tqqze6r1 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-m5tqqze6r1 {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-title[b-m5tqqze6r1] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.gtb-subtitle[b-m5tqqze6r1] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gtb-stat-chip[b-m5tqqze6r1] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-m5tqqze6r1 0.8s ease both;
}

.gtb-stat-chip:hover[b-m5tqqze6r1] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

@keyframes fadeIn-b-m5tqqze6r1 {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gtb-body[b-m5tqqze6r1] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-m5tqqze6r1 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@keyframes slideUp-b-m5tqqze6r1 {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-body[b-m5tqqze6r1]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gtb-body:hover[b-m5tqqze6r1]::before {
  opacity: 1;
}

.gtb-body:hover[b-m5tqqze6r1] {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
}

/* Table Styling */
.gtb-table[b-m5tqqze6r1] {
  border-radius: 12px;
  overflow: hidden;
}

.gtb-table[b-m5tqqze6r1]  .mud-table-head {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(59, 130, 246, 0.08));
}

.gtb-table[b-m5tqqze6r1]  .mud-table-head th {
  color: #1e40af;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.gtb-table[b-m5tqqze6r1]  .mud-table-row {
  transition: all 0.2s ease;
}

.gtb-table[b-m5tqqze6r1]  .mud-table-row:hover {
  background: rgba(96, 165, 250, 0.06);
  transform: translateX(2px);
}

.gtb-table[b-m5tqqze6r1]  .mud-table-cell {
  padding: 1rem;
}

/* Tree View Styling */
.tree-view[b-m5tqqze6r1] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tree-node[b-m5tqqze6r1] {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.tree-node:hover[b-m5tqqze6r1] {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.tree-parent[b-m5tqqze6r1] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(96, 165, 250, 0.05) 100%);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tree-parent:hover[b-m5tqqze6r1] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.1) 100%);
}

.tree-icon[b-m5tqqze6r1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tree-icon[b-m5tqqze6r1]  .mud-icon-root {
    color: white !important;
}

.child-icon[b-m5tqqze6r1] {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.2);
}

.tree-content[b-m5tqqze6r1] {
    flex: 1;
    min-width: 0;
}

.tree-label[b-m5tqqze6r1] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.child-label[b-m5tqqze6r1] {
    font-weight: 500;
    font-size: 0.875rem;
    color: #475569;
}

.tree-meta[b-m5tqqze6r1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tree-date[b-m5tqqze6r1] {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.tree-children[b-m5tqqze6r1] {
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding: 0.5rem 0;
    background: rgba(248, 250, 252, 0.5);
}

.tree-child[b-m5tqqze6r1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem 0.75rem 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.tree-child:hover[b-m5tqqze6r1] {
    background: rgba(59, 130, 246, 0.06);
}

.tree-connector[b-m5tqqze6r1] {
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 50%;
    width: 1.5rem;
    border-left: 2px solid rgba(59, 130, 246, 0.3);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 0 0 0 8px;
}

.tree-child:last-child .tree-connector[b-m5tqqze6r1] {
    bottom: 50%;
}

.tree-child:not(:last-child)[b-m5tqqze6r1]::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    bottom: -0.75rem;
    width: 2px;
    background: rgba(59, 130, 246, 0.3);
}

/* Expand/Collapse button */
.tree-expand[b-m5tqqze6r1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tree-expand:hover[b-m5tqqze6r1] {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.tree-expand[b-m5tqqze6r1]  .mud-icon-root {
    color: #3b82f6;
}

.tree-expand-placeholder[b-m5tqqze6r1] {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Isolated meters (no parent, no children) */
.tree-node-isolated[b-m5tqqze6r1] {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(255, 251, 235, 0.8);
}

.tree-node-isolated:hover[b-m5tqqze6r1] {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.tree-parent-isolated[b-m5tqqze6r1] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.tree-parent-isolated:hover[b-m5tqqze6r1] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(251, 191, 36, 0.1) 100%);
}

.tree-icon-isolated[b-m5tqqze6r1] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

.tree-icon-isolated[b-m5tqqze6r1]  .mud-icon-root {
    color: white !important;
}

/* Nested tree nodes */
.tree-node-child[b-m5tqqze6r1] {
    margin-left: 1rem;
    border-left: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 0 12px 12px 0;
}

.tree-parent-nested[b-m5tqqze6r1] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(96, 165, 250, 0.02) 100%);
}

.tree-parent-nested:hover[b-m5tqqze6r1] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.06) 100%);
}

.tree-node-child .tree-children[b-m5tqqze6r1] {
    border-top: none;
    padding-top: 0;
}

/* Date cell styles */
.date-cell[b-m5tqqze6r1], .tree-date-container[b-m5tqqze6r1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.date-cell.fresh[b-m5tqqze6r1], .tree-date-container.fresh[b-m5tqqze6r1] {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
}

.date-cell.stale[b-m5tqqze6r1], .tree-date-container.stale[b-m5tqqze6r1] {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #c62828;
}

.date-text[b-m5tqqze6r1] {
    font-weight: 500;
}

.stale .date-text[b-m5tqqze6r1] {
    font-weight: 600;
}

/* Pulsing animation for warning icon */
.stale-indicator[b-m5tqqze6r1] {
    display: flex;
    align-items: center;
}

.pulse-icon[b-m5tqqze6r1] {
    animation: pulse-b-m5tqqze6r1 1.5s ease-in-out infinite;
}

@keyframes pulse-b-m5tqqze6r1 {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Table row highlight for stale data */
[b-m5tqqze6r1] .stale-row {
    background-color: rgba(244, 67, 54, 0.05) !important;
}

[b-m5tqqze6r1] .mud-table-row:hover .stale-row {
    background-color: rgba(244, 67, 54, 0.12) !important;
}

/* Tree view date container adjustments */
.tree-date-container[b-m5tqqze6r1] {
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 960px) {
  .gtb-header[b-m5tqqze6r1] {
    padding: 1.5rem;
  }
  .gtb-title[b-m5tqqze6r1] {
    font-size: 2rem;
  }
  .gtb-body[b-m5tqqze6r1] {
    padding: 1rem;
  }
}
/* /Shared/GtbMetersEditor.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════ */
/* CONTAINER                                                       */
/* ═══════════════════════════════════════════════════════════════ */
.gtb-container[b-o3iimmcyj9] {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    overflow: visible;
}

.gtb-container[b-o3iimmcyj9]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
    pointer-events: none;
    z-index: 0;
}

.gtb-content[b-o3iimmcyj9] {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════ */
/* HEADER                                                          */
/* ═══════════════════════════════════════════════════════════════ */
.gtb-header[b-o3iimmcyj9] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: slideDown-b-o3iimmcyj9 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-o3iimmcyj9 {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.gtb-title[b-o3iimmcyj9] {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.gtb-subtitle[b-o3iimmcyj9] {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.gtb-stat-chip[b-o3iimmcyj9] {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #2563eb;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    animation: fadeIn-b-o3iimmcyj9 0.8s ease both;
}

.gtb-stat-chip:hover[b-o3iimmcyj9] {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

@keyframes fadeIn-b-o3iimmcyj9 {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* SEARCH BOX                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.search-box[b-o3iimmcyj9] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    max-width: 420px;
}

.search-box:focus-within[b-o3iimmcyj9] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.search-box svg[b-o3iimmcyj9] {
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    flex-shrink: 0;
}

.search-box input[b-o3iimmcyj9] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #0f172a;
    font-family: inherit;
    outline: none;
}

.search-box input[b-o3iimmcyj9]::placeholder {
    color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════════ */
/* METERS LIST                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.meters-list[b-o3iimmcyj9] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* METER CARD                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.meter-card[b-o3iimmcyj9] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeUp-b-o3iimmcyj9 0.5s ease both;
    position: relative;
}

.meter-card[b-o3iimmcyj9]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.meter-card:hover[b-o3iimmcyj9] {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.meter-card:hover[b-o3iimmcyj9]::before {
    opacity: 1;
}

@keyframes fadeUp-b-o3iimmcyj9 {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* CARD HEADER                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.meter-card-header[b-o3iimmcyj9] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}

.meter-icon[b-o3iimmcyj9] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.meter-icon svg[b-o3iimmcyj9] {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.meter-browse-path[b-o3iimmcyj9] {
    flex: 1;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    word-break: break-all;
}

.meter-date[b-o3iimmcyj9] {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 8px;
    flex-shrink: 0;
}

.meter-date.fresh[b-o3iimmcyj9] {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
}

.meter-date.stale[b-o3iimmcyj9] {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.25);
}

/* ═══════════════════════════════════════════════════════════════ */
/* FIELDS GRID                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.meter-fields[b-o3iimmcyj9] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px 20px;
}

.field-group[b-o3iimmcyj9] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-group.wide[b-o3iimmcyj9] {
    grid-column: span 2;
}

.field-group label[b-o3iimmcyj9] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-group input[b-o3iimmcyj9],
.field-group select[b-o3iimmcyj9] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #0f172a;
    background: #fff;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.field-group input:focus[b-o3iimmcyj9],
.field-group select:focus[b-o3iimmcyj9] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.field-group input[b-o3iimmcyj9]::placeholder {
    color: #cbd5e1;
}

.field-group input:hover[b-o3iimmcyj9],
.field-group select:hover[b-o3iimmcyj9] {
    border-color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CARD FOOTER (VALIDATE BUTTON)                                   */
/* ═══════════════════════════════════════════════════════════════ */
.meter-card-footer[b-o3iimmcyj9] {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px 14px;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(59, 130, 246, 0.06));
    animation: fadeIn-b-o3iimmcyj9 0.3s ease both;
}

.btn-validate[b-o3iimmcyj9] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    transition: all 0.25s ease;
}

.btn-validate svg[b-o3iimmcyj9] {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.btn-validate:hover[b-o3iimmcyj9] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-validate:active[b-o3iimmcyj9] {
    transform: translateY(0);
}

.btn-validate:disabled[b-o3iimmcyj9] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.btn-spinner[b-o3iimmcyj9] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-o3iimmcyj9 0.6s linear infinite;
}

@keyframes spin-b-o3iimmcyj9 {
    to { transform: rotate(360deg); }
}

/* Dirty card indicator */
.meter-card:has(.meter-card-footer)[b-o3iimmcyj9] {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
}

.meter-card:has(.meter-card-footer)[b-o3iimmcyj9]::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════ */
/* NO RESULTS                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.no-results[b-o3iimmcyj9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #94a3b8;
    gap: 12px;
}

.no-results svg[b-o3iimmcyj9] {
    width: 48px;
    height: 48px;
    fill: #cbd5e1;
}

.no-results span[b-o3iimmcyj9] {
    font-size: 1rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                      */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .gtb-header[b-o3iimmcyj9] { padding: 1.5rem; }
    .gtb-title[b-o3iimmcyj9] { font-size: 2rem; }

    .meter-fields[b-o3iimmcyj9] {
        grid-template-columns: repeat(2, 1fr);
    }
    .field-group.wide[b-o3iimmcyj9] {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .gtb-container[b-o3iimmcyj9] { padding: 1rem; }

    .meter-fields[b-o3iimmcyj9] {
        grid-template-columns: 1fr;
    }
    .field-group.wide[b-o3iimmcyj9] {
        grid-column: span 1;
    }
}
/* /Shared/GtbPointsEditor.razor.rz.scp.css */
.gtb-container[b-qy1bw0qz7o] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-qy1bw0qz7o] {
  position: relative;
}

.gtb-container[b-qy1bw0qz7o]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
  pointer-events: none;
  z-index: 0;
}

.gtb-header[b-qy1bw0qz7o] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-qy1bw0qz7o 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-qy1bw0qz7o {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-title[b-qy1bw0qz7o] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.gtb-subtitle[b-qy1bw0qz7o] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gtb-stat-chip[b-qy1bw0qz7o] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-qy1bw0qz7o 0.8s ease both;
}

.gtb-stat-chip:hover[b-qy1bw0qz7o] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

@keyframes fadeIn-b-qy1bw0qz7o {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gtb-body[b-qy1bw0qz7o] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-qy1bw0qz7o 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@keyframes slideUp-b-qy1bw0qz7o {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-body[b-qy1bw0qz7o]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gtb-body:hover[b-qy1bw0qz7o]::before {
  opacity: 1;
}

.gtb-body:hover[b-qy1bw0qz7o] {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
}

/* Table Styling */
.gtb-table[b-qy1bw0qz7o] {
  border-radius: 12px;
  overflow: hidden;
}

.gtb-table[b-qy1bw0qz7o]  .mud-table-head {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(59, 130, 246, 0.08));
}

.gtb-table[b-qy1bw0qz7o]  .mud-table-head th {
  color: #1e40af;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.gtb-table[b-qy1bw0qz7o]  .mud-table-row {
  transition: all 0.2s ease;
}

.gtb-table[b-qy1bw0qz7o]  .mud-table-row:hover {
  background: rgba(96, 165, 250, 0.06);
  transform: translateX(2px);
}

.gtb-table[b-qy1bw0qz7o]  .mud-table-cell {
  padding: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .gtb-header[b-qy1bw0qz7o] {
    padding: 1.5rem;
  }
  .gtb-title[b-qy1bw0qz7o] {
    font-size: 2rem;
  }
  .gtb-body[b-qy1bw0qz7o] {
    padding: 1rem;
  }
}
/* /Shared/GtbSetPoints.razor.rz.scp.css */

    /* @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap');  */

    .gtb-container[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        min-height: 100vh;
        padding: 2rem;
        position: relative;
        overflow: visible;
    }

    .gtb-container[b-fi7p9cb3sv]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
            repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
        pointer-events: none;
        z-index: 0;
    }

    .gtb-content[b-fi7p9cb3sv] {
        position: relative;
        z-index: 1;
    }

    .gtb-header[b-fi7p9cb3sv] {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(59, 130, 246, 0.15);
        border-radius: 20px;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        animation: slideDown-b-fi7p9cb3sv 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideDown-b-fi7p9cb3sv {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .gtb-title[b-fi7p9cb3sv] {
        font-size: 3rem;
        font-weight: 700;
        background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
    }

    .gtb-subtitle[b-fi7p9cb3sv] {
        color: #64748b;
        font-size: 1.1rem;
        font-weight: 400;
        letter-spacing: 0.05em;
    }

    .gtb-stat-chip[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.08);
        border: 1px solid rgba(59, 130, 246, 0.25);
        border-radius: 12px;
        padding: 0.75rem 1.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
        color: #2563eb;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        animation: fadeIn-b-fi7p9cb3sv 0.8s ease both;
    }

    .gtb-stat-chip:hover[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
    }

    .gtb-stat-chip.success[b-fi7p9cb3sv] {
        background: rgba(34, 197, 94, 0.08);
        border-color: rgba(34, 197, 94, 0.25);
        color: #16a34a;
    }

    .gtb-stat-chip.success:hover[b-fi7p9cb3sv] {
        background: rgba(34, 197, 94, 0.15);
        box-shadow: 0 8px 16px rgba(34, 197, 94, 0.15);
    }

    @keyframes fadeIn-b-fi7p9cb3sv {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Bouton Ajouter Usage */
    .add-usage-btn[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
        border: 2px dashed rgba(99, 102, 241, 0.4);
        border-radius: 16px;
        padding: 2rem;
        margin-bottom: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        color: #6366f1;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .add-usage-btn:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
        border-color: rgba(99, 102, 241, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    }

    .add-usage-icon[b-fi7p9cb3sv] {
        font-size: 2rem;
        animation: pulse-b-fi7p9cb3sv 2s infinite;
    }

    @keyframes pulse-b-fi7p9cb3sv {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }

    .usage-card[b-fi7p9cb3sv] {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(226, 232, 240, 0.8);
        border-radius: 16px;
        padding: 1.75rem;
        margin-bottom: 1.5rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        overflow: hidden;
        animation: slideUp-b-fi7p9cb3sv 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .usage-card[b-fi7p9cb3sv]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, #3b82f6, #60a5fa);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .usage-card:hover[b-fi7p9cb3sv]::before {
        opacity: 1;
    }

    .usage-card:hover[b-fi7p9cb3sv] {
        transform: translateY(-4px);
        border-color: rgba(59, 130, 246, 0.4);
        box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
    }

    @keyframes slideUp-b-fi7p9cb3sv {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .usage-header[b-fi7p9cb3sv] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        cursor: pointer;
    }

    .usage-title[b-fi7p9cb3sv] {
        font-size: 1.2rem;
        font-weight: 600;
        color: #2563eb;
        letter-spacing: -0.01em;
    }

    .usage-category-title[b-fi7p9cb3sv] {
        font-size: 1.75rem;
        font-weight: 600;
        color: #1e293b;
        letter-spacing: -0.01em;
    }

    .usage-unit[b-fi7p9cb3sv] {
        font-size: 0.85rem;
        color: #64748b;
        font-weight: 400;
        margin-top: 0.25rem;
    }

    .measure-badge[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
        border: 1px solid rgba(59, 130, 246, 0.3);
        padding: 0.5rem 1.25rem;
        border-radius: 10px;
        font-size: 0.9rem;
        color: #2563eb;
        font-weight: 500;
        margin-left:20px
    }

    .level-badge[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
        border: 1px solid #a855f766;
        padding: 0.5rem 1.25rem;
        border-radius: 10px;
        font-size: 0.9rem;
        color:  #6366f1;
        font-weight: 500;
        margin-left:20px
    }

    .threshold-badge[b-fi7p9cb3sv] {
        background:linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));;
        border: 1px solid rgba(34, 197, 94, 0.4);
        padding: 0.5rem 1.25rem;
        border-radius: 10px;
        font-size: 0.9rem;
        color: #16a34a;
        font-weight: 500;
        margin-left:20px
    }

    .level-container[b-fi7p9cb3sv] {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .level-card[b-fi7p9cb3sv] {
        background: rgba(248, 250, 252, 0.8);
        border: 4px dashed rgba(148, 163, 184, 0.4);
        border-radius: 12px;
        padding: 1.25rem;
        transition: all 0.3s ease;
        min-height: 140px;
    }

    .level-card:hover[b-fi7p9cb3sv] {
        background: rgba(241, 245, 249, 0.9);
        border-color: rgba(59, 130, 246, 0.3);
    }

    /* Carte pour ajouter un niveau */
    .add-level-card[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(139, 92, 246, 0.05));
        border: 3px dashed rgba(168, 85, 247, 0.4);
        border-radius: 12px;
        padding: 1.25rem;
        transition: all 0.3s ease;
        min-height: 140px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .add-level-card:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.1));
        border-color: rgba(168, 85, 247, 0.6);
        transform: scale(1.02);
    }

    .add-level-icon[b-fi7p9cb3sv] {
        font-size: 2rem;
        color: #a855f7;
    }

    .add-level-text[b-fi7p9cb3sv] {
        color: #a855f7;
        font-weight: 600;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .level-label[b-fi7p9cb3sv] {
        font-size: 0.95rem;
        font-weight: 600;
        color: #475569;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .level-label[b-fi7p9cb3sv]::before {
        content: '';
        width: 8px;
        height: 8px;
        background: #3b82f6;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }

    

    .captor-chip[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.3);
        padding: 0.4rem 0.9rem;
        border-radius: 8px;
        font-size: 0.85rem;
        color: #2563eb;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .captor-chip:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }

    .captor-chip.more[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(100, 116, 139, 0.08), rgba(71, 85, 105, 0.08));
        border-color: rgba(100, 116, 139, 0.3);
        color: #475569;
    }

    .captor-chip.more:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(71, 85, 105, 0.15));
    }

    

    .threshold-table[b-fi7p9cb3sv] {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-top: 1rem;
    }

    .threshold-table th[b-fi7p9cb3sv] {
        background: rgba(248, 250, 252, 0.8);
        color: #64748b;
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 0.75rem 1rem;
        text-align: left;
        border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    }

    .threshold-table td[b-fi7p9cb3sv] {
        padding: 0.75rem 1rem;
        color: #334155;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    }

    .threshold-table tr:hover td[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.03);
    }

    .threshold-input[b-fi7p9cb3sv] {
        width: 100%;
        padding: 0.4rem 0.6rem;
        background: rgba(248, 250, 252, 0.9);
        border: 1px solid rgba(203, 213, 225, 0.6);
        border-radius: 6px;
        font-size: 0.9rem;
        color: #334155;
        transition: all 0.2s ease;
        outline: none;
    }

    .threshold-input:focus[b-fi7p9cb3sv] {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .threshold-value-display[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
        border: 1px solid rgba(34, 197, 94, 0.3);
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        display: inline-block;
        font-weight: 500;
        color: #16a34a;
        font-size: 0.9rem;
        min-width: 60px;
        text-align: center;
    }

    .threshold-actions[b-fi7p9cb3sv] {
        display: flex;
        gap: 0.5rem;
    }

    .threshold-action-btn[b-fi7p9cb3sv] {
        padding: 0.3rem 0.6rem;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid;
    }

    .threshold-action-btn.delete[b-fi7p9cb3sv] {
        background: rgba(239, 68, 68, 0.08);
        border-color: rgba(239, 68, 68, 0.3);
        color: #dc2626;
    }

    .threshold-action-btn.delete:hover[b-fi7p9cb3sv] {
        background: rgba(239, 68, 68, 0.15);
        transform: scale(1.05);
    }

    .threshold-divider[b-fi7p9cb3sv] {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(203, 213, 225, 0.6), transparent);
        margin: 1.5rem 0;
    }

    .threshold-section-header[b-fi7p9cb3sv] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .threshold-section-title[b-fi7p9cb3sv] {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1e293b;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .add-threshold-btn[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
        border: 2px dashed rgba(34, 197, 94, 0.4);
        padding: 0.5rem 1rem;
        border-radius: 8px;
        color: #16a34a;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .add-threshold-btn:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.15));
        border-color: rgba(34, 197, 94, 0.6);
        transform: translateY(-2px);
    }

    .catalog-section[b-fi7p9cb3sv] {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(16px);
        border: 2px dashed rgba(148, 163, 184, 0.4);
        border-radius: 16px;
        padding: 1.75rem;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        animation: slideLeft-b-fi7p9cb3sv 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        will-change: transform;
        contain: layout style paint;
        z-index: 5;
    }

    .usage-section[b-fi7p9cb3sv]{
        display: flex; 
        align-items: center;
        width: 100%;
    }

    .search-container[b-fi7p9cb3sv] {
        margin-bottom: 1.5rem;
        position: relative;
    }

    .search-box[b-fi7p9cb3sv] {
        width: 100%;
        padding: 0.9rem 1rem 0.9rem 3rem;
        background: rgba(248, 250, 252, 0.9);
        border: 2px solid rgba(203, 213, 225, 0.6);
        border-radius: 12px;
        font-size: 0.9rem;
        color: #334155;
        transition: all 0.3s ease;
        outline: none;
    }

    .search-box:focus[b-fi7p9cb3sv] {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    }

    .search-box[b-fi7p9cb3sv]::placeholder {
        color: #94a3b8;
    }

    .search-icon[b-fi7p9cb3sv] {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        font-size: 1.1rem;
        pointer-events: none;
    }

    .search-clear[b-fi7p9cb3sv] {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #64748b;
        cursor: pointer;
        font-size: 1.2rem;
        padding: 0.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        opacity: 0;
        pointer-events: none;
    }

    .search-clear.visible[b-fi7p9cb3sv] {
        opacity: 1;
        pointer-events: all;
    }

    .search-clear:hover[b-fi7p9cb3sv] {
        color: #ef4444;
        transform: translateY(-50%) scale(1.1);
    }

    .selection-controls[b-fi7p9cb3sv] {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .select-btn[b-fi7p9cb3sv] {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.3);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #2563eb;
        cursor: pointer;
        transition: all 0.2s ease;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .select-btn:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
        transform: translateY(-1px);
    }

    .select-btn:active[b-fi7p9cb3sv] {
        transform: translateY(0);
    }

    .select-btn.clear[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.08));
        border-color: rgba(239, 68, 68, 0.3);
        color: #dc2626;
    }

    .select-btn.clear:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
    }

    .selected-count[b-fi7p9cb3sv] {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #16a34a;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .selected-count-number[b-fi7p9cb3sv] {
        background: rgba(34, 197, 94, 0.2);
        padding: 0.15rem 0.5rem;
        border-radius: 6px;
    }

    @keyframes slideLeft-b-fi7p9cb3sv {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .catalog-title[b-fi7p9cb3sv] {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    /* .catalog-title::before {
        content: '📦';
        font-size: 1.75rem;
    } */

    .catalog-item[b-fi7p9cb3sv] {
        background: rgba(248, 250, 252, 0.9);
        border: 1px solid rgba(203, 213, 225, 0.6);
        border-radius: 10px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        cursor: move;
        transition: all 0.3s ease;
        position: relative;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        will-change: transform;
        contain: layout style paint;
    }

    .catalog-item.selected[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.08);
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    }

    .catalog-item:hover[b-fi7p9cb3sv] {
        background: rgba(241, 245, 249, 1);
        border-color: rgba(59, 130, 246, 0.4);
        transform: translateX(-4px);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    }

    .catalog-item.selected:hover[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.12);
    }

    .catalog-item-checkbox[b-fi7p9cb3sv] {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        width: 20px;
        height: 20px;
        cursor: pointer;
        accent-color: #3b82f6;
    }

    .catalog-items-container[b-fi7p9cb3sv] {
        display: flex;
        flex-direction: column;
    }

    .no-results[b-fi7p9cb3sv] {
        text-align: center;
        padding: 2rem;
        color: #64748b;
        font-size: 0.9rem;
        font-style: italic;
    }

    .no-results-icon[b-fi7p9cb3sv] {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.3;
    }

    .catalog-item-id[b-fi7p9cb3sv] {
        font-weight: 600;
        color: #2563eb;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .catalog-item-path[b-fi7p9cb3sv] {
        font-size: 0.8rem;
        color: #2563eb;
        margin-bottom: 0.25rem;
        word-break: break-all;
    }

    .catalog-item-desc[b-fi7p9cb3sv] {
        font-size: 0.85rem;
        color: #475569;
        line-height: 1.4;
    }

    .catalog-item-date[b-fi7p9cb3sv] {
        font-size: 0.75rem;
        color: #94a3b8;
        margin-top: 0.25rem;
    }

    .catalog-section[b-fi7p9cb3sv]::-webkit-scrollbar {
        width: 8px;
    }

    .catalog-section[b-fi7p9cb3sv]::-webkit-scrollbar-track {
        background: rgba(241, 245, 249, 0.5);
        border-radius: 4px;
    }

    .catalog-section[b-fi7p9cb3sv]::-webkit-scrollbar-thumb {
        background: rgba(59, 130, 246, 0.3);
        border-radius: 4px;
    }

    .catalog-section[b-fi7p9cb3sv]::-webkit-scrollbar-thumb:hover {
        background: rgba(59, 130, 246, 0.5);
    }

    .empty-state[b-fi7p9cb3sv] {
        text-align: center;
        padding: 2rem;
        color: #64748b;
        font-size: 0.9rem;
    }

    .usage-card:nth-child(1)[b-fi7p9cb3sv] { animation-delay: 0.1s; }
    .usage-card:nth-child(2)[b-fi7p9cb3sv] { animation-delay: 0.2s; }
    .usage-card:nth-child(3)[b-fi7p9cb3sv] { animation-delay: 0.3s; }
    .usage-card:nth-child(4)[b-fi7p9cb3sv] { animation-delay: 0.4s; }

    .gtb-stat-chip:nth-child(1)[b-fi7p9cb3sv] { animation-delay: 0.3s; }
    .gtb-stat-chip:nth-child(2)[b-fi7p9cb3sv] { animation-delay: 0.4s; }

    @media (max-width: 960px) {
        .gtb-title[b-fi7p9cb3sv] {
            font-size: 2rem;
        }
        
        .catalog-section[b-fi7p9cb3sv] {
            position: relative;
            top: 0;
            max-height: none;
        }
    }

    .catalog-section[b-fi7p9cb3sv] {
        transition: 
            top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .catalog-section.sticky-active[b-fi7p9cb3sv] {
        position: sticky;
        top: 1rem;
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateZ(0);
    }


    .gtb-container[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        min-height: 100vh;
        padding: 2rem;
        position: relative;
        overflow: visible;
    }

    .gtb-container[b-fi7p9cb3sv]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
            repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
        pointer-events: none;
        z-index: 0;
    }

    .gtb-content[b-fi7p9cb3sv] {
        position: relative;
        z-index: 1;
    }

    .gtb-header[b-fi7p9cb3sv] {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(59, 130, 246, 0.15);
        border-radius: 20px;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        animation: slideDown-b-fi7p9cb3sv 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .level-card[b-fi7p9cb3sv] {
        background: rgba(248, 250, 252, 0.8);
        border: 4px dashed rgba(148, 163, 184, 0.4);
        border-radius: 12px;
        padding: 1.25rem;
        transition: all 0.3s ease;
        min-height: 140px;
    }

    .level-card:hover[b-fi7p9cb3sv] {
        background: rgba(241, 245, 249, 0.9);
        border-color: rgba(59, 130, 246, 0.3);
    }

    @keyframes slideDown-b-fi7p9cb3sv {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .gtb-title[b-fi7p9cb3sv] {
        font-size: 3rem;
        font-weight: 700;
        background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
    }

    .gtb-subtitle[b-fi7p9cb3sv] {
        color: #64748b;
        font-size: 1.1rem;
        font-weight: 400;
        letter-spacing: 0.05em;
    }

    .gtb-stat-chip[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.08);
        border: 1px solid rgba(59, 130, 246, 0.25);
        border-radius: 12px;
        padding: 0.75rem 1.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
        color: #2563eb;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        animation: fadeIn-b-fi7p9cb3sv 0.8s ease both;
    }

    .gtb-stat-chip:hover[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
    }

    .gtb-stat-chip.success[b-fi7p9cb3sv] {
        background: rgba(34, 197, 94, 0.08);
        border-color: rgba(34, 197, 94, 0.25);
        color: #16a34a;
    }

    .gtb-stat-chip.success:hover[b-fi7p9cb3sv] {
        background: rgba(34, 197, 94, 0.15);
        box-shadow: 0 8px 16px rgba(34, 197, 94, 0.15);
    }

    @keyframes fadeIn-b-fi7p9cb3sv {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Bouton Ajouter Usage */
    .add-usage-btn[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
        border: 2px dashed rgba(99, 102, 241, 0.4);
        border-radius: 16px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        color: #6366f1;
        font-weight: 600;
        font-size: 1rem;
    }

    .add-usage-btn:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
        border-color: rgba(99, 102, 241, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    }

    .add-usage-icon[b-fi7p9cb3sv] {
        font-size: 1.5rem;
        animation: pulse-b-fi7p9cb3sv 2s infinite;
    }

    @keyframes pulse-b-fi7p9cb3sv {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }

    /* ============================================
       CARTES DE CATÉGORIES (NOUVEAU)
       ============================================ */

    .category-card[b-fi7p9cb3sv] {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(226, 232, 240, 0.8);
        border-radius: 16px;
        padding: 0;
        margin-bottom: 1.5rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
        animation: slideUp-b-fi7p9cb3sv 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .category-card:hover[b-fi7p9cb3sv] {
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
    }

    @keyframes slideUp-b-fi7p9cb3sv {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .category-header[b-fi7p9cb3sv] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        cursor: pointer;
        transition: all 0.3s ease;
        user-select: none;
    }

    .category-header:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
    }

    .category-info[b-fi7p9cb3sv] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .category-icon[b-fi7p9cb3sv] {
        font-size: 1.5rem;
    }

    .category-name[b-fi7p9cb3sv] {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1e293b;
        letter-spacing: -0.01em;
    }

    .category-count[b-fi7p9cb3sv] {
        font-size: 0.85rem;
        color: #64748b;
        background: rgba(100, 116, 139, 0.1);
        padding: 0.25rem 0.75rem;
        border-radius: 8px;
        font-weight: 500;
    }

    .category-toggle[b-fi7p9cb3sv] {
        font-size: 1rem;
        color: #6366f1;
        font-weight: 600;
    }

    .category-content[b-fi7p9cb3sv] {
        padding: 1rem;
    }

    /* ============================================
       CARTES D'USAGE COMPACTES (NOUVEAU)
       ============================================ */

    .usage-card-compact[b-fi7p9cb3sv] {
        background: rgba(248, 250, 252, 0.8);
        border: 1px solid rgba(226, 232, 240, 0.6);
        border-radius: 12px;
        margin-bottom: 0.75rem;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .usage-card-compact:hover[b-fi7p9cb3sv] {
        border-color: rgba(59, 130, 246, 0.4);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
    }

    .usage-header-compact[b-fi7p9cb3sv] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
        user-select: none;
    }

    .usage-header-compact:hover[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.03);
    }

    .usage-info-compact[b-fi7p9cb3sv] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .usage-toggle-icon[b-fi7p9cb3sv] {
        font-size: 0.85rem;
        color: #3b82f6;
        font-weight: 600;
        transition: transform 0.3s ease;
    }

    .usage-title-compact[b-fi7p9cb3sv] {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1e293b;
    }

    .usage-unit-compact[b-fi7p9cb3sv] {
        font-size: 0.85rem;
        color: #64748b;
        font-weight: 400;
    }

    .usage-badges[b-fi7p9cb3sv] {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .threshold-badge-compact[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.25);
        padding: 0.35rem 0.85rem;
        border-radius: 8px;
        font-size: 0.8rem;
        color: #2563eb;
        font-weight: 500;
    }

    .usage-content-compact[b-fi7p9cb3sv] {
        padding: 0 1rem 1rem 1rem;
        animation: expandDown-b-fi7p9cb3sv 0.3s ease;
    }

    @keyframes expandDown-b-fi7p9cb3sv {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }

    /* ============================================
       NIVEAUX EN LIGNE (NOUVEAU)
       ============================================ */

    .level-container-compact[b-fi7p9cb3sv] {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 0.75rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
        border: 1px solid rgba(226, 232, 240, 0.6);
    }

    .level-item-compact[b-fi7p9cb3sv] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        background: rgba(248, 250, 252, 0.9);
        border: 2px dashed rgba(148, 163, 184, 0.4);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .level-item-compact:hover[b-fi7p9cb3sv] {
        border-color: rgba(59, 130, 246, 0.4);
        background: rgba(241, 245, 249, 0.9);
    }

    .level-label-compact[b-fi7p9cb3sv] {
        font-size: 0.8rem;
        font-weight: 600;
        color: #475569;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        min-width: 30px;
    }

    .drop-zone-compact[b-fi7p9cb3sv] {
        display: flex;
        align-items: center;
        min-width: 80px;
    }

    .captor-count-chip[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.3);
        padding: 0.35rem 0.75rem;
        border-radius: 6px;
        font-size: 0.8rem;
        color: #2563eb;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .captor-count-chip:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }

    .add-level-btn-compact[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(139, 92, 246, 0.08));
        border: 2px dashed rgba(168, 85, 247, 0.4);
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        color: #a855f7;
        font-weight: 600;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .add-level-btn-compact:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(139, 92, 246, 0.12));
        border-color: rgba(168, 85, 247, 0.6);
        transform: scale(1.02);
    }

    /* ============================================
       SECTION SEUILS COMPACTE (NOUVEAU)
       ============================================ */

    .threshold-section-compact[b-fi7p9cb3sv] {
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 10px;
        border: 1px solid rgba(226, 232, 240, 0.6);
    }

    .threshold-header-compact[b-fi7p9cb3sv] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .toggle-threshold-btn[b-fi7p9cb3sv] {
        background: rgba(248, 250, 252, 0.8);
        border: 1px solid rgba(203, 213, 225, 0.6);
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        color: #475569;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex: 1;
    }

    .toggle-threshold-btn:hover[b-fi7p9cb3sv] {
        background: rgba(241, 245, 249, 1);
        border-color: rgba(59, 130, 246, 0.4);
        color: #2563eb;
    }

    .add-threshold-btn-compact[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));
        border: 2px dashed rgba(34, 197, 94, 0.4);
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        color: #16a34a;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .add-threshold-btn-compact:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.12));
        border-color: rgba(34, 197, 94, 0.6);
        transform: scale(1.05);
    }

    .threshold-list-compact[b-fi7p9cb3sv] {
        margin-top: 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .threshold-item-compact[b-fi7p9cb3sv] {
        background: rgba(248, 250, 252, 0.9);
        border: 1px solid rgba(226, 232, 240, 0.6);
        border-radius: 8px;
        padding: 0.5rem;
        transition: all 0.2s ease;
    }

    .threshold-item-compact:hover[b-fi7p9cb3sv] {
        background: rgba(255, 255, 255, 1);
        border-color: rgba(59, 130, 246, 0.3);
    }

    .threshold-row[b-fi7p9cb3sv] {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .threshold-input-compact[b-fi7p9cb3sv] {
        flex: 1;
        padding: 0.4rem 0.6rem;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(203, 213, 225, 0.6);
        border-radius: 6px;
        font-size: 0.85rem;
        color: #334155;
        transition: all 0.2s ease;
        outline: none;
    }

    .threshold-input-compact.small[b-fi7p9cb3sv] {
        flex: 0 0 70px;
        max-width: 70px;
    }

    .threshold-input-compact:focus[b-fi7p9cb3sv] {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .delete-btn-compact[b-fi7p9cb3sv] {
        padding: 0.4rem 0.6rem;
        border-radius: 6px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s ease;
        background: rgba(239, 68, 68, 0.08);
        border: 1px solid rgba(239, 68, 68, 0.3);
        color: #dc2626;
    }

    .delete-btn-compact:hover[b-fi7p9cb3sv] {
        background: rgba(239, 68, 68, 0.15);
        transform: scale(1.05);
    }

    /* ============================================
       CATALOGUE (INCHANGÉ)
       ============================================ */

    .catalog-section[b-fi7p9cb3sv] {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(16px);
        border: 2px dashed rgba(148, 163, 184, 0.4);
        border-radius: 16px;
        padding: 1.75rem;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        animation: slideLeft-b-fi7p9cb3sv 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        will-change: transform;
        contain: layout style paint;
        z-index: 5;
    }

    .search-container[b-fi7p9cb3sv] {
        margin-bottom: 1.5rem;
        position: relative;
    }

    .search-box[b-fi7p9cb3sv] {
        width: 100%;
        padding: 0.9rem 1rem 0.9rem 3rem;
        background: rgba(248, 250, 252, 0.9);
        border: 2px solid rgba(203, 213, 225, 0.6);
        border-radius: 12px;
        font-size: 0.9rem;
        color: #334155;
        transition: all 0.3s ease;
        outline: none;
    }

    .search-box:focus[b-fi7p9cb3sv] {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    }

    .search-box[b-fi7p9cb3sv]::placeholder {
        color: #94a3b8;
    }

    .search-icon[b-fi7p9cb3sv] {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        font-size: 1.1rem;
        pointer-events: none;
    }

    .search-clear[b-fi7p9cb3sv] {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #64748b;
        cursor: pointer;
        font-size: 1.2rem;
        padding: 0.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        opacity: 0;
        pointer-events: none;
    }

    .search-clear.visible[b-fi7p9cb3sv] {
        opacity: 1;
        pointer-events: all;
    }

    .search-clear:hover[b-fi7p9cb3sv] {
        color: #ef4444;
        transform: translateY(-50%) scale(1.1);
    }

    .selection-controls[b-fi7p9cb3sv] {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .select-btn[b-fi7p9cb3sv] {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
        border: 1px solid rgba(59, 130, 246, 0.3);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #2563eb;
        cursor: pointer;
        transition: all 0.2s ease;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .select-btn:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
        transform: translateY(-1px);
    }

    .select-btn:active[b-fi7p9cb3sv] {
        transform: translateY(0);
    }

    .select-btn.clear[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.08));
        border-color: rgba(239, 68, 68, 0.3);
        color: #dc2626;
    }

    .select-btn.clear:hover[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
    }

    .selected-count[b-fi7p9cb3sv] {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #16a34a;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .selected-count-number[b-fi7p9cb3sv] {
        background: rgba(34, 197, 94, 0.2);
        padding: 0.15rem 0.5rem;
        border-radius: 6px;
    }

    @keyframes slideLeft-b-fi7p9cb3sv {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .catalog-title[b-fi7p9cb3sv] {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .catalog-item[b-fi7p9cb3sv] {
        background: rgba(248, 250, 252, 0.9);
        border: 1px solid rgba(203, 213, 225, 0.6);
        border-radius: 10px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        cursor: move;
        transition: all 0.3s ease;
        position: relative;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        will-change: transform;
        contain: layout style paint;
    }

    .catalog-item.selected[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.08);
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    }

    .catalog-item:hover[b-fi7p9cb3sv] {
        background: rgba(241, 245, 249, 1);
        border-color: rgba(59, 130, 246, 0.4);
        transform: translateX(-4px);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    }

    .catalog-item.selected:hover[b-fi7p9cb3sv] {
        background: rgba(59, 130, 246, 0.12);
    }

    .catalog-item-checkbox[b-fi7p9cb3sv] {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        width: 20px;
        height: 20px;
        cursor: pointer;
        accent-color: #3b82f6;
    }

    .catalog-items-container[b-fi7p9cb3sv] {
        display: flex;
        flex-direction: column;
    }

    .no-results[b-fi7p9cb3sv] {
        text-align: center;
        padding: 2rem;
        color: #64748b;
        font-size: 0.9rem;
        font-style: italic;
    }

    .no-results-icon[b-fi7p9cb3sv] {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.3;
    }

    .catalog-item-path[b-fi7p9cb3sv] {
        font-size: 0.8rem;
        color: #2563eb;
        margin-bottom: 0.25rem;
        word-break: break-all;
    }

    .catalog-item-desc[b-fi7p9cb3sv] {
        font-size: 0.85rem;
        color: #475569;
        line-height: 1.4;
    }

    .catalog-item-date[b-fi7p9cb3sv] {
        font-size: 0.75rem;
        color: #94a3b8;
        margin-top: 0.25rem;
    }

    .catalog-section[b-fi7p9cb3sv]::-webkit-scrollbar {
        width: 8px;
    }

    .catalog-section[b-fi7p9cb3sv]::-webkit-scrollbar-track {
        background: rgba(241, 245, 249, 0.5);
        border-radius: 4px;
    }

    .catalog-section[b-fi7p9cb3sv]::-webkit-scrollbar-thumb {
        background: rgba(59, 130, 246, 0.3);
        border-radius: 4px;
    }

    .catalog-section[b-fi7p9cb3sv]::-webkit-scrollbar-thumb:hover {
        background: rgba(59, 130, 246, 0.5);
    }

    .empty-state[b-fi7p9cb3sv] {
        text-align: center;
        padding: 2rem;
        color: #64748b;
        font-size: 0.9rem;
    }

    .category-card:nth-child(1)[b-fi7p9cb3sv] { animation-delay: 0.1s; }
    .category-card:nth-child(2)[b-fi7p9cb3sv] { animation-delay: 0.2s; }
    .category-card:nth-child(3)[b-fi7p9cb3sv] { animation-delay: 0.3s; }
    .category-card:nth-child(4)[b-fi7p9cb3sv] { animation-delay: 0.4s; }

    .gtb-stat-chip:nth-child(1)[b-fi7p9cb3sv] { animation-delay: 0.3s; }
    .gtb-stat-chip:nth-child(2)[b-fi7p9cb3sv] { animation-delay: 0.4s; }

    @media (max-width: 960px) {
        .gtb-title[b-fi7p9cb3sv] {
            font-size: 2rem;
        }
        
        .catalog-section[b-fi7p9cb3sv] {
            position: relative;
            top: 0;
            max-height: none;
        }

        .level-container-compact[b-fi7p9cb3sv] {
            flex-direction: column;
            align-items: stretch;
        }

        .level-item-compact[b-fi7p9cb3sv] {
            width: 100%;
        }

        .threshold-row[b-fi7p9cb3sv] {
            flex-wrap: wrap;
        }

        .threshold-input-compact.small[b-fi7p9cb3sv] {
            flex: 0 0 calc(50% - 0.25rem);
        }
    }

    .catalog-section[b-fi7p9cb3sv] {
        transition: 
            top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .catalog-section.sticky-active[b-fi7p9cb3sv] {
        position: sticky;
        top: 1rem;
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateZ(0);
    }

    .captors-zone[b-fi7p9cb3sv] {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        min-height: 60px;
    }

    .empty-drop-zone[b-fi7p9cb3sv] {
        width: 100%;
        padding: 1rem;
        text-align: center;
        color: #94a3b8;
        font-size: 0.85rem;
        border: 2px dashed #cbd5e1;
        border-radius: 8px;
        background: rgba(241, 245, 249, 0.5);
        transition: all 0.2s ease;
    }

    .empty-drop-zone:hover[b-fi7p9cb3sv] {
        border-color: #3b82f6;
        color: #3b82f6;
        background: rgba(59, 130, 246, 0.05);
    }

    .floating-field[b-fi7p9cb3sv] {
    position: relative;
    width: 100%;
}

.floating-input[b-fi7p9cb3sv] {
    width: 100%;
    padding: 12px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    background: none;
}

.floating-input:focus[b-fi7p9cb3sv] {
    border-color: #1976d2; /* bleu MUI */
}

.floating-label[b-fi7p9cb3sv] {
    position: absolute;
    top: 0%;
    left: 6px;
    font-weight: 700;
    transform: translateY(-50%);
    font-size: 12px;
    color: #1976d2;
    pointer-events: none;
    background: white;
    padding: 0px 2px;
    transition: all 0.2s ease;
}

/* Quand focus ou valeur présente */
.floating-input:focus + .floating-label[b-fi7p9cb3sv],
.floating-input:not(:placeholder-shown) + .floating-label[b-fi7p9cb3sv] {
    top: -6px;
    font-size: 11px;
    color: #1976d2;
}

 /* TOGGLE SWITCH SHOWINSTATS */
    .showinstats-container[b-fi7p9cb3sv] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: white;
        /* border: 2px solid #e2e8f0; */
        border-radius: 12px;
        padding: 1rem 1.5rem;
        margin: 1rem 0;
        transition: all 0.3s ease;
    }

    /* .showinstats-container:hover {
        border-color: #667eea;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    } */

    .showinstats-label-group[b-fi7p9cb3sv] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .showinstats-icon[b-fi7p9cb3sv] {
        font-size: 1.5rem;
    }

    .showinstats-text[b-fi7p9cb3sv] {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        margin-right:5px
    }

    .showinstats-title[b-fi7p9cb3sv] {
        font-weight: 600;
        color: #1e293b;
        font-size: 0.95rem;
    }

    .showinstats-description[b-fi7p9cb3sv] {
        font-size: 0.8rem;
        color: #64748b;
    }

    /* Switch Toggle personnalisé */
    .toggle-switch[b-fi7p9cb3sv] {
        position: relative;
        display: inline-block;
        width: 56px;
        height: 30px;
    }

    .toggle-switch input[b-fi7p9cb3sv] {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .toggle-slider[b-fi7p9cb3sv] {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #cbd5e1;
        transition: all 0.3s ease;
        border-radius: 30px;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    }

    .toggle-slider[b-fi7p9cb3sv]:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: all 0.3s ease;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .toggle-switch input:checked + .toggle-slider[b-fi7p9cb3sv] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    }

    .toggle-switch input:checked + .toggle-slider[b-fi7p9cb3sv]:before {
        transform: translateX(26px);
    }

    .toggle-switch input:focus + .toggle-slider[b-fi7p9cb3sv] {
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    }

    /* État ON/OFF text */
    .toggle-status[b-fi7p9cb3sv] {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .toggle-status.off[b-fi7p9cb3sv] {
        right: 6px;
        color: #64748b;
    }

    .toggle-status.on[b-fi7p9cb3sv] {
        left: 6px;
        color: white;
        opacity: 0;
    }

    .toggle-switch input:checked ~ .toggle-status.on[b-fi7p9cb3sv] {
        opacity: 1;
    }

    .toggle-switch input:checked ~ .toggle-status.off[b-fi7p9cb3sv] {
        opacity: 0;
    }
/* /Shared/HierarchyEditor.razor.rz.scp.css */
.gtb-container[b-7qbtl1440a] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-7qbtl1440a] {
  position: relative;
}

.gtb-container[b-7qbtl1440a]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
  pointer-events: none;
  z-index: 0;
}

.gtb-header[b-7qbtl1440a] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-7qbtl1440a 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-7qbtl1440a {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-title[b-7qbtl1440a] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.gtb-subtitle[b-7qbtl1440a] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gtb-stat-chip[b-7qbtl1440a] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-7qbtl1440a 0.8s ease both;
}

.gtb-stat-chip:hover[b-7qbtl1440a] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

@keyframes fadeIn-b-7qbtl1440a {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gtb-body[b-7qbtl1440a] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-7qbtl1440a 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@keyframes slideUp-b-7qbtl1440a {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-body[b-7qbtl1440a]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gtb-body:hover[b-7qbtl1440a]::before {
  opacity: 1;
}

.gtb-body:hover[b-7qbtl1440a] {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
}

/* Tree Styling */
.gtb-tree[b-7qbtl1440a]  .mud-expand-panel {
  border-radius: 12px;
  border-color: rgba(226, 232, 240, 0.7);
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.gtb-tree[b-7qbtl1440a]  .mud-expand-panel:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.gtb-tree[b-7qbtl1440a]  .mud-expand-panel-header {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 960px) {
  .gtb-header[b-7qbtl1440a] {
    padding: 1.5rem;
  }
  .gtb-title[b-7qbtl1440a] {
    font-size: 2rem;
  }
  .gtb-body[b-7qbtl1440a] {
    padding: 1rem;
  }
}
/* /Shared/IndicatorsEditor.razor.rz.scp.css */
/* Container */
.indicators-container[b-axu5ajfs5e] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem;
  position: relative;
  overflow: visible;
}

.indicators-container[b-axu5ajfs5e]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(59, 130, 246, 0.05) 2px,
      rgba(59, 130, 246, 0.05) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(59, 130, 246, 0.05) 2px,
      rgba(59, 130, 246, 0.05) 4px
    );
  pointer-events: none;
  z-index: 0;
}

.indicators-container > *[b-axu5ajfs5e] {
  position: relative;
  z-index: 1;
}

:host[b-axu5ajfs5e] {
  font-family:
    "Inter",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: #0f172a;
}

/* Loader */
.indicators-loader[b-axu5ajfs5e] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  color: #64748b;
  font-weight: 500;
}

/* Header */
.indicators-header[b-axu5ajfs5e] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-axu5ajfs5e 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.indicators-title-row[b-axu5ajfs5e] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.indicators-title[b-axu5ajfs5e] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.indicators-subtitle[b-axu5ajfs5e] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.indicators-stats[b-axu5ajfs5e] {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.stat-chip[b-axu5ajfs5e] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-axu5ajfs5e 0.8s ease both;
}

.stat-chip:hover[b-axu5ajfs5e] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

.stat-chip.accent[b-axu5ajfs5e] {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
  color: #16a34a;
}

.stat-chip.accent:hover[b-axu5ajfs5e] {
  background: rgba(34, 197, 94, 0.15);
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.15);
}

/* Tabs */
.indicators-tabs[b-axu5ajfs5e] {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  overflow: hidden;
}

[b-axu5ajfs5e] .mud-tabs-panels {
  padding: 1.5rem;
}

/* Empty State */
.empty-state[b-axu5ajfs5e] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
  background: rgba(248, 250, 252, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Layout */
.indicators-layout[b-axu5ajfs5e] {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Liste (style metier-section) */
.indicators-list[b-axu5ajfs5e] {
  flex: 1;
  margin-bottom: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

/* Search */
.indicators-search[b-axu5ajfs5e] {
  padding: 0.75rem 1rem;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Groupe (catégorie) */
.indicator-group[b-axu5ajfs5e] {
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.indicator-group:last-child[b-axu5ajfs5e] {
  border-bottom: none;
}

.indicator-group-header[b-axu5ajfs5e] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem 0.65rem 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(37, 99, 235, 0.02));
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  border-left: 4px solid rgba(59, 130, 246, 0.5);
}

.indicator-group-name[b-axu5ajfs5e] {
  font-weight: 600;
  color: #1e40af;
  font-size: 0.9rem;
}

.indicator-group-count[b-axu5ajfs5e] {
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: auto;
}

/* Row indicateur */
.indicator-row[b-axu5ajfs5e] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
  background: rgba(255, 255, 255, 0.6);
}

.indicator-row:hover[b-axu5ajfs5e] {
  background: rgba(59, 130, 246, 0.05);
  border-left-color: rgba(59, 130, 246, 0.3);
}

.indicator-row-selected[b-axu5ajfs5e] {
  background: rgba(59, 130, 246, 0.08) !important;
  border-left-color: #3b82f6 !important;
}

.indicator-row-main[b-axu5ajfs5e] {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.indicator-name[b-axu5ajfs5e] {
  font-weight: 500;
  color: #334155;
  font-size: 0.875rem;
}

.indicator-desc[b-axu5ajfs5e] {
  color: #64748b;
  font-size: 0.8rem;
}

.indicator-badge[b-axu5ajfs5e] {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.indicator-badge.unit[b-axu5ajfs5e] {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  font-family: monospace;
}

.indicator-badge.threshold[b-axu5ajfs5e] {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

/* Panel seuils inline (sous l'élément cliqué) */
.threshold-inline-panel[b-axu5ajfs5e] {
  background: rgba(248, 250, 252, 0.95);
  border-left: 3px solid #3b82f6;
  margin: 0;
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: slideInline-b-axu5ajfs5e 0.2s ease;
}

@keyframes slideInline-b-axu5ajfs5e {
  from {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.threshold-items[b-axu5ajfs5e] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.threshold-row[b-axu5ajfs5e] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.threshold-row:hover[b-axu5ajfs5e] {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
}

.threshold-row-selected[b-axu5ajfs5e] {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.threshold-row-info[b-axu5ajfs5e] {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.threshold-row-name[b-axu5ajfs5e] {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.85rem;
}

.threshold-row-values[b-axu5ajfs5e] {
  display: flex;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #64748b;
}

.no-thresholds[b-axu5ajfs5e] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
  background: rgba(248, 250, 252, 0.6);
  border-radius: 8px;
  border: 1px dashed rgba(203, 213, 225, 0.8);
}

/* Form */
.threshold-form[b-axu5ajfs5e] {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.threshold-form-header-row[b-axu5ajfs5e] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.threshold-form-header[b-axu5ajfs5e] {
  font-weight: 600;
  color: #475569;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.threshold-form-grid[b-axu5ajfs5e] {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0.5rem;
}

/* Animations */
@keyframes slideDown-b-axu5ajfs5e {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn-b-axu5ajfs5e {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .indicators-layout[b-axu5ajfs5e] {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .indicators-container[b-axu5ajfs5e] {
    padding: 1rem;
  }

  .indicators-header[b-axu5ajfs5e] {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .indicators-title[b-axu5ajfs5e] {
    font-size: 1.5rem;
  }

  .indicator-row[b-axu5ajfs5e] {
    padding-left: 1rem;
  }

  .indicator-row-main[b-axu5ajfs5e] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .threshold-form-grid[b-axu5ajfs5e] {
    grid-template-columns: 1fr;
  }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-f2aqv5jpjq] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-f2aqv5jpjq] {
    flex: 1;
}

.sidebar[b-f2aqv5jpjq] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-f2aqv5jpjq] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-f2aqv5jpjq]  a, .top-row .btn-link[b-f2aqv5jpjq] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-f2aqv5jpjq] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-f2aqv5jpjq] {
        display: none;
    }

    .top-row.auth[b-f2aqv5jpjq] {
        justify-content: space-between;
    }

    .top-row a[b-f2aqv5jpjq], .top-row .btn-link[b-f2aqv5jpjq] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-f2aqv5jpjq] {
        flex-direction: row;
    }

    .sidebar[b-f2aqv5jpjq] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-f2aqv5jpjq] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-f2aqv5jpjq], article[b-f2aqv5jpjq] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/MeterHistoryDialog.razor.rz.scp.css */
/* Styles simplifiés pour l'historique sans courbes */

.history-container[b-afmj2uqme2] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-summary[b-afmj2uqme2] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--mud-palette-text-secondary);
}

.history-table[b-afmj2uqme2] {
    max-height: 420px;
    overflow: auto;
}

.value-positive[b-afmj2uqme2] { color: var(--mud-palette-success); }
.value-negative[b-afmj2uqme2] { color: var(--mud-palette-error); }

/* Zone du graphique */
.history-chart[b-afmj2uqme2] {
    padding: 8px 0 4px 0;
}
/* /Shared/MudMainLayout.razor.rz.scp.css */
.app-shell[b-p6oi2swlto] {
  position: relative;
  min-height: 100vh;
  padding: 0;
}

.app-shell[b-p6oi2swlto]  .mud-main-content {
  padding-top: 0 !important;
}

.app-shell[b-p6oi2swlto]  .mud-layout {
  background: transparent;
}


.app-drawer[b-p6oi2swlto] {
  background: #ffffff;
  color: var(--app-text);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.app-drawer[b-p6oi2swlto]  .nav-link {
  border-left: 3px solid transparent;
  border-radius: 12px;
  min-height: 40px;
  padding: 10px 12px;
  margin: 0;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--app-text) !important;
  transition: all 0.2s ease;
}

.app-drawer[b-p6oi2swlto]  .nav-section {
  opacity: 0.85;
  color: var(--app-muted) !important;
  padding: 12px 8px 6px 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.app-drawer[b-p6oi2swlto]  .mud-icon-root {
  color: var(--app-muted) !important;
  font-size: 18px !important;
}

.app-drawer[b-p6oi2swlto]  .nav-link.active {
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.18),
    rgba(37, 99, 235, 0.12)
  );
  border-left-color: var(--app-primary);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.18);
}

.app-drawer[b-p6oi2swlto]  .nav-link:hover {
  background: rgba(255, 255, 255, 0.7);
  border-left-color: rgba(37, 99, 235, 0.4);
  transform: translateX(2px);
}

@media (prefers-color-scheme: dark) {
  .app-drawer[b-p6oi2swlto]  .nav-link.active {
    background-color: rgba(255, 255, 255, 0.08);
  }
  .app-drawer[b-p6oi2swlto]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
  }
}

.drawer-header[b-p6oi2swlto] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
}
.drawer-brand[b-p6oi2swlto] {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-img[b-p6oi2swlto] {
  display: block;
  height: 56px;
  width: auto;
}

.drawer-content[b-p6oi2swlto] {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 6px 6px 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.drawer-spacer[b-p6oi2swlto] {
  flex: 1 1 auto;
}

.app-drawer[b-p6oi2swlto]  .mud-drawer-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0 !important;
}

.app-drawer[b-p6oi2swlto]  nav.mud-navmenu {
  margin-top: 0;
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 2px;
  height: auto;
}
.app-drawer[b-p6oi2swlto]  nav.mud-navmenu > *:first-child {
  margin-top: 0 !important;
}

.app-drawer[b-p6oi2swlto]  .mud-divider,
.app-drawer[b-p6oi2swlto]  hr.mud-divider {
  display: none !important;
  border: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}
.drawer-footer[b-p6oi2swlto] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-texts[b-p6oi2swlto] {
  display: flex;
  flex-direction: column;
}
.truncate[b-p6oi2swlto] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-header-badge[b-p6oi2swlto] {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  padding: 0;
  z-index: 10;
  animation: badgeFadeIn-b-p6oi2swlto 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes badgeFadeIn-b-p6oi2swlto {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.badge-icon[b-p6oi2swlto] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.08));
  border: 1.5px solid rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  color: #2563eb;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
  transition: all 0.3s ease;
}

.page-header-badge:hover .badge-icon[b-p6oi2swlto] {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(37, 99, 235, 0.12));
}

.badge-text[b-p6oi2swlto] {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 2px;
}

.badge-title[b-p6oi2swlto] {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #64748b;
  text-transform: uppercase;
  opacity: 0.85;
}

.badge-subtitle[b-p6oi2swlto] {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.app-main-surface[b-p6oi2swlto] {
  position: relative;
  width: 100%;
  padding: 0 24px 24px 340px;
  background: #ffffff;
  min-height: 100vh;
}

@media (max-width: 960px) {
  .app-main-surface[b-p6oi2swlto] {
    padding: 16px;
  }
  .logo-img[b-p6oi2swlto] {
    height: 48px;
  }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.modern-nav[b-scsrk7rqsy] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.nav-header[b-scsrk7rqsy] {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
}

.nav-brand[b-scsrk7rqsy] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.brand-icon[b-scsrk7rqsy] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand-icon[b-scsrk7rqsy]  .mud-icon-root {
    color: #fff !important;
    font-size: 1.5rem;
}

.brand-info[b-scsrk7rqsy] {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.brand-title[b-scsrk7rqsy] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.brand-subtitle[b-scsrk7rqsy] {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.navmenu[b-scsrk7rqsy] {
    flex: 1;
    overflow-y: auto;
    padding: 0.25rem 0;
}

.navmenu[b-scsrk7rqsy]::-webkit-scrollbar {
    width: 6px;
}

.navmenu[b-scsrk7rqsy]::-webkit-scrollbar-track {
    background: transparent;
}

.navmenu[b-scsrk7rqsy]::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 3px;
}

.navmenu[b-scsrk7rqsy]::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.25);
}

.nav-section[b-scsrk7rqsy] {
    margin-bottom: 0.25rem;
    padding: 0 0.5rem;
}

.nav-section-title[b-scsrk7rqsy] {
    font-size: 0.65rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b !important;
    font-weight: 700 !important;
    padding: 0.25rem 0.5rem 0.2rem 0.5rem;
    margin: 0;
}

.nav-divider[b-scsrk7rqsy] {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.08) 50%, transparent 100%);
    margin: 0.35rem 1rem;
}

.nav-section[b-scsrk7rqsy]  .nav-link,
.nav-section[b-scsrk7rqsy]  .mud-nav-link {
    display: flex !important;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 1px;
    padding: 0.4rem 0.625rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #475569 !important;
    font-weight: 500;
    font-size: 0.85rem;
    min-height: auto !important;
    height: auto !important;
    text-decoration: none;
}

.nav-section[b-scsrk7rqsy]  .nav-link:hover,
.nav-section[b-scsrk7rqsy]  .mud-nav-link:hover {
    background: rgba(255, 107, 0, 0.08) !important;
    color: #ff6b00 !important;
    transform: translateX(2px);
}

.nav-section[b-scsrk7rqsy]  .nav-link.active,
.nav-section[b-scsrk7rqsy]  .mud-nav-link.active {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.nav-section[b-scsrk7rqsy]  .nav-link.active:hover,
.nav-section[b-scsrk7rqsy]  .mud-nav-link.active:hover {
    transform: translateX(0);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

.nav-section[b-scsrk7rqsy]  .nav-link .mud-icon-root,
.nav-section[b-scsrk7rqsy]  .mud-nav-link .mud-icon-root {
    color: inherit;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.nav-link-content[b-scsrk7rqsy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
}

.nav-link-action[b-scsrk7rqsy] {
    border: 1px dashed rgba(255, 107, 0, 0.3) !important;
    background: rgba(255, 107, 0, 0.03) !important;
}

.nav-link-action:hover[b-scsrk7rqsy] {
    border-color: rgba(255, 107, 0, 0.5) !important;
    background: rgba(255, 107, 0, 0.08) !important;
}

.nav-chip[b-scsrk7rqsy] {
    font-size: 0.65rem !important;
    height: 18px !important;
    padding: 0 0.4rem !important;
    font-weight: 700;
}

.sites-list[b-scsrk7rqsy] {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.sites-list[b-scsrk7rqsy]::-webkit-scrollbar {
    width: 4px;
}

.sites-list[b-scsrk7rqsy]::-webkit-scrollbar-track {
    background: transparent;
}

.sites-list[b-scsrk7rqsy]::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.12);
    border-radius: 2px;
}

.nav-link-site[b-scsrk7rqsy] {
    font-size: 0.8rem !important;
    padding: 0.35rem 0.625rem !important;
}

.empty-state[b-scsrk7rqsy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    text-align: center;
    color: #94a3b8;
}

.empty-state[b-scsrk7rqsy]  .mud-icon-root {
    color: #cbd5e1;
    font-size: 1.25rem;
}

.nav-section[b-scsrk7rqsy]  .nav-group-modern .mud-nav-group {
    margin-bottom: 0.25rem;
}

.nav-section[b-scsrk7rqsy]  .nav-group-modern .mud-nav-link {
    border-radius: 8px;
    font-weight: 600;
    color: #334155 !important;
    padding: 0.4rem 0.625rem !important;
}

.nav-section[b-scsrk7rqsy]  .nav-group-modern .mud-nav-link:hover {
    background: rgba(15, 23, 42, 0.04) !important;
}

.nav-footer[b-scsrk7rqsy] {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.user-info[b-scsrk7rqsy] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar[b-scsrk7rqsy] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
}

.user-avatar[b-scsrk7rqsy]  .mud-icon-root {
    color: #fff !important;
    font-size: 1.1rem;
}

.user-avatar.avatar-crs[b-scsrk7rqsy] {
    background: linear-gradient(135deg, #008134 0%, #0ea84b 60%, #2fbd68 100%);
    box-shadow: 0 4px 12px rgba(0, 129, 52, 0.25);
}

.user-avatar.avatar-default[b-scsrk7rqsy] {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.user-details[b-scsrk7rqsy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.user-name[b-scsrk7rqsy] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role[b-scsrk7rqsy] {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.logout-btn[b-scsrk7rqsy] {
    margin-top: 0;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    padding: 0.3rem 0.75rem !important;
    font-size: 0.8rem !important;
    transition: all 0.2s ease !important;
}

.logout-btn:hover[b-scsrk7rqsy] {
    background: rgba(239, 68, 68, 0.1) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.logout-btn[b-scsrk7rqsy]  .mud-button-label {
    font-weight: 600;
}

@media (max-width: 768px) {
    .modern-nav[b-scsrk7rqsy] {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1000;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .modern-nav.open[b-scsrk7rqsy] {
        transform: translateX(0);
    }
}
/* /Shared/RegionAssignmentEditor.razor.rz.scp.css */
.gtb-container[b-zyekw6335r] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-zyekw6335r] {
  position: relative;
}

.gtb-container[b-zyekw6335r]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
  pointer-events: none;
  z-index: 0;
}

.gtb-header[b-zyekw6335r] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-zyekw6335r 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-zyekw6335r {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-title[b-zyekw6335r] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.gtb-subtitle[b-zyekw6335r] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.zones-legend[b-zyekw6335r] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gtb-stat-chip[b-zyekw6335r] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-zyekw6335r 0.8s ease both;
}

.gtb-stat-chip:hover[b-zyekw6335r] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

.gtb-stat-chip.success[b-zyekw6335r] {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
  color: #16a34a;
}

.gtb-stat-chip.success:hover[b-zyekw6335r] {
  background: rgba(34, 197, 94, 0.15);
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.15);
}

/* Bouton ajouter (hérité de GTB usages) */
.add-usage-btn[b-zyekw6335r] {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border: 2px dashed rgba(99, 102, 241, 0.4);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: #4338ca;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.add-usage-btn:hover[b-zyekw6335r] {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.18);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.16));
}

.add-usage-icon[b-zyekw6335r] {
  font-size: 1.2rem;
}

@keyframes fadeIn-b-zyekw6335r {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.zones-panel[b-zyekw6335r] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-zyekw6335r 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@keyframes slideUp-b-zyekw6335r {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zones-panel-header[b-zyekw6335r] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.panel-title[b-zyekw6335r] {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--app-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.panel-heading[b-zyekw6335r] {
  font-weight: 700;
  color: var(--app-text);
}

.catalog-section[b-zyekw6335r] {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 2px dashed rgba(148, 163, 184, 0.4);
  border-radius: 16px;
  padding: 1.75rem;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  animation: slideUp-b-zyekw6335r 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  will-change: transform;
  contain: layout style paint;
  align-self: flex-start;
  z-index: 5;
}

.catalog-title[b-zyekw6335r] {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.catalog-title[b-zyekw6335r]::before {
  content: '🗂️';
  font-size: 1.5rem;
}

.zones-grid[b-zyekw6335r] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.usage-card[b-zyekw6335r] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-zyekw6335r 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.usage-card[b-zyekw6335r]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.usage-card:hover[b-zyekw6335r]::before {
  opacity: 1;
}

.usage-card:hover[b-zyekw6335r] {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
}

.zone-card-header[b-zyekw6335r],
.usage-header[b-zyekw6335r] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.zone-name[b-zyekw6335r],
.usage-title[b-zyekw6335r] {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.zone-meta[b-zyekw6335r],
.usage-unit[b-zyekw6335r] {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 400;
  margin-top: 0.25rem;
}

.zone-dropzone[b-zyekw6335r] {
  border: 1.5px dashed rgba(59, 130, 246, 0.28);
  border-radius: 14px;
  padding: 12px;
  background: rgba(248, 250, 252, 0.8);
  min-height: 96px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .18s ease;
}

.zone-dropzone.empty[b-zyekw6335r] {
  background: rgba(96, 165, 250, 0.06);
  border-style: dashed;
}

.zone-drop-hint[b-zyekw6335r] {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.8rem;
  color: var(--app-muted);
  opacity: .8;
  pointer-events: none;
}

.zone-targets[b-zyekw6335r] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 60px;
}

.zone-empty[b-zyekw6335r] {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--app-muted);
  font-weight: 600;
  padding: 6px 0;
}

.target-chip[b-zyekw6335r] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.2;
  border: 1px solid rgba(203, 213, 225, 0.6);
  background: rgba(248, 250, 252, 0.95);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  cursor: default;
  transition: all 0.2s ease;
}

.target-chip:hover[b-zyekw6335r] {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

.target-chip.t1[b-zyekw6335r] { background: linear-gradient(135deg, #ffebee, #ffe4e6); border-color: #ffcdd2; color: #b71c1c; }
.target-chip.t2[b-zyekw6335r] { background: linear-gradient(135deg, #e3f2fd, #dbeafe); border-color: #90caf9; color: #0d47a1; }
.target-chip.t3[b-zyekw6335r] { background: linear-gradient(135deg, #e8f5e9, #d1fae5); border-color: #a5d6a7; color: #1b5e20; }
.target-chip.t4[b-zyekw6335r] { background: linear-gradient(135deg, #fff3e0, #ffedd5); border-color: #ffcc80; color: #e65100; }
.target-chip.t5[b-zyekw6335r] { background: linear-gradient(135deg, #f3e5f5, #ede9fe); border-color: #ce93d8; color: #4a148c; }
.target-chip.target-more[b-zyekw6335r] { background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(37,99,235,0.12)); border-color: rgba(59,130,246,0.35); color: #2563eb; font-weight: 700; }
.target-chip.target-more[b-zyekw6335r] {
  border: 1px solid rgba(59,130,246,0.35) !important;
  background: rgba(59,130,246,0.08) !important;
  color: #2563eb !important;
  cursor: pointer;
  padding: 0.35rem 0.85rem !important;
}
.target-chip.target-more:hover[b-zyekw6335r] {
  background: rgba(59,130,246,0.14) !important;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.18);
}
.target-chip.target-more[b-zyekw6335r]  .mud-button-root,
.target-chip.target-more[b-zyekw6335r]  .mud-button-label {
  padding: 0 !important;
  min-width: 0 !important;
}

.meter-catalog[b-zyekw6335r] {
  max-height: calc(100vh - 400px);
  overflow: auto;
  border: 2px dashed rgba(148, 163, 184, 0.4);
  border-radius: 12px;
  padding: 12px;
  background: rgba(248, 250, 252, 0.8);
}

.meter-catalog[b-zyekw6335r]::-webkit-scrollbar {
  width: 8px;
}

.meter-catalog[b-zyekw6335r]::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.5);
  border-radius: 4px;
}

.meter-catalog[b-zyekw6335r]::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 4px;
}

.meter-catalog[b-zyekw6335r]::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.5);
}

.meter-row[b-zyekw6335r] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.6);
  margin-bottom: 0.75rem;
  cursor: move;
  transition: all 0.3s ease;
  position: relative;
  user-select: none;
}

.meter-row:hover[b-zyekw6335r] {
  background: rgba(241, 245, 249, 1);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(-4px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.meter-row.selected[b-zyekw6335r] {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.meter-row.selected:hover[b-zyekw6335r] {
  background: rgba(59, 130, 246, 0.12);
}
.meter-body[b-zyekw6335r] {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}
.meter-title[b-zyekw6335r] {
  font-weight: 700;
  color: var(--app-text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meter-meta[b-zyekw6335r] {
  color: var(--app-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drag-handle[b-zyekw6335r] { color: var(--app-muted); opacity: .8; }

.can-drop[b-zyekw6335r] {
  animation: drop-pulse-b-zyekw6335r 900ms ease-in-out infinite;
  transform: translateZ(0) scale(1.01);
}
.no-drop[b-zyekw6335r] { opacity: .6; }
.dragging-zone[b-zyekw6335r] { outline: 1px dashed var(--app-primary); }
.dragging-item[b-zyekw6335r] {
  opacity: .98;
  cursor: grabbing !important;
  transform: scale(1.03);
  border-color: var(--app-primary);
  background-color: rgba(37, 99, 235, 0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.12);
  pointer-events: none;
}

@keyframes drop-pulse-b-zyekw6335r {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.18); }
  70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.empty[b-zyekw6335r] { color: var(--app-muted); font-style: italic; }

@media (max-width: 960px) {
  .gtb-header[b-zyekw6335r] {
    padding: 1.5rem;
  }
  .gtb-title[b-zyekw6335r] {
    font-size: 2rem;
  }
  .zones-panel[b-zyekw6335r], .catalog-panel[b-zyekw6335r] {
    padding: 1rem;
  }
  .meter-catalog[b-zyekw6335r] {
    max-height: 50vh;
  }
}

/* --- Catalogue GTB style (aligné sur GtbMesures) --- */
.catalog-section[b-zyekw6335r] {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 2px dashed rgba(148, 163, 184, 0.4);
  border-radius: 16px;
  padding: 1.75rem;
  position: sticky;
  top: 1rem;
  align-self: flex-start;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  animation: slideUp-b-zyekw6335r 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  will-change: transform;
  contain: layout style paint;
  transition: all 0.3s ease;
}

.catalog-section.sticky[b-zyekw6335r] {
  position: sticky;
  top: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.08),
    0 8px 32px rgba(59, 130, 246, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  animation: slideDownSticky-b-zyekw6335r 0.3s ease-out;
}

@keyframes slideDownSticky-b-zyekw6335r {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog-title[b-zyekw6335r] {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.catalog-title[b-zyekw6335r]::before {
  content: '🗂️';
  font-size: 1.5rem;
}

.search-container[b-zyekw6335r] {
  margin-bottom: 1.5rem;
  position: relative;
}

.search-box[b-zyekw6335r] {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  background: rgba(248, 250, 252, 0.9);
  border: 2px solid rgba(203, 213, 225, 0.6);
  border-radius: 12px;
  font-size: 0.9rem;
  color: #334155;
  transition: all 0.3s ease;
  outline: none;
}

.search-box:focus[b-zyekw6335r] {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.search-box[b-zyekw6335r]::placeholder {
  color: #94a3b8;
}

.search-icon[b-zyekw6335r] {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
  pointer-events: none;
}

.search-clear[b-zyekw6335r] {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.search-clear.visible[b-zyekw6335r] {
  opacity: 1;
  pointer-events: all;
}

.search-clear:hover[b-zyekw6335r] {
  color: #ef4444;
  transform: translateY(-50%) scale(1.1);
}

.selection-controls[b-zyekw6335r] {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.select-btn[b-zyekw6335r] {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.select-btn:hover[b-zyekw6335r] {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
  transform: translateY(-1px);
}

.select-btn:active[b-zyekw6335r] {
  transform: translateY(0);
}

.select-btn.clear[b-zyekw6335r] {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.08));
  border-color: rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.select-btn.clear:hover[b-zyekw6335r] {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
}

.selected-count[b-zyekw6335r] {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.selected-count-number[b-zyekw6335r] {
  background: rgba(34, 197, 94, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.catalog-items-container[b-zyekw6335r] {
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 12px;
  padding: 12px;
  min-height: 300px;
  max-height: 520px;
  overflow-y: auto;
  background: rgba(248, 250, 252, 0.8);
}

.catalog-items-container[b-zyekw6335r]::-webkit-scrollbar {
  width: 6px;
}

.catalog-items-container[b-zyekw6335r]::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-items-container[b-zyekw6335r]::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 4px;
}

.catalog-items-container[b-zyekw6335r]::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.6);
}

.catalog-item[b-zyekw6335r] {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.6);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: move;
  transition: all 0.3s ease;
  position: relative;
  user-select: none;
  will-change: transform;
  contain: layout style paint;
}

.catalog-item.selected[b-zyekw6335r] {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.catalog-item:hover[b-zyekw6335r] {
  background: rgba(241, 245, 249, 1);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(-4px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.catalog-item.selected:hover[b-zyekw6335r] {
  background: rgba(59, 130, 246, 0.12);
}

.catalog-item-checkbox[b-zyekw6335r] {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 20px;
  height: 20px;
}

.catalog-item-id[b-zyekw6335r] {
  font-weight: 700;
  font-size: 0.95rem;
  color: #2563eb;
  margin-bottom: 0.25rem;
}

.catalog-item-path[b-zyekw6335r] {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.catalog-item-desc[b-zyekw6335r] {
  color: #64748b;
  font-size: 0.9rem;
}
/* /Shared/SiteCheckList.razor.rz.scp.css */
/* ── Panel inline (below hero card) ── */
.sid-panel[b-dukuv4hmwy] {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  animation: sidExpand-b-dukuv4hmwy 0.25s cubic-bezier(0.32, 0, 0.16, 1) both;
  overflow: hidden;
}

@keyframes sidExpand-b-dukuv4hmwy {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Body ── */
.sid-body[b-dukuv4hmwy] {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
}

/* ================================================================ */
/* ZONES — copies depuis SiteFinalize                               */
/* ================================================================ */

/* ── Zone Card ── */
.zone-card[b-dukuv4hmwy] {
  flex: 1;
  min-width: 260px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  animation: fadeUp-b-dukuv4hmwy 0.4s ease both;
  display: flex;
  flex-direction: column;
}

@keyframes fadeUp-b-dukuv4hmwy {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zone-header[b-dukuv4hmwy] {
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-bottom: 1px solid #e2e8f0;
}
.zone-number[b-dukuv4hmwy] {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.zone-header h3[b-dukuv4hmwy] {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.zone-body[b-dukuv4hmwy] {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Zone Item ── */
.zone-item[b-dukuv4hmwy] {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  transition: all 0.2s ease;
}
.zone-item:hover[b-dukuv4hmwy] {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.zone-item-header[b-dukuv4hmwy] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.zone-item-title[b-dukuv4hmwy] {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
}
.zone-item-body[b-dukuv4hmwy] {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zone-item-note[b-dukuv4hmwy] {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Badges ── */
.badge[b-dukuv4hmwy] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-done[b-dukuv4hmwy] {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.badge-missing[b-dukuv4hmwy] {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.badge-failed[b-dukuv4hmwy] {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.badge-notreviewed[b-dukuv4hmwy] {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* ── Link ── */
.zone-link[b-dukuv4hmwy] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.zone-link svg[b-dukuv4hmwy] {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: #3b82f6;
}
.zone-link:hover[b-dukuv4hmwy] {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
  text-decoration: none;
}
.zone-link:hover svg[b-dukuv4hmwy] {
  fill: #1d4ed8;
}

/* ── URL input ── */
.url-input-group[b-dukuv4hmwy] {
  display: flex;
  gap: 6px;
  align-items: center;
}
.url-input[b-dukuv4hmwy] {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #0f172a;
  background: #fff;
  transition: all 0.2s ease;
  font-family: inherit;
}
.url-input:focus[b-dukuv4hmwy] {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.url-input[b-dukuv4hmwy]::placeholder {
  color: #94a3b8;
}

/* ── Buttons ── */
.btn-sm[b-dukuv4hmwy] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  border: none;
  white-space: nowrap;
}
.btn-sm.btn-primary[b-dukuv4hmwy] {
  background: #3b82f6;
  color: #fff;
  border: 1px solid #2563eb;
}
.btn-sm.btn-primary:hover[b-dukuv4hmwy] {
  background: #2563eb;
}
.btn-sm:disabled[b-dukuv4hmwy] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── DataChecked pill row ── */
.dc-item[b-dukuv4hmwy] {
  border-radius: 10px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.dc-item-on[b-dukuv4hmwy] {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.dc-item-off[b-dukuv4hmwy] {
  background: #fff5f5;
  border-color: #fecaca;
}

.dc-row[b-dukuv4hmwy] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dc-label[b-dukuv4hmwy] {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}
.dc-pills[b-dukuv4hmwy] {
  display: flex;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.dc-pill[b-dukuv4hmwy] {
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.15s ease;
  font-family: inherit;
  letter-spacing: 0.04em;
}
.dc-pill:first-child[b-dukuv4hmwy] {
  border-right: 1px solid #e2e8f0;
}
.dc-pill-active-yes[b-dukuv4hmwy] {
  background: #22c55e;
  color: #fff;
}
.dc-pill-active-no[b-dukuv4hmwy] {
  background: #fee2e2;
  color: #b91c1c;
}

/* ── Cycle button ── */
.btn-icon-cycle[b-dukuv4hmwy] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}
.btn-icon-cycle:hover[b-dukuv4hmwy] {
  border-color: #3b82f6;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}
/* /Shared/SiteHeroCard.razor.rz.scp.css */
/* ── Wrapper ────────────────────────────────────────────────────────────── */
.hero-wrapper[b-kwgoko6jla] {
  padding-top: 1.5rem;
}

/* ── Bannière principale ─────────────────────────────────────────────────── */
.hero-header[b-kwgoko6jla] {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  background-color: #0f172a; /* fallback si image absente */
}

/* Image en fond via <img> — bien meilleure interpolation que background-image */
.hero-bg-image[b-kwgoko6jla] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Blur très léger pour masquer la pixellisation des petites photos */
  filter: blur(0.6px) brightness(0.95);
  transform: scale(1.02); /* compense le halo de blur sur les bords */
  will-change: transform;
}

/* Dégradé éditorial : photo visible en haut, fondu opaque en bas */
.hero-overlay[b-kwgoko6jla] {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(10, 12, 16, 0.82) 100%
  );
}

/* ── Top bar (bouton retour + progression) ──────────────────────────────── */
.hero-topbar[b-kwgoko6jla] {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1.25rem 0;
}

/* Bouton Retour */
.hero-back-btn[b-kwgoko6jla] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-back-btn:hover[b-kwgoko6jla] {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateX(-2px);
}

.hero-back-icon[b-kwgoko6jla] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-back-btn:hover .hero-back-icon[b-kwgoko6jla] {
  transform: translateX(-2px);
}

/* Cercle de progression */
.hero-progress[b-kwgoko6jla] {
  position: relative;
  width: 52px;
  height: 52px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.hero-progress:hover[b-kwgoko6jla] {
  transform: scale(1.10);
}

.progress-ring[b-kwgoko6jla] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.progress-ring-bg[b-kwgoko6jla] {
  fill: rgba(0, 0, 0, 0.40);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 3;
}

.progress-ring-fill[b-kwgoko6jla] {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.6s ease;
}

.progress-text[b-kwgoko6jla] {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
}

/* Tooltip du cercle — vers la gauche */
.hero-progress[b-kwgoko6jla]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 10px);
  top: 0;
  background: rgba(10, 12, 16, 0.94);
  color: white;
  padding: 0.5rem 0.875rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: normal;
  width: max-content;
  max-width: min(420px, calc(100vw - 5rem));
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.hero-progress[b-kwgoko6jla]::before {
  content: '';
  position: absolute;
  right: calc(100% + 2px);
  top: 16px;
  border: 6px solid transparent;
  border-left-color: rgba(10, 12, 16, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 10;
}

.hero-progress:hover[b-kwgoko6jla]::after,
.hero-progress:hover[b-kwgoko6jla]::before {
  opacity: 1;
}

.hero-progress:hover[b-kwgoko6jla]::after {
  transform: translateX(-4px);
}

/* ── Bas de bannière : ligne accent + titre ─────────────────────────────── */
.hero-bottom[b-kwgoko6jla] {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Fine ligne de couleur dynamique (teal / vert / ambre selon progression) */
.hero-accent-line[b-kwgoko6jla] {
  width: 40px;
  height: 3px;
  border-radius: 999px;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.hero-title-section[b-kwgoko6jla] {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-title[b-kwgoko6jla] {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 75%;
}

h1.hero-title[b-kwgoko6jla] { color: #ffffff !important; }

.hero-subtitle[b-kwgoko6jla] {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.01em;
}

.hero-location-icon[b-kwgoko6jla] {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.8;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-header[b-kwgoko6jla] {
    height: 190px;
    border-radius: 14px;
  }

  .hero-title[b-kwgoko6jla] {
    font-size: 1.6rem;
    max-width: 65%;
  }
}

@media (max-width: 480px) {
  .hero-header[b-kwgoko6jla] {
    height: 170px;
    border-radius: 12px;
  }

  .hero-title[b-kwgoko6jla] {
    font-size: 1.35rem;
    max-width: 60%;
  }

  .hero-subtitle[b-kwgoko6jla] {
    font-size: 0.78rem;
  }

  .hero-back-btn[b-kwgoko6jla] {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
  }

  .hero-progress[b-kwgoko6jla] {
    width: 44px;
    height: 44px;
  }
}
/* /Shared/SiteImportEditor.razor.rz.scp.css */
/* Container principal avec arrière-plan moderne */
.gtb-container[b-huoryabwog] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: hidden;
  max-width: 100%;
}

.gtb-content[b-huoryabwog] {
  position: relative;
}

/* Motif de grille en arrière-plan */
.gtb-container[b-huoryabwog]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
  pointer-events: none;
  z-index: 0;
}

/* Header avec effet glassmorphism */
.gtb-header[b-huoryabwog] {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.9));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px 20px 0 0;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-huoryabwog 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.gtb-header[b-huoryabwog]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
}

@keyframes slideDown-b-huoryabwog {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Titre principal avec gradient */
.gtb-title[b-huoryabwog] {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Sous-titre */
.gtb-subtitle[b-huoryabwog] {
  color: #64748b;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/* Panel de contenu avec effet glass */
.glass-panel[b-huoryabwog] {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 0 0 20px 20px;
  border-top: none;
  padding: 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideUp-b-huoryabwog 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

@keyframes slideUp-b-huoryabwog {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Actions d'import */
.import-actions[b-huoryabwog] {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

/* Input file personnalisé */
.file-input[b-huoryabwog] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-input-label[b-huoryabwog] {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border: 2px dashed rgba(99, 102, 241, 0.4);
  border-radius: 12px;
  color: #4338ca;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.file-input-label:hover[b-huoryabwog] {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  border-color: rgba(99, 102, 241, 0.6);
}

.file-input-label:active[b-huoryabwog] {
  transform: translateY(-1px);
}

.action-btn[b-huoryabwog] {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.action-btn:hover[b-huoryabwog] {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.action-btn:active[b-huoryabwog] {
  transform: translateY(-1px);
}

/* Chips de statistiques */
.stats-chips[b-huoryabwog] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.gtb-stat-chip[b-huoryabwog] {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  padding: 0.875rem 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #2563eb;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeIn-b-huoryabwog 0.8s ease both;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.gtb-stat-chip:hover[b-huoryabwog] {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.12));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.gtb-stat-chip.success[b-huoryabwog] {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(22, 163, 74, 0.06));
  border-color: rgba(34, 197, 94, 0.25);
  color: #16a34a;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}

.gtb-stat-chip.success:hover[b-huoryabwog] {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.12));
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
}

@keyframes fadeIn-b-huoryabwog {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive design */
@media (max-width: 960px) {
  .gtb-container[b-huoryabwog] {
    padding: 1rem;
  }

  .gtb-header[b-huoryabwog] {
    padding: 1.75rem 1.25rem;
  }

  .gtb-title[b-huoryabwog] {
    font-size: 1.75rem;
  }

  .gtb-subtitle[b-huoryabwog] {
    font-size: 0.95rem;
  }

  .import-content[b-huoryabwog] {
    padding: 1.25rem;
  }

  .import-actions[b-huoryabwog] {
    flex-direction: column;
    align-items: stretch;
  }

  .file-input-label[b-huoryabwog],
  .action-btn[b-huoryabwog] {
    width: 100%;
    justify-content: center;
  }

  .stats-chips[b-huoryabwog] {
    gap: 0.5rem;
  }

  .gtb-stat-chip[b-huoryabwog] {
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
  }
}

@media (max-width: 600px) {
  .gtb-title[b-huoryabwog] {
    font-size: 1.5rem;
  }

  .gtb-subtitle[b-huoryabwog] {
    font-size: 0.85rem;
  }

  .gtb-stat-chip[b-huoryabwog] {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
  }

  .file-input-label[b-huoryabwog] {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ── Buttons btn-sm ── */
.btn-sm[b-huoryabwog] {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; font-size: .78rem; font-weight: 600;
    border-radius: 8px; cursor: pointer; transition: all .2s ease;
    font-family: inherit; border: none; white-space: nowrap;
}
.btn-sm svg[b-huoryabwog] { width: 14px; height: 14px; flex-shrink: 0; }
.btn-sm.btn-outline[b-huoryabwog] {
    background: transparent; border: 1px solid #e2e8f0; color: #64748b;
}
.btn-sm.btn-outline svg[b-huoryabwog] { fill: #64748b; }
.btn-sm.btn-outline:hover[b-huoryabwog] {
    border-color: #3b82f6; color: #3b82f6; background: rgba(59,130,246,.05);
}
.btn-sm.btn-outline:hover svg[b-huoryabwog] { fill: #3b82f6; }
.btn-sm:disabled[b-huoryabwog] { opacity: .4; cursor: not-allowed; }

/* ── Detail section ── */
@@keyframes fadeUp {
    from[b-huoryabwog] { opacity: 0; transform: translateY(12px); }
    to[b-huoryabwog]   { opacity: 1; transform: translateY(0); }
}
.detail-section[b-huoryabwog] {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15,23,42,.08);
    overflow: hidden; animation: fadeUp .4s ease both;
    margin-top: 1.5rem;
    min-width: 0; max-width: 100%;
}
.section-header[b-huoryabwog] {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}
.section-header svg.section-icon[b-huoryabwog] { width: 24px; height: 24px; fill: #64748b; flex-shrink: 0; }
.section-header h2[b-huoryabwog] { margin: 0; font-size: 1.05rem; font-weight: 700; color: #0f172a; }
.detail-section .stats-chips[b-huoryabwog] { margin-top: 0; padding-top: 0; border-top: none; }
.detail-section .import-content[b-huoryabwog] { padding: 20px 22px; overflow-x: auto; }
/* /Shared/SiteInfoEdit.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════ */
/* SITE INFO EDIT - Form Styles (matching SiteCreate)              */
/* ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════ */
/* FORM LAYOUT                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.form-layout[b-gpbhxxb6i6] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin-top: 20px;
}
@media (max-width: 1100px) { .form-layout[b-gpbhxxb6i6] { grid-template-columns: 1fr; } }

.form-main[b-gpbhxxb6i6] { display: flex; flex-direction: column; gap: 20px; }

/* ═══════════════════════════════════════════════════════════════ */
/* FORM SECTIONS                                                   */
/* ═══════════════════════════════════════════════════════════════ */
.form-section[b-gpbhxxb6i6] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    animation: fadeUp-b-gpbhxxb6i6 0.5s ease both;
}
.form-section:nth-child(1)[b-gpbhxxb6i6] { animation-delay: 0s; }
.form-section:nth-child(2)[b-gpbhxxb6i6] { animation-delay: 0.1s; }
.form-section:nth-child(3)[b-gpbhxxb6i6] { animation-delay: 0.2s; }
.form-section:nth-child(4)[b-gpbhxxb6i6] { animation-delay: 0.3s; }

@keyframes fadeUp-b-gpbhxxb6i6 {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header[b-gpbhxxb6i6] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}
.section-header svg.section-icon[b-gpbhxxb6i6] { width: 24px; height: 24px; fill: #64748b; flex-shrink: 0; }
.section-header h2[b-gpbhxxb6i6] { margin: 0; font-size: 1.05rem; font-weight: 700; color: #0f172a; }
.section-header .badge[b-gpbhxxb6i6] {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: #e2e8f0;
    color: #475569;
}

/* ═══════════════════════════════════════════════════════════════ */
/* BUTTONS                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.btn-primary[b-gpbhxxb6i6] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
    font-family: inherit;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
.btn-primary svg[b-gpbhxxb6i6] { width: 18px; height: 18px; flex-shrink: 0; fill: #fff; }
.btn-primary:hover[b-gpbhxxb6i6] { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4); }

.btn-save[b-gpbhxxb6i6] { margin-left: auto; }

.btn-sm[b-gpbhxxb6i6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    border: none;
}
.btn-sm svg[b-gpbhxxb6i6] { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm.btn-outline[b-gpbhxxb6i6] { background: transparent; border: 1px solid #e2e8f0; color: #64748b; }
.btn-sm.btn-outline svg[b-gpbhxxb6i6] { fill: #64748b; }
.btn-sm.btn-outline:hover[b-gpbhxxb6i6] { border-color: #3b82f6; color: #3b82f6; background: rgba(59, 130, 246, 0.05); }
.btn-sm.btn-outline:hover svg[b-gpbhxxb6i6] { fill: #3b82f6; }
.btn-sm.btn-ghost[b-gpbhxxb6i6] { background: transparent; color: #64748b; border: none; }
.btn-sm.btn-ghost svg[b-gpbhxxb6i6] { fill: #64748b; }
.btn-sm.btn-ghost:hover[b-gpbhxxb6i6] { color: #3b82f6; }
.btn-sm.btn-ghost:hover svg[b-gpbhxxb6i6] { fill: #3b82f6; }

/* ═══════════════════════════════════════════════════════════════ */
/* FORM GRID & FIELDS                                              */
/* ═══════════════════════════════════════════════════════════════ */
.form-grid[b-gpbhxxb6i6] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 22px;
}
@media (max-width: 600px) { .form-grid[b-gpbhxxb6i6] { grid-template-columns: 1fr; } }
.form-field.full-width[b-gpbhxxb6i6] { grid-column: 1 / -1; }

.form-field label[b-gpbhxxb6i6] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}
.form-field label svg[b-gpbhxxb6i6] { width: 16px; height: 16px; fill: #94a3b8; flex-shrink: 0; }
.form-field label.required[b-gpbhxxb6i6]::after { content: ' *'; color: #ef4444; font-weight: 700; }

.form-field input[type="text"][b-gpbhxxb6i6],
.form-field input[type="number"][b-gpbhxxb6i6],
.form-field input[type="date"][b-gpbhxxb6i6] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #0f172a;
    background: #fff;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}
.form-field input:focus[b-gpbhxxb6i6] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.form-field input[b-gpbhxxb6i6]::placeholder { color: #94a3b8; }
.form-field input:disabled[b-gpbhxxb6i6] { background: #f1f5f9; cursor: not-allowed; color: #94a3b8; }

/* File upload */
.file-input-label[b-gpbhxxb6i6] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px dashed rgba(99, 102, 241, 0.4);
    border-radius: 12px;
    color: #4338ca;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}
.file-input-label:hover[b-gpbhxxb6i6] {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border-color: rgba(99, 102, 241, 0.6);
}
.file-input-label:active[b-gpbhxxb6i6] {
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════ */
/* SEARCH BOX                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.search-box[b-gpbhxxb6i6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin: 16px 22px 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}
.search-box svg[b-gpbhxxb6i6] { width: 20px; height: 20px; fill: #94a3b8; flex-shrink: 0; }
.search-box input[b-gpbhxxb6i6] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #0f172a;
    font-family: inherit;
}
.search-box input:focus[b-gpbhxxb6i6] { outline: none; }
.search-box input[b-gpbhxxb6i6]::placeholder { color: #94a3b8; }

/* ═══════════════════════════════════════════════════════════════ */
/* INDICATOR QUICK FILTERS                                         */
/* ═══════════════════════════════════════════════════════════════ */
.indicator-quick-filters[b-gpbhxxb6i6] {
    display: flex;
    gap: 8px;
    padding: 12px 22px 0;
    flex-wrap: wrap;
}

.btn-quick-filter[b-gpbhxxb6i6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-family: inherit;
}
.btn-quick-filter svg[b-gpbhxxb6i6] { width: 16px; height: 16px; flex-shrink: 0; }
.btn-quick-filter:hover[b-gpbhxxb6i6] { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-quick-filter:disabled[b-gpbhxxb6i6] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-qf-elec[b-gpbhxxb6i6] {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.4);
    color: #b45309;
}
.btn-qf-elec svg[b-gpbhxxb6i6] { fill: #d97706; }
.btn-qf-elec:hover:not(:disabled)[b-gpbhxxb6i6] { background: rgba(234, 179, 8, 0.2); border-color: #d97706; }

.btn-qf-eau[b-gpbhxxb6i6] {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.35);
    color: #1d4ed8;
}
.btn-qf-eau svg[b-gpbhxxb6i6] { fill: #3b82f6; }
.btn-qf-eau:hover:not(:disabled)[b-gpbhxxb6i6] { background: rgba(59, 130, 246, 0.18); border-color: #3b82f6; }

.btn-qf-ec[b-gpbhxxb6i6] {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.35);
    color: #b91c1c;
}
.btn-qf-ec svg[b-gpbhxxb6i6] { fill: #ef4444; }
.btn-qf-ec:hover:not(:disabled)[b-gpbhxxb6i6] { background: rgba(239, 68, 68, 0.18); border-color: #ef4444; }

.btn-qf-eg[b-gpbhxxb6i6] {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.35);
    color: #0e7490;
}
.btn-qf-eg svg[b-gpbhxxb6i6] { fill: #06b6d4; }
.btn-qf-eg:hover:not(:disabled)[b-gpbhxxb6i6] { background: rgba(6, 182, 212, 0.18); border-color: #06b6d4; }

/* ═══════════════════════════════════════════════════════════════ */
/* CHECKBOX GRID                                                   */
/* ═══════════════════════════════════════════════════════════════ */
.checkbox-grid[b-gpbhxxb6i6] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    padding: 16px 22px;
    max-height: 280px;
    overflow-y: auto;
}

.checkbox-item[b-gpbhxxb6i6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.checkbox-item:hover[b-gpbhxxb6i6] { background: rgba(59, 130, 246, 0.05); }
.checkbox-item.checked[b-gpbhxxb6i6] { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.2); }

.checkbox-item input[type="checkbox"][b-gpbhxxb6i6] { display: none; }
.checkmark[b-gpbhxxb6i6] {
    width: 20px; height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #fff;
}
.checkbox-item.checked .checkmark[b-gpbhxxb6i6] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #3b82f6;
}
.checkbox-item.checked .checkmark[b-gpbhxxb6i6]::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.checkbox-label[b-gpbhxxb6i6] { font-size: 0.85rem; color: #0f172a; line-height: 1.3; }
.checkbox-label .text-muted[b-gpbhxxb6i6] { color: #64748b; font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════════════════ */
/* ACTION ROW                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.action-row[b-gpbhxxb6i6] {
    display: flex;
    gap: 10px;
    padding: 0 22px 16px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CHIPS                                                           */
/* ═══════════════════════════════════════════════════════════════ */
.chips-container[b-gpbhxxb6i6] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 22px 18px;
    border-top: 1px solid #e2e8f0;
    margin-top: 8px;
}
.chip[b-gpbhxxb6i6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2563eb;
}
.chip.secondary[b-gpbhxxb6i6] { background: rgba(100,116,139,0.1); border-color: rgba(100,116,139,0.2); color: #64748b; }
.chip-close[b-gpbhxxb6i6] {
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}
.chip-close:hover[b-gpbhxxb6i6] { background: rgba(0,0,0,0.1); }

/* ═══════════════════════════════════════════════════════════════ */
/* SIDEBAR                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.form-sidebar[b-gpbhxxb6i6] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}

.preview-card[b-gpbhxxb6i6] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.preview-header[b-gpbhxxb6i6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}
.preview-header svg[b-gpbhxxb6i6] { width: 20px; height: 20px; fill: #64748b; }

.preview-body[b-gpbhxxb6i6] { padding: 16px; }
.preview-image[b-gpbhxxb6i6] {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}
.preview-empty[b-gpbhxxb6i6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    background: #f8fafc;
    border-radius: 10px;
    color: #94a3b8;
    gap: 8px;
}
.preview-empty svg[b-gpbhxxb6i6] { width: 40px; height: 40px; fill: #cbd5e1; }
.preview-empty span[b-gpbhxxb6i6] { font-size: 0.85rem; }

.preview-info[b-gpbhxxb6i6] { padding: 0 16px 16px; }
.preview-name[b-gpbhxxb6i6] { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.preview-address[b-gpbhxxb6i6] { font-size: 0.85rem; color: #64748b; margin-bottom: 8px; }
.preview-surface[b-gpbhxxb6i6] {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    background: #e2e8f0;
    color: #475569;
    border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                      */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .form-layout[b-gpbhxxb6i6] { grid-template-columns: 1fr; }
    .form-sidebar[b-gpbhxxb6i6] { position: static; order: -1; }
    .section-header[b-gpbhxxb6i6] { flex-wrap: wrap; }
    .btn-save[b-gpbhxxb6i6] { width: 100%; justify-content: center; margin-top: 10px; }
}
/* /Shared/SiteSetpoints.razor.rz.scp.css */
/* Container principal */
.gtb-container[b-ziekv2q983] {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    overflow: visible;
}

.gtb-container[b-ziekv2q983]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
    pointer-events: none;
    z-index: 0;
}

.gtb-content[b-ziekv2q983] {
    position: relative;
    z-index: 1;
}

/* Header */
.gtb-header[b-ziekv2q983] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.gtb-title[b-ziekv2q983] {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.gtb-subtitle[b-ziekv2q983] {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.gtb-stat-chip[b-ziekv2q983] {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #2563eb;
    font-size: 0.95rem;
}

/* Section de filtres */
.filter-section[b-ziekv2q983] {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-title[b-ziekv2q983] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-filters[b-ziekv2q983] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-chip[b-ziekv2q983] {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(203, 213, 225, 0.6);
    color: #475569;
}

.category-chip:hover[b-ziekv2q983] {
    background: rgba(241, 245, 249, 1);
    border-color: rgba(59, 130, 246, 0.4);
}

.category-chip.active[b-ziekv2q983] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.12));
    border-color: rgba(59, 130, 246, 0.5);
    color: #2563eb;
}

.category-chip.all[b-ziekv2q983] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(99, 102, 241, 0.4);
    color: #6366f1;
}

.category-chip.all.active[b-ziekv2q983] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border-color: rgba(99, 102, 241, 0.6);
}

/* Cartes de catégories */
.category-card[b-ziekv2q983] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.category-header[b-ziekv2q983] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-header:hover[b-ziekv2q983] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
}

.category-info[b-ziekv2q983] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-name[b-ziekv2q983] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.category-count[b-ziekv2q983] {
    font-size: 0.85rem;
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-weight: 500;
}

.category-toggle[b-ziekv2q983] {
    font-size: 1rem;
    color: #6366f1;
    font-weight: 600;
}

.category-content[b-ziekv2q983] {
    padding: 1rem;
}

/* Section d'usage */
.usage-section[b-ziekv2q983] {
    margin-bottom: 1.5rem;
}

.usage-header-inline[b-ziekv2q983] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.usage-name[b-ziekv2q983] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7c3aed;
    letter-spacing: -0.01em;
}

.usage-count-badge[b-ziekv2q983] {
    font-size: 0.8rem;
    color: #6b21a8;
    background: rgba(168, 85, 247, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

/* Body GTB */
.gtb-body[b-ziekv2q983] {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    padding: 1rem;
}

/* Lignes de setPoints */
.setpoint-row[b-ziekv2q983] {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    gap: 1rem;
    cursor: pointer;
}

.setpoint-row:hover[b-ziekv2q983] {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
    transform: translateX(2px);
    background: rgba(59, 130, 246, 0.03);
}

.setpoint-path[b-ziekv2q983] {
    font-size: 0.95rem;
    color: #2563eb;
    word-break: break-all;
    font-weight: 500;
    flex: 1;
}

.setpoint-row:hover .setpoint-path[b-ziekv2q983] {
    text-decoration: underline;
}

.setpoint-captor[b-ziekv2q983] {
    font-size: 0.9rem;
    color: #475569;
    background: rgba(248, 250, 252, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(203, 213, 225, 0.4);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 960px) {
    .gtb-title[b-ziekv2q983] {
        font-size: 2rem;
    }

    .setpoint-row[b-ziekv2q983] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .setpoint-captor[b-ziekv2q983] {
        white-space: normal;
    }
}
/* /Shared/SiteStructureEditor.razor.rz.scp.css */
.gtb-container[b-vlctlz3e16] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-vlctlz3e16] {
  position: relative;
}

.gtb-container[b-vlctlz3e16]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
  pointer-events: none;
  z-index: 0;
}

.gtb-header[b-vlctlz3e16] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-vlctlz3e16 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-vlctlz3e16 {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-title[b-vlctlz3e16] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.gtb-subtitle[b-vlctlz3e16] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gtb-stat-chip[b-vlctlz3e16] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-vlctlz3e16 0.8s ease both;
}

.gtb-stat-chip:hover[b-vlctlz3e16] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

.gtb-stat-chip.success[b-vlctlz3e16] {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
  color: #16a34a;
}

.gtb-stat-chip.success:hover[b-vlctlz3e16] {
  background: rgba(34, 197, 94, 0.15);
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.15);
}

@keyframes fadeIn-b-vlctlz3e16 {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.add-usage-btn[b-vlctlz3e16] {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border: 2px dashed rgba(99, 102, 241, 0.4);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: #4338ca;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.add-usage-btn:hover[b-vlctlz3e16] {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.18);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.16));
}

.zones-panel[b-vlctlz3e16] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-vlctlz3e16 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@keyframes slideUp-b-vlctlz3e16 {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zones-panel-header[b-vlctlz3e16] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.panel-title[b-vlctlz3e16] {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
}

.filter-bar[b-vlctlz3e16] {
  background: rgba(248, 250, 252, 0.8);
  border-radius: 12px;
  padding: 0.75rem;
}

.filter-bar-compact[b-vlctlz3e16] {
  background: rgba(248, 250, 252, 0.8);
  border-radius: 10px;
  padding: 0.5rem;
}

.usage-card[b-vlctlz3e16] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-vlctlz3e16 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.usage-card[b-vlctlz3e16]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.usage-card:hover[b-vlctlz3e16]::before {
  opacity: 1;
}

.usage-card:hover[b-vlctlz3e16] {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
}

.usage-header[b-vlctlz3e16] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.group-actions[b-vlctlz3e16] {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.usage-title[b-vlctlz3e16] {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.usage-unit[b-vlctlz3e16] {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 400;
  margin-top: 0.25rem;
}

.zone-dropzone[b-vlctlz3e16] {
  border: 1.5px dashed rgba(59, 130, 246, 0.28);
  border-radius: 14px;
  padding: 12px;
  background: rgba(248, 250, 252, 0.8);
  min-height: 96px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .18s ease;
}

.zone-dropzone.empty[b-vlctlz3e16] {
  background: rgba(96, 165, 250, 0.06);
  border-style: dashed;
}

.zone-targets[b-vlctlz3e16] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 60px;
}

.zone-empty[b-vlctlz3e16] {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-weight: 600;
  padding: 6px 0;
}

.zone-item-chip[b-vlctlz3e16] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.2;
  border: 1px solid rgba(203, 213, 225, 0.6);
  background: rgba(248, 250, 252, 0.95);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  cursor: default;
  transition: all 0.2s ease;
}

.zone-item-chip:hover[b-vlctlz3e16] {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

.catalog-section[b-vlctlz3e16] {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 2px dashed rgba(148, 163, 184, 0.4);
  border-radius: 16px;
  padding: 1.75rem;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  animation: slideUp-b-vlctlz3e16 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  will-change: transform;
  contain: layout style paint;
  align-self: flex-start;
  z-index: 5;
}

.catalog-title[b-vlctlz3e16] {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.catalog-title[b-vlctlz3e16]::before {
  content: '🗂️';
  font-size: 1.5rem;
}

.search-container[b-vlctlz3e16] {
  margin-bottom: 1.5rem;
  position: relative;
}

.search-box[b-vlctlz3e16] {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  background: rgba(248, 250, 252, 0.9);
  border: 2px solid rgba(203, 213, 225, 0.6);
  border-radius: 12px;
  font-size: 0.9rem;
  color: #334155;
  transition: all 0.3s ease;
  outline: none;
}

.search-box:focus[b-vlctlz3e16] {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.search-box[b-vlctlz3e16]::placeholder {
  color: #94a3b8;
}

.search-icon[b-vlctlz3e16] {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
  pointer-events: none;
}

.search-clear[b-vlctlz3e16] {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.search-clear.visible[b-vlctlz3e16] {
  opacity: 1;
  pointer-events: all;
}

.search-clear:hover[b-vlctlz3e16] {
  color: #ef4444;
  transform: translateY(-50%) scale(1.1);
}

.catalog-items-container[b-vlctlz3e16] {
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 12px;
  padding: 12px;
  min-height: 300px;
  max-height: 520px;
  overflow-y: auto;
  background: rgba(248, 250, 252, 0.8);
}

.catalog-items-container[b-vlctlz3e16]::-webkit-scrollbar {
  width: 6px;
}

.catalog-items-container[b-vlctlz3e16]::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-items-container[b-vlctlz3e16]::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 4px;
}

.catalog-items-container[b-vlctlz3e16]::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.6);
}

.catalog-item[b-vlctlz3e16] {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.6);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: move;
  transition: all 0.3s ease;
  position: relative;
  user-select: none;
  will-change: transform;
  contain: layout style paint;
}

.catalog-item:hover[b-vlctlz3e16] {
  background: rgba(241, 245, 249, 1);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(-4px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.catalog-item-id[b-vlctlz3e16] {
  font-weight: 700;
  font-size: 0.95rem;
  color: #2563eb;
  margin-bottom: 0.25rem;
}

.catalog-item-path[b-vlctlz3e16] {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.catalog-item-desc[b-vlctlz3e16] {
  margin-top: 0.5rem;
}

.catalog-stats[b-vlctlz3e16] {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.no-results[b-vlctlz3e16] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: #94a3b8;
  gap: 0.5rem;
}

.no-results-icon[b-vlctlz3e16] {
  font-size: 3rem;
  opacity: 0.5;
}

.save-message[b-vlctlz3e16] {
  margin-top: 1rem;
  text-align: right;
}

.can-drop[b-vlctlz3e16] {
  animation: drop-pulse-b-vlctlz3e16 900ms ease-in-out infinite;
  transform: translateZ(0) scale(1.01);
}

.no-drop[b-vlctlz3e16] {
  opacity: .6;
}

.dragging-zone[b-vlctlz3e16] {
  outline: 1px dashed #2563eb;
}

.dragging-item[b-vlctlz3e16] {
  opacity: .98;
  cursor: grabbing !important;
  transform: scale(1.03);
  border-color: #2563eb;
  background-color: rgba(37, 99, 235, 0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.12);
  pointer-events: none;
}

@keyframes drop-pulse-b-vlctlz3e16 {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.18); }
  70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@media (max-width: 960px) {
  .gtb-header[b-vlctlz3e16] {
    padding: 1.5rem;
  }
  .gtb-title[b-vlctlz3e16] {
    font-size: 2rem;
  }
  .zones-panel[b-vlctlz3e16], .catalog-section[b-vlctlz3e16] {
    padding: 1rem;
  }
  .catalog-items-container[b-vlctlz3e16] {
    max-height: 50vh;
  }
}
/* /Shared/SpacesEditor.razor.rz.scp.css */
.gtb-container[b-0bt89kgsvo] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-0bt89kgsvo] {
  position: relative;
}

.gtb-container[b-0bt89kgsvo]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
  pointer-events: none;
  z-index: 0;
}

.gtb-header[b-0bt89kgsvo] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-0bt89kgsvo 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-0bt89kgsvo {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-title[b-0bt89kgsvo] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.gtb-subtitle[b-0bt89kgsvo] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gtb-stat-chip[b-0bt89kgsvo] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-0bt89kgsvo 0.8s ease both;
}

.gtb-stat-chip:hover[b-0bt89kgsvo] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

@keyframes fadeIn-b-0bt89kgsvo {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gtb-body[b-0bt89kgsvo] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-0bt89kgsvo 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@keyframes slideUp-b-0bt89kgsvo {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-body[b-0bt89kgsvo]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gtb-body:hover[b-0bt89kgsvo]::before {
  opacity: 1;
}

.gtb-body:hover[b-0bt89kgsvo] {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
}

/* Table Styling */
.gtb-table[b-0bt89kgsvo] {
  border-radius: 12px;
  overflow: hidden;
}

.gtb-table[b-0bt89kgsvo]  .mud-table-head {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(59, 130, 246, 0.08));
}

.gtb-table[b-0bt89kgsvo]  .mud-table-head th {
  color: #1e40af;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.gtb-table[b-0bt89kgsvo]  .mud-table-row {
  transition: all 0.2s ease;
}

.gtb-table[b-0bt89kgsvo]  .mud-table-row:hover {
  background: rgba(96, 165, 250, 0.06);
  transform: translateX(2px);
}

.gtb-table[b-0bt89kgsvo]  .mud-table-cell {
  padding: 1rem;
}

/* Zone list (shared classes with ZonesEditor) */
.zone-list[b-0bt89kgsvo] {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.zone-list-header[b-0bt89kgsvo] {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 1fr 40px;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.02));
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e40af;
}

.zone-row[b-0bt89kgsvo] {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 1fr 40px;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  align-items: center;
  font-size: 0.875rem;
  color: #334155;
}

.zone-row:last-of-type[b-0bt89kgsvo] {
  border-bottom: none;
}

.zone-row:hover[b-0bt89kgsvo] {
  background: rgba(59, 130, 246, 0.05);
  border-left-color: rgba(59, 130, 246, 0.3);
}

.zone-row-selected[b-0bt89kgsvo] {
  background: rgba(59, 130, 246, 0.08) !important;
  border-left-color: #3b82f6 !important;
}

.zone-col-id[b-0bt89kgsvo] {
  color: #94a3b8;
  font-size: 0.8rem;
  font-family: monospace;
}

.zone-col-name[b-0bt89kgsvo] {
  font-weight: 500;
  color: #1e293b;
}

.zone-col-group[b-0bt89kgsvo],
.zone-col-floor[b-0bt89kgsvo] {
  color: #64748b;
}

.zone-col-action[b-0bt89kgsvo] {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Inline edit panel */
.zone-inline-panel[b-0bt89kgsvo] {
  background: rgba(248, 250, 252, 0.95);
  border-left: 3px solid #3b82f6;
  padding: 0.75rem 1.25rem 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: slideInline-b-0bt89kgsvo 0.2s ease;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

@keyframes slideInline-b-0bt89kgsvo {
  from {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  to {
    opacity: 1;
    max-height: 400px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.zone-form-header-row[b-0bt89kgsvo] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zone-form-header[b-0bt89kgsvo] {
  font-weight: 600;
  color: #475569;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.zone-form-fields[b-0bt89kgsvo] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .gtb-header[b-0bt89kgsvo] {
    padding: 1.5rem;
  }
  .gtb-title[b-0bt89kgsvo] {
    font-size: 2rem;
  }
  .gtb-body[b-0bt89kgsvo] {
    padding: 1rem;
  }
  .zone-list-header[b-0bt89kgsvo],
  .zone-row[b-0bt89kgsvo] {
    grid-template-columns: 50px 1fr 1fr 30px;
  }
  .zone-col-group[b-0bt89kgsvo] {
    display: none;
  }
  .zone-form-fields[b-0bt89kgsvo] {
    grid-template-columns: 1fr;
  }
}
/* /Shared/ZoneGroupAssignmentEditor.razor.rz.scp.css */
.gtb-container[b-6urmesly5x] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-6urmesly5x] {
  position: relative;
}

.gtb-container[b-6urmesly5x]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
  pointer-events: none;
  z-index: 0;
}

.gtb-header[b-6urmesly5x] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-6urmesly5x 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-6urmesly5x {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-title[b-6urmesly5x] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.gtb-subtitle[b-6urmesly5x] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gtb-stat-chip[b-6urmesly5x] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-6urmesly5x 0.8s ease both;
}

.gtb-stat-chip:hover[b-6urmesly5x] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

.gtb-stat-chip.success[b-6urmesly5x] {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
  color: #16a34a;
}

.gtb-stat-chip.success:hover[b-6urmesly5x] {
  background: rgba(34, 197, 94, 0.15);
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.15);
}

@keyframes fadeIn-b-6urmesly5x {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.add-usage-btn[b-6urmesly5x] {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border: 2px dashed rgba(99, 102, 241, 0.4);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: #4338ca;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.add-usage-btn:hover[b-6urmesly5x] {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.18);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.16));
}

.zones-panel[b-6urmesly5x] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-6urmesly5x 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@keyframes slideUp-b-6urmesly5x {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zones-panel-header[b-6urmesly5x] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.panel-title[b-6urmesly5x] {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
}

.usage-card[b-6urmesly5x] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-6urmesly5x 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.usage-card[b-6urmesly5x]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.usage-card:hover[b-6urmesly5x]::before {
  opacity: 1;
}

.usage-card:hover[b-6urmesly5x] {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
}

.usage-header[b-6urmesly5x] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.group-actions[b-6urmesly5x] {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.usage-title[b-6urmesly5x] {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.usage-unit[b-6urmesly5x] {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 400;
  margin-top: 0.25rem;
}

.zone-dropzone[b-6urmesly5x] {
  border: 1.5px dashed rgba(59, 130, 246, 0.28);
  border-radius: 14px;
  padding: 12px;
  background: rgba(248, 250, 252, 0.8);
  min-height: 96px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .18s ease;
}

.zone-dropzone.empty[b-6urmesly5x] {
  background: rgba(96, 165, 250, 0.06);
  border-style: dashed;
}

.zone-targets[b-6urmesly5x] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 60px;
}

.zone-empty[b-6urmesly5x] {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-weight: 600;
  padding: 6px 0;
}

.zone-item-chip[b-6urmesly5x] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.2;
  border: 1px solid rgba(203, 213, 225, 0.6);
  background: rgba(248, 250, 252, 0.95);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  cursor: default;
  transition: all 0.2s ease;
}

.zone-item-chip:hover[b-6urmesly5x] {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

.catalog-section[b-6urmesly5x] {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 2px dashed rgba(148, 163, 184, 0.4);
  border-radius: 16px;
  padding: 1.75rem;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  animation: slideUp-b-6urmesly5x 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  will-change: transform;
  contain: layout style paint;
  align-self: flex-start;
  z-index: 5;
}

.catalog-title[b-6urmesly5x] {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.catalog-title[b-6urmesly5x]::before {
  content: '🗂️';
  font-size: 1.5rem;
}

.search-container[b-6urmesly5x] {
  margin-bottom: 1.5rem;
  position: relative;
}

.search-box[b-6urmesly5x] {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  background: rgba(248, 250, 252, 0.9);
  border: 2px solid rgba(203, 213, 225, 0.6);
  border-radius: 12px;
  font-size: 0.9rem;
  color: #334155;
  transition: all 0.3s ease;
  outline: none;
}

.search-box:focus[b-6urmesly5x] {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.search-box[b-6urmesly5x]::placeholder {
  color: #94a3b8;
}

.search-icon[b-6urmesly5x] {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
  pointer-events: none;
}

.search-clear[b-6urmesly5x] {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.search-clear.visible[b-6urmesly5x] {
  opacity: 1;
  pointer-events: all;
}

.search-clear:hover[b-6urmesly5x] {
  color: #ef4444;
  transform: translateY(-50%) scale(1.1);
}

.catalog-items-container[b-6urmesly5x] {
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 12px;
  padding: 12px;
  min-height: 300px;
  max-height: 520px;
  overflow-y: auto;
  background: rgba(248, 250, 252, 0.8);
}

.catalog-items-container[b-6urmesly5x]::-webkit-scrollbar {
  width: 6px;
}

.catalog-items-container[b-6urmesly5x]::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-items-container[b-6urmesly5x]::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 4px;
}

.catalog-items-container[b-6urmesly5x]::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.6);
}

.catalog-item[b-6urmesly5x] {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.6);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: move;
  transition: all 0.3s ease;
  position: relative;
  user-select: none;
  will-change: transform;
  contain: layout style paint;
}

.catalog-item:hover[b-6urmesly5x] {
  background: rgba(241, 245, 249, 1);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(-4px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.catalog-item-id[b-6urmesly5x] {
  font-weight: 700;
  font-size: 0.95rem;
  color: #2563eb;
  margin-bottom: 0.25rem;
}

.catalog-item-path[b-6urmesly5x] {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.no-results[b-6urmesly5x] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: #94a3b8;
  gap: 0.5rem;
}

.no-results-icon[b-6urmesly5x] {
  font-size: 3rem;
  opacity: 0.5;
}

.save-message[b-6urmesly5x] {
  margin-top: 1rem;
  text-align: right;
}

.can-drop[b-6urmesly5x] {
  animation: drop-pulse-b-6urmesly5x 900ms ease-in-out infinite;
  transform: translateZ(0) scale(1.01);
}

.no-drop[b-6urmesly5x] {
  opacity: .6;
}

.dragging-zone[b-6urmesly5x] {
  outline: 1px dashed #2563eb;
}

.dragging-item[b-6urmesly5x] {
  opacity: .98;
  cursor: grabbing !important;
  transform: scale(1.03);
  border-color: #2563eb;
  background-color: rgba(37, 99, 235, 0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.12);
  pointer-events: none;
}

@keyframes drop-pulse-b-6urmesly5x {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.18); }
  70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@media (max-width: 960px) {
  .gtb-header[b-6urmesly5x] {
    padding: 1.5rem;
  }
  .gtb-title[b-6urmesly5x] {
    font-size: 2rem;
  }
  .zones-panel[b-6urmesly5x], .catalog-section[b-6urmesly5x] {
    padding: 1rem;
  }
  .catalog-items-container[b-6urmesly5x] {
    max-height: 50vh;
  }
}
/* /Shared/ZonesEditor.razor.rz.scp.css */
.gtb-container[b-emq4j2atq9] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-emq4j2atq9] {
  position: relative;
}

.gtb-container[b-emq4j2atq9]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 4px);
  pointer-events: none;
  z-index: 0;
}

.gtb-header[b-emq4j2atq9] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideDown-b-emq4j2atq9 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-emq4j2atq9 {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-title[b-emq4j2atq9] {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.gtb-subtitle[b-emq4j2atq9] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gtb-stat-chip[b-emq4j2atq9] {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2563eb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeIn-b-emq4j2atq9 0.8s ease both;
}

.gtb-stat-chip:hover[b-emq4j2atq9] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

@keyframes fadeIn-b-emq4j2atq9 {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gtb-body[b-emq4j2atq9] {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: slideUp-b-emq4j2atq9 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@keyframes slideUp-b-emq4j2atq9 {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-body[b-emq4j2atq9]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gtb-body:hover[b-emq4j2atq9]::before {
  opacity: 1;
}

.gtb-body:hover[b-emq4j2atq9] {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.12);
}

/* Table Styling */
.gtb-table[b-emq4j2atq9] {
  border-radius: 12px;
  overflow: hidden;
}

.gtb-table[b-emq4j2atq9]  .mud-table-head {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(59, 130, 246, 0.08));
}

.gtb-table[b-emq4j2atq9]  .mud-table-head th {
  color: #1e40af;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.gtb-table[b-emq4j2atq9]  .mud-table-row {
  transition: all 0.2s ease;
}

.gtb-table[b-emq4j2atq9]  .mud-table-row:hover {
  background: rgba(96, 165, 250, 0.06);
  transform: translateX(2px);
}

.gtb-table[b-emq4j2atq9]  .mud-table-cell {
  padding: 1rem;
}

/* Zone list */
.zone-list[b-emq4j2atq9] {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.zone-list-header[b-emq4j2atq9] {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 1fr 40px;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.02));
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e40af;
}

.zone-row[b-emq4j2atq9] {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 1fr 40px;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  align-items: center;
  font-size: 0.875rem;
  color: #334155;
}

.zone-row:last-of-type[b-emq4j2atq9] {
  border-bottom: none;
}

.zone-row:hover[b-emq4j2atq9] {
  background: rgba(59, 130, 246, 0.05);
  border-left-color: rgba(59, 130, 246, 0.3);
}

.zone-row-selected[b-emq4j2atq9] {
  background: rgba(59, 130, 246, 0.08) !important;
  border-left-color: #3b82f6 !important;
}

.zone-col-id[b-emq4j2atq9] {
  color: #94a3b8;
  font-size: 0.8rem;
  font-family: monospace;
}

.zone-col-name[b-emq4j2atq9] {
  font-weight: 500;
  color: #1e293b;
}

.zone-col-group[b-emq4j2atq9],
.zone-col-floor[b-emq4j2atq9] {
  color: #64748b;
}

.zone-col-action[b-emq4j2atq9] {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Inline edit panel */
.zone-inline-panel[b-emq4j2atq9] {
  background: rgba(248, 250, 252, 0.95);
  border-left: 3px solid #3b82f6;
  padding: 0.75rem 1.25rem 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: slideInline-b-emq4j2atq9 0.2s ease;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

@keyframes slideInline-b-emq4j2atq9 {
  from {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  to {
    opacity: 1;
    max-height: 400px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.zone-form-header-row[b-emq4j2atq9] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zone-form-header[b-emq4j2atq9] {
  font-weight: 600;
  color: #475569;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.zone-form-fields[b-emq4j2atq9] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .gtb-header[b-emq4j2atq9] {
    padding: 1.5rem;
  }
  .gtb-title[b-emq4j2atq9] {
    font-size: 2rem;
  }
  .gtb-body[b-emq4j2atq9] {
    padding: 1rem;
  }
  .zone-list-header[b-emq4j2atq9],
  .zone-row[b-emq4j2atq9] {
    grid-template-columns: 50px 1fr 1fr 30px;
  }
  .zone-col-group[b-emq4j2atq9] {
    display: none;
  }
  .zone-form-fields[b-emq4j2atq9] {
    grid-template-columns: 1fr;
  }
}
