
/* Scoped to the existing Instant Quote form. */
form.iphorm-form-5 {
  max-width: 450px;
  margin: 0 auto;
  color: #071444;
  font-family: Arial, Helvetica, sans-serif;
}

form.iphorm-form-5 #cp-flow-heading h2,
form.iphorm-form-5 #cp-flow-result h2,
form.iphorm-form-5 #cp-booking-header h2 {
  color: #07123d !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(32px, 8vw, 41px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

form.iphorm-form-5 #cp-flow-heading p {
  color: #26314c !important;
  font: 17px/1.45 Arial, Helvetica, sans-serif !important;
}

form.iphorm-form-5 .iphorm-element-label,
form.iphorm-form-5 .iphorm-element-label label,
form.iphorm-form-5 label.iphorm-label {
  color: #003fac !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

form.iphorm-form-5 input[type="text"],
form.iphorm-form-5 input[type="email"],
form.iphorm-form-5 input[type="tel"],
form.iphorm-form-5 select {
  box-sizing: border-box !important;
  min-height: 46px !important;
  padding: 0 13px !important;
  border: 1px solid #c5cad5 !important;
  border-radius: 5px !important;
  background-color: #fff !important;
  color: #17233d !important;
  font: 16px Arial, Helvetica, sans-serif !important;
}

form.iphorm-form-5 select {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding-right: 38px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%2317233d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 14px 14px !important;
}

form.iphorm-form-5 #cp-rev7-action,
form.iphorm-form-5 .cp-book-button {
  position: relative;
  width: 100% !important;
  min-height: 51px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #ffda00 !important;
  color: #003db7 !important;
  font: 900 16px Arial, Helvetica, sans-serif !important;
  text-transform: uppercase !important;
}

form.iphorm-form-5 #cp-flow-result .cp-result-card,
form.iphorm-form-5 #cp-booking-header .cp-booking-summary {
  background: #eaf4ff !important;
  border-radius: 6px !important;
}

form.iphorm-form-5 #cp-flow-result .cp-leak-guarantee:not([hidden]) {
  background: #e9f7eb !important;
  color: #08772a !important;
}
