:root {
  --bs-primary: #f49600;
  --bs-primary-rgb: 244, 150, 0;
  --bs-link-color: #b20e12;
  --bs-link-hover-color: #930b0f;
  --brand-primary-hover: #bb0f13;
  --brand-primary-active: #a30d10;
  --bs-border-radius: 1.5rem;
  --bs-border-radius-sm: 0.8rem;

}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
}

.dropdown-menu {
  overflow: hidden;
}

.form-label {
  font-weight: 700;
}

body {
  font-family: "Nunito", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.section-title {
  font-family: "Questrial", sans-serif;
}

.main-title:after {
  content: '';
  display: block;
  width: 200px;
  height: 2px;
  background-color: #999;
  margin: 20px auto;
}

.registration-body {
  background: linear-gradient(135deg,
      #ffe3d6 0%,
      #ffd9b8 28%,
      #ffeaa7 55%,
      #d7f4e4 78%,
      #dbeafe 100%);
  min-height: 100vh;
}

.registration-body::before {
  content: none;
}

.registration-shell {
  width: 70%;
  height: 95vh;
  margin-top: 10vh;
  display: flex;
  flex-direction: column;
}

.registration-shell .card,
.registration-shell .card-body {
  max-height: 100%;
}

.registration-shell .card-body {
  overflow-y: auto;
  overflow-x: hidden;
}

.registration-shell>.card {
  flex: 1 1 auto;
  min-height: 0;
}

.registration-shell>.card>.card-body {
  position: relative;
  height: 100%;
  min-height: 0;
}

.registration-shell .card-body>.row {
  height: 100%;
  align-items: stretch;
}

.registration-visual {
  height: 100%;
  position: relative;
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

.stepper-sidebar {
  background-image: url("img/background.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.stepper-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.stepper-sidebar>* {
  position: relative;
  z-index: 2;
}

.stepper-logo {
  display: block;
  height: 60px;
  width: auto;
  margin-inline: auto;
}

.registration-visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.registration-visual-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(96%, 800px);
  height: auto;
  z-index: 2;
}

.registration-form-column {
  background: #f9f9f9;
  height: 100%;
  display: flex;
  min-height: 0;
  overflow: hidden;
  border-top-right-radius: var(--bs-border-radius);
  border-bottom-right-radius: var(--bs-border-radius);
}

.registration-form-wrap {
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.subscriptions-closed-dialog {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .9);
  border-radius: 30px
}

.subscriptions-closed-dialog__panel {
  width: min(100%, 460px);
  border: 1px solid #d6d6d6;
  border-radius: .5rem;
  background: #fff;
  color: #222;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .14);
  padding: 1.5rem;
  text-align: center;
}

.form-stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .6rem;
}

.form-stepper.stepper-vertical {
  grid-template-columns: 1fr;
}

.stepper-link {
  border: 0;
  border-radius: 30px;
  color: #000;
  background: transparent;
  font-weight: 700;
  padding: .6rem .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: start;
  gap: .4rem;
  transition: all .2s ease;
}

.stepper-link .steppers-number {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1px solid #ccbdb6;
  background: #fff;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  line-height: 1;
  flex: 0 0 auto;
}

.stepper-link .steppers-number+span {
  text-align: left;
}

.stepper-link .steppers-number+span>small {
  font-size: 0.6rem;
  text-transform: uppercase;
  display: block;
  color: #777;
}

.stepper-link.active {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.stepper-link.active .steppers-number {
  border-color: #fff;
  background: #fff;
  color: var(--bs-primary);
}

.stepper-link.active .steppers-number+span>small {
  color: #fff;
}

.stepper-link.completed .steppers-number {
  border-color: #198754;
  background: #198754;
  color: #fff;
}

.stepper-link.active.completed .steppers-number {
  border-color: #198754;
  background: #198754;
  color: #fff;
}

.stepper-link:not(.active):hover {
  border-color: #ccbdb6;
  color: #5f4740;
}

.stepper-link.disabled,
.stepper-link:disabled,
.subscriptions-closed .stepper-link {
  color: #3f3f3f;
  background: transparent;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none;
}

.stepper-link.disabled .steppers-number,
.stepper-link:disabled .steppers-number,
.subscriptions-closed .stepper-link .steppers-number {
  border-color: #5a5a5a;
  background: #e3e3e3;
  color: #3f3f3f;
}

.stepper-link.disabled .steppers-number+span>small,
.stepper-link:disabled .steppers-number+span>small,
.subscriptions-closed .stepper-link .steppers-number+span>small {
  color: #4f4f4f;
}

#registrationForm {
  border-radius: 0;
  background: transparent;
}

#registrationForm .card-footer {
  border-radius: 0;
}

#registrationForm .btn {
  line-height: 1.2rem;
  padding: 0.75rem 1.5rem;
}

#registrationForm .btn-primary,
#registrationForm #submitBtn{
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

#registrationForm .btn-primary:hover,
#registrationForm #submitBtn:hover {
  background-color: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  color: #fff;
}

#registrationForm .btn-primary:active,
#registrationForm .btn-primary.active,
#registrationForm #submitBtn:active,
#registrationForm #submitBtn.active,
#addPersonBtn:active,
#addPersonBtn.active {
  background-color: var(--brand-primary-active);
  border-color: var(--brand-primary-active);
  color: #fff;
}

#registrationForm .btn-primary:disabled,
#registrationForm #submitBtn:disabled,
#addPersonBtn:disabled {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
  opacity: .65;
}

#addPersonBtn {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #fff;
  line-height: 1.2rem;
}
#addPersonBtn:hover {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #fff;
}

#participantsContainer .card-body {
  overflow: visible;
}

.section-title {
  letter-spacing: .02em;
  font-weight: 700;
}

.required-asterisk {
  color: var(--bs-primary);
  font-weight: 700;
}

.muted-note {
  font-size: .92rem;
  color: #6c757d;
}

[data-step-panel="4"] .border.rounded {
  background: #fff;
}

#participantsTableBody tr:last-child td,
#participantsTableBody tr:last-child th {
  border-bottom: 0;
}

#registrationForm.step-swipe-forward {
  animation: step-swipe-forward .24s ease;
}

#registrationForm.step-swipe-backward {
  animation: step-swipe-backward .24s ease;
}

@keyframes step-swipe-forward {
  from {
    opacity: .5;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes step-swipe-backward {
  from {
    opacity: .5;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  #registrationForm.step-swipe-forward,
  #registrationForm.step-swipe-backward {
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .registration-shell {
    width: 90%;
    height: auto;
    margin-top: 5vh;
    margin-bottom: 5vh;
  }

  .stepper-logo{
    height: 80px;
  }

  .form-stepper.stepper-vertical {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .45rem;
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .form-stepper.stepper-vertical .stepper-link {
    flex: 1 1 0;
    justify-content: center;
    padding: .35rem .25rem;
  }

  .form-stepper.stepper-vertical .stepper-link>.stepper-label {
    text-wrap-mode: nowrap;
  }
  .form-stepper.stepper-vertical .stepper-link>.stepper-label>span {
    display: none;
  }
  .form-stepper.stepper-vertical .stepper-link:not(.active)>.stepper-label small {
    color: #000;
  }

  .registration-visual {
    min-height: 20vh;
    border-top-right-radius: 1.5rem;
    border-bottom-left-radius: 0;
  }
  .registration-visual-image {
    min-height: 32vh;
  }

  .registration-form-column {
    border-top-right-radius: 0;
    border-bottom-left-radius: 1.5rem;
  }

  .registration-form-wrap {
    min-height: auto;
  }
}

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

.alert-success {
  --bs-alert-bg: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='hsl(160, 100%, 25%)' d='M17.1 7.9l.7.7-7.8 7.6-4.7-4.6.7-.7 4 3.9zM22 12A10 10 0 1 1 12 2a10 10 0 0 1 10 10zm-1 0a9 9 0 1 0-9 9 9 9 0 0 0 9-9z'%3E%3C/path%3E%3C/svg%3E");
  background-position: 20px 12px;
  background-repeat: no-repeat;
  background-size: 32px 32px;
  padding-left: 4em;
  border: 2px solid hsl(160, 100%, 25%);
}

.alert-info {
  --bs-alert-bg: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='hsl(210, 17%, 44%)' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 19a9 9 0 1 1 9-9 9 9 0 0 1-9 9zm-.7-15h1.5v2h-1.5zm0 3h1.5v9h-1.5z'%3E%3C/path%3E%3C/svg%3E");
  background-position: 20px 12px;
  background-repeat: no-repeat;
  background-size: 32px 32px;
  padding-left: 4em;
}

.it-card-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem .5rem;
}

.it-card-profile-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.it-card-profile-name a {
  color: inherit;
  text-decoration: none;
}

.it-card-profile-role {
  margin: .25rem 0 0;
  color: #6c757d;
  font-size: .9rem;
}

.summary-delete-btn {
  text-decoration: none;
  line-height: 1;
}

.summary-delete-btn:hover,
.summary-delete-btn:focus {
  text-decoration: none;
}

.summary-delete-btn .material-symbols-rounded {
  font-size: 22px;
  line-height: 1;
  display: block;
}

.avatar.size-xl {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #f0f2f5;
  color: #495057;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.avatar.size-xl p {
  margin: 0;
}

.it-card-body {
  padding: .75rem 1rem 1rem;
}

.it-card-description-list {
  margin: 0;
  display: grid;
  gap: .55rem;
}

.it-card-description-list>div {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  flex-wrap: wrap;
}

.it-card-description-list dt {
  margin: 0;
  font-weight: 700;
}

.it-card-description-list dd {
  margin: 0;
  color: #495057;
}
