/* McColl Center | Bloomerang Hosted Forms */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #292929;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

#wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

/* McColl logo */

header,
.banner {
  margin: 0 0 32px;
}

header img,
.banner img {
  display: block;
  max-width: 150px;
  height: auto;
  margin: 0 0 32px;
}

/* Typography */

h1,
h2,
h3 {
  margin: 0 0 20px;
  color: #292929;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid #292929;
  font-size: 20px;
}

p {
  margin: 0 0 16px;
}

a {
  color: #292929;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Form */

form,
.membership-form {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.section {
  margin: 0 0 40px;
}

.field {
  margin: 0 0 20px;
}

label {
  display: block;
  margin: 0 0 7px;
  color: #292929;
  font-size: 14px;
  font-weight: 600;
}

/* Text-based fields only */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  background: #ffffff;
  border: 1px solid #aeb8bf;
  border-radius: 0;
  color: #292929;
  font: inherit;
  line-height: 1.4;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  border-color: #000000;
  outline: 2px solid #000000;
  outline-offset: 1px;
}

/* Membership and payment choices */

.field.radio,
.field.checkbox {
  margin-bottom: 12px;
}

.field.radio label,
.field.checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #aeb8bf;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: #000000;
}

/* Selected choice */

.field.radio label:has(input:checked),
.field.checkbox label:has(input:checked) {
  background: #292929;
  border-color: #292929;
  color: #ffffff;
}

.field.radio label:has(input:checked) input,
.field.checkbox label:has(input:checked) input {
  accent-color: #ffffff;
}

/* Errors and supporting text */

.error,
.errors,
label.error {
  margin-top: 6px;
  color: #a12828;
  font-size: 13px;
  font-weight: 600;
}

small,
.description,
.help-text {
  color: #626262;
  font-size: 13px;
}

/* Submit button */

button[type="submit"],
input[type="submit"] {
  display: inline-block;
  min-height: 50px;
  padding: 13px 28px;
  background: #292929;
  border: 2px solid #292929;
  border-radius: 0;
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover,
button[type="submit"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: #ffffff;
  color: #292929;
  outline: none;
}

/* Footer and contact information */

footer,
.bloomerang-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #d6d6d6;
  text-align: left;
}

footer img,
.bloomerang-footer img {
  display: block;
  max-width: 140px;
  margin: 0;
}

/* Preserve Bloomerang visibility controls */

.hidden {
  display: none !important;
}

/* Mobile */

@media (max-width: 600px) {
  #wrapper {
    padding: 24px 18px 48px;
  }

  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 22px;
  }

  button[type="submit"],
  input[type="submit"] {
    width: 100%;
  }
}
/* Center McColl logo */
#banner {
  width: 100%;
  text-align: center;
}

#banner img {
  display: block;
  max-width: 200px;
  height: auto;
  margin: 0 auto 32px;
}