.form-page {
  max-width: 860px;
  margin: 0 auto 28px;
}

.form-page-title {
  margin: 0 0 16px;
  padding: 0 0 8px;
  border-bottom: 1px dotted #ddd;
  color: #333;
  font: bold 14px Arial, sans-serif;
  text-align: center;
}

.form-intro {
  margin: -4px 0 16px;
  color: #44545c;
  font: 12px Verdana, sans-serif;
  line-height: 1.55;
  text-align: center;
}

.form-card {
  padding: 18px;
  border: 1px solid rgba(56, 140, 186, 0.32);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(37, 75, 95, 0.08);
}

.form-field {
  margin: 0 0 13px;
}

.form-field label {
  display: block;
  margin: 0 0 5px;
  color: #52636b;
  font: bold 12px Arial, sans-serif;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field textarea {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 8px 9px;
  border: 1px solid #c7dfea;
  border-radius: 4px;
  background: #fbfdfe;
  color: #333;
  font: 12px Verdana, sans-serif;
  box-sizing: border-box;
}

.form-field textarea {
  min-height: 190px;
  resize: vertical;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="url"]:focus,
.form-field textarea:focus {
  border-color: #66a9cc;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 158, 201, 0.16);
}

.form-field-inline {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.form-field-inline label {
  margin: 0;
}

.form-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 4px;
}

.form-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
}

.form-checkbox label {
  margin: 0;
  color: #52636b;
  font-weight: normal;
  line-height: 1.45;
}

.form-checkbox a {
  color: #26799d;
  font-weight: bold;
}

.form-actions {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e4eaee;
  text-align: right;
}

.form-actions input[type="submit"],
.form-actions button {
  min-width: 80px;
  padding: 6px 14px;
  border: 1px solid #b9ddec;
  border-radius: 4px;
  background: #eaf6fb;
  color: #26799d;
  font-weight: bold;
  cursor: pointer;
}

.form-actions input[type="submit"]:hover,
.form-actions button:hover {
  border-color: #72b8d8;
  background: #d9eef8;
}

@media (max-width: 600px) {
  .form-card {
    padding: 12px;
  }

  .form-field-inline {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .form-captcha {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-captcha input[type="text"] {
    width: 100%;
  }

  .form-actions {
    text-align: left;
  }
}
