.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  gap: 20px;
}
@media (max-width: 767.98px) {
  .form-row {
    flex-direction: column;
  }
}
.form-field {
  flex-grow: 1;
}
.form-field input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--seryy);
  border: 1px solid var(--seryy);
}
.form-field_date {
  position: relative;
}
.form-field_date:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 19px;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  background-image: url(../images/icons/calendare.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.form-btn {
  min-width: 172px;
}
@media (max-width: 767.98px) {
  .form-btn {
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }
}
.form-accept {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-accept input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}
.form-accept input[type="checkbox"]:checked ~ .form-accept__check {
  background-image: url(../images/icons/check-4.svg);
}
.form-accept__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--seryy);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}
.form-accept__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--seryy);
}
.form-accept__label a {
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}
.form-accept__label a:hover {
  text-decoration: none;
}
.input-error,
.error-message {
  color: #ff4d4d;
  margin-bottom: 15px;
  font-size: 13px;
}
