.login-panel {
  width: min(100%, 400px);
  padding: 25px 23px 20px;
  border-radius: 4px;
}

.login-content {
  position: relative;
}

.login-step.is-hidden {
  display: none !important;
}

.login-kicker {
  margin: 0 0 9px;
  color: #7180b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
}

.login-step .form-subtitle {
  margin-bottom: 23px;
}

.login-account-email {
  overflow-wrap: anywhere;
  color: #424651;
  font-weight: 700;
}

.login-panel .input.err {
  border-color: #d54150;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(213, 65, 80, 0.1);
}

.err-banner,
.info-banner {
  display: none;
  margin: 0 0 16px;
  padding: 11px 12px;
  border: 1px solid #f0c4ca;
  border-radius: 5px;
  color: #84202b;
  background: #fff3f4;
  font-size: 12px;
  line-height: 1.5;
}

.err-banner.show,
.info-banner.show {
  display: flex;
}

.err-banner {
  align-items: flex-start;
  gap: 9px;
}

.banner-mark {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b42332;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.info-banner {
  flex-direction: column;
  align-items: flex-start;
  border-color: #d7e1ff;
  color: #35416c;
  background: #f2f5ff;
}

.info-banner p {
  margin: 0;
}

.resend-button {
  min-height: 34px;
  margin: 7px 0 0;
  padding: 5px 0;
  border: 0;
  color: #324fc4;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.resend-button:hover:not(:disabled) {
  text-decoration: underline;
}

.resend-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.back-button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 3px 0;
  border: 0;
  color: #686d77;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.back-button:hover {
  color: #2d4dcc;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -3px 0 18px;
  color: #626773;
  font-size: 11px;
}

.remember-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.remember-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #3157ec;
}

.forgot-link {
  color: #3855ca;
  font-weight: 700;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.login-submit {
  justify-content: center;
}

.button-arrow {
  margin-left: auto;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.login-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: login-spin 700ms linear infinite;
}

.login-spinner.show {
  display: inline-block;
}

.loading-screen {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 7, 12, 0.74);
  backdrop-filter: blur(7px);
}

.loading-screen.hidden {
  display: none;
}

.loading-card {
  display: flex;
  width: min(100%, 250px);
  min-height: 124px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid #e1e3e8;
  border-radius: 4px;
  color: #555a65;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  font-size: 12px;
  font-weight: 700;
}

.loading-card img {
  width: 34px;
  height: 34px;
}

.loading-card p {
  margin: 0;
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  .login-panel {
    padding: 24px 19px 19px;
    border-radius: 4px;
  }
}
