/* page-layout.css - port of src/components/PageLayout.css */

.modern-header {
  --background: var(--app-surface);
  --color: var(--app-text);
  border-bottom: 1px solid var(--app-border);
}

.modern-header::part(container) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-header ion-buttons[slot="start"],
.modern-header ion-buttons[slot="end"] {
  position: static;
}

.modern-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}

.modern-title::part(native) {
  position: static !important;
  display: block;
  width: 100%;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}

.modern-title-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.modern-menu-button,
.modern-header-button {
  --color: var(--app-text-muted);
  --padding-start: 0.35rem;
  --padding-end: 0.35rem;
}

.modern-content {
  --background: var(--app-bg);
}

.layout-container {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.modern-fab {
  --background: var(--app-primary);
  --color: #fff;
  --box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border-radius: var(--app-radius);
}
