.login-form {
  max-width: 640px;
}

.login-form input,
.login-form textarea {
  max-width: 100%;
}

.login-form input[name="key"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0;
}

.login-form:has(.login-back-to-license) {
  padding-top: 52px;
}

.login-back-to-license {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px 0 6px;
  white-space: nowrap;
  border: 1px solid #e4e8f4;
  border-radius: 999px;
  background: #fff;
  color: #1c274c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(28, 39, 76, 0.08);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.login-form button.login-back-to-license {
  width: auto;
  background-color: #fff;
}

.login-back-to-license-label {
  display: inline-block;
}

.login-back-to-license:hover {
  background: #f4f7ff;
  border-color: #c5d2f3;
  transform: translateX(-1px);
}