.auth-card-nav {
  direction: ltr;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.auth-card-nav__home {
  min-width: 0;
  min-height: 44px;
  padding: 0 0.125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 1 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.auth-card-nav__home:hover {
  color: #00388a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-card-nav__home:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(0, 56, 138, 0.35);
  outline-offset: 2px;
}

#auth-language-selector {
  position: relative;
  min-width: 140px;
  max-width: calc(100% - 76px);
  display: flex;
  justify-content: flex-end;
  flex: 0 1 auto;
  z-index: 10;
}

#auth-language-selector .language-switcher,
#auth-language-selector #language-switcher {
  min-width: 0;
  max-width: 100%;
}

#auth-language-selector .language-switcher__current {
  min-width: 140px;
  max-width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 0 0.75rem;
}

#auth-language-selector .language-switcher__menu {
  right: 0;
  left: auto;
  max-width: min(200px, calc(100vw - 64px));
}

.auth-logo-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.auth-logo-link .auth-logo {
  width: 120px;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 480px) {
  .auth-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .auth-page .login-container {
    padding: 20px;
  }
}
