.rp-group-roster {
  clear: both;
  box-sizing: border-box;
  margin: 0 0 22px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #b9dce9;
  border-radius: 18px;
  background: linear-gradient(145deg, #f4fbfe 0%, #ffffff 68%);
  box-shadow: 0 12px 30px rgba(17, 83, 111, 0.08);
  color: #173f52;
}

.rp-group-roster *,
.rp-activity-assignment *,
.rp-billing-responsible * {
  box-sizing: border-box;
}

.rp-group-roster__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.rp-group-roster__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #397488;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.rp-group-roster h2 {
  margin: 0 0 7px;
  color: #123f54;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.15;
}

.rp-group-roster p {
  max-width: 720px;
  margin: 0;
  line-height: 1.5;
}

.rp-group-roster__count {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #b6dce9;
  border-radius: 999px;
  background: #e8f6fb;
  color: #185b73;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.rp-group-roster__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.rp-group-person {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #d3e5ec;
  border-radius: 13px;
  background: #fff;
}

.rp-group-person:focus-within {
  border-color: #1584ad;
  box-shadow: 0 0 0 3px rgba(21, 132, 173, 0.13);
}

.rp-group-person__number {
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #187ca2;
  color: #fff;
  font-weight: 800;
}

.rp-group-person__field {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.rp-group-person__role {
  display: block;
  margin-bottom: 3px;
  color: #507180;
  font-size: 0.76rem;
  font-weight: 700;
}

.rp-group-person__select-label,
.rp-group-person__custom > span {
  display: block;
  margin: 0 0 4px;
  color: #476b7b;
  font-size: 0.72rem;
  font-weight: 700;
}

.rp-group-person .rp-group-person__select {
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 7px 34px 7px 10px;
  border: 1px solid #c9dfe7;
  border-radius: 9px;
  background-color: #f9fcfd;
  color: #153c4e;
  font-size: 0.9rem;
  font-weight: 650;
}

.rp-group-person__custom {
  display: block;
  margin-top: 9px;
}

.rp-group-person__custom[hidden] {
  display: none !important;
}

.rp-group-roster__child-ages:empty {
  display: none;
}

.rp-group-roster[data-rp-group-optional="1"] .rp-child-profile-suggestion {
  display: none !important;
}

.rp-group-roster[data-rp-group-optional="1"] .rp-child-ages {
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #d7e8ee;
}

.rp-group-roster[data-rp-group-optional="1"] .rp-child-ages .confcol1 {
  font-size: .84rem;
  font-weight: 800;
}

.rp-group-roster[data-rp-group-optional="1"] .rp-child-age-field--group {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  color: #476b7b;
  font-size: .74rem;
  font-weight: 700;
}

.rp-group-roster[data-rp-group-optional="1"] .rp-child-age-field--group select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c9dfe7;
  border-radius: 9px;
  background: #f9fcfd;
}

.rp-group-person__permit {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(145px, .8fr);
  gap: 8px;
  margin-top: 10px;
}

.rp-group-person__permit label {
  display: grid;
  gap: 4px;
  color: #476b7b;
  font-size: .72rem;
  font-weight: 700;
}

.rp-group-person__permit .inp_reserv {
  width: 100%;
  min-height: 38px;
  margin: 0;
  border: 1px solid #c9dfe7;
  border-radius: 9px;
  background: #fff;
}

.rp-group-person__permit .inpdate,
.rp-group-profile__field .inpalldate {
  padding-right: 39px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23187ca2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.rp-group-profile {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #b9dbe7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(23, 90, 116, .07);
}

.rp-group-profile[hidden] { display: none !important; }

.rp-group-profile > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
  padding: 12px 14px;
  border-bottom: 1px solid transparent;
  background: linear-gradient(135deg, #edf8fc 0%, #f8fcfd 100%);
  color: #255f74;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.rp-group-profile > summary::-webkit-details-marker { display: none; }
.rp-group-profile > summary:hover { background: #e9f6fa; }
.rp-group-profile[open] > summary { border-bottom-color: #d7e9ef; }

.rp-group-profile__summary-copy {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.rp-group-profile__summary-copy > i {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: #187ca2;
  color: #fff;
  box-shadow: 0 6px 14px rgba(24, 124, 162, .2);
}

.rp-group-profile__summary-copy > span,
.rp-group-profile__summary-copy strong,
.rp-group-profile__summary-copy small {
  display: block;
  min-width: 0;
}

.rp-group-profile__summary-copy strong {
  color: #174b60;
  font-size: .9rem;
  line-height: 1.25;
}

.rp-group-profile__summary-copy small {
  max-width: 470px;
  margin-top: 2px;
  color: #5e7984;
  font-size: .7rem;
  font-weight: 550;
  line-height: 1.35;
}

.rp-group-profile__summary-meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.rp-group-profile__summary-meta small {
  padding: 5px 9px;
  border: 1px solid #f0d6ae;
  border-radius: 999px;
  background: #fff8eb;
  color: #97570e;
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}

.rp-group-profile__summary-meta > i {
  color: #5f7d89;
  font-size: .7rem;
  transition: transform 180ms ease;
}

.rp-group-profile[open] .rp-group-profile__summary-meta > i { transform: rotate(180deg); }

.rp-group-profile__body {
  padding: 14px;
  background: linear-gradient(180deg, #fbfdfe 0%, #f6fafb 100%);
}

.rp-group-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rp-group-address-reuse {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c8e2dc;
  border-radius: 10px;
  background: #edf8f5;
  color: #285f54;
  font-size: .8rem;
  font-weight: 750;
  cursor: pointer;
}

.rp-group-address-reuse input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #167d6b;
}

.rp-group-address-reuse input[type="hidden"] { display: none; }

.rp-group-profile__field .rp-address-autocomplete-help {
  display: block;
  margin-top: 5px;
  color: #607d87;
  font-size: .68rem;
  font-weight: 500;
  line-height: 1.35;
}

.rp-group-profile__field[hidden] { display: none !important; }
.rp-group-profile__field {
  position: relative;
  min-width: 0;
  padding: 11px;
  border: 1px solid #d7e7ed;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 75, 96, .035);
}

.rp-group-profile__field:focus-within {
  border-color: #7fbcd1;
  box-shadow: 0 0 0 3px rgba(24, 124, 162, .1);
}

.rp-group-profile__field--custom {
  border-left: 3px solid #75b9cf;
}

.rp-group-profile__field .wbq_rep { min-width: 0; }
.rp-group-profile__field .wbq_question,
.rp-group-profile__field > span {
  display: block;
  margin: 0 0 7px;
  color: #315d70;
  font-size: .76rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}
.rp-group-profile__field em { color: #b13333; font-style: normal; }
.rp-group-profile__field input,
.rp-group-profile__field select,
.rp-group-profile__field textarea,
.rp-group-profile__field .vpqt {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #c9dfe7;
  border-radius: 10px;
  background: #fff;
  color: #153c4e;
  font-size: .94rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.rp-group-profile__field input:focus,
.rp-group-profile__field select:focus,
.rp-group-profile__field textarea:focus,
.rp-group-profile__field .vpqt:focus {
  border-color: #1584ad;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(21, 132, 173, .12);
}

.rp-group-profile__field textarea {
  min-height: 88px;
  resize: vertical;
}

.rp-group-profile__field .wbq_question label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  cursor: pointer;
}

.rp-group-profile__field input[type="checkbox"],
.rp-group-profile__field .wbq_question input[type="checkbox"] {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  min-height: 21px;
  margin: -1px 0 0;
  padding: 0;
  border-radius: 6px;
  accent-color: #187ca2;
}

.rp-group-profile__field .wbq_question:has(input[type="checkbox"]) {
  margin: 0;
  font-size: .82rem;
}

.rp-group-profile__field .wbq_question:has(input[type="checkbox"]) + .wbq_rep:empty {
  display: none;
}

.rp-checkout-custom-questions {
  clear: both;
  width: 100%;
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid #bddde7;
  border-radius: 18px;
  background: #f6fbfc;
  box-shadow: 0 14px 34px rgba(23, 75, 96, .075);
}

.rp-checkout-custom-questions *,
.rp-checkout-custom-questions *::before,
.rp-checkout-custom-questions *::after {
  box-sizing: border-box;
}

.rp-checkout-custom-questions__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #d9e9ef;
  background: linear-gradient(135deg, #edf8fc 0%, #f9fcfd 100%);
}

.rp-checkout-custom-questions__header > span {
  display: inline-grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #1688ae, #116d90);
  color: #fff;
  box-shadow: 0 7px 16px rgba(24, 124, 162, .2);
}

.rp-checkout-custom-questions__header > div,
.rp-checkout-custom-questions__header strong,
.rp-checkout-custom-questions__header small {
  display: block;
  min-width: 0;
}

.rp-checkout-custom-questions__header strong {
  color: #174b60;
  font-size: 1.05rem;
  line-height: 1.3;
}

.rp-checkout-custom-questions__header small {
  margin-top: 4px;
  color: #5c7884;
  font-size: .8rem;
  line-height: 1.4;
}

.rp-checkout-custom-questions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

.rp-checkout-custom-question {
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d8e8ed;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(21, 75, 96, .035);
}

.rp-checkout-custom-question.is-profile-known {
  border-color: #b9dfd2;
  background: linear-gradient(180deg, #fff 0%, #f5fbf8 100%);
}

.rp-checkout-custom-question__known {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e5f6ef;
  color: #1f7458;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.2;
}

.rp-checkout-custom-question__known i {
  color: #16845f;
}

.rp-checkout-custom-question[data-rp-question-required="1"] .wbq_question::after {
  content: ' *';
  color: #b64040;
  font-weight: 850;
}

.rp-checkout-custom-question-group {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid #d5e7ed;
  border-radius: 14px;
  background: #f8fcfd;
  box-shadow: 0 7px 18px rgba(21, 75, 96, .04);
}

.rp-checkout-custom-question-group__title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border-bottom: 1px solid #dceaf0;
  color: #174f66;
  background: #eef8fb;
  font-size: .95rem;
}

.rp-checkout-custom-question-group__copy {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.rp-checkout-custom-question-group__copy strong,
.rp-checkout-custom-question-group__copy small {
  display: block;
}

.rp-checkout-custom-question-group__copy small {
  margin-top: 3px;
  overflow: hidden;
  color: #527582;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-checkout-custom-question-group__toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #bedbe5;
  border-radius: 9px;
  background: #fff;
  color: #176f91;
  font: inherit;
  font-size: .76rem;
  font-weight: 750;
  cursor: pointer;
}

.rp-checkout-custom-question-group__toggle:hover,
.rp-checkout-custom-question-group__toggle:focus-visible {
  border-color: #1684aa;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(22, 132, 170, .12);
}

.rp-checkout-custom-question-group__toggle i {
  transition: transform .18s ease;
}

.rp-checkout-custom-question-group.is-collapsed .rp-checkout-custom-question-group__toggle i {
  transform: rotate(180deg);
}

.rp-checkout-custom-question-group__fields[hidden] {
  display: none !important;
}

.rp-checkout-custom-question-group__title i {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #d9eef5;
  color: #187ca2;
}

.rp-checkout-custom-question-group__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 15px;
}

.rp-checkout-custom-questions__complete {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 18px 20px 20px;
  padding: 14px 16px;
  border: 1px solid #bde1d3;
  border-radius: 13px;
  background: #edf9f5;
  color: #23664f;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
}

.rp-checkout-custom-questions__complete[hidden] {
  display: none !important;
}

.rp-checkout-custom-questions__complete i {
  color: #16845f;
  font-size: 1.15rem;
}

.rp-checkout-custom-question .wbq_question {
  margin: 0 0 7px;
  color: #205d76;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.35;
}

.rp-checkout-custom-question .wbq_rep {
  min-width: 0;
}

.rp-checkout-custom-question input:not([type="checkbox"]):not([type="radio"]),
.rp-checkout-custom-question select,
.rp-checkout-custom-question textarea,
.rp-checkout-custom-question .vpqt {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #c6dce5;
  border-radius: 10px;
  background: #fff;
  color: #153c4e;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgba(24, 74, 96, .03);
}

.rp-checkout-custom-question textarea {
  min-height: 96px;
  resize: vertical;
}

.rp-checkout-custom-question input:focus,
.rp-checkout-custom-question select:focus,
.rp-checkout-custom-question textarea:focus,
.rp-checkout-custom-question .vpqt:focus {
  border-color: #1584ad;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(21, 132, 173, .13);
}

.rp-checkout-custom-question .wbq_question label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.rp-checkout-custom-question input[type="checkbox"],
.rp-checkout-custom-question input[type="radio"] {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #187ca2;
}

@media (max-width: 720px) {
  .rp-group-profile__grid,
  .rp-checkout-custom-questions__grid { grid-template-columns: 1fr; }

  .rp-checkout-custom-question-group__fields { grid-template-columns: 1fr; }

  .rp-group-profile__summary-copy small { max-width: 330px; }
}

@media (max-width: 620px) {
  .rp-group-person__permit { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .rp-group-roster {
    padding: 14px;
    border-radius: 14px;
  }

  .rp-group-roster__heading {
    flex-direction: column;
    gap: 10px;
  }

  .rp-group-person {
    position: relative;
    display: block;
    padding: 12px;
  }

  .rp-group-person__number {
    position: absolute;
    top: 12px;
    left: 12px;
  }

  .rp-group-person__role {
    display: flex;
    min-height: 32px;
    align-items: center;
    padding-left: 43px;
  }

  .rp-group-person__field {
    width: 100%;
  }

  .rp-group-profile > summary {
    align-items: flex-start;
    min-height: 0;
    padding: 12px;
  }

  .rp-group-profile__summary-copy > i {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .rp-group-profile__summary-copy small {
    display: none;
  }

  .rp-group-profile__summary-meta {
    gap: 6px;
    padding-top: 3px;
  }

  .rp-group-profile__summary-meta small {
    padding: 4px 7px;
    font-size: .63rem;
  }

  .rp-group-profile__body {
    padding: 10px;
  }

  .rp-group-profile__field {
    padding: 10px;
  }

  .rp-checkout-custom-questions {
    margin: 14px 0;
    border-radius: 13px;
  }

  .rp-checkout-custom-questions__header {
    padding: 13px;
  }

  .rp-checkout-custom-questions__header small {
    font-size: .7rem;
  }

  .rp-checkout-custom-questions__grid {
    gap: 13px;
    padding: 14px;
  }

  .rp-checkout-custom-question {
    padding: 12px;
  }

  .rp-checkout-custom-questions__complete {
    margin: 14px;
  }
}

.rp-group-roster .rp-group-person input.rp-group-person__input {
  /* Keep the embedded site's input metrics from clipping descenders (g, j, y). */
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 44px;
  line-height: 1.5;
  margin: 0;
  padding: 8px 10px;
	border: 1px solid #c9dfe7;
	border-radius: 9px;
	background: #fff;
  box-shadow: none;
  color: #153c4e;
  font-size: 1rem;
  font-weight: 650;
}

.rp-group-person .rp-group-person__input:focus {
  border-color: #1584ad;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(21, 132, 173, 0.12);
}

.rp-group-person .rp-group-person__input.rp-field-error {
  color: #a32626;
}

.rp-group-roster__error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 4px solid #bd3535;
  border-radius: 8px;
  background: #fff0f0;
  color: #8f2020;
}

.rp-group-roster .rp-group-roster__status {
  margin-top: 13px;
  color: #4a7181;
  font-size: 0.84rem;
}

.rp-consent-panel {
  clear: both;
  margin: 20px 0 24px;
  overflow: hidden;
  border: 1px solid #c9e0e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 83, 111, 0.08);
  color: #173f52;
}

.rp-consent-panel *,
.rp-consent-panel *::before,
.rp-consent-panel *::after {
  box-sizing: border-box;
}

.rp-consent-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid #d9e9ef;
  background: linear-gradient(135deg, #f0f9fc 0%, #f9fcfd 100%);
}

.rp-consent-panel__header-icon {
  display: inline-grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #187ca2;
  box-shadow: 0 7px 16px rgba(24, 124, 162, 0.2);
}

.rp-consent-panel__header > span:last-child {
  min-width: 0;
}

.rp-consent-panel__header strong,
.rp-consent-panel__header small {
  display: block;
}

.rp-consent-panel__header strong {
  margin-bottom: 2px;
  color: #123f54;
  font-size: 1.05rem;
  line-height: 1.25;
}

.rp-consent-panel__header small {
  color: #607c88;
  font-size: 0.8rem;
  line-height: 1.4;
}

.rp-consent-panel__options {
  display: grid;
}

.rp-consent-panel .rp-consent-option {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  float: none;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  border-bottom: 1px solid #e3edf1;
  color: #173f52;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.rp-consent-panel .rp-consent-option:last-child {
  border-bottom: 0;
}

.rp-consent-panel .rp-consent-option:hover {
  background: #f7fbfc;
}

.rp-consent-panel .rp-consent-option--optional {
  background: #fbfcfd;
}

.rp-consent-panel .rp-consent-option__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.rp-consent-option__control {
  position: relative;
  display: inline-grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #93b6c4;
  border-radius: 8px;
  color: #fff;
  background: #fff;
  box-shadow: inset 0 0 0 2px #fff;
  margin-top: 1px;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.rp-consent-option__control::after {
  content: "\2713";
  opacity: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transform: scale(0.65);
  transition: opacity 140ms ease, transform 140ms ease;
}

.rp-consent-option__input:checked + .rp-consent-option__control {
  border-color: #187ca2;
  background: #187ca2;
}

.rp-consent-option__input:checked + .rp-consent-option__control::after {
  opacity: 1;
  transform: scale(1);
}

.rp-consent-option__input:focus-visible + .rp-consent-option__control {
  border-color: #126f91;
  box-shadow: 0 0 0 4px rgba(24, 124, 162, 0.18);
}

.rp-consent-option:active .rp-consent-option__control {
  transform: scale(0.94);
}

.rp-consent-option__copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.rp-consent-option__copy strong,
.rp-consent-option__copy small {
  display: block;
}

.rp-consent-option__copy strong {
  margin-bottom: 3px;
  color: #173f52;
  font-size: 0.94rem;
  line-height: 1.3;
}

.rp-consent-option__copy small {
  color: #55717d;
  font-size: 0.82rem;
  line-height: 1.45;
}

.rp-consent-option__badge {
  flex: 0 0 auto;
  align-self: center;
  padding: 5px 9px;
  border: 1px solid #b5dce9;
  border-radius: 999px;
  color: #155c76;
  background: #e8f6fb;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rp-consent-option__badge--optional {
  border-color: #d5e1e6;
  color: #617782;
  background: #f4f7f8;
}

.rp-billing-responsible {
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr) minmax(240px, .9fr);
  align-items: center;
  gap: 13px;
  margin: 5px 0 18px;
  padding: 14px 16px;
  border: 1px solid #c8e1ea;
  border-radius: 13px;
  background: linear-gradient(135deg, #f1fafe 0%, #ffffff 78%);
  color: #173f52;
}

.rp-billing-responsible__icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #187ca2;
  color: #fff;
  font-size: 1rem;
}

.rp-billing-responsible__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rp-billing-responsible__copy strong {
  color: #174c63;
  font-size: .92rem;
}

.rp-billing-responsible__copy small {
  color: #5b7783;
  font-size: .76rem;
  line-height: 1.4;
}

.rp-billing-responsible .rp-billing-responsible__select {
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 8px 34px 8px 11px;
  border: 1px solid #bdd9e4;
  border-radius: 9px;
  background-color: #fff;
  color: #173f52;
  font-size: .88rem;
  font-weight: 650;
}

.rp-billing-responsible .rp-billing-responsible__select:focus {
  border-color: #1584ad;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(21, 132, 173, .12);
}

.rp-billing-section {
  clear: both;
  margin: 10px 0 24px;
  overflow: hidden;
  border: 1px solid #d7e7ed;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fcfd 0%, #fff 58%);
  box-shadow: 0 10px 24px rgba(24, 74, 96, .05);
}

.rp-billing-section__header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(226, 246, 251, .78), rgba(248, 252, 253, .35));
}

.rp-billing-section__icon {
  display: inline-flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #1684aa;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 7px 18px rgba(22, 132, 170, .18);
}

.rp-billing-section__heading {
  min-width: 0;
  flex: 1 1 auto;
}

.rp-billing-section__heading h3 {
  margin: 0;
  color: #173f52;
  font-size: 22px;
  line-height: 1.25;
}

.rp-billing-section__heading p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #56727f;
  font-size: 15px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-billing-section__heading .rp-billing-section__status {
  color: #28704d;
  font-weight: 700;
  white-space: normal;
}

.rp-billing-section__heading .rp-billing-section__status.is-missing {
  color: #9a5a08;
}

.rp-billing-section__toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 8px 12px;
  border: 1px solid #afd4e2;
  border-radius: 10px;
  background: #fff;
  color: #0d7095;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.rp-billing-section__toggle[hidden] {
  display: none !important;
}

.rp-billing-section__toggle:hover,
.rp-billing-section__toggle:focus {
  border-color: #1684aa;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(22, 132, 170, .12);
}

.rp-billing-section__toggle i {
  transition: transform .18s ease;
}

.rp-billing-section.is-collapsed .rp-billing-section__toggle i {
  transform: rotate(180deg);
}

.rp-billing-form {
  display: grid;
  clear: both;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 20px;
  margin: 0;
  padding: 20px;
  border-top: 1px solid #d7e7ed;
  background: rgba(255, 255, 255, .72);
}

.rp-billing-form[hidden] {
  display: none;
}

.rp-billing-form .rp-billing-responsible,
.rp-billing-form .rp-billing-field--address {
  grid-column: 1 / -1;
}

.rp-billing-form .rp-billing-responsible {
  margin: 0 0 3px;
}

.reservpro-panier .rp-billing-form .rp-billing-field {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.reservpro-panier .rp-billing-form .rp-billing-field .confcol1,
.reservpro-panier .rp-billing-form .rp-billing-field .confcol2 {
  display: block;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  float: none;
}

.reservpro-panier .rp-billing-form .rp-billing-field .confcol1 {
  margin-bottom: 7px;
  color: #205d76;
  font-size: 15px;
  font-weight: 750;
}

.reservpro-panier .rp-billing-form .rp-billing-field .confcol1 label {
  display: block;
  font-size: inherit;
  line-height: 1.4;
  cursor: pointer;
}

/* Embedded themes may force white labels for a dark page. These fields
   belong to our light billing panel and must keep their own contrast. */
.reservpro-panier .rp-billing-section .rp-billing-field .confcol1,
.reservpro-panier .rp-billing-section .rp-billing-field .confcol1 label {
  color: #205d76 !important;
}

.reservpro-panier .rp-billing-section .rp-billing-field .inp_reserv {
  color: #153c4e !important;
}

.reservpro-panier .rp-billing-form .rp-billing-field .confcol2 {
  position: relative;
}

.reservpro-panier .rp-billing-form .rp-billing-field .inp_reserv {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #c6dce5;
  border-radius: 10px;
  background: #fff;
  color: #153c4e;
  font-size: 16px;
  box-shadow: 0 1px 2px rgba(24, 74, 96, .03);
}

.reservpro-panier .rp-billing-form .rp-billing-field .inp_reserv:focus {
  border-color: #1584ad;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(21, 132, 173, .13);
}

.reservpro-panier .rp-billing-form .rp-billing-field--address .inp_reserv {
  padding-left: 42px;
  background-image: linear-gradient(90deg, rgba(21, 132, 173, .08) 0, rgba(21, 132, 173, .08) 40px, transparent 40px);
}

.reservpro-panier .rp-billing-form .rp-billing-field--address .confcol2::before {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 15px;
  color: #157da5;
  content: "\f3c5";
  font-family: "Font Awesome 7 Pro";
  font-weight: 900;
  pointer-events: none;
}

.rp-billing-form .confrpro_msg,
.rp-address-autocomplete-help {
  display: block;
  margin: 7px 2px 0;
  color: #607a86;
  font-size: 14px;
  line-height: 1.4;
}

.rp-billing-field.is-autocomplete-loading .rp-address-autocomplete-help {
  color: #176f91;
}

.rp-billing-field.is-autocomplete-ready .rp-address-autocomplete-help {
  color: #247147;
  font-weight: 650;
}

.rp-address-autocomplete {
  position: relative;
  z-index: 40;
}

.rp-address-autocomplete__list {
  position: absolute;
  z-index: 1000;
  top: 5px;
  right: 0;
  left: 0;
  overflow: hidden auto;
  max-height: 280px;
  border: 1px solid #bbd6e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 15px 35px rgba(18, 60, 78, .2);
}

.rp-address-autocomplete__list[hidden] {
  display: none;
}

.rp-address-autocomplete__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #e6eef1;
  border-radius: 0;
  background: #fff;
  color: #244d60;
  font: inherit;
  font-size: .88rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.rp-address-autocomplete__option:last-child {
  border-bottom: 0;
}

.rp-address-autocomplete__option i {
  margin-top: 3px;
  color: #1680a8;
}

.rp-address-autocomplete__option:hover,
.rp-address-autocomplete__option:focus,
.rp-address-autocomplete__option.is-active {
  outline: 0;
  background: #eaf7fb;
  color: #123f52;
}

.rp-billing-form .errorreserv:not(:empty) {
  display: block;
  margin-top: 5px;
}

.rp-activity-assignment {
  clear: both;
  margin: 14px 0 10px;
  padding: 13px 14px;
  border: 1px solid #d6e6ec;
  border-radius: 12px;
  background: #f8fbfc;
}

.rp-activity-assignment__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rp-activity-assignment__summary strong {
  color: #24566b;
  font-size: 0.88rem;
}

.rp-activity-assignment__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.rp-assignment-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e3f3f8;
  color: #155c76;
  font-size: 0.78rem;
  font-weight: 700;
}

.rp-activity-assignment details {
  margin-top: 9px;
}

.rp-activity-assignment summary {
  width: max-content;
  color: #146c8c;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.rp-assignment-editor {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #dbe8ed;
}

.rp-assignment-editor__row {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(170px, 1.3fr);
  align-items: center;
  gap: 10px;
  color: #446674;
  font-size: 0.84rem;
  font-weight: 650;
}

.rp-assignment-editor__row .rp-assignment-select {
  width: 100%;
  min-height: 38px;
  margin: 0;
}

@media (max-width: 640px) {

  .rp-consent-panel {
    margin: 17px 0 21px;
    border-radius: 15px;
  }

  .rp-consent-panel__header {
    padding: 15px;
  }

  .rp-consent-panel .rp-consent-option {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px 12px;
    padding: 15px;
  }

  .rp-consent-option__badge {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }

  .rp-group-roster__heading,
  .rp-activity-assignment__summary {
    align-items: stretch;
    flex-direction: column;
  }

  .rp-group-roster__count {
    width: max-content;
    max-width: 100%;
    white-space: normal;
  }

  .rp-activity-assignment__chips {
    justify-content: flex-start;
  }

  .rp-assignment-editor__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .rp-billing-responsible {
    grid-template-columns: auto 1fr;
  }

  .rp-billing-responsible__select {
    grid-column: 1 / -1;
  }

  .rp-billing-form {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }

  .rp-billing-section__header {
    align-items: flex-start;
    gap: 11px;
    min-height: 0;
    padding: 13px 14px;
  }

  .rp-billing-section__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .rp-billing-section__heading h3 {
    font-size: 1rem;
  }

  .rp-billing-section__heading p {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .rp-billing-section__toggle {
    min-height: 36px;
    padding: 7px 9px;
  }

  .rp-billing-section__toggle span {
    display: none;
  }

  .rp-billing-form .rp-billing-responsible,
  .rp-billing-form .rp-billing-field--address {
    grid-column: auto;
  }
}
