/* Shared, scoped styles for the PHP-free contact form. */
.contact-form-ui {
  box-sizing: border-box;
  width: 100%;
  font-family: Helvetica, Arial, sans-serif;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.contact-form-ui *, .contact-form-ui *::before, .contact-form-ui *::after { box-sizing: border-box; }
.contact-form-ui h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.contact-form-ui .form-group { margin-bottom: 15px; text-align: left; }
.contact-form-ui .form-group > label {
  display: flex;
  align-items: center;
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 1.1em;
  line-height: 1.5;
}
.contact-form-ui input[type="text"],
.contact-form-ui input[type="email"],
.contact-form-ui textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 1.2em;
}
.contact-form-ui textarea { height: 120px; resize: vertical; }
.contact-form-ui .consent-label { align-items: flex-start !important; cursor: pointer; }
.contact-form-ui .consent-label input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 3px 15px 0 0;
  accent-color: #007bff;
  cursor: pointer;
}
.contact-form-ui a { color: #89cff0; text-decoration: none; }
.contact-form-ui a:hover { text-decoration: underline; }
.contact-form-ui button {
  padding: 10px 25px;
  border: none;
  border-radius: 20px;
  background: #007bff;
  color: #fff;
  font: inherit;
  font-size: 1.2em;
  cursor: pointer;
}
.contact-form-ui button:hover:not(:disabled) { background: #0056b3; }
.contact-form-ui button:disabled { opacity: .7; cursor: wait; }
.contact-form-ui :is(a, input, textarea, button):focus-visible { outline: 3px solid #89cff0; outline-offset: 3px; }
.contact-form-ui .message { margin-top: 20px; min-height: 1.5em; font-weight: bold; }
.contact-form-ui .message[data-status="error"] { color: #ffd0d0; }
.contact-form-ui .message[data-status="success"] { color: #b8f4c9; }
.contact-form-ui .contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
/* The supplied phone/tablet contact pages were empty; give them a usable form. */
body.contact-standalone {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  background: #102234 url('../background.svg') center/cover fixed no-repeat;
  font-family: Helvetica, Arial, sans-serif;
}
.contact-standalone .contact-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 12px 48px;
}
.contact-standalone .back-link { display: inline-block; margin: 0 0 18px; color: #bde9ff; font-size: 1em; }
.contact-standalone .contact-form-ui { background: rgba(6, 18, 34, .90); padding: 28px; border-radius: 16px; }
@media (max-width: 520px) {
  .contact-standalone .contact-page { padding: 14px 10px 32px; }
  .contact-standalone .contact-form-ui { padding: 22px 16px; }
  .contact-form-ui h1 { font-size: 2em; }
  .contact-form-ui .form-group > label { padding-left: 4px; font-size: 1em; }
}
