@import '_content/Njord.Libraries.Ui.Components/Njord.Libraries.Ui.Components.zccsernrjk.bundle.scp.css';

/* /Shared/Footer.razor.rz.scp.css */
/*
 * Footer.razor scoped styles
 * Uses CSS variables from MudBlazor's theme provider so light/dark mode
 * is handled automatically without any extra logic.
 */

.footer-container[b-75z2sy0mv5] {
  background-color: var(--mud-palette-surface);
}

/* ── Branding ── */

.footer-logo[b-75z2sy0mv5] {
  max-height: 40px;
  width: auto;
}

.footer-brand[b-75z2sy0mv5] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-slogan[b-75z2sy0mv5] {
  font-style: italic;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

/* ── Section headings ── */

.footer-heading[b-75z2sy0mv5] {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* ── Link columns — vertical stack with consistent spacing ── */

.footer-links[b-75z2sy0mv5] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Responsive: center-align everything on mobile ── */

@media (max-width: 599.98px) {
  .footer-brand[b-75z2sy0mv5] {
    align-items: center;
    text-align: center;
  }

  .footer-heading[b-75z2sy0mv5] {
    text-align: center;
  }

  .footer-links[b-75z2sy0mv5] {
    align-items: center;
  }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-bwgnjr6pp5] {
  position: relative;
  display: flex;
  flex-direction: column;
}

main[b-bwgnjr6pp5] {
  flex: 1;
}

/* ── Sticky footer: make MudMainContent a flex column so the footer
   is pushed to the bottom even when page content is short ── */

[b-bwgnjr6pp5] .mud-main-content {
  display: flex;
  flex-direction: column;
}

.main-content-body[b-bwgnjr6pp5] {
  flex: 1;
}

.sidebar[b-bwgnjr6pp5] {
  /* Removed hardcoded gradient — MudDrawer uses DrawerBackground from the theme palette */
}

.top-row[b-bwgnjr6pp5] {
  background-color: var(--mud-palette-surface);
  border-bottom: 1px solid var(--mud-palette-divider);
  justify-content: flex-end;
  height: 3.5rem;
  display: flex;
  align-items: center;
}

.top-row[b-bwgnjr6pp5]  a,
.top-row[b-bwgnjr6pp5]  .btn-link {
  white-space: nowrap;
  margin-left: 1.5rem;
  text-decoration: none;
}

.top-row[b-bwgnjr6pp5]  a:hover,
.top-row[b-bwgnjr6pp5]  .btn-link:hover {
  text-decoration: underline;
}

.top-row[b-bwgnjr6pp5]  a:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
  .top-row:not(.auth)[b-bwgnjr6pp5] {
    display: none;
  }

  .top-row.auth[b-bwgnjr6pp5] {
    justify-content: space-between;
  }

  .top-row[b-bwgnjr6pp5]  a,
  .top-row[b-bwgnjr6pp5]  .btn-link {
    margin-left: 0;
  }
}

@media (min-width: 641px) {
  .page[b-bwgnjr6pp5] {
    flex-direction: row;
  }

  .sidebar[b-bwgnjr6pp5] {
    width: 250px;
    height: 100vh;
    position: sticky;
    top: 0;
  }

  .top-row[b-bwgnjr6pp5] {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .top-row.auth[b-bwgnjr6pp5]  a:first-child {
    flex: 1;
    text-align: right;
    width: 0;
  }

  .top-row[b-bwgnjr6pp5],
  article[b-bwgnjr6pp5] {
    padding-left: 2rem !important;
    padding-right: 1.5rem !important;
  }
}
