body#module-bcregistration-register {
  --registration-background: #f4f4f2;
  background: var(--registration-background);
}

/* Keep the page heading available to assistive technology without taking space. */
.festival-registration__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#module-bcregistration-register #wrapper,
#module-bcregistration-register #content {
  background: var(--registration-background);
  margin-top: 0;
  padding-top: 0;
}

#module-bcregistration-register #content {
  padding-right: 0;
  padding-left: 0;
}

.festival-registration {
  width: 100%;
  min-width: 0;
}

.festival-registration__frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 85vh;
  height: 85dvh;
  min-height: 600px;
  border: 0;
  border-radius: 12px;
  background: var(--registration-background, #f4f4f2);
}

@media (max-width: 767px) {
  #module-bcregistration-register .columns-container,
  #module-bcregistration-register #center-column {
    padding-left: 0;
    padding-right: 0;
  }

  #module-bcregistration-register .columns-container > .row {
    margin-left: 0;
    margin-right: 0;
  }

  .festival-registration__frame {
    border-radius: 0;
  }
}

.festival-registration__fallback {
  margin: 16px 0;
  padding: 0 16px;
  text-align: center;
}

.festival-registration__fallback .festival-registration__fallback-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid #c7f000;
  border-radius: 10px;
  background: #c7f000;
  color: #171717;
  font-family: "Prompt", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.festival-registration__fallback-button svg {
  flex: 0 0 18px;
}

.festival-registration__fallback .festival-registration__fallback-button:hover {
  background: #dcff46;
  border-color: #dcff46;
  color: #171717;
  text-decoration: none;
}

.festival-registration__fallback .festival-registration__fallback-button:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 4px;
}

.festival-registration__fallback .festival-registration__fallback-button:active {
  background: #b6db00;
  border-color: #b6db00;
}

@media (max-width: 767px) {
  .festival-registration__fallback {
    margin: 8px 0;
  }

  .festival-registration__fallback .festival-registration__fallback-button,
  .festival-registration__fallback .festival-registration__fallback-button:hover,
  .festival-registration__fallback .festival-registration__fallback-button:active {
    width: auto;
    min-height: 44px;
    padding: 8px 4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #45494f;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .festival-registration__fallback-button svg {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  #module-bcregistration-register .grecaptcha-badge {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 12px 12px calc(12px + env(safe-area-inset-bottom)) auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .festival-registration__fallback .festival-registration__fallback-button {
    transition: none;
  }
}
