/* =========================================================
   CRM Skeleton Loaders (MudSkeleton wrappers)
   ========================================================= */
.crm-skeleton {
  width: 100%;
}

.crm-skeleton--form,
.crm-skeleton--table {
  padding: 0.25rem 0;
}

.crm-skeleton__table-row {
  width: 100%;
}

.crm-skeleton--shell {
  min-height: 100vh;
  padding: 1rem 1.25rem;
  background: #f4f7fb;
}

.crm-skeleton__shell-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 40, 80, 0.08);
}

.crm-skeleton__shell-body {
  display: flex;
  gap: 1.5rem;
  min-height: 70vh;
}

.crm-skeleton__shell-nav {
  width: 12rem;
  flex-shrink: 0;
}

.crm-skeleton__shell-main {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .crm-skeleton__shell-nav {
    display: none;
  }
}

html:has(.shell--dark) .crm-skeleton--shell,
.mud-theme-dark .crm-skeleton--shell {
  background: #0b1a36;
}
