body.task-login.action-none,
body.task-login.action-login {
  min-height: 100vh;
  margin: 0;
  background: #071426;
  color: #f8fbff;
  overflow-x: hidden;
  overflow-y: auto;
}

body.task-login.action-none::before,
body.task-login.action-login::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(0, 87, 184, 0.36), transparent 34%),
    radial-gradient(circle at 88% 70%, rgba(255, 214, 0, 0.14), transparent 30%),
    linear-gradient(115deg, rgba(0, 87, 184, 0.26), rgba(0, 87, 184, 0) 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 84px),
    #071426;
  animation: justpwaGrid 18s ease-in-out infinite alternate;
}

body.task-login.action-none::after,
body.task-login.action-login::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 36vh;
  z-index: 0;
  background: linear-gradient(0deg, rgba(1, 7, 16, 0.94), rgba(1, 7, 16, 0));
  pointer-events: none;
}

body.task-login #layout {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 36px;
  background: transparent;
  box-sizing: border-box;
}

body.task-login #layout-content.justpwa-login {
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 430px !important;
  align-items: center !important;
  gap: 58px !important;
  width: min(1120px, 100%) !important;
  min-height: 620px !important;
  margin: 0 auto !important;
  padding: 34px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(110deg, rgba(0, 87, 184, 0.18), rgba(255, 255, 255, 0.04) 42%, rgba(255, 214, 0, 0.08)),
    rgba(6, 18, 34, 0.72) !important;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  box-sizing: border-box;
}

body.task-login #layout-content.justpwa-login::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 78px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 78px);
  opacity: 0.36;
}

body.task-login .justpwa-brand {
  position: relative;
  max-width: 620px;
  padding: 8px 0 8px 12px;
  animation: justpwaRise 560ms ease both;
}

body.task-login .justpwa-brand::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 120px;
  width: 3px;
  height: 190px;
  border-radius: 999px;
  background: linear-gradient(#ffd600, #0057b8);
  opacity: 0.8;
}

body.task-login .justpwa-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

body.task-login #logo {
  display: block;
  position: static !important;
  top: auto !important;
  width: 58px;
  height: 58px;
  max-height: none !important;
  margin: 0;
}

body.task-login .justpwa-kicker {
  margin: 0 0 14px;
  color: #ffd600;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.task-login .justpwa-brand h2 {
  max-width: 600px;
  margin: 0;
  color: #ffffff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

body.task-login .justpwa-copy {
  max-width: 540px;
  margin: 20px 0 0;
  color: rgba(232, 241, 255, 0.78);
  font-size: 17px;
  line-height: 1.68;
}

body.task-login .justpwa-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

body.task-login .justpwa-points span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
}

body.task-login .justpwa-login-card {
  justify-self: end;
  width: 100%;
  max-width: 430px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.97);
  box-shadow: 0 30px 88px rgba(0, 0, 0, 0.36);
  color: #101828;
  box-sizing: border-box;
  animation: justpwaRise 620ms 70ms ease both;
}

body.task-login .justpwa-card-head {
  margin-bottom: 22px;
}

body.task-login .justpwa-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 87, 184, 0.1);
  color: #0057b8;
  font-size: 12px;
  font-weight: 800;
}

body.task-login .justpwa-card-head h3 {
  margin: 12px 0 0;
  color: #071426;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
}

body.task-login #login-form,
body.task-login #login-form table,
body.task-login #login-form tbody,
body.task-login #login-form tr,
body.task-login #login-form td {
  width: 100%;
}

body.task-login #login-form {
  position: static !important;
  top: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  max-width: none !important;
}

body.task-login #login-form table {
  border-collapse: separate;
  border-spacing: 0 12px;
  margin: 0;
}

body.task-login #login-form td.title,
body.task-login #login-form label {
  padding: 0 0 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

body.task-login #login-form td.input {
  position: relative;
}

body.task-login #login-form .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

body.task-login #login-form .input-group-prepend,
body.task-login #login-form .input-group-text {
  display: flex;
  flex: 0 0 50px;
}

body.task-login #login-form .input-group-text {
  align-items: center;
  justify-content: center;
  width: 50px;
  border: 1px solid #d7dde8;
  border-right: 0;
  border-radius: 13px 0 0 13px;
  background: #e9eff8;
  color: #344054;
}

body.task-login #login-form .form-control,
body.task-login #login-form input[type="text"],
body.task-login #login-form input[type="password"] {
  height: 50px;
  border: 1px solid #d7dde8;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: none;
  color: #101828;
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.task-login #login-form .input-group .form-control,
body.task-login #login-form .input-group input[type="text"],
body.task-login #login-form .input-group input[type="password"] {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 0 13px 13px 0;
}

body.task-login #login-form .form-control:focus,
body.task-login #login-form input[type="text"]:focus,
body.task-login #login-form input[type="password"]:focus {
  border-color: #0057b8;
  box-shadow: 0 0 0 4px rgba(0, 87, 184, 0.13);
}

body.task-login #login-form .button,
body.task-login #login-form input[type="submit"] {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0057b8 0%, #1d72e8 58%, #ffd600 160%);
  box-shadow: 0 14px 30px rgba(0, 87, 184, 0.26);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

body.task-login #login-form .button:hover,
body.task-login #login-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 87, 184, 0.34);
  filter: saturate(1.06);
}

body.task-login #login-footer {
  margin-top: 18px;
  text-align: center;
  color: #667085;
  font-size: 12px;
}

body.task-login .boxwarning,
body.task-login .boxerror,
body.task-login .boxinformation {
  border-radius: 13px;
}

@keyframes justpwaRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes justpwaGrid {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 0 0, 0 0, 0 0, 38px 0, 0 38px, 0 0; }
}

@media (max-width: 920px) {
  body.task-login #layout {
    padding: 14px;
  }

  body.task-login #layout-content.justpwa-login {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    width: calc(100vw - 28px) !important;
    max-width: 520px !important;
    min-height: auto !important;
    padding: 22px !important;
    align-content: center !important;
    border-radius: 22px;
  }

  body.task-login .justpwa-brand {
    max-width: 100%;
    padding: 0;
    text-align: center;
    overflow: hidden;
  }

  body.task-login .justpwa-brand::before {
    display: none;
  }

  body.task-login .justpwa-logo-wrap {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    border-radius: 16px;
  }

  body.task-login #logo {
    width: 50px;
    height: 50px;
  }

  body.task-login .justpwa-brand h2 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.12;
  }

  body.task-login .justpwa-copy {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.58;
  }

  body.task-login .justpwa-points {
    justify-content: center;
  }

  body.task-login .justpwa-login-card {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 22px;
    border-radius: 16px;
  }

  body.task-login .justpwa-card-head h3 {
    font-size: 24px;
  }
}

@media (max-width: 540px) {
  body.task-login #layout {
    padding: 10px;
    justify-items: start;
  }

  body.task-login #layout-content.justpwa-login {
    width: min(360px, calc(100vw - 20px)) !important;
    max-width: min(360px, calc(100vw - 20px)) !important;
    margin: 0 !important;
    padding: 18px !important;
    border-radius: 20px;
  }

  body.task-login .justpwa-brand h2 {
    font-size: 25px;
  }

  body.task-login .justpwa-copy {
    font-size: 14px;
  }

  body.task-login .justpwa-points {
    gap: 8px;
  }

  body.task-login .justpwa-points span {
    height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  body.task-login .justpwa-login-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.task-login.action-none::before,
  body.task-login.action-login::before,
  body.task-login .justpwa-brand,
  body.task-login .justpwa-login-card {
    animation: none;
  }
}
