.login-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 44px 120px;
}

.login-access {
  position: absolute;
  top: 42px;
  right: 65px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
  white-space: nowrap;
}

.login-panel__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 490px);
}

.login-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.login-heading h1 {
  margin: 0;
  color: var(--frame-border);
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 200;
  line-height: 66px;
  letter-spacing: -1.2px;
}

.login-heading p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.forgot-password {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  min-height: 18px;
}

.forgot-password a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 16px;
}

.login-divider span {
  flex: 1 1 0;
  height: 1px;
  background: var(--panel-border);
}

.login-divider p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.login-legal {
  width: 100%;
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.form-alert {
  width: 100%;
  margin: 0;
  border: 1px solid #e9988e;
  border-radius: 8px;
  padding: 16px;
  background: #f9cec9;
  color: #4d231e;
}

.form-alert__content {
  position: relative;
  height: 48px;
  width: 100%;
}

.form-alert__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
}

.form-alert__heading img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.form-alert__heading p,
.form-alert__description {
  font-family: var(--font-sans);
  margin: 0;
  color: #4d231e;
  font-size: 14px;
  line-height: 20px;
}

.form-alert__heading p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.form-alert__description {
  position: absolute;
  top: 28px;
  left: 0;
}

@media (max-width: 1200px) {
  .login-panel {
    padding-right: clamp(40px, 8vw, 120px);
    padding-left: clamp(40px, 8vw, 120px);
  }

  .login-access {
    right: 40px;
  }
}

@media (max-width: 900px) {
  .login-panel {
    min-height: 100vh;
    padding: 104px 24px 48px;
  }

  .login-access {
    top: 28px;
    right: 24px;
  }
}

@media (max-width: 520px) {
  .login-heading h1 {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.96px;
  }

  .login-access {
    right: 50%;
    transform: translateX(50%);
  }
}
