/* MvM Header — PeepSo account panel */
.mvm-header-account-panel {
  display: none;
  border-top: 1px solid var(--mvm-border, #dce6ef);
  background: var(--mvm-surface-soft, #f5f8fb);
}

.mvm-header-account-panel.is-open {
  display: block;
}

.mvm-header-account-panel .mvm-header-inner {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  padding-bottom: 14px;
}

.mvm-header-account-card {
  width: min(100%, 430px);
  padding: 16px;
  border: 1px solid var(--mvm-border, #dce6ef);
  border-radius: 16px;
  background: var(--mvm-surface, #fff);
  box-shadow: 0 10px 30px rgba(19,46,72,.10);
}

.mvm-header-account-card > .mg-widget,
.mvm-header-account-card .widget_peepsowidgetlogin,
.mvm-header-account-card .widget_peepsowidgetuserbar {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mvm-header-account-card .psw-login,
.mvm-header-account-card .psf-login,
.mvm-header-account-card .ps-form {
  width: 100%;
  max-width: none;
}

.mvm-header-account-card .ps-input {
  min-height: 42px;
  border-radius: 10px !important;
}

.mvm-header-account-card :is(a, button, input):focus-visible {
  outline: 3px solid rgba(25, 102, 174, .42) !important;
  outline-offset: 2px !important;
}

.mvm-header-account-card .ps-btn--login,
.mvm-header-account-card .ps-btn--action {
  min-height: 42px;
  border-radius: 10px !important;
  background: var(--mvm-blue, #1966AE) !important;
  color: #fff !important;
}

.mvm-header-account-card .psf-login__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 12px;
}

.mvm-header-account-card .psf-login__link,
.mvm-header-account-card a {
  color: var(--mvm-blue, #1966AE);
  text-underline-offset: 3px;
}

.mvm-header-account-fallbacks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mvm-header-account-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--mvm-blue, #1966AE);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}

.mvm-header-account-fallback--ghost {
  border: 1px solid var(--mvm-border, #dce6ef);
  background: transparent;
  color: var(--mvm-blue, #1966AE) !important;
}

body[data-mvm-theme="dark"] .mvm-header-account-card {
  background: var(--mvm-surface, #18222c);
  border-color: var(--mvm-border, #30404e);
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
}

/* Ingelogd: PeepSo userbar als slanke balk direct onder de header. */
.mvm-peepso-userbar-strip {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--mvm-border, #dce6ef);
  background: var(--mvm-surface, #fff);
}

.mvm-peepso-userbar-strip > .mvm-header-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

.mvm-peepso-userbar-strip__inner {
  width: 100%;
  min-width: 0;
}

.mvm-peepso-userbar-strip__inner > .mg-widget,
.mvm-peepso-userbar-strip__inner .widget_peepsowidgetuserbar,
.mvm-peepso-userbar-strip__inner .widget_peepsowidgetlogin {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mvm-peepso-userbar-strip__inner :is(.psw-userbar,.psf-userbar,.ps-widget--userbar) {
  width: 100%;
  margin: 0 !important;
}

.mvm-peepso-userbar-strip__inner a {
  color: var(--mvm-blue, #1966AE);
}

body[data-mvm-theme="dark"] .mvm-peepso-userbar-strip {
  border-color: var(--mvm-border, #30404e);
  background: var(--mvm-surface, #18222c);
}

@media (max-width: 780px) {
  .mvm-peepso-userbar-strip > .mvm-header-inner {
    padding: 7px 12px;
  }

  .mvm-peepso-userbar-strip__inner {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }
}

@media (max-width: 620px) {
  .mvm-header-account-panel .mvm-header-inner {
    padding: 10px 12px 12px;
  }

  .mvm-header-account-card {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
  }

  .mvm-peepso-userbar-strip {
    border-bottom-color: rgba(25,102,174,.18);
  }
}
