/* Harvest 2026 registration page
 *
 * Swoogo owns registration markup and workflow.
 * style.css owns the shared Harvest shell, typography, navigation, footer,
 * base forms, and platform compatibility.
 * This file only refines the native Swoogo registration experience.
 */

.hv-page-registration {
  background: var(--hv-color-surface-warm);
}

.hv-page-registration .hv-registration-header {
  flex: 0 0 auto;
  padding: 0;
  border-bottom: 1px solid var(--hv-color-border);
  background: #fff;
}

.hv-page-registration .hv-registration-main {
  flex: 1 0 auto;
  min-height: 60vh;
  padding: 34px 0 68px;
  background:
    radial-gradient(
      circle at 14% 8%,
      rgba(242, 229, 201, 0.4),
      transparent 28%
    ),
    linear-gradient(180deg, #fbf8f2 0%, #ffffff 72%);
}

.hv-page-registration .hv-registration-main > .container {
  width: 100%;
  max-width: 980px;
}

/* --------------------------------------------------------------------------
   Native Swoogo registration progress
   -------------------------------------------------------------------------- */

.hv-page-registration .swoogo-reg-progress {
  margin: 0 0 30px;
  padding: 24px 28px 20px;
  border: 1px solid rgba(48, 33, 59, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(48, 33, 59, 0.05);
}

.hv-page-registration .swoogo-reg-progress .steps {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.hv-page-registration .swoogo-reg-progress .steps > li {
  position: relative;
  flex: 1 1 0;
  float: none;
  width: auto;
}

.hv-page-registration .swoogo-reg-progress .steps > li::before,
.hv-page-registration .swoogo-reg-progress .steps > li::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 17px;
  height: 2px;
  pointer-events: none;
}

.hv-page-registration .swoogo-reg-progress .steps > li::before {
  left: 0;
  width: 50%;
  background: rgba(39, 100, 125, 0.18);
}

.hv-page-registration .swoogo-reg-progress .steps > li::after {
  left: 50%;
  width: 50%;
  background: rgba(39, 100, 125, 0.18);
}

.hv-page-registration .swoogo-reg-progress .steps > li:first-child::before,
.hv-page-registration .swoogo-reg-progress .steps > li:last-child::after {
  display: none;
}

.hv-page-registration .swoogo-reg-progress .steps > li > a.step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 66px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(39, 100, 125, 0.82) !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.hv-page-registration .swoogo-reg-progress .number {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(39, 100, 125, 0.2) !important;
  border-radius: 50%;
  background: #f1f6f7 !important;
  color: var(--hv-color-teal) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 5px #fff;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.hv-page-registration .swoogo-reg-progress .desc {
  display: block;
  max-width: 118px;
  color: inherit;
}

.hv-page-registration .swoogo-reg-progress .steps > li:has(~ li.active)::before,
.hv-page-registration .swoogo-reg-progress .steps > li:has(~ li.active)::after,
.hv-page-registration .swoogo-reg-progress .steps > li.active::before {
  background: var(--hv-color-violet) !important;
}

.hv-page-registration
  .swoogo-reg-progress
  .steps
  > li:has(~ li.active)
  > a.step {
  color: var(--hv-color-purple) !important;
  font-weight: 600;
}

.hv-page-registration
  .swoogo-reg-progress
  .steps
  > li:has(~ li.active)
  .number {
  border-color: var(--hv-color-violet) !important;
  background: var(--hv-color-violet) !important;
  color: #fff !important;
}

.hv-page-registration .swoogo-reg-progress .steps > li.active > a.step {
  color: var(--hv-color-purple-dark) !important;
  font-weight: 700;
}

.hv-page-registration .swoogo-reg-progress .steps > li.active .number {
  border-color: var(--hv-color-purple) !important;
  background: var(--hv-color-purple) !important;
  color: #fff !important;
  box-shadow:
    0 0 0 5px #fff,
    0 7px 18px rgba(93, 51, 106, 0.2);
}

.hv-page-registration .swoogo-reg-progress .steps > li.active ~ li::before,
.hv-page-registration .swoogo-reg-progress .steps > li.active ~ li::after {
  background: rgba(39, 100, 125, 0.18) !important;
}

.hv-page-registration .swoogo-reg-progress .steps > li.active ~ li > a.step {
  color: rgba(39, 100, 125, 0.82) !important;
  font-weight: 500;
}

.hv-page-registration .swoogo-reg-progress .steps > li.active ~ li .number {
  border-color: rgba(39, 100, 125, 0.2) !important;
  background: #f1f6f7 !important;
  color: var(--hv-color-teal) !important;
  box-shadow: 0 0 0 5px #fff;
}

.hv-page-registration
  .swoogo-reg-progress
  .steps
  > li:not(.disabled)
  > a.step:hover
  .number,
.hv-page-registration
  .swoogo-reg-progress
  .steps
  > li:not(.disabled)
  > a.step:focus
  .number {
  border-color: var(--hv-color-purple) !important;
}

/* --------------------------------------------------------------------------
   Notices and utility links
   Bootstrap owns alert color, border, background, and spacing. Harvest only
   reduces registration notice typography to fit the surrounding interface.
   -------------------------------------------------------------------------- */

.hv-page-registration .alert-warning {
  font-size: 12.5px;
  line-height: 1.45;
}

.hv-page-registration .alert-warning p {
  margin-bottom: 3px;
  font-size: inherit;
  line-height: inherit;
}

.hv-page-registration .alert-warning p:last-child {
  margin-bottom: 0;
}

/* Registration link colors belong to registration content only. The shared
 * footer keeps its own link treatment from style.css. */
.hv-page-registration .hv-registration-main a {
  color: var(--hv-color-teal);
}

.hv-page-registration .hv-registration-main a:hover,
.hv-page-registration .hv-registration-main a:focus {
  color: var(--hv-color-purple);
}

.hv-page-registration .content > .swoogo-text:first-child .paragraph {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  font-size: 13px;
  line-height: 1.45;
}

/* Keep Swoogo registration instructions visually secondary to the form. */
.hv-page-registration .hv-registration-main .swoogo-text .paragraph,
.hv-page-registration .hv-registration-main .swoogo-text p {
  font-size: 14px;
  line-height: 1.5;
}


.hv-page-registration .content > .swoogo-text:first-child a {
  color: var(--hv-color-teal) !important;
  font-weight: 500;
  text-decoration: none;
}

.hv-page-registration .content > .swoogo-text:first-child a:hover,
.hv-page-registration .content > .swoogo-text:first-child a:focus {
  color: var(--hv-color-purple) !important;
  text-decoration: underline;
}

.hv-page-registration #other-form {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hv-page-registration #other-form .hv-registration-main {
  display: flex;
  flex: 1 0 auto;
  align-items: flex-start;
  min-height: 0;
  padding-top: 42px;
  padding-bottom: 54px;
}

.hv-page-registration #other-form .content > .swoogo-cols .col-sm-6 {
  padding: 34px 38px 30px;
  border: 1px solid rgba(48, 33, 59, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(48, 33, 59, 0.06);
}

.hv-page-registration #other-form .swoogo-title .title {
  margin-bottom: 12px !important;
  color: var(--hv-color-purple-dark) !important;
}

.hv-page-registration #other-form .swoogo-title + .swoogo-text .paragraph {
  margin-bottom: 24px !important;
  color: #625866;
  font-size: 14px;
  line-height: 1.55;
}

.hv-page-registration #other-form .swoogo-title + .swoogo-text p {
  margin-bottom: 0;
}

.hv-page-registration
  #other-form
  .swoogo-button-group
  + .swoogo-text
  .paragraph {
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  font-size: 13px;
  line-height: 1.45;
}

.hv-page-registration #other-form .swoogo-button-group + .swoogo-text a {
  color: var(--hv-color-teal) !important;
  font-weight: 500;
  text-decoration: none;
}

.hv-page-registration #other-form .swoogo-button-group + .swoogo-text a:hover,
.hv-page-registration #other-form .swoogo-button-group + .swoogo-text a:focus {
  color: var(--hv-color-purple) !important;
  text-decoration: underline;
}

.hv-page-registration .form-group {
  margin-bottom: 20px;
}

/* Keep multi-field address rows compact without changing Swoogo's grid. */
.hv-page-registration .row .form-group {
  margin-bottom: 16px;
}

.hv-page-registration .form-group + .form-group {
  margin-top: 0;
}


.hv-page-registration label,
.hv-page-registration .form-label {
  display: inline-block;
  margin-bottom: 7px;
  color: #49394f !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.4 !important;
}

.hv-page-registration .field-registrant-reg_type_id,
.hv-page-registration .field-registrant-package_id {
  margin-bottom: 18px;
}
.hv-page-registration .field-registrant-package_id {
  margin-bottom: 0;
}

.hv-page-registration .field-registrant-reg_type_id .form-control-static,
.hv-page-registration .field-registrant-package_id .form-control-static {
  margin: 3px 0 0;
  padding: 0;
  color: var(--hv-color-purple-dark);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.hv-page-registration .form-control {
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(48, 33, 59, 0.19);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: var(--hv-color-ink);
  font-size: 14px;
  line-height: 1.4;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.hv-page-registration .form-control:hover {
  border-color: rgba(93, 51, 106, 0.34);
}
.hv-page-registration .form-control:focus {
  border-color: var(--hv-color-teal);
  outline: none;
  box-shadow: 0 0 0 4px rgba(39, 100, 125, 0.11);
}

.hv-page-registration textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.hv-page-registration input[type="password"].form-control {
  font-size: 13px;
  letter-spacing: 0.04em;
}


.hv-page-registration .hint-block,
.hv-page-registration .field-description,
.hv-page-registration .description {
  margin-top: 5px;
  color: #657887 !important;
  font-size: 12px !important;
  line-height: 1.5;
}

.hv-page-registration .help-block-error:not(:empty) {
  margin-top: 7px;
  color: #a94442 !important;
  font-size: 12.5px !important;
  line-height: 1.45;
}

.hv-page-registration .asterisk,
.hv-page-registration .required .asterisk,
.hv-page-registration label.required::after {
  color: #d85c49;
}

.hv-page-registration hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid rgba(48, 33, 59, 0.1);
}

.hv-page-registration .input-group .form-control {
  border-radius: 10px 0 0 10px;
}
.hv-page-registration .input-group-addon {
  min-height: 52px;
  padding: 13px 16px;
  border-color: rgba(48, 33, 59, 0.19);
  border-radius: 0 10px 10px 0;
  background: rgba(242, 229, 201, 0.48);
  color: var(--hv-color-purple-dark);
}

.hv-page-registration .input-group-btn > .btn,
.hv-page-registration .input-group-btn .btn {
  min-height: 52px;
  padding: 13px 20px;
  border-color: rgba(48, 33, 59, 0.19);
  border-radius: 0 10px 10px 0;
  background: #fff;
  color: var(--hv-color-purple-dark);
  font-weight: 600;
}

.hv-page-registration .input-group-btn > .btn:hover,
.hv-page-registration .input-group-btn > .btn:focus {
  border-color: var(--hv-color-teal);
  background: rgba(39, 100, 125, 0.06);
  color: var(--hv-color-teal);
}

.hv-page-registration
  .swoogo-text
  + .swoogo-question
  .field-registrant-discount_code {
  margin-top: 4px;
}

.hv-page-registration .swoogo-line-container + .swoogo-text .paragraph,
.hv-page-registration .swoogo-line-container + .swoogo-text p {
  color: #625866;
  font-size: 13.5px;
  line-height: 1.5;
}

.hv-page-registration .swoogo-reg-summary,
.hv-page-registration .responsive-table,
.hv-page-registration .panel,
.hv-page-registration .well {
  border-color: rgba(48, 33, 59, 0.11);
  border-radius: 12px;
  box-shadow: none;
}

.hv-page-registration .panel-heading {
  border-color: rgba(48, 33, 59, 0.09);
  background: rgba(242, 229, 201, 0.3);
  color: var(--hv-color-purple-dark);
  font-weight: 700;
}

.hv-page-registration .table > thead > tr > th {
  border-bottom-color: rgba(48, 33, 59, 0.12);
  color: var(--hv-color-purple-dark);
  font-size: 13px;
  font-weight: 700;
}

.hv-page-registration .table > tbody > tr > td {
  border-top-color: rgba(48, 33, 59, 0.08);
}
.hv-page-registration
  .swoogo-reg-summary
  .responsive-table
  .buttons
  .btn-group.btn-group-sm {
  min-width: 100px;
}

.hv-page-registration .btn-standard,
.hv-page-registration button[type="submit"],
.hv-page-registration input[type="submit"] {
  min-height: 50px;
  padding: 13px 32px;
  border: 1px solid var(--hv-color-purple) !important;
  border-radius: 999px;
  background: var(--hv-color-purple) !important;
  box-shadow: 0 8px 20px rgba(93, 51, 106, 0.16);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.hv-page-registration .swoogo-button-group .btn .fa:first-child,
.hv-page-registration .swoogo-button-group .btn .fas:first-child,
.hv-page-registration .swoogo-button-group .btn .far:first-child,
.hv-page-registration .swoogo-button-group .btn .glyphicon:first-child {
  margin-right: 7px;
}

.hv-page-registration .swoogo-button-group .btn .fa:last-child,
.hv-page-registration .swoogo-button-group .btn .fas:last-child,
.hv-page-registration .swoogo-button-group .btn .far:last-child,
.hv-page-registration .swoogo-button-group .btn .glyphicon:last-child {
  margin-left: 7px;
}

.hv-page-registration .btn-standard:hover,
.hv-page-registration .btn-standard:focus,
.hv-page-registration button[type="submit"]:hover,
.hv-page-registration button[type="submit"]:focus,
.hv-page-registration input[type="submit"]:hover,
.hv-page-registration input[type="submit"]:focus {
  border-color: var(--hv-color-purple-dark) !important;
  background: var(--hv-color-purple-dark) !important;
  box-shadow: 0 10px 26px rgba(48, 33, 59, 0.2);
  color: #fff !important;
  outline: none;
  transform: translateY(-1px);
}

.hv-page-registration .btn-default {
  border-color: rgba(48, 33, 59, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--hv-color-purple-dark);
  font-weight: 600;
}

@media (max-width: 767px) {
  .hv-page-registration .hv-registration-main {
    padding-top: 22px;
    padding-bottom: 48px;
  }

  .hv-page-registration .hv-registration-main > .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hv-page-registration .swoogo-reg-progress {
    margin-bottom: 24px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .hv-page-registration .swoogo-reg-progress .steps {
    display: block;
  }
  .hv-page-registration .swoogo-reg-progress .steps > li::before,
  .hv-page-registration .swoogo-reg-progress .steps > li::after {
    display: none;
  }

  .hv-page-registration .swoogo-reg-progress .steps > li.active > a.step {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    min-height: 0;
    padding: 8px 10px;
  }

  .hv-page-registration .swoogo-reg-progress .desc {
    max-width: none;
  }
  .hv-page-registration .swoogo-reg-progress .number {
    width: 30px;
    height: 30px;
    box-shadow: none;
  }

  .hv-page-registration #other-form .hv-registration-main {
    padding-top: 26px;
    padding-bottom: 34px;
  }

  .hv-page-registration #other-form .content > .swoogo-cols .col-sm-6 {
    padding: 26px 22px 24px;
    border-radius: 16px;
  }

  .hv-page-registration .field-registrant-reg_type_id .form-control-static,
  .hv-page-registration .field-registrant-package_id .form-control-static {
    font-size: 16px;
  }

  .hv-page-registration .form-group {
    margin-bottom: 22px;
  }
  .hv-page-registration .form-control {
    font-size: 16px;
  }

  .hv-page-registration .btn-standard,
  .hv-page-registration button[type="submit"],
  .hv-page-registration input[type="submit"] {
    width: 100%;
  }
}
