/* Branded lead panel for the public trader sign-in screen. */
body.auth-gate-open:not(.admin-page) .dashboard-auth-banner {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7.2;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #ad1f2a;
  box-shadow: none;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-shell {
  gap: 0 !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: calc(100% + 2px);
  margin-top: -46px;
  margin-left: -1px;
  padding: 22px 20px 24px;
  border: 1px solid #20242a;
  border-radius: 30px 30px 14px 14px;
  background: #07090c;
  box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.18);
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-panel {
  gap: 16px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-lockup {
  display: none !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-topline {
  justify-content: stretch !important;
  min-height: 0 !important;
  padding-top: 18px;
  border-top: 1px solid #20242a;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-toolbar {
  justify-content: space-between !important;
  width: 100% !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-language-switch,
body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support-menu {
  width: 112px !important;
  min-width: 112px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-language-switch .language-switch-trigger,
body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support {
  width: 112px !important;
  min-width: 112px !important;
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 12px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support {
  gap: 8px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support span {
  white-space: nowrap !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-support-icon {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  opacity: 0.76;
  filter: brightness(0) invert(1);
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .language-switch-menu,
body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support-popover {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  margin-top: 0 !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .language-switch-menu {
  right: auto !important;
  left: 0 !important;
}

@media (max-width: 430px) {
  body.auth-gate-open:not(.admin-page) .dashboard-auth-gate {
    padding-top: max(16px, env(safe-area-inset-top)) !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-shell {
    gap: 0 !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-banner {
    aspect-ratio: 1.52 / 1;
    border-radius: 12px;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel {
    gap: 18px;
    margin-top: -48px;
    padding: 24px 16px 22px;
    border-radius: 32px 32px 12px 12px;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-panel {
    gap: 14px !important;
  }
}

@media (max-width: 350px) {
  body.auth-gate-open:not(.admin-page) .dashboard-auth-banner {
    aspect-ratio: 1.58 / 1;
  }
}
