/* Gemeinsame App-Shell (Navigation, Theme, Layout) */

.app-shell-body,
.admin-body {
  min-height: 100dvh;
  display: block !important;
  padding: 0 !important;
  margin: 0;
  justify-content: initial !important;
  align-items: initial !important;
  background: var(--bs-body-bg, #fff);
}

.app-shell-main,
.admin-main {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.app-shell-main--wide {
  max-width: none;
}

.app-shell-main--with-status-bar,
.admin-main {
  padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}

.app-nav-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.theme-toggle-btn {
  min-width: 2.5rem;
}

.status-log-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 0.5rem 1rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8125rem;
  background: var(--bs-body-bg);
  border-top: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="dark"] .status-log-bar {
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}

.navbar .nav-link.active {
  font-weight: 600;
}
