/* PA1KVE 2.0 - Gedeelde header */

.pa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  height: 88px;
  min-height: 88px;
  padding: 20px 28px;
}

.pa-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.pa-nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
}

.pa-nav-link:hover,
.pa-nav-link:focus-visible {
  color: var(--accent);
}

.pa-user-menu {
  position: relative;
}

.pa-user-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid #363b45;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.pa-user-trigger:hover,
.pa-user-trigger:focus-visible {
  border-color: var(--accent);
}

.pa-user-icon,
.pa-user-chevron {
  color: var(--accent);
}

.pa-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  padding: 8px;
  border: 1px solid #363b45;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 30px #0006;
  z-index: 10;
}

.pa-menu-link {
  display: block;
  padding: 11px 13px;
  border-radius: 7px;
  color: var(--accent);
  text-decoration: none;
}

.pa-menu-link:hover {
  background: #2a2e37;
}

@media (max-width: 500px) {
  .pa-header {
    padding: 16px;
    gap: 12px;
  }

  .pa-header-right {
    gap: 10px;
  }
}

/* Centrale pagina-identiteit: overal dezelfde logogrootte */
.pa-page-heading {
  text-align: center;
  padding: 30px 20px 16px;
}

.pa-page-logo {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: .08em;
}

.pa-page-logo span {
  color: var(--accent);
}

.pa-page-title {
  margin: 14px 0 0;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--muted);
}

.pa-page-description {
  margin: 12px 0 0;
  color: var(--muted);
}

/* Mobiele headerhoogte */
@media (max-width: 500px) {
  .pa-header {
    height: 76px;
    min-height: 76px;
  }
}

/* Dashboard gebruikt dezelfde logopositie als subpagina's */
body.dashboard-active main {
  padding-top: 0;
}
