#usernameIDBar,
#usernameID1 {
  padding-left: 6px !important;
}

#registerBar {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#registerBar.register-bar-visible {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#registerBar #loginFormBar {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center !important;
  gap: 20px;
  width: 100%;
}

#registerBar .register-title {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  white-space: nowrap;
  flex-shrink: 0;
}

#registerBar .validation-checkbox-wrapper {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center !important;
  gap: 12px;
  position: static !important;
  top: auto !important;
  left: auto !important;
  flex: 1 1 auto;
  min-width: 0;
}

#registerBar .validation-checkbox-wrapper .form-group {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
}

#registerBar .validation-checkbox-wrapper .form-group:first-of-type {
  order: 1;
}

#registerBar .validation-checkbox-wrapper .form-group:last-of-type {
  order: 2;
}

#registerBar .tnc-container {
  order: 3;
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  max-width: 420px;
}

#registerBar .btn-login-mobile {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
}

#registerBar #btnRegisterBar {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
}

#registerBar.register-bar-before,
#registerBar.register-bar-after {
  height: auto !important;
  min-height: 70px;
  overflow: visible !important;
}

#registerBar .container {
  flex-wrap: wrap;
}

#registerBar #usernameIDBar {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  height: 42px;
  width: 280px;
  cursor: text !important;
  text-align: left;
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: inset 0px 3px 6px #00000029;
  border-radius: 5px 0px 0px 5px;
  border: none;
  padding-left: 8px !important;
  flex-shrink: 0;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Neutralize Bootstrap 5 .btn conflicts on mobile number field — all screen sizes */
.btn-login-mobile2,
#usernameID1 {
  border: none !important;
  border-radius: 5px !important;
  text-decoration: none !important;
  --bs-btn-padding-x: 0 !important;
  --bs-btn-padding-y: 0 !important;
  --bs-btn-bg: #ffffff !important;
  --bs-btn-color: #333 !important;
  --bs-btn-border-color: transparent !important;
  --bs-btn-hover-bg: #ffffff !important;
  --bs-btn-hover-color: #333 !important;
  --bs-btn-hover-border-color: transparent !important;
  --bs-btn-active-bg: #ffffff !important;
  --bs-btn-active-color: #333 !important;
  --bs-btn-active-border-color: transparent !important;
  --bs-btn-focus-box-shadow: none !important;
}

.btn-login-mobile2:hover,
.btn-login-mobile2:focus,
#usernameID1:hover,
#usernameID1:focus {
  background: #ffffff 0% 0% no-repeat padding-box !important;
  color: #333 !important;
  text-decoration: none !important;
  box-shadow: inset 0px 3px 6px #00000029 !important;
  border: none !important;
  outline: none !important;
}

/* Desktop only — ensure hero field visibility, don't interfere with mobile media queries */
@media (min-width: 768px) {
  #usernameID1,
  .btn-login-mobile2 {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding-left: 8px !important;
    text-align: left;
    background: #ffffff 0% 0% no-repeat padding-box !important;
    box-shadow: inset 0px 3px 6px #00000029 !important;
    border: none !important;
    color: #333 !important;
    cursor: text !important;
  }
}

/* Bootstrap 5 .btn override — preserve original blue background on hero register button, all screen sizes */
.btn-register-start-resume2 {
  --bs-btn-bg: #043b72 !important;
  --bs-btn-color: #fff !important;
  --bs-btn-border-color: transparent !important;
  --bs-btn-hover-bg: #043b72 !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-border-color: transparent !important;
  --bs-btn-active-bg: #043b72 !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-border-color: transparent !important;
  --bs-btn-focus-box-shadow: none !important;
  --bs-btn-padding-x: 0 !important;
  --bs-btn-padding-y: 0 !important;
  border: none !important;
  background-color: #043b72 !important;
  color: #fff !important;
}

.btn-register-start-resume2:hover,
.btn-register-start-resume2:focus {
  background-color: #043b72 !important;
  color: #fff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Mobile responsive — fix Bootstrap 5 .btn padding/sizing conflicts on hero register button */
@media (max-width: 767px) {
  .btn-login-mobile2,
  #usernameID1 {
    padding: 0 8px !important;
    line-height: normal !important;
    vertical-align: middle !important;
  }

  .btn-register-start-resume2 {
    --bs-btn-padding-x: 0 !important;
    --bs-btn-padding-y: 0 !important;
    --bs-btn-border-color: transparent !important;
    --bs-btn-bg: #f58220 !important;
    --bs-btn-hover-bg: #f58220 !important;
    --bs-btn-hover-border-color: transparent !important;
    --bs-btn-active-bg: #f58220 !important;
    --bs-btn-active-border-color: transparent !important;
    --bs-btn-focus-box-shadow: none !important;
    border: none !important;
  }

  .btn-register-start-resume2:hover,
  .btn-register-start-resume2:focus {
    background: #f58220 !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
}

#registerBar #btnRegisterBar {
  height: 42px;
  width: 100px !important;
  min-width: 100px;
  max-width: 100px;
  border-radius: 0px 5px 5px 0px;
  background-color: #f58220;
  color: white;
  font: normal normal 600 14px/22px Red Hat Display;
  letter-spacing: 0.7px;
  padding: 0;
  flex-shrink: 0;
  border: none;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
