.bkf-course {
  --bkf-green: #006c47;
  --bkf-green-dark: #005238;
  --bkf-ink: #183129;
  --bkf-muted: #5c6d67;
  --bkf-line: #d8e2de;
  --bkf-soft: #f4f7f5;
  width: 100%;
  min-width: 0;
  max-width: 1200px;
  margin: 1.25rem auto;
  color: var(--bkf-ink);
  font: inherit;
}

.bkf-course-width-host {
  align-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

span.bkf-course-width-host {
  display: block;
}

.bkf-course-layout-host {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.bkf-course .bkf-registration-form {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.bkf-course * {
  box-sizing: border-box;
}

.bkf-course [hidden] {
  display: none !important;
}

.bkf-course .bkf-form-title {
  margin: 0 0 0.85rem;
  color: var(--bkf-ink);
  font-size: 1.55rem;
  line-height: 1.2;
}

.bkf-course-details {
  margin: 0 0 1.6rem;
  padding: 0.3rem 1.15rem;
  border-left: 5px solid var(--bkf-green);
}

.bkf-detail-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--bkf-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bkf-course-price {
  display: grid;
  gap: 0.05rem;
  margin-top: 1rem;
}

.bkf-price-details {
  margin-bottom: 1.25rem;
  padding: 0.25rem 1rem;
}

.bkf-price-details .bkf-course-price {
  margin-top: 0;
}

.bkf-price-details + .bkf-section-title {
  margin-top: 0;
}

.bkf-course-price strong {
  color: var(--bkf-green);
  font-size: 1.05rem;
}

.bkf-course .bkf-step-indicator {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 2.25rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--bkf-line);
  border-radius: 4px;
  background: var(--bkf-soft);
  list-style: none;
  counter-reset: none;
}

.bkf-step-indicator li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding-bottom: 0.75rem;
  color: var(--bkf-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.bkf-step-indicator li::after {
  position: absolute;
  z-index: 0;
  right: 0.65rem;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--bkf-line);
  content: "";
}

.bkf-step-indicator li span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 2px solid var(--bkf-line);
  border-radius: 50%;
  background: #fff;
  font-size: 0.78rem;
}

.bkf-step-indicator li.is-active,
.bkf-step-indicator li.is-complete {
  color: var(--bkf-green);
}

.bkf-step-indicator li.is-active span,
.bkf-step-indicator li.is-complete span {
  border-color: var(--bkf-green);
  background: var(--bkf-green);
  color: #fff;
}

.bkf-step-indicator li.is-complete::after {
  background: var(--bkf-green);
}

.bkf-step-indicator li.is-active::after {
  background: var(--bkf-green);
}

.bkf-form-step h3 {
  margin: 0 0 0.85rem;
  color: var(--bkf-ink);
  font-size: 1.3rem;
  line-height: 1.25;
}

.bkf-course .bkf-form-step[data-step="1"] > .bkf-section-title {
  font-weight: 600;
}

.bkf-form-step .bkf-section-title:not(:first-child) {
  margin-top: 1.5rem;
}

.bkf-form-step h3:focus {
  outline: none;
}

.bkf-step-intro {
  margin: -0.35rem 0 1rem;
  color: var(--bkf-muted);
}

.bkf-fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.bkf-fieldset legend {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.bkf-occurrence-options {
  display: grid;
  gap: 0.55rem;
}

.bkf-occurrence-filter {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.bkf-course .bkf-occurrence-filter select {
  display: block;
  -webkit-appearance: none;
  appearance: none;
  width: min(100%, 42rem);
  min-width: 0;
  height: 3rem;
  min-height: 48px;
  margin: 0;
  padding: 0 3rem 0 1rem;
  border: 1px solid var(--bkf-line);
  border-radius: 5px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23006c47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem 1rem;
  box-shadow: none;
  color: var(--bkf-ink);
  font: inherit;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}

.bkf-course .bkf-occurrence-filter select:hover {
  border-color: #9eaca7;
}

.bkf-course .bkf-occurrence-filter select:focus {
  border-color: var(--bkf-green);
}

.bkf-course .bkf-occurrence-filter select:focus-visible {
  outline: 2px solid var(--bkf-green);
  outline-offset: 2px;
}

@media (forced-colors: active) {
  .bkf-course .bkf-occurrence-filter select {
    -webkit-appearance: auto;
    appearance: auto;
    padding-right: 1rem;
    background-image: none;
  }
}

.bkf-region-status {
  margin: 0;
  color: var(--bkf-muted);
  font-size: 0.9rem;
}

.bkf-occurrence-option {
  position: relative;
  display: flex;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--bkf-line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.bkf-occurrence-option:has(input:checked) {
  border-color: var(--bkf-green);
  box-shadow: 0 0 0 1px var(--bkf-green);
}

.bkf-occurrence-option.is-disabled {
  background: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.62;
}

.bkf-occurrence-option input {
  position: absolute;
  opacity: 0;
}

.bkf-radio-mark {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  border: 2px solid var(--bkf-green);
  border-radius: 50%;
}

.bkf-occurrence-option input:checked + .bkf-radio-mark {
  background: var(--bkf-green);
  box-shadow: inset 0 0 0 3px #fff;
}

.bkf-occurrence-option input:focus-visible + .bkf-radio-mark {
  outline: 3px solid rgba(0, 108, 71, 0.25);
  outline-offset: 3px;
}

.bkf-occurrence-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 0.05rem;
  line-height: 1.4;
}

.bkf-occurrence-city {
  display: none;
}

@media (min-width: 681px) {
  .bkf-occurrence-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .bkf-occurrence-city {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 0.35rem;
    max-width: 45%;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--bkf-line);
    color: var(--bkf-ink);
    font-size: 0.9rem;
    font-weight: 600;
    overflow-wrap: anywhere;
  }

  .bkf-occurrence-city svg {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
  }
}

.bkf-occurrence-copy small {
  margin-top: 0.15rem;
  color: var(--bkf-green);
  font-weight: 500;
}

.bkf-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.bkf-field {
  display: grid;
  align-content: start;
  gap: 0.2rem;
}

.bkf-field-wide {
  grid-column: 1 / -1;
}

.bkf-field > span,
.bkf-participant-row label > span {
  font-size: 0.92rem;
  font-weight: 500;
}

.bkf-field input,
.bkf-field textarea,
.bkf-participant-row input {
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0.42rem 0.65rem;
  border: 1px solid #9eaca7;
  border-radius: 5px;
  background: #fff;
  color: var(--bkf-ink);
  font: inherit;
  line-height: 1.25;
}

.bkf-field input:focus,
.bkf-field textarea:focus,
.bkf-participant-row input:focus {
  border-color: var(--bkf-green);
  outline: 3px solid rgba(0, 108, 71, 0.16);
}

.bkf-field small {
  color: var(--bkf-muted);
  font-size: 0.78rem;
}

.bkf-field .bkf-inline-help {
  font-weight: 400;
}

.bkf-participants {
  margin-top: 0.25rem;
}

.bkf-participants > p {
  margin: -0.25rem 0 0.65rem;
  color: var(--bkf-muted);
  font-size: 0.9rem;
}

.bkf-participant-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.bkf-participant-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 0.65rem;
}

.bkf-participant-row + .bkf-participant-row {
  border-top: 1px solid var(--bkf-line);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.bkf-participant-row > button {
  justify-self: start;
}

.bkf-participant-row label {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.bkf-remove-participant {
  padding: 0.55rem 0.15rem;
  border: 0;
  background: none;
  color: #9a291d;
  text-decoration: underline;
  cursor: pointer;
}

.bkf-secondary-button,
.bkf-back-step {
  padding: 0.58rem 0.9rem;
  border: 2px solid var(--bkf-green);
  border-radius: 5px;
  background: #fff;
  color: var(--bkf-green);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.bkf-secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.bkf-capacity-notice {
  margin: 0.65rem 0 0;
  padding: 0.6rem 0.75rem;
  border-left: 4px solid #d4a017;
  background: #fff3cd;
  color: var(--bkf-ink);
  font-size: 0.9rem;
}

.bkf-back-step {
  border-color: var(--bkf-line);
  color: var(--bkf-ink);
}

.bkf-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
}

.bkf-submit {
  padding: 0.65rem 1.1rem;
  border: 0;
  border-radius: 5px;
  background: var(--bkf-green);
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.bkf-submit:hover {
  background: var(--bkf-green-dark);
}

.bkf-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.bkf-registration-form:not(.is-enhanced) .bkf-next-step,
.bkf-registration-form:not(.is-enhanced) .bkf-back-step {
  display: none;
}

.bkf-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.bkf-review section {
  padding: 0.85rem 1rem;
  border: 1px solid var(--bkf-line);
  border-radius: 6px;
  background: var(--bkf-soft);
}

.bkf-review h4 {
  margin: 0 0 0.55rem;
  color: var(--bkf-green);
  font-size: 1rem;
}

.bkf-review dl,
.bkf-completion dl {
  margin: 0;
}

.bkf-review dl > div,
.bkf-completion dl > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
  gap: 0.75rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(0, 108, 71, 0.12);
}

.bkf-review dl > div:last-child,
.bkf-completion dl > div:last-child {
  border-bottom: 0;
}

.bkf-review dt,
.bkf-completion dt {
  color: var(--bkf-muted);
  font-size: 0.84rem;
}

.bkf-review dd,
.bkf-completion dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 500;
}

.bkf-review ol {
  margin: 0;
  padding-left: 1.25rem;
}

.bkf-review-total {
  margin-top: 0.15rem;
  padding-top: 0.45rem !important;
  border-top: 2px solid var(--bkf-green);
  font-size: 1.03rem;
}

.bkf-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0.8rem 0.9rem;
  border-radius: 5px;
  background: var(--bkf-soft);
}

.bkf-privacy input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  accent-color: var(--bkf-green);
}

.bkf-privacy a {
  color: var(--bkf-green);
  font-weight: 500;
}

.bkf-required-note {
  margin: 0.55rem 0 0;
  color: var(--bkf-muted);
  font-size: 0.82rem;
  text-align: right;
}

.bkf-form-message,
.bkf-completion {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: 6px;
}

.bkf-completion {
  border: 1px solid var(--bkf-green);
  background: #e8f4ef;
}

.bkf-form-warning,
.bkf-completion-warning {
  border: 1px solid #d4a017;
  background: #fff3cd;
}

.bkf-form-error {
  border: 1px solid #b83a2c;
  background: #fbe9e7;
}

.bkf-completion h3 {
  margin: 0 0 0.4rem;
  color: var(--bkf-green);
  font-size: 1.35rem;
}

.bkf-restart-registration {
  display: inline-block;
  margin-top: 0.75rem;
  text-decoration: none;
}

.bkf-completion p {
  margin: 0 0 0.75rem;
}

.bkf-completion dl {
  max-width: 620px;
}

.bkf-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.bkf-course .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 680px) {
  .bkf-review,
  .bkf-fields {
    grid-template-columns: 1fr;
  }

  .bkf-field-wide {
    grid-column: auto;
  }

  .bkf-step-indicator li {
    gap: 0.3rem;
    font-size: 0.72rem;
  }

  .bkf-step-indicator li::after {
    right: 0.35rem;
    left: 0;
  }

  .bkf-step-actions {
    flex-wrap: wrap;
  }

  .bkf-step-actions > * {
    flex: 1 1 auto;
  }

  .bkf-participant-row {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .bkf-remove-participant {
    align-self: flex-start;
    padding: 0.15rem;
  }

  .bkf-review dl > div,
  .bkf-completion dl > div {
    grid-template-columns: 1fr;
    gap: 0.05rem;
  }
}
