/* Powered by Uridium — subtle branding, versioned via asp-append-version */

:root {
  --uridium-bar-height: 1.75rem;
}

.powered-by-uridium {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #64748b;
  white-space: nowrap;
}

.powered-by-uridium__brand {
  font-weight: 600;
  color: #5e2590;
}

/* Public pages + dashboards: thin top strip */
.powered-by-uridium-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--uridium-bar-height);
  width: 100%;
  text-align: center;
  padding: 0.25rem 1rem;
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
}

/* Dashboard: pin bar above sidebar and main content */
body.arkifi-dashboard .powered-by-uridium-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1101;
}

body.arkifi-dashboard .dashboard-sidebar,
body.arkifi-dashboard .platform-sidebar {
  top: var(--uridium-bar-height);
  height: calc(100vh - var(--uridium-bar-height));
  height: calc(100dvh - var(--uridium-bar-height));
}

body.arkifi-dashboard .dashboard-main,
body.arkifi-dashboard .platform-layout {
  padding-top: var(--uridium-bar-height);
}

body.arkifi-dashboard .platform-main {
  min-height: calc(100vh - var(--uridium-bar-height));
  min-height: calc(100dvh - var(--uridium-bar-height));
}

.dashboard-shell-footer {
  padding: 0.75rem 1.5rem;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  background: #fafafa;
}

body.arkifi-dashboard .dashboard-content,
body.arkifi-dashboard .platform-content {
  padding-bottom: 1.25rem;
}

.arkifi-lp .powered-by-uridium-bar + header #mainNavbar {
  top: 0;
}

@media (max-width: 768px) {
  .powered-by-uridium {
    font-size: 0.6875rem;
  }
}
