.instruction-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: center;
}

.instruction-box-l {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: center;
}

input[type="checkbox"].custom-consent-checkbox {
  position: absolute;
  opacity: 0;
}

.custom-consent-checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0 0 0 35px; /* Reduced from 40px to 35px */
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.4; /* Added line-height for better text alignment */
  display: block; /* Ensure label takes full width */
  margin-bottom: 0; /* Remove default margin */
}

.custom-consent-checkbox + label:before {
  content: "";
  margin-right: 10px;
  display: inline-block;
  vertical-align: top; /* Changed from text-top to top */
  width: 25px;
  height: 25px;
  background: white;
  border: solid 1px #c9caca;
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 0; /* Changed from bottom: 0px to top: 0 */
}

.custom-consent-checkbox:hover + label:before {
  border-radius: 2px;
  background: #ddd;
}

.custom-consent-checkbox:checked + label:before,
.chk-container-2.tnc .custom-consent-checkbox:checked + label:before {
  background: #00844b;
  border-radius: 4px;
  border: none;
}

.custom-consent-checkbox:checked + label:after {
  content: " ";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 2px;
  height: 2px;
  background: white;
  box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white,
    4px -6px 0 white, 4px -8px 0 white;
  transform: rotate(45deg);
}

/* Additional styles for better checkbox container alignment */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.card {
  padding: 32px;
  border: none !important;
  border-radius: 4px;
  background-color: #ffffff;
}
.card {
  padding: 30px;
  border: none !important;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 8px;
  color: #55675f;
}

#newRegForm {
  font-family: "Heebo", sans-serif;
  text-align: left;
}

#newRegForm label {
  color: #55675f;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 0;
}

.formTitle {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: solid 1px #e0e0e0;
  margin-bottom: 32px;
}

.formTitle-2 {
  border-bottom: solid 1px #e0e0e0;
  padding: 0px 0 20px;
}

.formTitle h5,
.formTitle-2 h1 {
  font-size: 24px;
  color: #202020;
  margin-bottom: 0;
}

.formTitle p {
  font-size: 14px !important;
  color: #9b9b9b;
  margin: 0 !important;
  margin-bottom: 16px !important;
}

.ctrlBtn {
  display: block;
  position: absolute;
  top: 30px;
  right: 30px;
}

input,
select {
  padding: 10px;
  width: 100%;
  height: 45px;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  outline: none;
  margin-bottom: 0 !important;
}

input:focus,
select:focus {
  outline: none;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
  border: solid 1px #e02020;
}

/* Hide all steps by default: */
.tab {
  display: none;
}

button {
  background-color: #00844b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 50px;
  font-size: 16px;
  font-family: "Heebo", sans-serif;
  cursor: pointer;
  text-transform: capitalize;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em,
    rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em,
    rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
  margin-left: 0px;
}

button:hover {
  box-shadow: none;
}

#prevBtn,
#prevBtn2,
#prevBtn3 {
  background-color: #bbbbbb;
}

#cancelBtn {
  display: block;
  color: #fff;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  background-color: #e02020;
  border: solid 1px;
}

#savebtn,
#saveDraftBtn {
  color: #ffffff;
  border: solid 1px #303030;
  background: #303030;
  box-shadow: none;
  outline: none;
}

.savebtn {
  color: #ffffff;
  border: solid 1px #303030;
  background: #303030;
  box-shadow: none;
  outline: none;
}

.formFooter {
  overflow: auto;
  border-top: solid 1px #e0e0e0;
  padding: 30px 0;
  margin-top: 30px;
}

.pageIndicator {
  text-align: center;
  margin-top: 20px;
  float: left;
}

.step.active {
  /* background-color: #00844B; */
  /* opacity: 0.5; */
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #00844b;
}

img#withoutSmile,
img#withSmile {
  display: block;
  width: 100%;
  height: 200px;
  border: dashed 1.5px #e0e0e0;
  border-radius: 4px;
  margin-bottom: 15px;
}
img#withoutSmile-preview,
img#withSmile-preview {
  display: block;
  width: 100%;
  height: 240px;
  border: dashed 1.5px #e0e0e0;
  border-radius: 4px;
  margin-bottom: 15px;
}

input[type="file"] {
  padding: 10px;
  background: #fff;
}

.imgBox {
  border: solid 1px #e0e0e0;
  border-radius: 4px;
  padding: 25px;
}

.imgBox-2 {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  border: none;
  padding: 20px;
}

input[type="file"] {
  padding: 10px;
  background: #fff;
  font-size: 12px;
}

h6.fTitle {
  font-size: 12px;
  color: #9b9b9b;
  margin: 30px 0 10px;
}

p.fContent {
  margin: 0 !important;
  font-size: 14px;
}

.infoBlock {
  padding-left: 0;
  padding-right: 30px;
  margin: 0px;
}

input[type="checkbox"].styled-checkbox {
  position: absolute;
  opacity: 0;
}

.styled-checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0 0 0 40px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

.styled-checkbox + label:before {
  content: "";
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 25px;
  height: 25px;
  background: white;
  border: solid 1px #c9caca;
  border-radius: 4px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
}

.styled-checkbox:hover + label:before {
  border-radius: 2px;
  background: #ddd;
}

.styled-checkbox:checked + label:before,
.chk-container-2.tnc .styled-checkbox:checked + label:before {
  background: #00844b;
  border-radius: 4px;
  border: none;
}

.styled-checkbox:checked + label:after {
  content: " ";
  position: absolute;
  left: 7px;
  top: 8px;
  height: 14px;
  background: white;
  width: 2px;
  height: 2px;
  box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white,
    4px -6px 0 white, 4px -8px 0 white;
  transform: rotate(45deg);
}

input.styled:focus {
  border: solid 1px #00844b;
}

select.styled:focus {
  border: solid 1px #00844b;
}

.custom-dropdown {
  position: relative;
}

.custom-dropdown select:focus {
  border: solid 1px #00844b;
}
.custom-dropdown select {
  text-overflow: "";
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
.custom-dropdown select::-ms-expand {
  display: none;
}

.custom-dropdown::before,
.custom-dropdown::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.custom-dropdown::after {
  /*  Custom dropdown arrow */
  content: "\25BC";
  height: 2px;
  font-size: 11px;
  right: 21px;
  top: 45px;
  color: #909090;
}

.custom-dropdown::before {
  /*  Custom dropdown arrow cover */
  width: 2em;
  right: 0;
  top: 0;
  bottom: 0;
}

.form-block {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 8px;
}

.data-row {
  min-width: 42%;
}

.btn-group {
  gap: 16px;
  margin-top: 24px;
  width: 100%;
  border-top: solid 1px #eeeeee;
  padding-top: 24px;
}

.l-cta-box,
.r-cta-box {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
}

.r-cta-box {
  justify-content: flex-end;
}

.btn-group > .btn-group:not(:last-child) > .btn,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-radius: 4px;
}

.btn-group > .btn-group:not(:first-child) > .btn,
.btn-group > .btn:not(:first-child) {
  border-radius: 4px;
}

#reviewSection {
  border: solid 1px #eeeeee;
  padding: 24px;
  width: 100%;
}

.step {
  display: none;
}
.step.active {
  display: block;
}
.progress {
  height: 20px;
  margin-bottom: 20px;
}
.progress-bar {
  transition: width 0.3s ease-in-out;
}
/* Additional styles for the review section */
#reviewSection .section-title {
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: Sentence Case;
  font-size: 1rem;
  border-bottom: 1px solid #eeeeee;
  border-top: 1px solid #eeeeee;
  padding-top: 8px;
  padding-bottom: 8px;
}
#reviewSection .info-row {
  margin-bottom: 0.5rem;
}
#reviewSection .info-label {
  font-weight: 500;
  width: 40%;
}
#reviewSection .info-value {
  font-weight: 600;
}
/* “Application Preview” heading */
#appPreviewTitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}
/* Profile image styling */
#profileImage {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: solid 1px #f9f9f9;
  background-color: #f9f9f9;
}
.mb-4p5 {
  margin-bottom: 1.5rem;
}

@media (max-width: 575.98px) {
  .ctrlBtn {
    position: absolute;
    top: 88% !important;
    right: auto;
    left: 20px;
  }

  .imgBox-2 {
    padding: 10px;
  }
}
