.form-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px #EEE;
  padding: 32px 42px 24px 42px;
  max-width: 680px;
  margin: 32px auto;
}
.form-title {
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 6px;
  text-align: left;
}
hr {
  border: none;
  height: 2px;
  background: #eee;
  margin-bottom: 18px;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 17px;
}
.form-row label {
  flex: 0 0 230px;
  max-width: 230px;
  font-weight: 500;
  color: #333;
  margin-right: 10px;
}
.form-row input,
.form-row select,
.form-row textarea {
  flex: 1;
  min-width: 210px;
  border-radius: 4px;
  border: 1px solid #CCC;
  padding: 7px 9px;
  font-size: 1rem;
  margin-left: 0;
  margin-right: 0;
}
.form-row textarea {
  resize: vertical;
  min-height: 42px;
  max-height: 120px;
}
.btn-primary {
  background: #2478cb;
  color: #fff;
  font-weight: bold;
  padding: 11px 34px;
  border: none;
  border-radius: 5px;
  font-size: 1.05rem;
  cursor: pointer;
  margin-top: 12px;
  min-width: 160px;
}
.btn-primary:hover {
  background: #165799;
}
@media screen and (max-width: 500px) {
  .form-container {padding:12px;}
  .form-row {flex-direction:column;align-items:stretch;}
  .form-row label {max-width:100%;margin-bottom:8px;}
}