.user-auth-page {
  align-items: center;
  min-height: 100vh;
}

.user-auth-wrap {
  max-width: 460px;
  margin-top: -42px;
}

.user-profile-wrap {
  max-width: 1220px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.user-auth-wrap .header-bar {
  justify-content: center;
  margin-bottom: 18px;
}

.user-auth-wrap .logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.user-auth-wrap .card {
  padding: var(--app-page-frame-inset);
}

.user-auth-wrap input[type="email"],
.user-auth-wrap input[type="password"],
.user-auth-wrap input[type="text"] {
  font-family: var(--app-font-family) !important;
  font-size: var(--app-form-control-size) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.user-auth-wrap input:-webkit-autofill,
.user-auth-wrap input:-webkit-autofill:hover,
.user-auth-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #111827 !important;
  caret-color: #111827;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  font-family: var(--app-font-family) !important;
  font-size: var(--app-form-control-size) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  transition: background-color 9999s ease-out 0s;
}

.browser-autofill-trap {
  position: fixed;
  top: -10000px;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap input {
  padding-right: 52px;
  margin-bottom: 0;
}

.password-toggle-button {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b6ea8;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.password-toggle-button:hover {
  color: #1f4fa3;
  background: rgba(59, 130, 246, 0.12);
}

.password-toggle-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.14);
}

.password-toggle-button.is-active {
  color: #1f4fa3;
}

.password-toggle-button.is-active::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-38deg);
}

.password-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.under-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

form[name="form_forgot"] .under-nav {
  margin-top: 19px;
}

#registerForm > button[type="submit"] {
  margin-top: 7px;
}

.under-nav a {
  color: #1f6feb;
  text-decoration: none;
  font-size: 14px;
}

.no-company-help {
  color: #334155;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 24px;
}

.no-company-help + .profile-actions {
  margin-top: 0;
}

.profile-actions {
  justify-content: flex-start;
  margin-top: 6px;
}

@media (min-width: 1180px) {
  .user-profile-wrap {
    margin-left: 10px;
    margin-right: auto;
    padding-top: 18px;
    padding-bottom: 0;
  }

  .user-action-profile .user-profile-wrap {
    margin-left: 9px;
  }

  .user-action-profile .user-profile-wrap > .card,
  .user-action-change-password .user-profile-wrap > .card {
    width: calc(100% - 9px);
  }

  .user-action-change-password .user-profile-wrap {
    margin-left: 9px;
  }

  .user-profile-wrap > .card {
    min-height: calc(100vh - 36px);
  }

  .user-profile-page .header-bar {
    height: 0;
    margin-bottom: 0;
    overflow: visible;
  }

  .user-profile-page .header-bar > .logo {
    display: none;
  }

  body.user-auth-page {
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
  }

  .user-auth-page .user-auth-wrap > .card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .user-auth-wrap {
    margin-top: -18px;
  }
}
