﻿.autocomplete__status,
.accessible-autocomplete__status {
  display: none !important;
  visibility: hidden !important;
}

.autocomplete__menu::-webkit-scrollbar {
  width: 8px !important;
}

.autocomplete__menu::-webkit-scrollbar-thumb {
  background: #007681 !important;
  border-radius: 5px !important;
}

@-moz-document url-prefix() {
  .autocomplete__menu {
    scrollbar-width: auto !important;
    scrollbar-color: #007681 #f0f0f0 !important;
  }
} 

.form-group:has(#language-autocomplete) label,
.form-group:has(#country-autocomplete) label,
.form-group:has(#branch-autocomplete) label {
  position: static !important;
  top: -1px !important; 
  left: auto !important;
  color: #000 !important;
  background: transparent !important;
  margin-bottom: 8px !important;
  display: block !important;
  font-weight: normal !important;
}

.autocomplete__menu--hidden {
  display: none !important;
  visibility: hidden !important;
}

.autocomplete__menu[style*="display: none"] {
  display: none !important;
}

.autocomplete__menu {
  z-index: 1000;
}

.camh-header {
  background: #ffffff;
  padding: 20px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.swal2-cancel {
  padding: 10px 30px !important;
  background: transparent !important;
  border: 2px solid #007681 !important;
  color: #007681 !important;
  font-weight: bold !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  font-family: 'Open Sans', sans-serif !important;
  border-radius: 0 !important;
  min-width: auto !important;
  height: auto !important;
  margin: 10px !important;
  text-transform: uppercase !important;
}

.camh-logo-overlay-page3::before {
  max-width: 49vw;
}

.form-group label[for="email"] {
  max-width: 1000px !important;
}

.swal2-container .swal2-popup,
.swal2-container .swal2-popup * {
  font-family: 'Open Sans', sans-serif !important;
  color: #000;
  text-align: left;
}

.input-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 10px;
  row-gap: 8px;
}

.input-checkbox .form-check-label {
  order: -1;
  flex-basis: 100%;
  margin: 0;
}

.input-checkbox .form-check-input {
  order: 0;
  margin: 2px 0 0 0;
}

.input-checkbox .agree {
  order: 1;
  align-self: center;
  line-height: 1.4;
}

#error-summary-page2 {
  margin: 0px auto 0px auto;
}

#error-summary-page2[style*="display: flex"],
#error-summary-page2[style*="display: block"] {
  margin-bottom: 80px;
}

.label-multiline {
  margin-top: -15px !important;
}

.input-checkbox #agree-label {
  width: auto !important;
  flex: 0 0 auto;
  align-self: center;
  margin-top: 5px;
}

.help-button {
  position: fixed;
  bottom: -10px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #D1423C; 
  color: white !important;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 0px !important;
}

.help-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}
.help-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
  border-radius: 5px;
}
  
#close-help-modal,
#close-help-modal-page2 {
  font-weight: bold;
  margin: 20px 0px;
  display: flex;
  align-items: center;
  display: block;    
  margin-left: auto;  
  margin-right: auto;
}

@media (max-width: 768px) {
  .camh-header {
    padding: 15px 0;
  }

  #captcha-group {
    margin-bottom: 0px !important;
  }

  .header-content {
    padding: 0 15px;
  }

  .camh-logo {
    height: 50px;
    margin-bottom: 8px;
  }

  .camh-tagline {
    font-size: 16px;
  }

  #close-help-modal, #close-help-modal-page2 {
    scale: 90%;
  }

  .image-section .camh-logo {
    position: relative;
    bottom: auto;
    left: auto;
    height: 60px;
    margin: 15px;
    display: block;
    z-index: 4;
  }

.image-section::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .camh-logo {
    height: 45px;
  }

  .camh-tagline {
    font-size: 16px;
  }

  .image-section .camh-logo {
    height: 50px;
    margin: 10px;
  }
}

@media (max-width: 767px) {
  .registration-container {
    flex-direction: column;
    min-height: auto;
  }

  #captcha-group {
    margin-bottom: 0px !important;
  }

  .image-section {
    width: 100%;
    min-height: 180px;
    background-attachment: scroll;
    background-position: center top;
  }

  .image-section .camh-logo {
    position: relative;
    bottom: auto;
    left: auto;
    height: 45px;
    margin: 10px 15px;
    display: block;
  }

  .form-section {
    width: 100%;
    min-height: auto;
    padding: 20px;
  }
}

.camh-logo-overlay-page3::before {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 30vw;
  min-width: 300px;
  height: 130px;
  background: rgba(255, 255, 255, 0.8);
  z-index: 998;
}

.camh-logo-overlay-page3 {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1000;
  height: 60px;
  width: auto;
}

.camh-logo-overlay-page3 img {
  height: 60px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1000;
}

.camh-tagline-overlay-page3 {
  position: fixed;
  top: 50%;
  left: 0;
  right: 50%;
  background: rgba(110, 41, 141, 0.9);
  color: white;
  padding: 20px;
  text-align: left;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  z-index: 999;
  width: 430px;
}

@media (max-width: 768px) {
  .password-requirements-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 1600px) {
  .password-requirements-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px;
  }
}

@media (min-width: 901px) and (max-width: 1599px) {
  .password-requirements-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .password-requirements-grid {
    grid-template-columns: 1fr;
  }

  .camh-logo-overlay-page3 {
    display: none !important;
  }

  .camh-logo-overlay-page3 img {
    display: none !important;
  }

  .camh-logo-overlay-page3::before {
    display: none !important;
  }

  .camh-tagline-overlay-page3 {
    display: none !important;
  }
}

.row:has(#country-autocomplete) {
  align-content: flex-start;
  align-items: flex-start;
  position: relative;
  min-height: 65px;

>.col:has(.field-error-container)+.col:not(.field-error-container) {
    .form-group {
      padding-bottom: 0px;
    }
  }

  >.col:not(.field-error-container):has(+ .col .field-error-container) {
    .form-group {
      padding-bottom: 0px;
    }
  }

  .field-error-container .field-error {
    min-height: 18px !important;
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
  }
}

#postalCodeRow,
.col:has(#country-autocomplete) {
  display: flex !important;
  align-content: flex-start;
  align-items: flex-start;
  position: relative;
  min-height: 65px;
}

#postalCodeRow .field-error,
.col:has(#country-autocomplete) .field-error,
#country-error,
#postal-error,
#branch-error {
  position: absolute !important;
  bottom: -22px !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
} 

#postalCodeRow .field-error:empty,
.col:has(#country-autocomplete) .field-error:empty,
#country-error:empty,
#postal-error:empty,
#branch-error:empty {
  visibility: hidden !important;
  height: 18px !important;
}

#postalCodeRow .field-error:not(:empty),
.col:has(#country-autocomplete) .field-error:not(:empty),
#country-error:not(:empty),
#postal-error:not(:empty),
#branch-error:not(:empty) {
  visibility: visible !important;
  height: auto !important;
}

.col:has(#country-autocomplete) {
  .custom-dropdown-icon {
    display: none !important;
    height: 44.5px;
    overflow: hidden;
  }

  svg {
    display: none !important;
    margin-top: -3px;
  }
}

#main-content .form-group:has(#select-arrow60-autocomplete-wrapper) {
  width: 50%;
}

.form-group {
  width: 392px !important;
  position: relative;
  margin-bottom: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

#defaultFields>.row.full-width:has(.autocomplete__wrapper) {
  grid-column: span 1;
}

.row[aria-hidden="true"] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.skip-link:focus {
  position: absolute !important;
  left: 6px !important;
  top: 7px !important;
  width: auto !important;
  height: auto !important;
  padding: 0.5rem 1rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  background: #000 !important;
  color: #fff !important;
  text-decoration: none !important;
  z-index: 100000 !important;
  display: block !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: bold !important;
}

.autocomplete__input::placeholder {
  color: #000000 !important;
  opacity: 1 !important;
  font-style: normal !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 16px !important;
  text-align: left !important;
}

.autocomplete__input {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#openTermsModal > svg {
  margin-bottom: 4px;
}

@media screen and (max-width: 768px) {
  #language-autocomplete .accessible-autocomplete__menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-top: none !important;
    border-radius: 0 0 4px 4px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important;
    max-height: 200px !important;
    overflow-y: auto !important;
  }

  #language-autocomplete .accessible-autocomplete__option {
    padding: 8px 16px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 16px !important;
    font-family: 'Open Sans', sans-serif !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }

  #language-autocomplete .accessible-autocomplete__option:hover,
  #language-autocomplete .accessible-autocomplete__option:active {
    background-color: #007681 !important;
    color: #ffffff !important;
  }

#language-autocomplete {
    cursor: pointer;
  }

  #language-autocomplete .autocomplete__wrapper {
    cursor: pointer;
  }

  #language-autocomplete .autocomplete__input {
    cursor: pointer;
  }
}

.autocomplete__input:focus::placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

.autocomplete__input.placeholder-visible {
  color: #000000 !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 16px !important;
}

.autocomplete__wrapper:not(:has(.autocomplete__input[value])) .autocomplete__input {
  color: #000000 !important;
}

.autocomplete__menu {
  width: 100%;
}

.autocomplete__wrapper {
  position: relative;
  cursor: pointer;
}

.autocomplete__wrapper.dropdown-open::after {
  transform: translateY(-50%) rotate(180deg) !important;
}

.autocomplete__input:focus,
.autocomplete__input:active,
.autocomplete__input[aria-expanded="true"] {
  background-color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

.autocomplete__option {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 16px !important;
  padding: 6px !important;
  border-bottom: 1px solid #f7f7f7 !important;
  text-align: left !important;
  line-height: 1.4 !important;
  min-height: 32px !important;
  height: auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container--default .select2-selection--single {
  position: relative;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px;
  position: absolute;
  top: 50%;
  right: 12px;
  width: 32px;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
} 

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: none !important;
  background: url('data:image/svg+xml;utf8,<svg fill="%234B286D" height="32" viewBox="0 0 24 24" width="32" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center !important;
  background-size: 32px !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  transition: transform 0.3s ease;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
  transform: translateY(-50%) rotate(180deg);
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  transform: rotate(180deg);
}

select.arrow {
  position: relative;
  background-image: none !important;
}

.custom-select-wrapper {
  position: relative;
  display: inline-block;
}

.custom-select-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: url('data:image/svg+xml;utf8,<svg fill="%23007681" height="32" viewBox="0 0 24 24" width="32" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center;
  background-size: 32px;
  pointer-events: none;
  z-index: 5;
  transition: transform 0.3s ease;
}

.custom-select-wrapper.open::after {
  transform: translateY(-50%) rotate(180deg);
}

.autocomplete__option:hover,
.autocomplete__option--focused {
  background-color: #0279A6 !important;
  color: #fff !important;
}

.autocomplete__option--focused,
.autocomplete__option:hover {
  background-color: #0279A6 !important;
  border-color: #0279A6 !important;
  color: #ffffff !important;
  outline: 0;
}

.hide {
  display: none !important;
}

.select2-results__option[aria-disabled=true] {
  display: none;
}

.hidden-element {
  display: none;
}

.hidden {
  display: none !important;
}

select,
button,
input {
  font-family: 'open sans', sans-serif;
}

.loading-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999 !important;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.loading-modal::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-modal[style*="display: block"]:has(.loading-text:not(.hide))::before {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loading-modal[style*="display: block"]:has(.loading-text:not(.hide)) {
  display: flex !important;
  pointer-events: auto;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: none;
  align-items: center;
  justify-content: center;
}

.loading-modal[style*="display: block"]:has(.loading-text:not(.hide)) .center,
.loading-modal[style*="display: block"]:has(.loading-text:not(.hide)) .loading-text {
  position: relative;
  z-index: 10000;
}

.loading-modal .center {
  display: block;
  width: 90%;
  
  height: auto;
  max-width: 100px;
}

.loading-modal .loading-text {
  margin-top: 8px;
  font-size: 16px;
  color: #828282;
  opacity: 1;
  font-weight: 500;
  text-align: center;
}

#form {
  display: block;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  
  font-family: Open Sans, sans-serif;
}

#form.showing-main-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  background-color: #F7F7F7!important;
}

select {
  appearance: none;
}

.field-error,
label.error {
  min-height: 20px !important;
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  font-size: 16px !important;
}

.field-error:empty,
label.error:empty {
  visibility: hidden !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.field-error:not(:empty),
label.error:not(:empty) {
  visibility: visible !important;
  height: auto !important;
  min-height: 18px !important;
}

.error-message:empty {
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.closeButton {
  align-items: center;
  justify-content: center;
  font-size: 25px;
  cursor: pointer;
  margin-left: 10px;
}

.getting-to-know {
  text-align: center;
  margin: 0px 0px 50px 0px;
  font-weight: 600;
}

.fields {
  box-sizing: border-box;
  padding: 0;
}

.input-field {
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.input-field label {
  display: none;
}

#I_agree_section {
  display: flex;
  flex-direction: row;
  margin-top: 0px;
  margin-bottom: 40px;
  align-items: center;
  position: relative;
  min-height: 65px;
}

#I_agree_section.error {
  display: flex !important;
  flex-direction: row !important;
  margin-top: 0px !important;
  margin-bottom: 40px !important;
  align-items: center !important;
  position: relative !important;
  min-height: 65px !important;
  
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
}

#I_agree_section .field-error,
#I_agree_section .error-message,
#I_agree_section .error {
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 100%;
  min-height: 18px;
  font-size: 16px !important;
  color: #8B0000;
  line-height: 1.2;
  display: block;
}

#I_agree_section .field-error:empty,
#I_agree_section .error-message:empty,
#I_agree_section .error:empty {
  visibility: hidden;
  height: 18px;
}

#I_agree_section .field-error:not(:empty),
#I_agree_section .error-message:not(:empty),
#I_agree_section .error:not(:empty) {
  visibility: visible;
  height: auto;
}

#I_agree_section+.field-error,
#I_agree_section+.error-message,
#I_agree_section+.error {
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 100%;
  min-height: 18px;
  font-size: 16px !important;
  color: #8B0000;
  line-height: 1.2;
}

#I_agree_section~.field-error,
#I_agree_section~.error-message,
#I_agree_section~.error {
  margin-top: -22px !important;
  margin-bottom: 22px !important;
}

#I_agree_section.error label,
#I_agree_section.error input[type="checkbox"],
#I_agree_section.error a {
  position: static !important;
  margin: inherit !important;
  padding: inherit !important;
  display: inherit !important;
  color: inherit !important;
  background: inherit !important;
  border: inherit !important;
}

#I_agree_section.error input[type="checkbox"] {
  order: -1 !important;
  margin-right: 20px !important;
  width: 28px !important;
  height: 28px !important;
  accent-color: #007681 !important;
  border: 2px solid #007681 !important;
  margin-right: 0.7em !important;
  vertical-align: middle !important;
  cursor: pointer !important;
}

#I_agree_section label {
  font-size: 16px;
  display: block;
  font-weight: normal;
  font: Open Sans;
  text-decoration: none;
  color: #000000 !important;
}

#I_agree_section input[type="checkbox"] {
  order: -1;
  margin-right: 20px;
  width: 28px;
  height: 28px;
  margin-right: 0.7em;
  vertical-align: middle;
  cursor: pointer;
}

.swal2-close {
  padding: 20px !important;
  background: #fff;
  border: 2px solid #007681 !important;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  margin-right: 20px !important;
  background: #fff !important;
  color: #6E298D !important;
  font-weight: bold !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  font-family: 'Open Sans', sans-serif !important;
  border-radius: 0 !important;
  min-width: auto !important;
}

.swal2-close:hover {
  background-color: #007681 !important;
  color: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
}

.autocomplete__option:first-of-type {
  height: auto !important;
  min-height: 32px !important;
  line-height: 1.4 !important;
}

.swal2-confirm {
  padding: 10px 30px !important;
  background: transparent !important;
  border: 2px solid #007681 !important;
  color: #6E298D !important;
  font-weight: bold !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  font-family: 'Open Sans', sans-serif !important;
  border-radius: 0 !important;
  min-width: auto !important;
  height: auto !important;
  margin: 10px !important;
  text-transform: uppercase !important;
}

.swal2-confirm:hover,
.swal2-confirm:focus-visible {
  background-color: #0279A6 !important;
  color: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
}

.terms-link img {
  width: 24px !important;
  height: 24px !important;
  filter: hue-rotate(260deg) brightness(0.6) !important;
}

.terms-link {
  text-decoration: none !important;
  cursor: pointer;
  color: #0000EE !important;
}

.terms-link:hover,
.terms-link:focus {
  text-decoration: underline !important;
  text-decoration-color: #0000EE !important;
  color: #0000EE !important;
}

.terms-section .terms-link {
  color: #0000EE !important;
}

.terms-section .terms-link:hover,
.terms-section .terms-link:focus {
  color: #0000EE !important;
  outline: none !important;
  text-decoration: underline !important;
}

#I_agree_section a {
  color: black;
  text-decoration: none;
  pointer-events: none !important;
}

button#preDetails.signinBtn {
  width: 20%;
  
}

select.arrow {
  background-image: none !important;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#select-arrow {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 10px 10px 17px;
  font-size: 16px;
  border: 1px solid #000000;
  border-radius: 100px;
  appearance: none;
}

span.selection>span {
  background-color: #fff;
}

.center-col {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 20px 30px;
  min-height: 380px;
}

.form {
  max-width: 400px;
  box-sizing: border-box;
  margin-right: 600px;
}

.welcome {
  font-family: open sans;
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 20px;
}

#preDetails {
  min-width: 100px;
  width: calc(55% - 5px);
  box-sizing: border-box;
  display: block;
  background-color: #1187CA;
  color: #fff;
  padding: 10px 10px;
  font-size: 16px;
  font-weight: 600;
  height: auto;
  margin: 10px 0 20px auto;
  cursor: pointer;
  transition: 0.2s;
  border: 2px solid #1187CA;
}

#preDetails:hover,
#preDetails:focus {
  background-color: white;
  color: #1187CA;
  transition: 0.2s;
}

.form-title {
  font-size: 30px;
  margin-bottom: 20px;
}

.image-logo {
  width: 10%;
  height: auto;
  margin: 10px 0 0 100px;
}

.password-toggle-checkbox {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  border: 1px solid #000000 !important;
  background-color: #ffffff !important;
}


.password-wrapper .password-toggle-label,
.form-group .password-toggle-label,
input+.password-toggle-wrapper .password-toggle-label {
  font-size: 16px !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  user-select: none !important;
  white-space: nowrap !important;
  font-weight: normal !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.password-wrapper .password-toggle-checkbox,
.form-group .password-toggle-checkbox {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  cursor: pointer !important; 
  flex-shrink: 0 !important;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none !important; 
}

input[type="password"]::-webkit-textfield-decoration-container {
  display: none !important;
}

input[type="password"]::-webkit-credentials-auto-fill-button {
  display: none !important;
}

input[type="password"]::-ms-reveal {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

input[type="password"]::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-textfield-decoration-container,
input[type="password"]::-webkit-inner-spin-button,
input[type="password"]::-webkit-outer-spin-button {
  display: none !important;
  -webkit-appearance: none !important;
  margin: 0 !important;
}

input[type="password"],
input[type="text"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: 48px !important;
  line-height: normal !important;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: 48px !important;
  line-height: normal !important;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
  padding: 0.90rem 0.75rem 0.5rem 0.75rem !important;
}

@supports (-webkit-touch-callout: none) {
  .password-wrapper input[type="password"],
  .password-wrapper input[type="text"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    border-radius: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    line-height: 1.5 !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    padding: 0.90rem 0.75rem 0.5rem 0.75rem !important;
    font-size: 16px !important;
    pointer-events: auto !important;
    -webkit-user-select: text !important;
    user-select: text !important;
  }

.password-wrapper input[type="text"][data-ios-fixed="true"].password-masked {
    -webkit-text-security: disc !important;
    text-security: disc !important;
  }

.password-wrapper input[type="text"][data-ios-fixed="true"].password-visible {
    -webkit-text-security: none !important;
    text-security: none !important;
  }

.password-wrapper input[type="text"][data-ios-fixed="true"]:not(.password-visible) {
    -webkit-text-security: disc !important;
    text-security: disc !important;
  }
}

.select2-search__field {
  width: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
}

html,
body,
#form,
.first-step,
.registration-container {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
  width: 100%;
  font-size: 16px;
}

a {
  color: #0000EE !important;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #0000EE !important;
  text-decoration: underline;
}

a:visited,
a:visited:hover {
  color: #0000EE !important;
}

.email-link {
  color: #0000EE !important;
  font-weight: 500;
}

.email-link:hover,
.email-link:focus {
  color: #0000CC !important;
  text-decoration: underline;
}

.signin-link {
  color: #0000EE !important;
  font-weight: 500;
  text-decoration: underline;
}

.signin-link:hover,
.signin-link:focus {
  color: #0000CC !important;
  text-decoration: underline;
  outline: none !important;
}

#form {
  display: block;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  font-family: Open Sans, sans-serif;
  box-sizing: border-box;
  overflow: visible;
  overflow-x: hidden;
}

.first-step {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.registration-container {
  display: flex;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  background: #F7F7F7;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  overflow: visible;
  overflow-x: hidden;
  margin: 0 auto;
  padding: 0;
}

.form-section {
  padding: 30px 40px 40px 40px;
  background: #F7F7F7;
  box-sizing: border-box;
  min-height: auto;
  max-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  width: 65%;
}

h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-section h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

#show-content-btn {
  margin-top: 15px;
}

li {
  font-size: 16px;
}

.error-message {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 5px;
  background-color: #F8D7DA;
  color: #000;
  padding: 15px;
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: bold;
  min-height: auto;
  height: auto;
  width: 100%;
}

.error-message img {
  margin-right: 2px;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.error-message div {
  flex: 1;
  line-height: 1.4;
}

.error-message div div {
  margin-bottom: 5px;
}

.error-message div div:last-child {
  margin-bottom: 0;
}

input.error,
select.error {
  border: 2px solid #8B0000 !important;
}

.autocomplete__wrapper.error,
.autocomplete__input.error+.autocomplete__wrapper {
  border: 2px solid #8B0000 !important;
}

.autocomplete__wrapper.error .autocomplete__input {
  border: none !important;
  box-shadow: none !important;
}

.form-group.has-error label {
  color: black !important;
}

label.error {
  color: #8B0000 !important;
}

.field-error {
  color: #8B0000 !important;
}

.password-note {
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 50px;
  color: #000;
  line-height: 1.4;
}

.password-requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 8px;
}

.password-requirements-column {
  margin: 0;
  padding-left: 20px;
}

.password-requirements-column li {
  margin-bottom: 4px;
  font-size: 16px;
}

.row {
  display: flex;
  gap: 30px;
  margin-bottom: 20px !important;
  position: relative;
  
}

.row .col {
  position: relative;
  min-height: 65px;
  
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 65px;
  
}

.row label {
  width: auto;
  max-width: 100%;
}

.row #postalCodeRow label,
.row .form-group:has(#postal_code) label {
  width: auto !important;
  max-width: 100% !important;
}

span.required,
.required {
  color: #8B0000 !important;
  font-weight: 500 !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: inherit !important;
}

select,
.autocomplete__input,
.form-group select,
.form-group .autocomplete__input,
#country-autocomplete .autocomplete__input,
#language-autocomplete .autocomplete__input,
#branch-autocomplete .autocomplete__input {
  background-color: #fff !important;
}

.custom-dropdown-icon,
.dropdown-icon,
.arrow-icon,
.autocomplete__dropdown-arrow-down {
  display: none !important;
}

.autocomplete__wrapper svg:not(.main-arrow),
.form-group svg:not(.main-arrow),
[class*="dropdown"] svg:not(.main-arrow) {
  display: none !important;
}

select:active,
.autocomplete__input:active,
.form-group select:active,
.form-group .autocomplete__input:active,
select:-webkit-autofill,
.autocomplete__input:-webkit-autofill {
  background-color: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

label {
  font-size: 16px;
}

.required {
  color: #8B0000 !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.form-group input {
  padding: 1.3rem 0.75rem 0.5rem 0.75rem;
  font-size: 1rem;
  color: #000;
}

.form-group input,
.form-group select,
.form-group .autocomplete__input {
  width: 100%;
  max-width: 100%;
  padding: 0.90rem 0.75rem 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #254768;
  background-color: #fff;
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
}

#main-content .form-group input:focus,
#main-content .form-group select:focus,
#main-content .form-group .autocomplete__input:focus,
#main-content .form-group textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}

#main-content .autocomplete__wrapper.autocomplete__wrapper--focused .autocomplete__input {
  border: none !important;
}

.form-group label {
  color: #000;
  transition: 0.2s ease;
  font-size: 16px;
  background: transparent;
  z-index: 1;
  cursor: pointer;
  width: 100%;
}

.form-group label .required {
  color: #8B0000 !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  margin-left: 2px !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group .autocomplete__input:focus+label,
.form-group .autocomplete__input:not(:placeholder-shown)+label,
.form-group select:focus+label,
.form-group select:not([value=""])+label {
  top: -27px;
  left: 0.7rem;
  font-size: 16px;
  color: #000000;
  font-weight: 500;
}

.form-group:has(#postal_code) input:focus+label,
.form-group:has(#postal_code) input:not(:placeholder-shown)+label,
#postalCodeRow .form-group input:focus+label,
#postalCodeRow .form-group input:not(:placeholder-shown)+label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  font-size: 16px !important;
  color: #000 !important;
  background: transparent !important;
  margin-bottom: 8px !important;
  display: block !important;
  font-weight: normal !important;
}

.form-group.focused label {
  top: 0.3rem !important;
  left: 0.7rem;
  color: #6E298D;
  font-weight: 500;
}

.form-group:has(#postal_code).focused label,
#postalCodeRow .form-group.focused label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  font-size: 16px !important;
  color: #000 !important;
  background: transparent !important;
  margin-bottom: 8px !important;
  display: block !important;
  font-weight: normal !important;
}

.form-group input:focus+label .required,
.form-group input:not(:placeholder-shown)+label .required,
.form-group .autocomplete__input:focus+label .required,
.form-group .autocomplete__input:not(:placeholder-shown)+label .required,
.form-group select:focus+label .required,
.form-group select:not([value=""])+label .required {
  font-size: 16px !important;
  color: #8B0000 !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.form-group input::placeholder,
.form-group .autocomplete__input::placeholder {
  color: transparent;
}

.password-wrapper {
  position: relative;
}

.password-wrapper .field-error {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 18px;
}

.row .country-wrapper {
  margin-bottom: 40px !important;
  position: relative;
  min-height: 65px;
}

.country-wrapper .field-error {
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 100%;
  min-height: 18px;
}

#country-autocomplete,
#language-autocomplete,
#branch-autocomplete {
  position: relative;
}

.form-group:has(#country-autocomplete),
.form-group:has(#language-autocomplete),
.form-group:has(#branch-autocomplete) {
  position: relative;
  min-height: 65px;
}

#country-autocomplete .field-error,
#language-autocomplete .field-error,
#branch-autocomplete .field-error {
  position: absolute !important;
  bottom: -22px !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 18px !important;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  padding-right: 80px;
}

.password-wrapper input[type="password"]::-ms-reveal,
.password-wrapper input[type="password"]::-ms-clear {
  display: none !important;
}

.password-wrapper input[type="password"]::-webkit-textfield-decoration-container {
  display: none !important;
}

.password-wrapper input[type="password"]::-webkit-credentials-auto-fill-button {
  display: none !important;
}

.password-wrapper .password-toggle-wrapper {
  position: absolute;
  top: calc(50% + 8px);
  right: 15px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.toggle-password {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0 8px;
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.password-tooltip {
  transition: opacity 0.15s;
}

.form-group select {
  appearance: none;
  line-height: 1.25;
  padding: 1.3rem 0.75rem 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #254768;
  border-radius: 4px;
  background-color: #fff;
  background: url('data:image/svg+xml;utf8,<svg fill="%234B286D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 50% center;
  background-size: 24px;
  padding-right: 40px;
  font-family: 'Open Sans', sans-serif;
  color: #000;
  transition: background-color 0.2s ease;
}

.form-group select:hover {
  background-color: #fff;
  color: #000;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%234B286D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
}

.form-group select:focus,
.form-group select[aria-expanded="true"] {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%234B286D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 14l5-5 5 5z"/></svg>');
  background-color: #fff;
  color: #000;
}

.form-group select option[value=""] {
  display: none;
}

select option,
.form-group select option,
#main-content .input-field select option,
.input-field select option {
  font-size: 16px !important;
  font-family: 'Open Sans', sans-serif;
}

.accessible-autocomplete__option,
#language-autocomplete .accessible-autocomplete__option,
#country-autocomplete .accessible-autocomplete__option,
#branch-autocomplete .accessible-autocomplete__option {
  font-size: 16px !important;
  font-family: 'Open Sans', sans-serif;
  padding: 8px 16px !important;
  border-bottom: 1px solid #f7f7f7;
  text-align: left;
  line-height: 1.4 !important;
  min-height: 32px !important;
  height: auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}

.accessible-autocomplete__option:hover,
.accessible-autocomplete__option--focused,
#language-autocomplete .accessible-autocomplete__option:hover,
#country-autocomplete .accessible-autocomplete__option:hover,
#branch-autocomplete .accessible-autocomplete__option:hover {
  background-color: #6E298D !important;
  color: #ffffff !important;
}

.select2-results__option {
  font-size: 16px !important;
  font-family: 'Open Sans', sans-serif;
  padding: 6px 12px !important;
  min-height: 32px !important;
}

select:focus,
.form-group select:focus {
  border: 2px solid #4B286D !important;
  outline: none;
  box-shadow: none;
  background-color: #fff !important;
}

#country-autocomplete .autocomplete__wrapper,
#language-autocomplete .autocomplete__wrapper,
#branch-autocomplete .autocomplete__wrapper {
  position: relative;
}

#country-autocomplete .autocomplete__wrapper::after,
#language-autocomplete .autocomplete__wrapper::after,
#branch-autocomplete .autocomplete__wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: url('data:image/svg+xml;utf8,<svg fill="%230279A6" height="30" viewBox="0 0 24 24" width="30" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center;
  background-size: 30px;
  pointer-events: none;
  z-index: 5;
}

#country-autocomplete .autocomplete__wrapper[aria-expanded="true"]::after,
#language-autocomplete .autocomplete__wrapper[aria-expanded="true"]::after,
#branch-autocomplete .autocomplete__wrapper[aria-expanded="true"]::after,
#country-autocomplete .autocomplete__wrapper--focused::after,
#language-autocomplete .autocomplete__wrapper--focused::after,
#branch-autocomplete .autocomplete__wrapper--focused::after,
#country-autocomplete .autocomplete__wrapper:has(.accessible-autocomplete__menu:not([style*="display: none"]))::after,
#language-autocomplete .autocomplete__wrapper:has(.accessible-autocomplete__menu:not([style*="display: none"]))::after,
#branch-autocomplete .autocomplete__wrapper:has(.accessible-autocomplete__menu:not([style*="display: none"]))::after {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23D1423C" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 14l5-5 5 5z"/></svg>');
}

#country-autocomplete .autocomplete__wrapper:hover::after,
#language-autocomplete .autocomplete__wrapper:hover::after,
#branch-autocomplete .autocomplete__wrapper:hover::after {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23d1423C" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
}

.terms {
  display: flex;
  align-items: center;
  margin: 20px 0;
  font-size: 16px;
}

.terms input {
  margin-right: 10px;
}

.terms a {
  color: #0000EE;
  text-decoration: underline;
}

button {
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 10px 30px;
  background: transparent;
  border: 2px solid #0279A6;
  color: #0279A6 !important;
  
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  display: block;
  margin-left: auto;
  font-family: 'Open Sans', sans-serif !important;
}

button:hover {
  background-color: #0279A6!important;
  color: #ffffff !important;
}

.form-section .field-error,
.form-section .error-message,
.form-section .error {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.field-error[style*="display: block"],
.error-message[style*="display: block"],
.error[style*="display: block"] {
  position: relative !important;
  margin-top: 5px !important;
  margin-bottom: 0 !important;
}

div[id*="country"] .field-error,
div[id*="postal"] .field-error,
div[id*="branch"] .field-error,
.accessible-autocomplete+.field-error,
.autocomplete__wrapper+.field-error {
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

div:has(.accessible-autocomplete),
div:has(.autocomplete__wrapper) {
  position: relative !important;
}

#show-content-btn {
  margin-top: 0;
  padding: 10px 30px;
  background: transparent;
  border: 2px solid #0279A6;
  color: #0279A6 !important;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-end;
  width: auto;
  text-decoration: none;
  text-align: center;
}

#show-content-btn:hover,
#show-content-btn:focus {
  background-color: #0279A6 !important;
  color: white !important;
  outline: none !important;
}

.step-indicator.fixed-indicator {
  font-weight: bold;
  color: #8B0000;
  width: 120px;
  display: flex;
  height: 0px;
  
  position: relative;
}

@media (min-width: 1600px) {
  .registration-container {
    max-width: min(1600px, 100vw);
    margin: 0 auto;
  }

  .form-section {
    padding: 60px 120px 100px 120px;
  }

  .image-section {
    width: 30%;
    min-width: min(500px, 40vw);
  }

  .password-note {
    font-size: 16px;
    margin-bottom: 65px;
  }

  .password-requirements-grid {
    grid-template-columns: 1fr;
  }

.row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 0px !important;
  }

  .row .col {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 20px;
  }

  .row label {
    width: auto !important;
    max-width: 100% !important;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
  }

#postalCodeRow,
  .col:has(#country-autocomplete) {
    display: flex !important;
    align-content: flex-start !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }

.row:has(#country-autocomplete) {
    align-items: flex-start !important;
    align-content: flex-start !important;
  }

  .form-group {
    margin-bottom: 60px;
    width: 100%;
  }

  .form-group input,
  .form-group select,
  .form-group .autocomplete__input {
    height: 48px;
    font-size: 16px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .form-group label {
    font-size: 16px;
    top: -28px;
  }

  .form-group input:focus+label,
  .form-group input:not(:placeholder-shown)+label,
  .form-group .autocomplete__input:focus+label,
  .form-group .autocomplete__input:not(:placeholder-shown)+label,
  .form-group select:focus+label,
  .form-group select:not([value=""])+label {
    font-size: 18px;
    top: -30px;
  }

  .password-note {
    font-size: 16px;
    margin-bottom: 45px;
  }

p {
    font-size: 16px;
  }
}

@media (min-width: 1800px) {
  .first-step {
    max-width: min(1700px, 100vw);
  }

  .registration-container {
    max-width: min(1700px, 100vw);
  }

.row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 0px !important;
  }

  .row .col {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .row label {
    width: auto !important;
    max-width: 100% !important;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
  }

#postalCodeRow,
  .col:has(#country-autocomplete) {
    display: flex !important;
    align-content: flex-start !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }

.row:has(#country-autocomplete) {
    align-items: flex-start !important;
    align-content: flex-start !important;
  }

  .form-group {
    width: 100%;
  }
}

@media (min-width: 2000px) {
  .first-step {
    max-width: min(1800px, 100vw);
  }

  .registration-container {
    max-width: min(1800px, 100vw);
    margin: 0 auto;
  }

  .form-section {
    padding: 80px 100px 120px 100px;
    max-width: min(950px, 50vw);
    width: 50%;
  }

  .image-section {
    width: 30%;
    min-width: min(700px, 50vw);
  }

.row {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 0px !important;
  }

  .row .col {
    flex: 1;
    min-width: 0;
    max-width: 50%;
  }

  .row label {
    width: auto !important;
    max-width: 100% !important;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
  }

#postalCodeRow, 
  .col:has(#country-autocomplete) {
    display: flex !important;
    align-content: flex-start !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }

.row:has(#country-autocomplete) {
    align-items: flex-start !important;
    align-content: flex-start !important;
  }

  .form-group {
    width: 100%;
  }
}

@media screen and (min-width: 1440px) {
  .form-group label[for="email"] {
    min-width: 800px !important;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .registration-container {
    max-width: min(1600px, 100vw);
    margin: 0 auto;
  }

  .form-section {
    padding: 50px 70px 90px 50px;
  }

  .form-group input,
  .form-group select,
  .form-group .autocomplete__input {
    height: 48px;
    font-size: 16px;
    padding: 10px;
  }

  .form-group label {
    top: -27px;
  }

  .form-group input:focus+label,
  .form-group input:not(:placeholder-shown)+label,
  .form-group .autocomplete__input:focus+label,
  .form-group .autocomplete__input:not(:placeholder-shown)+label,
  .form-group select:focus+label,
  .form-group select:not([value=""])+label {
    font-size: 16px;
    top: -29px;
  }

  .password-note {
    font-size: 16px;
    margin-bottom: 45px;
  }

  h1,
  h2 {
    font-size: 32px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .registration-container {
    max-width: min(1400px, 100vw);
    margin: 0 auto;
  }

  .form-section {
    padding: 45px 65px 85px 65px;
  }

  .form-group {
    margin-bottom: 52px;
  }

  .form-group input,
  .form-group select,
  .form-group .autocomplete__input {
    font-size: 16px;
  }

  .password-note {
    font-size: 16px;
    margin-bottom: 36px;
  }
}

@media (min-width: 900px) and (max-width: 1200px) {
  .image-section {
    width: 30%;
  }

  .form-section {
    width: 70%;
  }
}

@media (min-width: 1101px) and (max-width: 1199px) {
  .form-section {
    padding: 40px 55px 80px 55px;
  }

  .form-group {
    margin-bottom: 48px;
  }

  .row {
    gap: 18px;
  }

  .form-group input:focus+label,
  .form-group input:not(:placeholder-shown)+label,
  .form-group .autocomplete__input:focus+label,
  .form-group .autocomplete__input:not(:placeholder-shown)+label,
  .form-group select:focus+label,
  .form-group select:not([value=""])+label {
    font-size: 16px;
  }

  .password-note {
    font-size: 16px;
    margin-bottom: 34px;
  }

.row .col {
    flex: 1;
    min-width: 0;
  }

.row label {
    width: auto !important;
    max-width: 100% !important;
    word-wrap: break-word;
    white-space: normal;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .form-section {
    padding: 35px 45px 75px 45px;
  }

  .row {
    gap: 15px;
    flex-wrap: nowrap;
  }

  .row .col {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }

  .form-group {
    margin-bottom: 50px;
    width: 100%;
    position: relative;
  }

  .form-group input,
  .form-group select,
  .form-group .autocomplete__input {
    width: 100%;
    font-size: 16px;
    box-sizing: border-box;
  }

  .form-group label {
    width: auto !important;
    max-width: 100% !important;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
  }

  .form-group input:focus+label,
  .form-group input:not(:placeholder-shown)+label,
  .form-group .autocomplete__input:focus+label,
  .form-group .autocomplete__input:not(:placeholder-shown)+label,
  .form-group select:focus+label,
  .form-group select:not([value=""])+label {
    font-size: 16px;
  }

#postalCodeRow .form-group label {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

.form-group {
    width: 100% !important;
  }

#language-autocomplete .accessible-autocomplete__input,
  #country-autocomplete .accessible-autocomplete__input,
  #branch-autocomplete .accessible-autocomplete__input {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px;
    padding: 1.2rem 40px 0.4rem 0.7rem !important;
    min-height: 44px;
  }

.password-wrapper .password-toggle-wrapper {
    right: 15px !important;
    gap: 6px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .password-toggle-checkbox {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .password-toggle-label {
    font-size: 13px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }

  .password-wrapper input[type="password"],
  .password-wrapper input[type="text"] {
    padding-right: 80px !important;
  }
}

@media (max-width: 900px) {
  .form-group input:focus+label,
  .form-group input:not(:placeholder-shown)+label,
  .form-group .autocomplete__input:focus+label,
  .form-group .autocomplete__input:not(:placeholder-shown)+label,
  .form-group select:focus+label,
  .form-group select:not([value=""])+label {

    font-size: 16px;
  }

  .form-section {
    padding: 10px;
    margin: 0 auto;
  }

.row .col {
    flex: 1;
    min-width: 0;
  }

  .form-group {
    width: 100% !important;
    margin-bottom: 50px;
    position: relative;
  }

.form-group label {
    width: auto !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    overflow-wrap: break-word !important;
  }

#postalCodeRow .form-group label {
    line-height: 1.1 !important;
  }

.form-group input,
  .form-group select,
  .form-group .autocomplete__input {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
}

@media screen and (min-width: 1300px) and (max-width: 1600px) {

.password-wrapper .password-toggle-wrapper .password-toggle-checkbox,
  .form-group .password-toggle-wrapper .password-toggle-checkbox,
  .password-wrapper input+.password-toggle-wrapper .password-toggle-checkbox,
  .form-group input+.password-toggle-wrapper .password-toggle-checkbox {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    cursor: pointer !important;
    transform: none !important;
  }

.password-wrapper .password-toggle-wrapper .password-toggle-label,
  .form-group .password-toggle-wrapper .password-toggle-label,
  .password-wrapper input+.password-toggle-wrapper .password-toggle-label,
  .form-group input+.password-toggle-wrapper .password-toggle-label {
    font-size: 16px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    font-weight: normal !important;
    background: transparent !important;
    user-select: none !important;
    border: none !important;
    text-decoration: none !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
  }

.password-wrapper input[type="password"],
  .password-wrapper input[type="text"] {
    padding-right: 75px !important;
  }
}

@media (min-width: 1200px) {
  .step-indicator.fixed-indicator {
    font-size: 16px;
    width: 140px;
  }

#I_agree_section label {
    font-size: 18px;
  }

  .terms-link img {
    width: 24px !important;
    height: 24px !important;
  }
}

@media (min-width: 1400px) {
  .step-indicator.fixed-indicator {
    font-size: 16px;
    width: 150px;
  }

  #I_agree_section label {
    font-size: 16px;
  }

  .terms-link img {
    width: 24px !important;
    height: 24px !important;
  }
}

@media (min-width: 1600px) {
  .step-indicator.fixed-indicator {
    font-size: 16px;
    width: 160px;
  }

  .terms-link img {
    width: 24px !important;
    height: 24px !important;
  }
}

@media (min-width: 1200px) {
  #language-autocomplete .accessible-autocomplete__input,
  #country-autocomplete .accessible-autocomplete__input,
  #branch-autocomplete .accessible-autocomplete__input {
    font-size: 16px;
    padding: 1.4rem 48px 0.6rem 0.9rem !important;
    min-height: 62px;
  }

  #language-autocomplete .accessible-autocomplete::after,
  #country-autocomplete .accessible-autocomplete::after,
  #branch-autocomplete .accessible-autocomplete::after {
    width: 28px;
    height: 28px;
    right: 14px;
  }
}

@media (min-width: 1400px) {
  #language-autocomplete .accessible-autocomplete__input,
  #country-autocomplete .accessible-autocomplete__input,
  #branch-autocomplete .accessible-autocomplete__input {
    font-size: 17px;
    padding: 1.5rem 50px 0.65rem 0.95rem !important;
    min-height: 64px;
  }

  #language-autocomplete .accessible-autocomplete::after,
  #country-autocomplete .accessible-autocomplete::after,
  #branch-autocomplete .accessible-autocomplete::after {
    width: 30px;
    height: 30px;
    right: 15px;
  }
}

@media (min-width: 1600px) {
  #language-autocomplete .accessible-autocomplete__input,
  #country-autocomplete .accessible-autocomplete__input,
  #branch-autocomplete .accessible-autocomplete__input {
    font-size: 18px;
    padding: 1.6rem 52px 0.7rem 1rem !important;
    min-height: 66px;
  }

  #language-autocomplete .accessible-autocomplete::after,
  #country-autocomplete .accessible-autocomplete::after,
  #branch-autocomplete .accessible-autocomplete::after {
    width: 32px;
    height: 32px;
    right: 16px;
  }
}

@media (min-width: 901px) and (max-width: 1300px) {
  .registration-container {
    max-width: 100%;
    margin: 0 auto;
  }

  .form-section {
    padding: 30px 25px 60px 25px;
    min-width: 450px;
  }

.row {
    gap: 10px;
  }

  .row .col {
    flex: 1;
    min-width: 0;
  }

  .form-group {
    width: 100% !important;
    margin-bottom: 50px;
    position: relative;
  }

  .form-group input,
  .form-group select,
  .form-group .autocomplete__input {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-group label {
    width: auto !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  .form-group input:focus+label,
  .form-group input:not(:placeholder-shown)+label,
  .form-group .autocomplete__input:focus+label,
  .form-group .autocomplete__input:not(:placeholder-shown)+label,
  .form-group select:focus+label,
  .form-group select:not([value=""])+label {
    font-size: 16px !important;
  }

#postalCodeRow .form-group label {
    margin-bottom: 6px !important;
  }

  .form-group:has(#postal_code) label,
  #postalCodeRow .form-group label {
    top: -10px !important;
    left: auto !important;
    background: transparent !important;
    display: block !important;
    font-weight: normal !important;
  }

#language-autocomplete .accessible-autocomplete__input,
  #country-autocomplete .accessible-autocomplete__input,
  #branch-autocomplete .accessible-autocomplete__input {
    font-size: 16px;
    padding: 1.1rem 35px 0.35rem 0.65rem !important;
    min-height: 42px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .password-note {
    font-size: 16px;
    margin-bottom: 40px;
  }

  #I_agree_section input[type="checkbox"] {
    width: 24px;
    height: 24px;
  }

  #I_agree_section label {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .row:has(#country-autocomplete) {
    align-items: flex-start !important;
    position: relative !important;
    min-height: 60px !important;
  }

  #postalCodeRow,
  .col:has(#country-autocomplete) {
    align-items: flex-start !important;
    width: 100% !important;
    position: relative !important;
    min-height: 60px !important;
  }

  .registration-container {
    height: 100% !important;
    display: block;
  }

  .image-section {
    display: none;
  }

  .form-section {
    width: 90%;
    margin: 0 auto;
    background-color: #F7F7F7 !important;
  }

  .row {
    flex-direction: column;
    gap: 20px !important;
  }

  .col {
    padding-bottom: 0 !important;
  }

.form-group {
    margin-bottom: 50px !important;
    position: relative !important;
  }

#country-autocomplete .field-error,
  #language-autocomplete .field-error,
  #branch-autocomplete .field-error,
  #postalCodeRow .field-error,
  #country-error,
  #postal-error,
  #branch-error {
    position: absolute !important;
    bottom: -20px !important;
    left: 0 !important;
    width: 100% !important;
    font-size: 13px !important;
    min-height: 18px !important;
  }

.form-group:has(#country-autocomplete) label,
  .form-group:has(#branch-autocomplete) label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    font-size: 13px !important;
    color: #000 !important;
    background: transparent !important;
    margin-bottom: 6px !important;
    display: block !important;
    font-weight: normal !important;
  }

#postalCodeRow {
    width: 100% !important;
    margin-bottom: 40px !important;
    position: relative !important;
    min-height: 60px !important;
  }

#postalCodeRow .form-group label {
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
    margin-bottom: 8px !important;
  }

  #postal_code {
    width: 100% !important;
    box-sizing: border-box !important;
  }

.row label {
    width: auto !important;
    max-width: 100% !important;
  }

#email.form-control {
    margin-bottom: 20px !important;
  }

  #firstname.form-control {
    margin-bottom: 20px !important;
  }

  #lastname.form-control {
    margin-bottom: 40px !important;
  }

.row:has(#confirm_password) {
    margin-bottom: 40px !important;
  }

.country-wrapper {
    margin-bottom: 20px !important;
  }

  .row .country-wrapper {
    margin-bottom: 20px !important;
  }

  #postalCodeRow {
    margin-bottom: 40px !important;
  }

  #postal_code {
    margin-bottom: 20px !important;
  }

#branch-autocomplete {
    margin-bottom: 40px !important;
  }

#I_agree_section {
    margin-top: 20px !important;
    margin-bottom: 40px !important;
    position: relative !important;
    min-height: 60px !important;
  }

#I_agree_section.error {
    display: flex !important;
    flex-direction: row !important;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
    align-items: center !important;
    position: relative !important;
    min-height: 60px !important;
    
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    transform: none !important;
    transition: none !important;
  }

#I_agree_section .field-error,
  #I_agree_section .error-message,
  #I_agree_section .error {
    position: absolute !important;
    bottom: -20px !important;
    left: 0 !important;
    width: 100% !important;
    font-size: 14px !important;
  }

.form-group label {
    font-size: 16px !important;
  }

  .password-note {
    font-size: 16px;
  }

.form-group:not(:last-child) {
    margin-bottom: 20px !important;
  }

[id$="-autocomplete"] .form-group {
    margin-bottom: 20px !important;
  }

.form-group:has(#lastname),
  .form-group:has(#confirm_password),
  .form-group:has(#postal_code),
  .form-group:has(#branch-autocomplete-input) {
    margin-bottom: 40px !important;
  }

  .has-error #language-autocomplete,
  #country-autocomplete,
  #postal_code,
  #branch-autocomplete {
    margin-bottom: 0px !important;
  }
}

@media (max-width: 900px) {
  .form-section {
    overflow-y: visible !important;
  }
  
  .image-section {
        display: flex; 
        width: 100%;
        background-position: -50px top; 
        background-size: auto 250%;
        min-height: 25vh;
        position: relative; 
        background-attachment: scroll;
        align-items: center; 
        justify-content: center; 
        background-repeat: no-repeat; 
        overflow: hidden; 
    }
    
    .image-section::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: white; 
        opacity: 0.8; 
        z-index: 1;
    }

    .image-section::after {
      background: rgba(255, 255, 255, 0);
    }
    
    .camh-logo {
        position: relative; 
        z-index: 2; 
        opacity: 1 !important; 
        margin-bottom: 50px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block; 
    }

    .image-section .camh-logo {
      left: 55px;
      bottom: 20px;
    }

.form-group {
    position: relative !important;
  }

.field-error,
  label.error {
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 18px;
    font-size: 13px;
  }

.terms-link img {
    width: 22px !important;
    height: 22px !important;
  }

.password-wrapper .password-toggle-wrapper {
    right: 12px !important;
    gap: 5px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .password-toggle-checkbox {
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .password-toggle-label {
    font-size: 13px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }

  .password-wrapper input[type="password"],
  .password-wrapper input[type="text"] {
    padding-right: 75px !important;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .password-wrapper .password-toggle-wrapper {
    right: 15px !important;
    gap: 6px !important;
  }

  .password-toggle-checkbox {
    width: 16px !important;
    height: 16px !important;
  }

  .password-toggle-label {
    font-size: 13px !important;
  }

  .password-wrapper input[type="password"],
  .password-wrapper input[type="text"] {
    padding-right: 80px !important;
  }
}

@media (max-width: 426px) and (min-width: 370px) {
  .password-wrapper .password-toggle-wrapper {
    right: 10px !important;
    gap: 4px !important;
  }

  .password-toggle-checkbox {
    width: 14px !important;
    height: 14px !important;
  }

  .password-toggle-label {
    font-size: 13px !important;
  }

  label {
    font-size: 13px !important;
  }

  .password-wrapper input[type="password"],
  .password-wrapper input[type="text"] {
    padding-right: 70px !important;
  }

  .form-group:has(#lastname),
  .form-group:has(#confirm_password),
  .form-group:has(#postal_code),
  .form-group:has(#branch-autocomplete-input) {
    margin-bottom: 35px !important;
  }

  .row {
    margin-bottom: 30px !important;
  }

  #show-content-btn {
    margin-top: 25px !important;
    margin-left: auto !important;
    min-width: 100px !important;
  }

  #I_agree_section {
    margin-top: 15px !important;
    margin-bottom: 30px !important;
  }

.form-group:has(#language-autocomplete) label,
  .form-group:has(#country-autocomplete) label,
  .form-group:has(#branch-autocomplete) label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    color: #000 !important;
    background: transparent !important;
    margin-bottom: 15px !important;
    display: block !important;
    font-weight: normal !important;
  }

#postalCodeRow .form-group label {
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
    margin-bottom: 6px !important;
    display: block !important;
  }

.row label {
    width: auto !important;
    max-width: 100% !important;
  }

#postal_code {
    width: 100% !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }
}

.row .form-group {
  position: relative;
  overflow: visible;
}

.form-group.has-error label {
  color: #d32f2f;
}

@media (max-width: 420px) {
#main-content #defaultFields label {
    line-height: 15px !important;
  }

  #select-arrow67-autocomplete-wrapper,
  #If_you_chose_â€œOther\,â€_you_can_provide_more_details_here_2,
  #If_you_chose_â€œOther\,â€_you_can_provide_more_details_here_1 {
    margin-top: 0px;
  }

#defaultFields>div:nth-child(8)>div>div>label,
  #defaultFields>div:nth-child(4)>div>div>label {
    margin-top: 0px;
  }

.form-section h2 {
    font-size: 18px;
  }

  .terms-link img {
    width: 18px !important;
    height: 18px !important;
  }

  #optional-survey-heading {
    font-size: 20px;
  }

  .error-message {
    font-size: 16px;
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    min-height: auto;
    height: auto;
  }

  .form-section h1 {
    font-size: 24px;
  }

#postalCodeRow .form-group label {
    font-size: 13px !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
    margin-bottom: 5px !important;
    display: block !important;
    overflow-wrap: break-word !important;
  }

.row label {
    width: auto !important;
    max-width: 100% !important;
  }

  #postal_code {
    font-size: 13px !important;
  }

  .form-group label {
    font-size: 13px !important;
  }

  .form-section p {
    font-size: 13px;
  }

  .password-note {
    font-size: 13px;
  }

  .password-requirements-column li {
    font-size: 13px;
  }
}

@media (max-width: 370px) {
  .form-section p,
  .password-note,
  .terms-link-row,
  #I_agree_section label {
    font-size: 13px;
  }

  #main-content #defaultFields label {
    line-height: 15px !important;
  }

  .form-group label {
    font-size: 13px !important;
  }

.form-group:has(#language-autocomplete) label,
  .form-group:has(#country-autocomplete) label,
  .form-group:has(#branch-autocomplete) label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    font-size: 13px !important;
    color: #000 !important;
    background: transparent !important;
    margin-bottom: 15px !important;
    display: block !important;
    font-weight: normal !important;
  }

  #postalCodeRow .form-group label {
    font-size: 13px !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
    margin-bottom: 4px !important;
    display: block !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }

.row label {
    width: auto !important;
    max-width: 100% !important;
  }

  #postal_code {
    font-size: 13px !important;
  }
}

#main-content .input-field {
  position: relative;
  min-height: 80px;
}

.row:has(.form-check-label) {
  grid-column: span 2 !important;
}

#main-content[style*="display: block"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#main-content .input-field {
  flex: 1 1 calc(50% - 10px);
  
  display: flex;
  flex-direction: column;
}

#main-content #defaultFields .full-width {
  flex: 1 1 100%;
}

#main-content .form-check-label {
  width: 100% !important;
}

#main-content #defaultFields input,
#main-content #defaultFields select {
  font-size: 16px;
  border: 1px solid #050505;
  background-color: #fff;
  box-sizing: border-box;
}

#main-content .required {
  color: #8B0000 !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  margin-left: 2px !important;
}

#main-content .input-checkbox {
  margin-top: -30px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  grid-column: span 2;
  
  width: 100%;
}

#main-content .input-checkbox input {
  margin-top: 4px;
}

#main-content .input-checkbox label {
  font-size: 16px;
  color: #000000;
}

#main-content .input-checkbox .form-check-input {
  width: 28px !important;
  height: 28px !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  margin-top: 2px !important;
  margin-right: 5px !important;
  flex-shrink: 0 !important;
}

#main-content #submit-button {
  margin-top: 0;
  padding: 10px 30px;
  background: transparent;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-end;
  width: auto;
  margin-left: 30px !important;
}

#previous-button {
  margin-top: 0;
  padding: 10px 30px;
  background: transparent;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-end;
  width: auto;
  display: block;
  font-family: 'Open Sans', sans-serif !important;
}

.form-group:has(#postal_code) label,
#postalCodeRow .form-group label {
  display: flex !important;
  margin-bottom: -12.5px !important;
  top: -1px !important;
  
  color: #000 !important;
  background: transparent !important;

font-weight: normal !important;
  word-wrap: break-word !important;
  white-space: normal !important;
  max-width: 100% !important;
  overflow-wrap: break-word !important;
}

.form-group:has(#postal_code) #postal_code,
#postalCodeRow .form-group input {
  margin-top: 28px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.form-group:has(#language-autocomplete) #language-autocomplete,
.form-group:has(#country-autocomplete) #country-autocomplete,
.form-group:has(#branch-autocomplete) #branch-autocomplete {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

#country-autocomplete {
  width: 100%;
  position: relative;
}

#language-autocomplete .accessible-autocomplete,
#country-autocomplete .accessible-autocomplete,
#branch-autocomplete .accessible-autocomplete {
  width: 100%;
  position: relative;
  min-height: 58px;
}

#language-autocomplete .accessible-autocomplete__input,
#country-autocomplete .accessible-autocomplete__input,
#branch-autocomplete .accessible-autocomplete__input {
  width: 100% !important;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  padding: 1.3rem 44px 0.5rem 0.75rem !important;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #000 !important;
  height: auto;
  min-height: 58px;
}

#language-autocomplete .accessible-autocomplete::after,
#country-autocomplete .accessible-autocomplete::after,
#branch-autocomplete .accessible-autocomplete::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg fill="%234B286D" height="25" viewBox="0 0 24 24" width="25" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center;
  width: 25px;
  height: 25px;
  z-index: 2;
  opacity: 0.85;
}

#language-autocomplete .accessible-autocomplete__menu,
#country-autocomplete .accessible-autocomplete__menu,
#branch-autocomplete .accessible-autocomplete__menu {
  z-index: 9999;
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  background: white;
  border: 1px solid #ccc;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#language-autocomplete .accessible-autocomplete__option--focused,
#country-autocomplete .accessible-autocomplete__option--focused,
#branch-autocomplete .accessible-autocomplete__option--focused {
  background-color: #f1f1f1;
}

.dropdown-search-hint {
  position: absolute;
  top: 60%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #888;
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.accessible-autocomplete__menu--hidden,
.accessible-autocomplete__option--no-results:empty,
.select2-results__option[aria-live]:empty {
  display: none !important;
}

.accessible-autocomplete__option--no-results:only-child {
  display: none !important;
}

#defaultFields>.row.full-width:nth-child(3) {
  grid-column: span 1;
}

#defaultFields>.row:has(#select-arrow60) {
  grid-column: span 2;

}

.confirmation-page {
  display: flex;
  height: 100vh;
  width: 100%;
}

@media (max-width: 900px) {
  .confirmation-page {
    flex-direction: column;
  }

  .confirmation-image {
    display: none;
  }

  .confirmation-text {
    max-width: 100%;
    width: 100%;
    padding: 40px 30px;
    text-align: center;
  }
  .confirmation-text h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .confirmation-text p {
    font-size: 15px;
    margin-bottom: 14px;
  }

  #show-content-btn {
    margin-top: 20px;
    padding: 12px 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .confirmation-text {
    padding: 30px 20px;
  }

  .confirmation-text h1 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .confirmation-text p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  #show-content-btn {
    padding: 10px 30px;
    font-size: 15px;
    width: 100%;
  }
  
  .password-wrapper .password-toggle-label, .form-group .password-toggle-label, input+.password-toggle-wrapper .password-toggle-label {
    font-size: 13px !important;
  }
}

.input-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  box-sizing: border-box;
}

.input-field label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

#main-content .fields {
  display: grid;
  width: 100% !important;
  flex-wrap: wrap;
  gap: 0px 20px;
}

.form-buttons {
  display: flex;
}

.form-group label {
  width: 800px;
  z-index: 1;
  top: -30px !important;
  left: 0px;
  font-size: 16px;
  color: #000000;
}

#defaultFields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

#defaultFields>.row {
  width: 100%;
}

#defaultFields>.row[aria-hidden="true"] {
  display: none !important;
}
 
#defaultFields>.row.full-width {
  grid-column: span 2;
}

#defaultFields>.row.two-column-field {
  grid-column: span 1;
}

#defaultFields>.row.other-field {
  grid-column: span 2;
  margin-top: -10px;
}

#defaultFields>.row [id$="-autocomplete-wrapper"] {
  width: 100%;
  position: relative;
  height: 50px!important;
}

#defaultFields>.row [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
  width: 100% !important;
  box-sizing: border-box;
  margin-top: 0 !important;
}

#defaultFields>.row .form-group {
  margin-bottom: 40px;
  width: 100%;
}

#defaultFields>.row.two-column-field:has([id*="professional"])+.row.other-field:has([id*="other_professional"]),
#defaultFields>.row.two-column-field:has([id*="gender"])+.row.other-field:has([id*="other_gender"]),
#defaultFields>.row.two-column-field:has([id*="racial"])+.row.other-field:has([id*="other_racial"]) {
  margin-top: 0px;
}

.rc-anchor-pt {
  font-size: 16px !important;
}

#simple-captcha-input.form-control:focus {
  border-color: #6E298D;
  box-shadow: 0 0 0 2px rgba(75, 40, 109, 0.15);
}

#captcha-group label {
  color: #6E298D;
  font-weight: 500;
}

#simple-captcha-error.field-error {
  color: #8B0000;
  font-size: 16px;
  margin-top: 4px;
}

#simple-captcha-input.form-control {
  border-radius: 6px;
  border: 2px solid #6E298D;
  background: #f8f6fa;
  color: #6E298D;
  font-weight: 500;
  transition: border-color 0.2s;
}

#defaultFields>.row.full-width {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  width: 50% !important;
  margin-bottom: 0 !important;
}

#defaultFields>.row.full-width>.col {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

#defaultFields>.row.full-width:nth-of-type(3) {
  flex-direction: column !important;
  max-width: 100% !important;
}

@media (min-width: 1600px) {

  #main-content .form-group {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 60px !important;
    min-height: 85px !important;
  }

  #main-content .form-group input,
  #main-content .form-group select {
    width: 100% !important;
    font-size: 18px !important;
    
    background-color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    box-sizing: border-box !important;
    padding: 12px 18px !important;
  }

  #main-content .form-group label {
    position: absolute !important;
    top: -30px !important;
    left: 0 !important;
    color: #000 !important;
    font-size: 18px !important;
    background: transparent !important;
    font-family: 'Open Sans', sans-serif !important;
    z-index: 2 !important;
  }

  #main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    top: -28px !important;
    left: 0 !important;
    font-size: 18px !important;
    color: #4B286D !important;
    font-weight: 500 !important;
    background: transparent !important;
  }

  #main-content [id$="-autocomplete-wrapper"] {
    width: 100% !important;
    position: relative !important;
  }

  #main-content [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
    width: 100% !important;
    padding: 12px 40px 12px 18px !important;
    font-size: 18px !important;
    border: 1px solid #000000 !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    min-height: 50px !important;
    height: 50px !important;
    margin-top: 6px !important;
  }
}

@media (min-width: 1400px) and (max-width: 1975px) {
  .hidden {
    display: none !important;
  }

  #defaultFields {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 50px !important;
  }

  #defaultFields>.row {
    display: flex;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    gap: 0 !important;
  }

#defaultFields>.row[aria-hidden="true"] {
    display: none !important;
  }

  #defaultFields>.row.full-width {
    grid-column: span 2 !important;
  }

  #defaultFields>.row.two-column-field {
    grid-column: span 1 !important;
  }

#defaultFields>.row.full-width>.col {
    flex: 1 1 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #defaultFields>.row.full-width:nth-of-type(3) {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  #defaultFields>.row.full-width:nth-of-type(3)>.col {
    max-width: 100% !important;
  }

  #main-content .form-group input,
  #main-content .form-group select {
    width: 100% !important;
    font-size: 17px !important;
    
    background-color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    box-sizing: border-box !important;
    height: 48px !important;
    padding: 11px 17px !important;
  }

  #main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    top: -26px !important;
    left: 0 !important;
    font-weight: 500 !important;
    background: transparent !important;
  }

  #main-content [id$="-autocomplete-wrapper"] {
    width: 100% !important;
    position: relative !important;
  }

  #main-content [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
    width: 100% !important;
    padding: 11px 38px 11px 17px !important;
    font-size: 17px !important;
    border: 1px solid #000000 !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    height: 48px !important;
    margin-top: 6px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {

  #main-content .fields {
    display: block !important;
    gap: 0 !important;
  }

  #defaultFields {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

#defaultFields>.row[aria-hidden="true"] {
    display: none !important;
  }

  #defaultFields>.row.full-width {
    grid-column: span 2 !important;
  }

  #defaultFields>.row.two-column-field {
    grid-column: span 1 !important;
  }

  #defaultFields>.row.other-field {
    grid-column: span 2 !important;
    margin-top: -10px !important;
  }

  #defaultFields>.row.full-width>.col {
    flex: 1 1 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #defaultFields>.row.full-width:nth-of-type(3) {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  #defaultFields>.row.full-width:nth-of-type(3)>.col {
    max-width: 100% !important;
  }

  #main-content .form-group {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 50px !important;
    min-height: 80px !important;
  }

  #main-content .form-group input,
  #main-content .form-group select {
    width: 100% !important;
    font-size: 16px !important;
    
    background-color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    box-sizing: border-box !important;
    height: 46px !important;
    padding: 10px 16px !important;
  }

  #main-content .form-group label {
    position: absolute !important;
    top: -26px !important;
    left: 0 !important;
    color: #000 !important;
    font-size: 16px !important;
    background: transparent !important;
    font-family: 'Open Sans', sans-serif !important;
    z-index: 2 !important;
  }

  #main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    top: -24px !important;
    left: 0 !important;
    font-size: 16px !important;
    color: #4B286D !important;
    font-weight: 500 !important;
    background: transparent !important;
  }

  #main-content [id$="-autocomplete-wrapper"] {
    width: 100% !important;
    position: relative !important;
  }

  #main-content [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
    width: 100% !important;
    padding: 10px 36px 10px 16px !important;
    font-size: 16px !important;
    border: 1px solid #000000 !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    min-height: 46px !important;
    height: 46px !important;
    margin-top: 6px !important;
  }

}

@media (min-width: 1025px) and (max-width: 1199px) {

#main-content .fields {
    display: block !important;
    gap: 0 !important;
  }

  #defaultFields {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 19px !important;
  }

#defaultFields>.row[aria-hidden="true"] {
    display: none !important;
  }

  #defaultFields>.row.full-width {
    grid-column: span 2 !important;
  }

  #defaultFields>.row.two-column-field {
    grid-column: span 1 !important;
  }

  #defaultFields>.row.other-field {
    grid-column: span 2 !important;
    margin-top: -10px !important;
  }

  #defaultFields>.row.has-other-field-pair {
    grid-column: span 2 !important;
    margin-top: -10px !important;
  }

  #defaultFields>.row.full-width>.col {
    flex: 1 1 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #defaultFields>.row.full-width:nth-of-type(3) {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  #defaultFields>.row.full-width:nth-of-type(3)>.col {
    max-width: 100% !important;
  }

  #main-content .form-group {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 50px !important;
  }

  #main-content .form-group input,
  #main-content .form-group select {
    width: 100% !important;
    font-size: 16px !important;
    
    background-color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    box-sizing: border-box !important;
  }

  #main-content .form-group label {
    position: absolute !important;
    top: -24px !important;
    left: 0 !important;
    color: #000 !important;
    font-size: 15px !important;
    background: transparent !important;
    font-family: 'Open Sans', sans-serif !important;
    z-index: 2 !important;
  }

  #main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    top: -22px !important;
    left: 0 !important;
    font-size: 16px !important;
    color: #4B286D !important;
    font-weight: 500 !important;
    background: transparent !important;
  }

  #main-content [id$="-autocomplete-wrapper"] {
    width: 100% !important;
    position: relative !important;
  }

  #main-content [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
    width: 100% !important;
    padding: 9px 34px 9px 15px !important;
    font-size: 16px !important;
    border: 1px solid #000000 !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
    margin-top: 6px !important;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {

#main-content .fields {
    display: block !important;
    gap: 0 !important;
  }

  #defaultFields {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }

#defaultFields>.row[aria-hidden="true"] {
    display: none !important;
  }

  #defaultFields>.row.full-width {
    grid-column: span 2 !important;
  }

  #defaultFields>.row.two-column-field {
    grid-column: span 1 !important;
  }

  #defaultFields>.row.other-field {
    grid-column: span 2 !important;
    margin-top: -10px !important;
  }

  #defaultFields>.row.has-other-field-pair {
    grid-column: span 2 !important;
    margin-top: -10px !important;
  }

  #defaultFields>.row.full-width>.col {
    flex: 1 1 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #defaultFields>.row.full-width:nth-of-type(3) {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  #defaultFields>.row.full-width:nth-of-type(3)>.col {
    max-width: 100% !important;
  }

  #main-content .form-group {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 45px !important;
  }

  #main-content .form-group input,
  #main-content .form-group select,
  #main-content .form-group .autocomplete__input {
    width: 100% !important;
    font-size: 16px !important;
    background-color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    box-sizing: border-box !important;
    height: 42px !important;
    padding: 8px 14px !important;
  }

  #main-content .form-group label {
    position: absolute !important;
    top: -22px !important;
    left: 0 !important;
    color: #000 !important;
    background: transparent !important;
    font-family: 'Open Sans', sans-serif !important;
    z-index: 2 !important;
  }

  #main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    top: -20px !important;
    left: 0 !important;
    font-size: 16px !important;
    color: #4B286D !important;
    font-weight: 500 !important;
    background: transparent !important;
  }

  #main-content [id$="-autocomplete-wrapper"] {
    width: 100% !important;
    position: relative !important;
  }

  #main-content [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
    width: 100% !important;
    padding: 8px 32px 8px 14px !important;
    font-size: 16px !important;
    border: 1px solid #000000 !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    min-height: 42px !important;
    height: 42px !important;
    margin-top: 6px !important;
  }

  #main-content #submit-button,
  #previous-button {
    font-size: 16px !important;
    padding: 8px 20px !important;
  }
}

@media (max-width: 1024px) {
  #main-content .form-group label {
    position: absolute !important;
    top: -20px !important;
    left: 0 !important;
    color: #000000 !important;
    background: transparent !important;
    font-family: 'Open Sans', sans-serif !important;
    z-index: 2 !important;
  }

#main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    top: -20px !important;

    left: 0 !important;
    font-size: 14px !important;
    color: #4B286D !important;
    font-weight: 500 !important;
    background: transparent !important;
  }

  #main-content .form-group input,
  #main-content .form-group select {
    font-size: 16px !important;
  }

#main-content [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
    padding: 8px 35px 8px 14px !important;
    font-size: 16px !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 900px) {
  #defaultFields>.row.full-width:nth-child(3) {
    grid-column: span 1;
  }

  #defaultFields>.row:has(#select-arrow60) {
    grid-column: span 1;
  }

#defaultFields {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

#defaultFields>.row[aria-hidden="true"] {
    display: none !important;
  }

  #defaultFields>.row.full-width {
    grid-column: auto !important;
  }

#defaultFields>.row.full-width {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

#defaultFields>.row.full-width>.col {
    flex: 1 1 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

#defaultFields>.row.full-width:nth-of-type(3) {
    flex-direction: column !important;
    max-width: 100% !important;
  }

#main-content .form-group {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 50px !important;
  }

  #main-content .form-group input,
  #main-content .form-group select,
  #main-content .form-group .autocomplete__input {
    width: 100% !important;
    font-size: 16px !important;
    background-color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    box-sizing: border-box !important;
  }

#main-content .form-group label {
    position: absolute !important;
    top: -22px !important;
    left: 0 !important;
    color: #000 !important;
    background: transparent !important;
    font-family: 'Open Sans', sans-serif !important;
    z-index: 2 !important;
  }

#main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    top: -18px !important;
    
    left: 0 !important;
    font-size: 14px !important;
    color: #4B286D !important;
    font-weight: 500 !important;
    background: transparent !important;
  }

#main-content .field-error {
    color: #8B0000 !important;
    margin-top: 3px !important;
    margin-bottom: 10px;
    display: block !important;
  }


#main-content [id$="-autocomplete-wrapper"] {
    width: 100% !important;
    position: relative !important;
  }

  #main-content [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
    width: 100% !important;
    padding: 8px 35px 8px 12px !important;
    font-size: 16px !important;
    border: 1px solid #000000 !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    min-height: 45px !important;
    margin-top: 6px !important;
  }

#main-content .input-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 15px 0 !important;
  }

  #main-content .input-checkbox input {
    margin-top: 3px !important;
    width: 24px !important;
    height: 24px !important;
  }

  #main-content .input-checkbox label {
    font-size: 16px !important;
    
    color: #000000 !important;
    position: static !important;
    background: none !important;
  }

.form-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 30px !important;
    gap: 15px !important;
  }

  #main-content #submit-button {
    background: #fff !important;
    border: 2px solid #007681 !important;
    color: #6E298D !important;
    font-weight: bold !important;
    font-size: 16px !important;
    
    padding: 8px 20px !important;
    
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-left: 0 !important;
    width: auto !important;
  }

  #main-content #submit-button:hover,
  #main-content #submit-button:focus {
    background-color: #007681 !important;
    color: #ffffff !important;
  }

  #previous-button {
    background: #fff !important;
    border: 2px solid #007681 !important;
    color: #6E298D !important;
    font-weight: bold !important;
    font-size: 14px !important;
    
    padding: 8px 20px !important;
    
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    margin-left: 0 !important;
    
  }

  #previous-button:hover,
  #previous-button:focus {
    background-color: #007681 !important;
    color: #ffffff !important;
    outline: none !important;
  }
}

@media (max-width: 768px) {

  #main-content .form-group {
    margin-bottom: 50px !important;
  }

  #main-content .form-group label {
    top: -16px !important;
  }

  #main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    font-size: 16px !important;
    top: -16px !important;
  }

  #main-content .form-group input,
  #main-content .form-group select {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }

  #main-content [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
    font-size: 13px !important;
    padding: 6px 30px 6px 10px !important;
    min-height: 32px !important;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 26px;
  }

  .form-group .field-error,
  .input-field .field-error {
    font-size: 14px !important;
  }

#main-content #defaultFields label,
  div.agree {
    font-size: 13px !important;
  }

  #main-content .form-group {
    margin-bottom: 50px !important;
  }

  #main-content .form-group label {
    font-size: 13px !important;
    top: -14px !important;
  }

  #main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    font-size: 13px !important;
    top: -14px !important;
  }

  #main-content .form-group input,
  #main-content .form-group select {
    font-size: 13px !important;
    padding: 5px 65px 5px 8px !important;
  }

#show-content-btn,
  #main-content #submit-button,
  #previous-button {
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    font-size: 13px !important;
    padding: 10px 15px !important;
  }
  #optional-survey-heading h2 {
    font-size: 20px !important;
  }
}

@media (max-width: 340px) {

  #main-content .form-group label {
    top: -20px !important;
  }

  #main-content .form-group.focused label,
  #main-content .form-group input:focus+label,
  #main-content .form-group input:not(:placeholder-shown)+label,
  #main-content .form-group select:focus+label,
  #main-content .form-group select:not([value=""])+label {
    font-size: 14px !important;
    top: -12px !important;
  }

  #main-content p,
  .field-error,
  #main-content .field-error,
  .error-message div,
  #main-content #defaultFields label {
    font-size: 13px !important;
  }

  .fixed-indicator {
    height: 50px !important;
  }
}

@media (max-width: 900px) and (orientation: landscape) {

  .form-buttons {
    flex-direction: row !important;
    justify-content: space-between !important;
  }

  #main-content #submit-button,
  #previous-button {
    width: auto !important;
  }
}

.custom-clear-x {
  position: absolute;
  padding: 0px;
  right: 19px;
  top: -32%;
  transform: translateY(-50%);
  z-index: 11;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.custom-clear-x span[aria-hidden="true"] {
  display: inline-block !important;
  line-height: 1 !important;
  font-size: 18px !important;
  color: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

.custom-clear-x[style*="display: block"],
.custom-clear-x[style*="display:block"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
}

.custom-clear-x:focus {
  outline: none !important;
}

.autocomplete__input,
#country-autocomplete .autocomplete__input,
#language-autocomplete .autocomplete__input,
#branch-autocomplete .autocomplete__input,
[id*="-autocomplete-wrapper"] .autocomplete__input {
  padding-right: 65px !important;
  
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#main-content .autocomplete__input,
#main-content [id$="-autocomplete-wrapper"] .autocomplete__input,
#main-content [id$="-autocomplete-wrapper"] .accessible-autocomplete__input {
  padding-right: 65px !important;
  
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  height: 50px !important;
}

@media (max-width: 1199px) {
  #defaultFields {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  #defaultFields>.row.full-width,
  #defaultFields>.row.two-column-field,
  #defaultFields>.row.other-field {
    grid-column: span 1 !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  #defaultFields>.row.other-field {
    margin-top: 0px !important;
  }
}

@media (max-width: 767px) {

  #defaultFields>.row {
    margin-bottom: 25px !important;
  }

#defaultFields>.row[aria-hidden="true"] {
    display: none !important;
  }

  #main-content .form-group input,
  #main-content .form-group select {
    font-size: 16px !important;
    padding: 10px 14px !important;
  }

  #main-content .form-group label {
    top: -24px !important;
  }
}

@media (min-width: 1200px) {
.form-group.other-field-visible {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: calc(50% - 12.5px) !important;
    margin: 0 !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
  }

.form-group.has-visible-other-field {
    width: calc(50% - 12.5px) !important;
    margin-bottom: 60px !important;
    position: relative !important;
    padding: 0px !important;
  }

input[id*="If_Other"][id*="Professional"]:not([style*="display: none"]) {
    position: fixed !important;
    top: auto !important;
    right: 20% !important;
    width: 300px !important;
    z-index: 1000 !important;
    background: red !important;
    
  }

#main-content .form-group input,
  #main-content .form-group select,
  #main-content .form-group textarea {
    height: 50px !important;
    font-size: 18px !important;
    padding: 12px 18px !important;
    
    background-color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 50px !important;
  }

.form-group[style*="display: block"]:has(input[id*="If_Other"]),
  .form-group[style*="display: block"]:has(input[id*="other_"]) {
    background: yellow !important;
    border: 3px solid #8B0000 !important;
    position: fixed !important;
    top: 50% !important;
    right: 10% !important;
    width: 300px !important;
    z-index: 9999 !important;
  }
}

@media (min-width: 1400px) {
#main-content .form-group input,
  #main-content .form-group select,
  #main-content .form-group textarea,
  #main-content .autocomplete__wrapper input {
    font-size: 18px !important;
    padding: 14px 20px !important;
  }
}

@media (min-width: 1600px) {
#main-content .form-group input,
  #main-content .form-group select,
  #main-content .form-group textarea,
  #main-content .autocomplete__wrapper input {
    font-size: 18px !important;
    padding: 14px 20px !important;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.g-recaptcha {
  border: 1px solid #000 !important;
  width: fit-content !important;
  display: inline-block !important;
  padding: 0 !important;
  margin: 0 !important;
}

.g-recaptcha iframe:focus,
.g-recaptcha .recaptcha-checkbox:focus,
.g-recaptcha .recaptcha-checkbox-checkmark:focus {
  border: 2px solid #4B286D !important;
  outline: 2px solid #4B286D !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px rgba(75, 40, 109, 0.3) !important;
}

.g-recaptcha:focus-within {
  border: 2px solid #4B286D !important;
  outline: 2px solid #4B286D !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px rgba(75, 40, 109, 0.3) !important;
}

.g-recaptcha iframe {
  filter: hue-rotate(220deg) saturate(1.5) !important;
}

.g-recaptcha[data-callback]:after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  pointer-events: none !important;
  border-radius: 3px !important;
}

.g-recaptcha[data-callback*="recaptchaCallback"] iframe,
.g-recaptcha.recaptcha-checked iframe {
  filter: hue-rotate(220deg) saturate(2) brightness(0.9) !important;
}

.form-group input,
.form-group select,
.form-group .autocomplete__input,
#main-content .form-group input,
#main-content .form-group select,
#main-content .form-group .autocomplete__input {
  color: #000 !important;
}

@media (max-width: 900px) {
  .form-group input,
  .form-group select,
  .form-group .autocomplete__input,
  #main-content .form-group input,
  #main-content .form-group select,
  #main-content .form-group .autocomplete__input {
    color: #000 !important;
  }
}

@media screen and (-ms-high-contrast: active) {
.autocomplete__wrapper::after {
    background: url('data:image/svg+xml;utf8,<svg fill="windowtext" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center !important;
    filter: none !important;
  }

  .autocomplete__wrapper[aria-expanded="true"]::after,
  .autocomplete__wrapper.autocomplete__wrapper--focused::after {
    background-image: url('data:image/svg+xml;utf8,<svg fill="windowtext" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 14l5-5 5 5z"/></svg>') !important;
    filter: none !important;
  }

  .autocomplete__wrapper:hover::after {
    background-image: url('data:image/svg+xml;utf8,<svg fill="windowtext" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
    filter: none !important;
  }

.form-group select {
    background: url('data:image/svg+xml;utf8,<svg fill="windowtext" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 50% center !important;
    filter: none !important;
  }

  .form-group select:hover {
    background-image: url('data:image/svg+xml;utf8,<svg fill="windowtext" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
    filter: none !important;
  }

  .form-group select:focus,
  .form-group select[aria-expanded="true"] {
    background-image: url('data:image/svg+xml;utf8,<svg fill="windowtext" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 14l5-5 5 5z"/></svg>') !important;
    filter: none !important;
  }
}

@media (prefers-contrast: high) {
.autocomplete__wrapper::after {
    background: url('data:image/svg+xml;utf8,<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center !important;
    filter: none !important;
  }

  .autocomplete__wrapper[aria-expanded="true"]::after,
  .autocomplete__wrapper.autocomplete__wrapper--focused::after {
    background-image: url('data:image/svg+xml;utf8,<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 14l5-5 5 5z"/></svg>') !important;
    filter: none !important;
  }

  .autocomplete__wrapper:hover::after {
    background-image: url('data:image/svg+xml;utf8,<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
    filter: none !important;
  }

.form-group select {
    background: url('data:image/svg+xml;utf8,<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 50% center !important;
    filter: none !important;
  }

  .form-group select:hover {
    background-image: url('data:image/svg+xml;utf8,<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
    filter: none !important;
  }

  .form-group select:focus,
  .form-group select[aria-expanded="true"] {
    background-image: url('data:image/svg+xml;utf8,<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 14l5-5 5 5z"/></svg>') !important;
    filter: none !important;
  }
}

@media (max-width: 320px) {
  #defaultFields>div:nth-child(9)>div>div>label {
    margin-top: -15px !important;
  }
}

.autocomplete__clear-button:focus,
.autocomplete__clear:focus,
.autocomplete__dropdown-arrow-down:focus,
button[aria-label*="Clear"]:focus,
button[aria-label*="clear"]:focus,
button[title*="Clear"]:focus,
button[title*="clear"]:focus,
.clear-selection:focus,
.clear-button:focus {
  background-color: #0279A6 !important;
  color: #ffffff !important;
}

.autocomplete__clear-button:hover,
.autocomplete__clear:hover,
.autocomplete__dropdown-arrow-down:hover,
button[aria-label*="Clear"]:hover,
button[aria-label*="clear"]:hover,
button[title*="Clear"]:hover,
button[title*="clear"]:hover,
.clear-selection:hover,
.clear-button:hover {
  background-color: #0279A6 !important;
  color: #ffffff !important;
}

.autocomplete__wrapper button:focus,
.autocomplete__menu button:focus,
.dropdown button:focus,
button[type="button"]:focus {
  background-color: #0279A6 !important;
  color: #ffffff !important;
  outline: none !important;
}

.autocomplete__wrapper button:hover,
.autocomplete__menu button:hover,
.dropdown button:hover,
button[type="button"]:hover {
  background-color: #0279A6 !important;
  color: #ffffff !important;
}

input[type="checkbox"],
.form-check-input,
.password-toggle-checkbox {
  accent-color: #0279A6;
  border-color: #0279A6;
}

.password-toggle-label,
.password-wrapper .password-toggle-label,
.form-group .password-toggle-label,
input+.password-toggle-wrapper .password-toggle-label {
  color: #0279A6 !important;
}

.password-toggle-label:hover {
  color: #005a61 !important;
}

/*** JK - Code clean up and updates ***/
:root {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    * {
        box-sizing: border-box;
        transition: all 0.3s ease;
    }
}

.image-section{
    width: 35%;
    min-height: 100vh;
    position: relative;
    background: url('../images/IYS-students-hands.jpg') no-repeat;
    background-size: cover;
    background-position: top right 50%;

    .camh-tagline{
      font-size: 24px;
      padding: 1.5rem 3.5rem;
      font-family: 'Open Sans', Arial, sans-serif;
      line-height: 1.2;
      background: rgba(235,235,240, 0.8);
      width: 85%;
      margin-top:30%;
      position: relative;
      z-index: 2;
      font-weight: 900;
    }

    .waves{
      position: relative;
      z-index: 2;
    }

   .camh-logo {
        position: absolute;
        bottom: 0;
        left: 0;
        background: #F7F7F7;
        padding: 1.5rem 15% 1.5rem 3.5rem;
    }

    &::before {
      content: '';
      position: absolute;
      height: 100%;
      width: 100%;
      background: rgba(10, 24, 69, 0.5);
  }
}

.form-section {
  p {
    margin-bottom: 0.5rem;
    line-height: normal;
  }
}

/* Hide new 'Notes - Non-Campus' field from form */
.row:has(#Notes_-_Non-Campus) {
    display: none;
}

/* Checkbox focus styles - Moved from JS */
		input[type="checkbox"]:focus {
			outline: 3px solid #D1423C !important;
			outline-offset: 2px !important;
			box-shadow: 0 0 0 3px rgba(75, 40, 109, 0.3) !important;
			border: 2px solid #D1423C !important;
		}

		.form-check-input:focus {
			outline: 3px solid #D1423C !important;
			outline-offset: 2px !important;
			box-shadow: 0 0 0 4px rgba(75, 40, 109, 0.25) !important;
			border: 2px solid #D1423C !important;
			background-color: rgba(75, 40, 109, 0.1) !important;
		}

		.input-checkbox input[type="checkbox"]:focus {
			outline: 3px solid #D1423C !important;
			outline-offset: 2px !important;
			box-shadow: 0 0 0 4px rgba(75, 40, 109, 0.3) !important;
			border: 3px solid #D1423C !important;
			transform: scale(1.1) !important;
			background-color: rgba(75, 40, 109, 0.1) !important;
		}

		#I_agree_section input[type="checkbox"]:focus {
			outline: 3px solid #D1423C !important;
			outline-offset: 3px !important;
			box-shadow: 0 0 0 5px rgba(75, 40, 109, 0.3) !important;
			border: 3px solid #D1423C !important;
			transform: scale(1.15) !important;
			background-color: rgba(75, 40, 109, 0.15) !important;
		}

		input[type="checkbox"]:focus-visible {
			outline: 3px solid #D1423C !important;
			outline-offset: 2px !important;
			box-shadow: 0 0 0 3px rgba(75, 40, 109, 0.3) !important;
		}

		input[type="checkbox"]:focus:not(:focus-visible) {
			outline: none;
		}

    /* Hide Country */
    .row:has(.country-wrapper), .row:has(#select-arrow70-autocomplete-wrapper){
      display: none;
    }

    /* Adjust Confirmation Page */
    .confirmation-text{
      p{
        margin-bottom:0;
        &:first-of-type{
          margin-top: 3rem;
        }
      }
    }

    /* Form field label always on top (for second page only) - Temporary as does not fix screenreader experience */
    #main-content .form-group{
      display: flex;
      flex-direction: column;
      &:not(:has([class*=autocomplete])){
        flex-direction: column-reverse;
      }
    }


/* Fix T&C text alignment */
h2.swal2-title,
.swal2-html-container h2,
.swal2-html-container h2 + p {
  text-align: center !important;
}