/* ── Exospace ERP – Gentrik Admin custom overrides ── */

/* Remove double-padding that appears in AdminLTE when Jazzmin sidebar
   is in its collapsed/icon-only state but content-wrapper still has
   the full expanded margin. */
.sidebar-mini.sidebar-collapse .content-wrapper,
.sidebar-mini.sidebar-collapse .main-footer {
  margin-left: 4.5rem !important;
}

.sidebar-mini:not(.sidebar-collapse) .content-wrapper,
.sidebar-mini:not(.sidebar-collapse) .main-footer {
  margin-left: 250px !important;
}

/* Fix the change-form / object-list padding so fields are flush with
   the card edges, not double-indented. */
#content {
  padding: 20px 30px !important;
}

/* Remove extra padding on the content-wrapper itself (Jazzmin sometimes
   adds padding-top that stacks with #content padding). */
.content-wrapper > .content-header {
  padding: 15px 30px 0 30px;
}

.content-wrapper > .content {
  padding: 0 30px 30px 30px;
}

/* Fix the user change-form horizontal tabs: labels shouldn't overflow
   into the sidebar margin area. */
.tab-content .form-row > .form-group {
  padding-left: 0;
}

/* Make the sidebar brand look crisp. */
.brand-link .brand-text {
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* Compact the table row height in list views. */
.change-list .results td,
.change-list .results th {
  padding: 8px 10px;
}

/* Lighten the alternate-row stripe so it doesn't clash with Jazzmin
   dark-mode toggle. */
.results tr:nth-child(odd) {
  background-color: #f9fafb;
}
