.cp-modal .modal-dialog {
  max-width: 400px;
  margin: 16px auto;
  padding: 0 16px;
}
.cp-modal.modal.fade .modal-dialog {
  -webkit-transform: translateY(16px);
          transform: translateY(16px);
  -webkit-transition: -webkit-transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cp-modal.modal.show .modal-dialog {
  -webkit-transform: none;
          transform: none;
}
.cp-modal__content {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  -webkit-box-shadow: 0 8px 16px rgba(109, 59, 143, 0.1), 0 24px 48px rgba(109, 59, 143, 0.16);
          box-shadow: 0 8px 16px rgba(109, 59, 143, 0.1), 0 24px 48px rgba(109, 59, 143, 0.16);
  color: #1b1c1c;
}
.cp-modal__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: #6d3b8f;
}
.cp-modal__title {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.cp-modal__close {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.cp-modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
}
.cp-modal__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  padding: 20px;
  margin: 0;
}
.cp-modal__body[hidden] {
  display: none;
}
.cp-modal__intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #1b1c1c;
}

.cp-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6px;
}
.cp-field__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
}
.cp-field__label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1b1c1c;
}

.cp-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: #1b1c1c;
  background: #fff;
  border: 1px solid #cfc3d1;
  border-radius: 8px;
  -webkit-transition: border-color 150ms cubic-bezier(0.2, 0.8, 0.2, 1), -webkit-box-shadow 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: border-color 150ms cubic-bezier(0.2, 0.8, 0.2, 1), -webkit-box-shadow 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: border-color 150ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: border-color 150ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 150ms cubic-bezier(0.2, 0.8, 0.2, 1), -webkit-box-shadow 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cp-input:focus {
  outline: none;
  border-color: #6d3b8f;
  -webkit-box-shadow: 0 0 0 3px rgba(109, 59, 143, 0.15);
          box-shadow: 0 0 0 3px rgba(109, 59, 143, 0.15);
}
.cp-input.is-invalid {
  border-color: #ba1a1a;
}

.cp-segmented {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 9999px;
  background: #eae7e7;
}
.cp-segmented__option {
  padding: 7px 16px;
  border: none;
  border-radius: 9999px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #4c444f;
  cursor: pointer;
}
.cp-segmented__option:hover {
  color: #6d3b8f;
}
.cp-segmented__option.is-active {
  background: #6d3b8f;
  color: #fff;
  font-weight: 700;
}

.cp-error {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #ba1a1a;
}
.cp-error[hidden] {
  display: none;
}
.cp-error::before {
  content: "";
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  width: 16px;
  height: 16px;
  background-color: currentcolor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center/contain no-repeat;
}

.cp-consent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  margin-top: -4px;
}

.cp-check {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}
.cp-check__input {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #6d3b8f;
  cursor: pointer;
}
.cp-check__text {
  font-size: 13px;
  line-height: 1.5;
  color: #1b1c1c;
}
.cp-check__text a {
  color: #2563d9;
  text-decoration: underline;
}

.cp-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  border: none;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.cp-btn--primary {
  min-height: 48px;
  border-radius: 8px;
  background: #6d3b8f;
  color: #fff;
  font-size: 16px;
  -webkit-transition: background 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: background 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cp-btn--primary:hover, .cp-btn--primary:focus {
  background: #542276;
  color: #fff;
  text-decoration: none;
}
.cp-btn--primary:active {
  -webkit-transform: translateY(1px);
          transform: translateY(1px);
}
.cp-btn--primary.is-disabled {
  background: #cfc3d1;
  color: #4c444f;
}
.cp-btn--primary:disabled {
  opacity: 0.7;
  cursor: progress;
}
.cp-btn--link {
  min-height: 44px;
  margin-top: -8px;
  background: transparent;
  color: #2563d9;
  font-size: 15px;
  font-weight: 600;
}

.cp-done__lead {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}
.cp-done__icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #78f8de;
  color: #007262;
}
.cp-done__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #1b1c1c;
}

.cp-summary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: #f6f3f2;
}
.cp-summary__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.cp-summary__row[hidden] {
  display: none;
}
.cp-summary__row dt {
  font-weight: 400;
  color: #4c444f;
}
.cp-summary__row dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
