.wkv-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.wkv-form-fields p { margin: 0; }
.wkv-form-field label { display: block; margin-bottom: .4rem; }
.wkv-form-wide { grid-column: 1 / -1; }
.wkv-form-fields .wpcf7-form-control-wrap { display: block; }
.wkv-form-fields input:not([type=checkbox]):not([type=submit]), .wkv-form-fields textarea { width: 100%; max-width: 100%; padding: .8rem; border: 1px solid #9aadb9; border-radius: .25rem; background: #fff; color: #172f41; }
.wkv-form-fields textarea { min-height: 8rem; }
.wkv-form-fields input[type=checkbox] { width: 1.15em; height: 1.15em; margin-right: .5em; }
.wkv-form-fields .wpcf7-list-item { margin: 0; }
.wkv-form-fields .wkv-submit { padding: .9rem 1.5rem; background: #d5252c; color: #fff; border: 0; border-radius: .25rem; cursor: pointer; }
.wkv-submit:hover { background: #ad1d23; }
.wkv-submit:active { transform: translateY(1px); }
.wkv-form-fields :focus-visible { outline: 3px solid #237ac1; outline-offset: 3px; }
.wkv-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wkv-form-fields small { display: block; margin-top: .4rem; }
.wpcf7 form .wpcf7-response-output { margin: 1.5rem 0 0; padding: .75rem; }
@media (max-width: 600px) { .wkv-form-fields { grid-template-columns: 1fr; } }

/* Match the original contact page without loading the retired form plugin. */
.wkv-contact-fields { column-gap: 12px; row-gap: 20px; }
.wkv-contact-fields .wkv-floating { position: relative; }
.wkv-form-fields.wkv-contact-fields .wkv-floating .form-control {
  height: 58px;
  min-height: 58px;
  padding: 16px 24px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: #fafafa;
  color: #292b2c;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}
.wkv-form-fields.wkv-contact-fields .wkv-floating textarea.form-control { height: 200px; min-height: 200px; }
.wkv-form-fields.wkv-contact-fields .wkv-floating .form-control::placeholder { color: transparent; }
.wkv-contact-fields .wkv-floating label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 16px 24px;
  margin: 0;
  border: 1px solid transparent;
  color: rgba(41, 43, 44, .5);
  font-size: 15px;
  font-weight: 500;
  line-height: 27px;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .1s ease-in-out;
}
.wkv-contact-fields .wkv-floating:has(.form-control:focus, .form-control:not(:placeholder-shown)) label {
  transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}
.wkv-form-fields.wkv-contact-fields .wkv-floating .form-control:focus,
.wkv-form-fields.wkv-contact-fields .wkv-floating .form-control:not(:placeholder-shown) { padding-top: 26px; padding-bottom: 10px; }
.wkv-contact-fields .wkv-upload {
  position: relative;
  margin: 8px 0 16px;
  padding: 24px;
  border: 2px dashed rgba(41, 43, 44, .3);
  border-radius: 4px;
  background: #fff;
  text-align: center;
}
.wkv-contact-fields .wkv-upload label { margin: 0; color: rgba(41, 43, 44, .5); }
.wkv-contact-fields .wkv-upload-link { color: #003d77; text-decoration: underline; }
.wkv-contact-fields .wkv-upload .wpcf7-form-control-wrap { position: static; }
.wkv-contact-fields .wkv-upload input[type=file] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.wkv-contact-fields .wkv-upload:focus-within { outline: 3px solid #237ac1; outline-offset: 3px; }
.wkv-contact-fields .wkv-file-status:empty { display: none; }
.wkv-contact-fields .wkv-file-status { overflow-wrap: anywhere; }
.wkv-file-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; }
.wkv-file-row button { flex-shrink: 0; padding: 2px 6px; border: 0; background: transparent; color: #003d77; text-decoration: underline; cursor: pointer; }
.wkv-contact-fields .wkv-application-reminder { margin-bottom: 8px; }
.wkv-contact-fields .wpcf7-acceptance label { margin: 0; color: rgba(41, 43, 44, .5); font-size: 15px; font-weight: 500; }
.wkv-contact-fields .wpcf7-acceptance a { color: #003d77; text-decoration: underline; }
.wkv-contact-fields input[type=checkbox] { width: 16px; height: 16px; vertical-align: middle; accent-color: #c20000; }
.wkv-contact-fields .wkv-submit {
  width: 100%;
  padding: 12px 24px;
  background: #c20000;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}
.wkv-contact-fields .wkv-submit:hover { background: #a50000; }
.wkv-contact-fields > .wkv-form-wide:last-child { position: relative; }
.wkv-contact-fields .wpcf7-spinner { position: absolute; right: 8px; top: 14px; margin: 0; }
@media (max-width: 1079px) { .wkv-contact-fields { row-gap: 12px; } }
@media (max-width: 767px) { .wkv-contact-fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wkv-contact-fields .wkv-floating label { transition: none; } }
