/* /Layout/MainLayout.razor.rz.scp.css */
.admin-layout[b-tqeh2nicgk] {
  display: flex;
  min-height: 100vh;
  font-family: system-ui, -apple-system, sans-serif;
}

.admin-sidebar[b-tqeh2nicgk] {
  width: 220px;
  min-width: 220px;
  background: #1e293b;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
}

.sidebar-brand[b-tqeh2nicgk] {
  padding: 1.2rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  border-bottom: 1px solid #334155;
}

.sidebar-nav[b-tqeh2nicgk] {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  flex: 1;
}

.sidebar-nav li a[b-tqeh2nicgk] {
  display: block;
  padding: 0.45rem 1rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
}

.sidebar-nav li a:hover[b-tqeh2nicgk], .sidebar-nav li a.active[b-tqeh2nicgk] {
  background: #334155;
  color: #f1f5f9;
}

.sidebar-section[b-tqeh2nicgk] {
  padding: 0.75rem 1rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

.sidebar-footer[b-tqeh2nicgk] {
  border-top: 1px solid #334155;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-user[b-tqeh2nicgk] {
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-footer a[b-tqeh2nicgk] {
  color: #60a5fa;
  text-decoration: none;
}

.admin-content[b-tqeh2nicgk] {
  flex: 1;
  padding: 1.5rem 2rem;
  background: #f8fafc;
  overflow: auto;
}

.admin-table[b-tqeh2nicgk] {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th[b-tqeh2nicgk], .admin-table td[b-tqeh2nicgk] {
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table th[b-tqeh2nicgk] {
  background: #f1f5f9;
  font-weight: 600;
  color: #475569;
}

.admin-table tr:hover td[b-tqeh2nicgk] {
  background: #f8fafc;
}

.kpi-row[b-tqeh2nicgk] {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.kpi-card[b-tqeh2nicgk] {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 1rem 1.5rem;
  min-width: 160px;
  flex: 1;
}

.kpi-label[b-tqeh2nicgk] {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-value[b-tqeh2nicgk] {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 0.25rem;
}

.badge[b-tqeh2nicgk] {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-active[b-tqeh2nicgk] {
  background: #dcfce7;
  color: #15803d;
}

.badge-suspended[b-tqeh2nicgk] {
  background: #fef9c3;
  color: #a16207;
}

.badge-blocked[b-tqeh2nicgk] {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-healthy[b-tqeh2nicgk] {
  background: #dcfce7;
  color: #15803d;
}

.badge-degraded[b-tqeh2nicgk] {
  background: #fef9c3;
  color: #a16207;
}

.badge-unhealthy[b-tqeh2nicgk] {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-info[b-tqeh2nicgk] {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-warning[b-tqeh2nicgk] {
  background: #fef9c3;
  color: #a16207;
}

.badge-error[b-tqeh2nicgk] {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-draft[b-tqeh2nicgk] {
  background: #f1f5f9;
  color: #64748b;
}

.badge-expired[b-tqeh2nicgk] {
  background: #f3f4f6;
  color: #9ca3af;
}

.section-card[b-tqeh2nicgk] {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.section-card h2[b-tqeh2nicgk] {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #1e293b;
}

.pagination[b-tqeh2nicgk] {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
  font-size: 0.875rem;
}

.pagination button[b-tqeh2nicgk] {
  padding: 0.35rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.pagination button:disabled[b-tqeh2nicgk] {
  opacity: 0.4;
  cursor: default;
}

.btn[b-tqeh2nicgk] {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary[b-tqeh2nicgk] {
  background: #3b82f6;
  color: #fff;
}

.btn-danger[b-tqeh2nicgk] {
  background: #ef4444;
  color: #fff;
}

.btn-warning[b-tqeh2nicgk] {
  background: #f59e0b;
  color: #fff;
}

.btn-success[b-tqeh2nicgk] {
  background: #22c55e;
  color: #fff;
}

.btn-secondary[b-tqeh2nicgk] {
  background: #e2e8f0;
  color: #1e293b;
}

.btn:hover[b-tqeh2nicgk] {
  opacity: 0.88;
}

.search-bar[b-tqeh2nicgk] {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.search-bar input[b-tqeh2nicgk], .search-bar select[b-tqeh2nicgk] {
  padding: 0.4rem 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-size: 0.875rem;
}

header[b-tqeh2nicgk] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

header h2[b-tqeh2nicgk] {
  margin: 0;
}

.auth-section[b-tqeh2nicgk] {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.auth-section a[b-tqeh2nicgk] {
  color: #0066cc;
  text-decoration: none;
}

table[b-tqeh2nicgk] {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th[b-tqeh2nicgk], td[b-tqeh2nicgk] {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e0e0e0;
}

th[b-tqeh2nicgk] {
  background-color: #f5f5f5;
  font-weight: 600;
}

tr:hover[b-tqeh2nicgk] {
  background-color: #fafafa;
}
/* /Pages/Members/Members.razor.rz.scp.css */
.members-page[b-ji1t25p9la] {
    display: block;
}

/* Staggered entrance for the KPI row, grid and dialog. */
.members-stats[b-ji1t25p9la] {
    animation: members-fade-up-b-ji1t25p9la 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.members-grid[b-ji1t25p9la] {
    animation: members-fade-up-b-ji1t25p9la 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.07s;
}

.members-empty[b-ji1t25p9la] {
    animation: members-fade-up-b-ji1t25p9la 0.4s ease both;
}

.member-dialog-enter[b-ji1t25p9la] {
    animation: member-dialog-pop-b-ji1t25p9la 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: top center;
}

@keyframes members-fade-up-b-ji1t25p9la {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes member-dialog-pop-b-ji1t25p9la {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Avatar nudges on row hover for a touch of life. */
.member-row-avatar[b-ji1t25p9la] {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

[b-ji1t25p9la] .mud-table-row:hover .member-row-avatar {
    transform: scale(1.08);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* Keep the action buttons compact and right-aligned. */
[b-ji1t25p9la] .member-actions-cell {
    width: 1%;
    white-space: nowrap;
}
