/* /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/B4U/Index.razor.rz.scp.css */
.b4u-page-container[b-9pi92w9u9n] {
  padding: 0;
  margin: 0;
}

.b4u-page-header[b-9pi92w9u9n] {
  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;
  padding: 2.5rem 3rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  animation: slideDown-b-9pi92w9u9n 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.b4u-page-header[b-9pi92w9u9n]::before {
  content: "";
  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;
}

@keyframes slideDown-b-9pi92w9u9n {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.b4u-header-content[b-9pi92w9u9n] {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.b4u-icon-wrapper[b-9pi92w9u9n] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 50%, #ff9f66 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s ease;
}

.b4u-page-header:hover .b4u-icon-wrapper[b-9pi92w9u9n] {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 48px rgba(255, 107, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.b4u-icon-wrapper[b-9pi92w9u9n]  .mud-icon-root {
  color: white !important;
  font-size: 40px !important;
}

.b4u-header-text[b-9pi92w9u9n] {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.b4u-label[b-9pi92w9u9n] {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #64748b;
  text-transform: uppercase;
  opacity: 0.9;
}

.b4u-title[b-9pi92w9u9n] {
  font-size: 3.5rem;
  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;
  line-height: 1;
}

.b4u-tabs[b-9pi92w9u9n] {
  animation: fadeInUp-b-9pi92w9u9n 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes fadeInUp-b-9pi92w9u9n {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.b4u-tabs[b-9pi92w9u9n]  .mud-tabs-toolbar {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px 16px 0 0;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.b4u-tabs[b-9pi92w9u9n]  .mud-tab {
  font-weight: 600;
  text-transform: none;
  font-size: 0.95rem;
  color: #64748b;
  transition: all 0.2s ease;
}

.b4u-tabs[b-9pi92w9u9n]  .mud-tab.mud-tab-active {
  color: #ff6b00;
}

.b4u-tabs[b-9pi92w9u9n]  .mud-tab-slider {
  background: linear-gradient(90deg, #ff8533, #ff6b00);
  height: 3px;
  border-radius: 3px 3px 0 0;
}

/* Tab Headers */
.tab-header[b-9pi92w9u9n] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

.tab-icon[b-9pi92w9u9n] {
  font-size: 20px !important;
}

.tab-icon.warning[b-9pi92w9u9n] {
  color: #f59e0b !important;
}

.tab-icon.success[b-9pi92w9u9n] {
  color: #16a34a !important;
}

.tab-count[b-9pi92w9u9n] {
  margin-left: auto;
  font-weight: 700;
}

.tab-count.warning[b-9pi92w9u9n]  {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #f59e0b !important;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tab-count.success[b-9pi92w9u9n]  {
  background: rgba(22, 163, 74, 0.12) !important;
  color: #16a34a !important;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

/* Sites Grid */
.sites-grid[b-9pi92w9u9n] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 0;
}

/* Site Cards */
.site-card[b-9pi92w9u9n] {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.site-card:hover[b-9pi92w9u9n] {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 107, 0, 0.4);
}

.site-card.pending[b-9pi92w9u9n]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.site-card.completed[b-9pi92w9u9n]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #16a34a, #22c55e);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.site-card:hover[b-9pi92w9u9n]::before {
  opacity: 1;
}

.site-card-link[b-9pi92w9u9n] {
  display: block;
  text-decoration: none;
  color: inherit;
}

.site-card-image[b-9pi92w9u9n] {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.site-card-image img[b-9pi92w9u9n] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.site-card:hover .site-card-image img[b-9pi92w9u9n] {
  transform: scale(1.08);
}

.site-card-placeholder[b-9pi92w9u9n] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #94a3b8;
}

.site-card-placeholder[b-9pi92w9u9n]  .mud-icon-root {
  font-size: 48px !important;
}

.site-card-overlay[b-9pi92w9u9n] {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}

.site-card-content[b-9pi92w9u9n] {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-card-title[b-9pi92w9u9n] {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-card-badge[b-9pi92w9u9n] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.site-card-badge.warning[b-9pi92w9u9n] {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.site-card-badge.success[b-9pi92w9u9n] {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.site-card-badge[b-9pi92w9u9n]  .mud-icon-root {
  font-size: 16px !important;
}

.site-card-delete[b-9pi92w9u9n] {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.site-card:hover .site-card-delete[b-9pi92w9u9n] {
  opacity: 1;
}

.site-card-delete:hover[b-9pi92w9u9n] {
  background: #ef4444;
  border-color: #dc2626;
  transform: scale(1.1);
}

.site-card-delete[b-9pi92w9u9n]  .mud-icon-root {
  color: #ef4444;
  font-size: 20px !important;
  transition: color 0.2s ease;
}

.site-card-delete:hover[b-9pi92w9u9n]  .mud-icon-root {
  color: white !important;
}

/* Empty State */
.empty-state[b-9pi92w9u9n] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.empty-icon[b-9pi92w9u9n] {
  font-size: 64px !important;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.empty-text[b-9pi92w9u9n] {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 960px) {
  .b4u-page-header[b-9pi92w9u9n] {
    padding: 1.5rem 1.75rem;
  }

  .b4u-header-content[b-9pi92w9u9n] {
    gap: 1.25rem;
  }

  .b4u-icon-wrapper[b-9pi92w9u9n] {
    width: 64px;
    height: 64px;
  }

  .b4u-icon-wrapper[b-9pi92w9u9n]  .mud-icon-root {
    font-size: 32px !important;
  }

  .b4u-title[b-9pi92w9u9n] {
    font-size: 2.5rem;
  }

  .b4u-label[b-9pi92w9u9n] {
    font-size: 0.75rem;
  }

  .sites-grid[b-9pi92w9u9n] {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
  }

  .site-card-delete[b-9pi92w9u9n] {
    opacity: 1;
  }
}

/* Card media consistency (image/placeholder) */
.mud-card img[b-9pi92w9u9n] {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.mud-card:hover img[b-9pi92w9u9n] {
  transform: scale(1.02);
}
.mud-card[b-9pi92w9u9n]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 160px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
}
.mud-card .d-flex[b-9pi92w9u9n] {
  height: 160px;
  background: #f5f5f5;
  color: #9e9e9e;
}

/* Card content layout */
.mud-card-content[b-9pi92w9u9n] {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  padding: 0;
}
.mud-card-content .mud-chip[b-9pi92w9u9n] {
  margin-left: 8px;
  backdrop-filter: blur(2px);
}
.mud-card-content .mud-typography[b-9pi92w9u9n] {
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty state */
.text-muted[b-9pi92w9u9n] {
  opacity: 0.8;
}
/* /Pages/B4U/SiteCreate.razor.rz.scp.css */
/* Mirror SiteDetails/SiteEdit visuals */
.site-header-card[b-5l9oxv7mpu],
.section-card[b-5l9oxv7mpu] {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.card-header[b-5l9oxv7mpu] {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.05));
  border-bottom: 1px solid rgba(59, 130, 246, 0.16);
}

.visual-body[b-5l9oxv7mpu] { background: #fbfdff; }
.site-image[b-5l9oxv7mpu] { display:block; width:100%; height:auto; border-radius:10px; box-shadow:0 8px 20px rgba(0,0,0,0.08); }

.info-grid[b-5l9oxv7mpu] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.info-item[b-5l9oxv7mpu] { background:#fff; border:1px solid #eef2f7; border-radius:8px; padding:10px 12px; }
.info-item.col-span-2[b-5l9oxv7mpu] { grid-column:1 / -1; }
.info-item .label[b-5l9oxv7mpu] { font-size:0.85rem; color:#6b7280; display:flex; align-items:center; }

.error-paper[b-5l9oxv7mpu] { border-left:6px solid #e53935; background:#fff7f7; }
@media (max-width:768px){ .info-grid[b-5l9oxv7mpu]{ grid-template-columns:1fr; } }
/* /Pages/CRS/Index.razor.rz.scp.css */
.b4u-page-container[b-h19cr6dle1] {
  padding: 0;
  margin: 0;
}

.b4u-page-header[b-h19cr6dle1] {
  background: linear-gradient(
    135deg,
    rgba(0, 129, 52, 0.1) 0%,
    rgba(0, 129, 52, 0.05) 100%
  );
  border: 1px solid rgba(0, 129, 52, 0.18);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  animation: slideDown-b-h19cr6dle1 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.b4u-page-header[b-h19cr6dle1]::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 129, 52, 0.22), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes slideDown-b-h19cr6dle1 {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.b4u-header-content[b-h19cr6dle1] {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.b4u-icon-wrapper[b-h19cr6dle1] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #008134 0%, #0ea84b 50%, #2fbd68 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 129, 52, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s ease;
}

.b4u-page-header:hover .b4u-icon-wrapper[b-h19cr6dle1] {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 48px rgba(0, 129, 52, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.b4u-icon-wrapper[b-h19cr6dle1]  .mud-icon-root {
  color: white !important;
  font-size: 40px !important;
}

.b4u-header-text[b-h19cr6dle1] {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.b4u-label[b-h19cr6dle1] {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #64748b;
  text-transform: uppercase;
  opacity: 0.9;
}

.b4u-title[b-h19cr6dle1] {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #008134 0%, #0ea84b 50%, #046d2c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.b4u-tabs[b-h19cr6dle1] {
  animation: fadeInUp-b-h19cr6dle1 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes fadeInUp-b-h19cr6dle1 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.b4u-tabs[b-h19cr6dle1]  .mud-tabs-toolbar {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px 16px 0 0;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(0, 129, 52, 0.12);
}

.b4u-tabs[b-h19cr6dle1]  .mud-tab {
  font-weight: 600;
  text-transform: none;
  font-size: 0.95rem;
  color: #64748b;
  transition: all 0.2s ease;
}

.b4u-tabs[b-h19cr6dle1]  .mud-tab.mud-tab-active {
  color: #008134;
}

.b4u-tabs[b-h19cr6dle1]  .mud-tab-slider {
  background: linear-gradient(90deg, #0ea84b, #008134);
  height: 3px;
  border-radius: 3px 3px 0 0;
}

/* Tab Headers */
.tab-header[b-h19cr6dle1] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

.tab-icon[b-h19cr6dle1] {
  font-size: 20px !important;
}

.tab-icon.warning[b-h19cr6dle1] {
  color: #f59e0b !important;
}

.tab-icon.success[b-h19cr6dle1] {
  color: #16a34a !important;
}

.tab-count[b-h19cr6dle1] {
  margin-left: auto;
  font-weight: 700;
}

.tab-count.warning[b-h19cr6dle1]  {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #f59e0b !important;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tab-count.success[b-h19cr6dle1]  {
  background: rgba(22, 163, 74, 0.12) !important;
  color: #16a34a !important;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

/* Sites Grid */
.sites-grid[b-h19cr6dle1] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 0;
}

/* Site Cards */
.site-card[b-h19cr6dle1] {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.site-card:hover[b-h19cr6dle1] {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 129, 52, 0.32);
}

.site-card.pending[b-h19cr6dle1]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.site-card.completed[b-h19cr6dle1]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #16a34a, #22c55e);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.site-card:hover[b-h19cr6dle1]::before {
  opacity: 1;
}

.site-card-link[b-h19cr6dle1] {
  display: block;
  text-decoration: none;
  color: inherit;
}

.site-card-image[b-h19cr6dle1] {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.site-card-image img[b-h19cr6dle1] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.site-card:hover .site-card-image img[b-h19cr6dle1] {
  transform: scale(1.08);
}

.site-card-placeholder[b-h19cr6dle1] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #94a3b8;
}

.site-card-placeholder[b-h19cr6dle1]  .mud-icon-root {
  font-size: 48px !important;
}

.site-card-overlay[b-h19cr6dle1] {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}

.site-card-content[b-h19cr6dle1] {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-card-title[b-h19cr6dle1] {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-card-badge[b-h19cr6dle1] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.site-card-badge.warning[b-h19cr6dle1] {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.site-card-badge.success[b-h19cr6dle1] {
  background: rgba(0, 129, 52, 0.12);
  color: #008134;
  border: 1px solid rgba(0, 129, 52, 0.3);
}

.site-card-badge[b-h19cr6dle1]  .mud-icon-root {
  font-size: 16px !important;
}

.site-card-delete[b-h19cr6dle1] {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.site-card:hover .site-card-delete[b-h19cr6dle1] {
  opacity: 1;
}

.site-card-delete:hover[b-h19cr6dle1] {
  background: #ef4444;
  border-color: #dc2626;
  transform: scale(1.1);
}

.site-card-delete[b-h19cr6dle1]  .mud-icon-root {
  color: #ef4444;
  font-size: 20px !important;
  transition: color 0.2s ease;
}

.site-card-delete:hover[b-h19cr6dle1]  .mud-icon-root {
  color: white !important;
}

/* Empty State */
.empty-state[b-h19cr6dle1] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.empty-icon[b-h19cr6dle1] {
  font-size: 64px !important;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.empty-text[b-h19cr6dle1] {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 960px) {
  .b4u-page-header[b-h19cr6dle1] {
    padding: 1.5rem 1.75rem;
  }

  .b4u-header-content[b-h19cr6dle1] {
    gap: 1.25rem;
  }

  .b4u-icon-wrapper[b-h19cr6dle1] {
    width: 64px;
    height: 64px;
  }

  .b4u-icon-wrapper[b-h19cr6dle1]  .mud-icon-root {
    font-size: 32px !important;
  }

  .b4u-title[b-h19cr6dle1] {
    font-size: 2.5rem;
  }

  .b4u-label[b-h19cr6dle1] {
    font-size: 0.75rem;
  }

  .sites-grid[b-h19cr6dle1] {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
  }

  .site-card-delete[b-h19cr6dle1] {
    opacity: 1;
  }
}

/* Card media consistency (image/placeholder) */
.mud-card img[b-h19cr6dle1] {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.mud-card:hover img[b-h19cr6dle1] {
  transform: scale(1.02);
}
.mud-card[b-h19cr6dle1]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 160px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
}
.mud-card .d-flex[b-h19cr6dle1] {
  height: 160px;
  background: #f5f5f5;
  color: #9e9e9e;
}

/* Card content layout */
.mud-card-content[b-h19cr6dle1] {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  padding: 0;
}
.mud-card-content .mud-chip[b-h19cr6dle1] {
  margin-left: 8px;
  backdrop-filter: blur(2px);
}
.mud-card-content .mud-typography[b-h19cr6dle1] {
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty state */
.text-muted[b-h19cr6dle1] {
  opacity: 0.8;
}
/* /Pages/CRS/SiteFinalize.razor.rz.scp.css */
/* ============================================
   CONTENEUR PRINCIPAL
   ============================================ */
.gtb-container[b-jj276civot] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-jj276civot] {
  position: relative;
  z-index: 1;
}

/* Motif de grille en arrière-plan */
.gtb-container[b-jj276civot]::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 CARTE SITE
   ============================================ */
.site-header-card[b-jj276civot] {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
  animation: slideDown-b-jj276civot 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 1.5rem;
}

.site-header-card .mud-card-content[b-jj276civot] {
  padding: 2rem;
}

@keyframes slideDown-b-jj276civot {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CARTES DE DÉTAILS
   ============================================ */
.gtb-content .mud-card[b-jj276civot] {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideUp-b-jj276civot 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gtb-content .mud-card:hover[b-jj276civot] {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

@keyframes slideUp-b-jj276civot {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-content .mud-card-header[b-jj276civot] {
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.5), rgba(241, 245, 249, 0.5));
}

.gtb-content .mud-card-content[b-jj276civot] {
  padding: 1.5rem;
}

/* ============================================
   HEADER GTB
   ============================================ */
.gtb-header[b-jj276civot] {
  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-jj276civot 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gtb-header[b-jj276civot]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
}

/* ============================================
   PANEL GLASSMORPHISM
   ============================================ */
.glass-panel[b-jj276civot] {
  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;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: slideUp-b-jj276civot 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Titre principal avec gradient */
.gtb-title[b-jj276civot] {
  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-jj276civot] {
  color: #64748b;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/* ============================================
   ZONE DE CONTENU IMPORT
   ============================================ */
.import-content[b-jj276civot] {
  padding: 2rem;
}

/* ============================================
   ACTIONS D'IMPORT
   ============================================ */
.import-actions[b-jj276civot] {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* Input file personnalisé */
.file-input[b-jj276civot] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-input-label[b-jj276civot] {
  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-jj276civot] {
  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-jj276civot] {
  transform: translateY(-1px);
}

/* Boutons d'action */
.action-btn[b-jj276civot] {
  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-jj276civot] {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.action-btn:active[b-jj276civot] {
  transform: translateY(-1px);
}

/* ============================================
   CHIPS DE STATISTIQUES
   ============================================ */
.stats-chips[b-jj276civot] {
  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-jj276civot] {
  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-jj276civot 0.8s ease both;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.gtb-stat-chip:hover[b-jj276civot] {
  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-jj276civot] {
  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-jj276civot] {
  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-jj276civot {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   TABLES SETPOINTS & STATES
   ============================================ */
.setpoints-table-wrapper[b-jj276civot],
.states-table-wrapper[b-jj276civot] {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.setpoints-table .col-browse[b-jj276civot],
.states-table .col-browse[b-jj276civot] {
  white-space: normal;
  word-break: break-word;
  max-width: 520px;
  font-size: 0.9rem;
  color: #475569;
}

.setpoints-table .captor-select[b-jj276civot] {
  min-width: 260px;
  max-width: 420px;
}

.mud-popover .captor-option[b-jj276civot] {
  white-space: normal;
  word-break: break-word;
  max-width: 640px;
}

.setpoints-table .mud-table-container[b-jj276civot],
.states-table .mud-table-container[b-jj276civot] {
  overflow: auto;
  border-radius: 12px;
}

/* Style des tables */
.gtb-content .mud-table[b-jj276civot] {
  border-radius: 12px;
  overflow: hidden;
}

.gtb-content .mud-table-head[b-jj276civot] {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.9));
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.02em;
}

.gtb-content .mud-table-row:hover[b-jj276civot] {
  background: rgba(59, 130, 246, 0.04);
  transition: background 0.2s ease;
}

/* ============================================
   ONGLETS (TABS)
   ============================================ */
.gtb-content .mud-tabs[b-jj276civot] {
  margin-top: 1.5rem;
}

.gtb-content .mud-tab[b-jj276civot] {
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.gtb-content .mud-tab:hover[b-jj276civot] {
  color: #3b82f6;
}

.gtb-content .mud-tab-active[b-jj276civot] {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

/* ============================================
   EXPANSION PANELS
   ============================================ */
.gtb-content .mud-expand-panel[b-jj276civot] {
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.gtb-content .mud-expand-panel:hover[b-jj276civot] {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gtb-content .mud-expand-panel-header[b-jj276civot] {
  font-weight: 600;
  color: #334155;
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */
.gtb-content .mud-alert[b-jj276civot] {
  border-radius: 12px;
  border: 1px solid;
  backdrop-filter: blur(8px);
  font-weight: 500;
}

.gtb-content .mud-alert-filled-error[b-jj276civot] {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.9));
  border-color: rgba(220, 38, 38, 0.3);
}

.gtb-content .mud-alert-filled-success[b-jj276civot] {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.9));
  border-color: rgba(22, 163, 74, 0.3);
}

/* ============================================
   BUTTONS DANS LES CARTES
   ============================================ */
.gtb-content .mud-button[b-jj276civot] {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gtb-content .mud-button:hover[b-jj276civot] {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gtb-content .mud-button-filled[b-jj276civot] {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ============================================
   INPUT FIELDS
   ============================================ */
.gtb-content .mud-input[b-jj276civot] {
  border-radius: 10px;
}

.gtb-content .mud-input-outlined[b-jj276civot] {
  border-color: rgba(226, 232, 240, 0.8);
}

.gtb-content .mud-input-outlined:hover[b-jj276civot] {
  border-color: rgba(59, 130, 246, 0.4);
}

.gtb-content .mud-input-outlined.mud-input-adorned-start[b-jj276civot],
.gtb-content .mud-input-outlined.mud-input-adorned-end[b-jj276civot] {
  border-radius: 10px;
}

/* ============================================
   IMAGE PREVIEW
   ============================================ */
.gtb-content img[b-jj276civot] {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gtb-content img:hover[b-jj276civot] {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 960px) {
  .gtb-container[b-jj276civot] {
    padding: 1rem;
  }

  .gtb-header[b-jj276civot] {
    padding: 1.75rem 1.25rem;
  }

  .gtb-title[b-jj276civot] {
    font-size: 1.75rem;
  }

  .gtb-subtitle[b-jj276civot] {
    font-size: 0.95rem;
  }

  .import-content[b-jj276civot] {
    padding: 1.25rem;
  }

  .import-actions[b-jj276civot] {
    flex-direction: column;
    align-items: stretch;
  }

  .file-input-label[b-jj276civot],
  .action-btn[b-jj276civot] {
    width: 100%;
    justify-content: center;
  }

  .stats-chips[b-jj276civot] {
    gap: 0.5rem;
  }

  .gtb-stat-chip[b-jj276civot] {
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
  }

  .site-header-card .mud-card-content[b-jj276civot] {
    padding: 1.25rem;
  }

  .site-header-card .mud-typography-h4[b-jj276civot] {
    font-size: 1.25rem;
  }

  .gtb-content .mud-card-header[b-jj276civot],
  .gtb-content .mud-card-content[b-jj276civot] {
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  .gtb-title[b-jj276civot] {
    font-size: 1.5rem;
  }

  .gtb-subtitle[b-jj276civot] {
    font-size: 0.85rem;
  }

  .gtb-stat-chip[b-jj276civot] {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
  }

  .file-input-label[b-jj276civot] {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ============================================
   ANIMATIONS ADDITIONNELLES
   ============================================ */
@keyframes pulse-b-jj276civot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.loading[b-jj276civot] {
  animation: pulse-b-jj276civot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================
   SCROLLBAR PERSONNALISÉE
   ============================================ */
.gtb-container [b-jj276civot]::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.gtb-container [b-jj276civot]::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.5);
  border-radius: 10px;
}

.gtb-container [b-jj276civot]::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.gtb-container [b-jj276civot]::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #64748b, #475569);
}
/* /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;
  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/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: 1rem auto;
  max-width: calc(100% - 2rem);
}

.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: calc(100% - 1.5rem);
    margin: 0.75rem auto;
  }

  .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: calc(100% - 1rem);
    margin: 0.5rem auto;
  }

  .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/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/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/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/MetersEditor.razor.rz.scp.css */
.gtb-container[b-h85w3lq3pl] {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  overflow: visible;
}

.gtb-content[b-h85w3lq3pl] {
  position: relative;
}

.gtb-container[b-h85w3lq3pl]::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-h85w3lq3pl] {
  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-h85w3lq3pl 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown-b-h85w3lq3pl {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-title[b-h85w3lq3pl] {
  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-h85w3lq3pl] {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gtb-stat-chip[b-h85w3lq3pl] {
  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-h85w3lq3pl 0.8s ease both;
}

.gtb-stat-chip:hover[b-h85w3lq3pl] {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

@keyframes fadeIn-b-h85w3lq3pl {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gtb-body[b-h85w3lq3pl] {
  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-h85w3lq3pl 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-h85w3lq3pl {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gtb-body[b-h85w3lq3pl]::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-h85w3lq3pl]::before {
  opacity: 1;
}

.gtb-body:hover[b-h85w3lq3pl] {
  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-h85w3lq3pl] {
  border-radius: 12px;
  overflow: hidden;
}

.gtb-table[b-h85w3lq3pl]  .mud-table-head {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(59, 130, 246, 0.08));
}

.gtb-table[b-h85w3lq3pl]  .mud-table-head th {
  color: #1e40af;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.gtb-table[b-h85w3lq3pl]  .mud-table-row {
  transition: all 0.2s ease;
}

.gtb-table[b-h85w3lq3pl]  .mud-table-row:hover {
  background: rgba(96, 165, 250, 0.06);
  transform: translateX(2px);
}

.gtb-table[b-h85w3lq3pl]  .mud-table-cell {
  padding: 1rem;
}

/* Tree View Styling */
.tree-view[b-h85w3lq3pl] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tree-node[b-h85w3lq3pl] {
    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-h85w3lq3pl] {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.tree-parent[b-h85w3lq3pl] {
    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-h85w3lq3pl] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.1) 100%);
}

.tree-icon[b-h85w3lq3pl] {
    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-h85w3lq3pl]  .mud-icon-root {
    color: white !important;
}

.child-icon[b-h85w3lq3pl] {
    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-h85w3lq3pl] {
    flex: 1;
    min-width: 0;
}

.tree-label[b-h85w3lq3pl] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.child-label[b-h85w3lq3pl] {
    font-weight: 500;
    font-size: 0.875rem;
    color: #475569;
}

.tree-meta[b-h85w3lq3pl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tree-date[b-h85w3lq3pl] {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.tree-children[b-h85w3lq3pl] {
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding: 0.5rem 0;
    background: rgba(248, 250, 252, 0.5);
}

.tree-child[b-h85w3lq3pl] {
    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-h85w3lq3pl] {
    background: rgba(59, 130, 246, 0.06);
}

.tree-connector[b-h85w3lq3pl] {
    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-h85w3lq3pl] {
    bottom: 50%;
}

.tree-child:not(:last-child)[b-h85w3lq3pl]::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-h85w3lq3pl] {
    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-h85w3lq3pl] {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.tree-expand[b-h85w3lq3pl]  .mud-icon-root {
    color: #3b82f6;
}

.tree-expand-placeholder[b-h85w3lq3pl] {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Isolated meters (no parent, no children) */
.tree-node-isolated[b-h85w3lq3pl] {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(255, 251, 235, 0.8);
}

.tree-node-isolated:hover[b-h85w3lq3pl] {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.tree-parent-isolated[b-h85w3lq3pl] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.tree-parent-isolated:hover[b-h85w3lq3pl] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(251, 191, 36, 0.1) 100%);
}

.tree-icon-isolated[b-h85w3lq3pl] {
    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-h85w3lq3pl]  .mud-icon-root {
    color: white !important;
}

/* Nested tree nodes */
.tree-node-child[b-h85w3lq3pl] {
    margin-left: 1rem;
    border-left: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 0 12px 12px 0;
}

.tree-parent-nested[b-h85w3lq3pl] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(96, 165, 250, 0.02) 100%);
}

.tree-parent-nested:hover[b-h85w3lq3pl] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.06) 100%);
}

.tree-node-child .tree-children[b-h85w3lq3pl] {
    border-top: none;
    padding-top: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .gtb-header[b-h85w3lq3pl] {
    padding: 1.5rem;
  }
  .gtb-title[b-h85w3lq3pl] {
    font-size: 2rem;
  }
  .gtb-body[b-h85w3lq3pl] {
    padding: 1rem;
  }
}
/* /Shared/MudMainLayout.razor.rz.scp.css */
.app-shell[b-p6oi2swlto] {
  position: relative;
  min-height: 100vh;
  padding: 12px 0 18px 18px;
}

.app-shell[b-p6oi2swlto]  .mud-layout {
  background: transparent;
}


.app-drawer[b-p6oi2swlto] {
  background: rgba(255, 255, 255, 0.92);
  color: var(--app-text);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--app-border);
  border-radius: 18px;
  box-shadow: var(--app-shadow);
  backdrop-filter: blur(18px);
  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: 16px;
}
.drawer-brand[b-p6oi2swlto] {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-img[b-p6oi2swlto] {
  display: block;
  height: 80px;
  width: auto;
}

.drawer-content[b-p6oi2swlto] {
  flex: 0 0 auto;
  overflow-y: visible;
  padding: 6px 8px 8px 8px;
  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: 6px;
  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: 8px;
  padding: 10px 14px;
  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: 24px 24px 24px 340px;
  border-radius: 22px 0 0 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--app-border);
  border-right: none;
  box-shadow: var(--app-shadow);
  backdrop-filter: blur(18px);
  min-height: calc(100vh - 120px);
}

@media (max-width: 960px) {
  .app-shell[b-p6oi2swlto] {
    padding: 52px;
  }
  .app-main-surface[b-p6oi2swlto] {
    padding: 18px 16px;
  }
  .logo-img[b-p6oi2swlto] {
    height: 140px;
  }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.modern-nav[b-scsrk7rqsy] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.04);
}

.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.75rem 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.5rem;
    padding: 0 0.75rem;
}

.nav-section-title[b-scsrk7rqsy] {
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b !important;
    font-weight: 700 !important;
    padding: 0.5rem 0.75rem 0.375rem 0.75rem;
    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.75rem 1.5rem;
}

.nav-section[b-scsrk7rqsy]  .nav-link,
.nav-section[b-scsrk7rqsy]  .mud-nav-link {
    display: flex !important;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 0.25rem;
    padding: 0.625rem 0.875rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #475569 !important;
    font-weight: 500;
    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.25rem;
    margin-right: 0.75rem;
}

.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.875rem !important;
    padding: 0.5rem 0.875rem !important;
}

.empty-state[b-scsrk7rqsy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #94a3b8;
}

.empty-state[b-scsrk7rqsy]  .mud-icon-root {
    color: #cbd5e1;
    font-size: 2rem;
}

.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: 10px;
    font-weight: 600;
    color: #334155 !important;
    padding: 0.625rem 0.875rem !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: 1rem 1.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.user-info[b-scsrk7rqsy] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar[b-scsrk7rqsy] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    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.875rem;
    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.25rem;
    border-radius: 10px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    padding: 0.5rem 1rem !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/SiteHeroCard.razor.rz.scp.css */
/* Hero Header */
.hero-header[b-kwgoko6jla] {
  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-kwgoko6jla] {
  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-kwgoko6jla] {
  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-kwgoko6jla] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.hero-title[b-kwgoko6jla] {
  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-kwgoko6jla],
.hero-title h1[b-kwgoko6jla] {
  color: #ffffff !important;
}

.hero-subtitle[b-kwgoko6jla] {
  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-kwgoko6jla] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Hero Back Button - Design moderne */
.hero-back-btn[b-kwgoko6jla] {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  color: #ffffff;
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-back-btn[b-kwgoko6jla]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-back-btn:hover[b-kwgoko6jla] {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-back-btn:hover[b-kwgoko6jla]::before {
  opacity: 1;
}

.hero-back-btn:active[b-kwgoko6jla] {
  transform: translateY(0);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-back-icon[b-kwgoko6jla] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-back-btn:hover .hero-back-icon[b-kwgoko6jla] {
  transform: translateX(-3px);
}

/* Status Indicator - Pastille en bas à droite */
.status-indicator[b-kwgoko6jla] {
  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-kwgoko6jla 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-indicator:hover[b-kwgoko6jla] {
  transform: scale(1.2);
  animation: none;
}

.status-indicator-success[b-kwgoko6jla] {
  background: #10b981;
}

.status-indicator-warning[b-kwgoko6jla] {
  background: #f59e0b;
}

/* Tooltip */
.status-indicator[b-kwgoko6jla]::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-kwgoko6jla]::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-kwgoko6jla]::after,
.status-indicator:hover[b-kwgoko6jla]::before {
  opacity: 1;
}

.status-indicator:hover[b-kwgoko6jla]::after {
  transform: translateY(-50%) translateX(-4px);
}

@keyframes statusPulse-b-kwgoko6jla {
  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);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-header[b-kwgoko6jla] {
    height: 220px;
    border-radius: 16px;
    max-width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
  }

  .hero-content[b-kwgoko6jla] {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .hero-title[b-kwgoko6jla] {
    font-size: 2.5rem;
  }

  .hero-subtitle[b-kwgoko6jla] {
    font-size: 1rem;
  }

  .hero-actions[b-kwgoko6jla] {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-back-btn[b-kwgoko6jla] {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-header[b-kwgoko6jla] {
    height: 180px;
    border-radius: 12px;
    max-width: calc(100% - 1rem);
    margin: 0.5rem auto;
  }

  .hero-title[b-kwgoko6jla] {
    font-size: 1.75rem;
  }

  .hero-subtitle[b-kwgoko6jla] {
    font-size: 0.875rem;
  }

  .hero-back-btn[b-kwgoko6jla] {
    font-size: 0.813rem;
    padding: 0.625rem 1.25rem;
  }

  .hero-back-icon[b-kwgoko6jla] {
    width: 18px;
    height: 18px;
  }
}
/* /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: visible;
}

.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;
  }
}
/* /Shared/SiteInfoEdit.razor.rz.scp.css */
/* Tab container modern design */
.gtb-container-tab[b-gpbhxxb6i6] {
  position: relative;
  padding: 1.5rem 0;
}

.gtb-content-tab[b-gpbhxxb6i6] {
  position: relative;
}

/* Panels */
.zones-panel[b-gpbhxxb6i6] {
  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;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
}

.zones-panel-header[b-gpbhxxb6i6] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.panel-title[b-gpbhxxb6i6] {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}

/* Save button */
.save-btn[b-gpbhxxb6i6] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.save-btn:hover[b-gpbhxxb6i6] {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Form grid */
.form-grid[b-gpbhxxb6i6] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.form-field[b-gpbhxxb6i6] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field.col-span-2[b-gpbhxxb6i6] {
  grid-column: 1 / -1;
}

.field-label[b-gpbhxxb6i6] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
}

/* File upload */
.file-upload-wrapper[b-gpbhxxb6i6] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-input[b-gpbhxxb6i6] {
  padding: 0.75rem;
  border: 2px dashed rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input:hover[b-gpbhxxb6i6] {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 1);
}

.image-preview[b-gpbhxxb6i6] {
  max-width: 100%;
  max-height: 160px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Search container */
.search-container[b-gpbhxxb6i6] {
  position: relative;
  margin-bottom: 1rem;
}

.search-box[b-gpbhxxb6i6] {
  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-gpbhxxb6i6] {
  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:disabled[b-gpbhxxb6i6] {
  opacity: 0.6;
  cursor: not-allowed;
}

.search-icon[b-gpbhxxb6i6] {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
  pointer-events: none;
}

.search-clear[b-gpbhxxb6i6] {
  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-gpbhxxb6i6] {
  opacity: 1;
  pointer-events: all;
}

.search-clear:hover[b-gpbhxxb6i6] {
  color: #ef4444;
  transform: translateY(-50%) scale(1.1);
}

/* Feature grid */
.feature-grid[b-gpbhxxb6i6] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Action buttons */
.action-buttons[b-gpbhxxb6i6] {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.feature-btn[b-gpbhxxb6i6] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.feature-btn:disabled[b-gpbhxxb6i6] {
  opacity: 0.5;
  cursor: not-allowed;
}

.feature-btn-primary[b-gpbhxxb6i6] {
  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);
}

.feature-btn-primary:hover:not(:disabled)[b-gpbhxxb6i6] {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(59, 130, 246, 0.15));
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}

.feature-btn-secondary[b-gpbhxxb6i6] {
  background: transparent;
  color: #64748b;
  border: 1.5px solid rgba(100, 116, 139, 0.2);
}

.feature-btn-secondary:hover:not(:disabled)[b-gpbhxxb6i6] {
  background: rgba(100, 116, 139, 0.08);
  transform: translateY(-2px);
}

/* Selected items */
.selected-items[b-gpbhxxb6i6] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.selected-chip[b-gpbhxxb6i6] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 500;
}

.selected-chip-secondary[b-gpbhxxb6i6] {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: #7c3aed;
}

.chip-close[b-gpbhxxb6i6] {
  background: none;
  border: none;
  color: currentColor;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.chip-close:hover[b-gpbhxxb6i6] {
  transform: scale(1.2);
}

/* Catalog section */
.catalog-section[b-gpbhxxb6i6] {
  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;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.catalog-title[b-gpbhxxb6i6] {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.visual-preview[b-gpbhxxb6i6] {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(248, 250, 252, 0.8);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-visual-image[b-gpbhxxb6i6] {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.no-results[b-gpbhxxb6i6] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: #94a3b8;
  gap: 0.5rem;
}

.no-results-icon[b-gpbhxxb6i6] {
  font-size: 3rem;
  opacity: 0.5;
}

.glass-panel[b-gpbhxxb6i6] {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
  .form-grid[b-gpbhxxb6i6] {
    grid-template-columns: 1fr;
  }

  .form-field.col-span-2[b-gpbhxxb6i6] {
    grid-column: 1;
  }

  .feature-grid[b-gpbhxxb6i6] {
    grid-template-columns: 1fr;
  }

  .catalog-section[b-gpbhxxb6i6] {
    position: relative;
    top: 0;
    max-height: none;
  }
}
/* /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;
}

/* 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;
  }
}
/* /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;
}

/* 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;
  }
}
