/* BZ Private Training Calculator 1.0.5 — referral source selector */
.bzptc__referral {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 8px 0 2px;
  padding: 0;
  border: 0;
}

.bzptc__referral legend {
  display: block;
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
}

.bzptc__referral-help {
  margin: 0 0 14px;
  opacity: .72;
  font-size: 13px;
  line-height: 1.45;
}

.bzptc__referral-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bzptc__referral-option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.bzptc__referral-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.bzptc__referral-option span {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  color: #f4f4f4;
  background: #17191c;
  border: 1px solid #3b3e43;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.bzptc__referral-option span b {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ef2b31;
  border: 1px solid rgba(239, 43, 49, .45);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}

.bzptc__referral-option:hover span {
  border-color: #ef2b31;
  transform: translateY(-1px);
}

.bzptc__referral-option input:focus-visible + span {
  outline: 2px solid #ef2b31;
  outline-offset: 2px;
}

.bzptc__referral-option input:checked + span {
  color: #fff;
  background: linear-gradient(135deg, #2a1114, #17191c 68%);
  border-color: #ef2b31;
  box-shadow: inset 4px 0 0 #ef2b31;
}

.bzptc__referral-option input:checked + span b {
  color: #fff;
  background: #ef2b31;
  border-color: #ef2b31;
}

.bzptc--light .bzptc__referral-option span {
  color: #17181a;
  background: #f3f3f2;
  border-color: #c8c9cb;
}

.bzptc--light .bzptc__referral-option input:checked + span {
  color: #17181a;
  background: #fff;
  border-color: #ef2b31;
}

@media (max-width: 820px) {
  .bzptc__referral-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .bzptc__referral-grid {
    grid-template-columns: 1fr;
  }
}


/* 1.0.7 — optional email-marketing consent */
.bzptc__marketing-consent{display:flex!important;align-items:flex-start;gap:12px;margin:4px 0 0!important;padding:15px 16px;color:#e5e5e7!important;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.15);font-size:13px;line-height:1.55;cursor:pointer}
.bzptc__marketing-consent input{flex:0 0 auto;width:18px!important;height:18px!important;margin:2px 0 0!important;accent-color:#e52329}
.bzptc__marketing-consent span{color:inherit!important}
.bzptc__marketing-consent:has(input:checked){border-color:rgba(229,35,41,.7);background:rgba(229,35,41,.09)}
.bzptc--light .bzptc__marketing-consent{color:#292a2d!important;background:#f5f5f3;border-color:#cfd0d2}
