* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f4f4f4;
}


.container {
display: flex;
width: 100%;
height: 100vh; /* Changed to 100vh for full screen on mobile */
border-radius: 8px;

}


.left-side {
  flex: 1;
  background-image: url('./kmcc image.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.left-side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2e312e89; 
  z-index: 1;
}

.left-side .logo img {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.left-side .text {
  text-align: center;
  position: relative;
  z-index: 2;
}

.left-side .text h1 {
  margin-bottom: 20px;
  font-size: 25px;
  font-family: 'Open Sans', sans-serif;
}

.left-side .text p {
  margin-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  z-index: 2;
}

.left-side .download-link,
.left-side .search-status-link {
  text-decoration: none;
  z-index: 2;
}

.download-link {
  border: none;
  color: #000;
  background: #ffffff;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 12px;
}
.download-link:hover {
  background: #3536c6;
  color: #fff;
}

.search-status-link {
  border: none;
  background: #008000;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 12px;
  color: #ffffff;
  display: inline-block;
  margin-top: 10px;
}

.search-status-link:hover {
  background: #3536c6;
}
.right-side {
  flex: 1;
  max-height: 100%;
  overflow-y: auto;  
 
  padding: 20px; 
  background-color: #ffffff; 
  padding: 20px;
padding-bottom: 50px; 
}

.formbold-main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.formbold-form-wrapper {
  flex: 1;
  
}

.formbold-steps {
  padding-left: 90px;
  padding-bottom: 17px;
  margin-bottom: 17px;
  border-bottom: 1px solid #DDE3EC;
}

.formbold-steps ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  position: relative;
  width: 100%;
}

.formbold-steps li {
  position: relative;
  text-align: center;
  flex-grow: 1;
}

.formbold-steps li span {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #ccc; /* Default circle color */
  border-radius: 50%;
  color: white;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.formbold-steps li::before {
  content: '';
  position: absolute;
  top: 50%;
  
  width: 100%;
  height: 2px;
  background-color: #ccc; /* Inactive line color */
  z-index: 0;
}

.formbold-steps li:first-child::before {
  left: 50%;
  /* No line before the first step */
}

.formbold-steps li.active::before {
  background-color: #28a745; /* Active line color before the active step */
  width: 100%; /* Only half line is active */
 
}


.formbold-steps li.active + li::before {
  background-color: #ccc; /* Keep the line after active step in default color */
  width: 100%; /* Only the next half stays inactive */
  
}

.formbold-steps li:last-child::before {
  display: none; /* Remove the line after the last step */
}

.formbold-steps li.active span {
  background-color: #28a745; /* Active circle color */
}

.formbold-input-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}

.formbold-input-flex > div {
  flex: 1;
  min-width: 200px;
}
.formbold-input-flex > div:last-child {
margin-right: 0; /* No margin for the last item */
}
.formbold-form-label{
font-weight: 500;
font-size: 14px;
color: #536387;
}
.formbold-gender-options{
margin-top: 14px;
}


.formbold-form-input {
  font-family: 'Open Sans', sans-serif;
  width: 100%;
  padding: 13px 22px;
  border-radius: 5px;
  border: 1px solid #DDE3EC;
  background: #FFFFFF;
  font-weight: 500;
  font-size: 13px;
  color: #536387;
  outline: none;
  resize: none;
}

.formbold-form-input:focus {
  border-color: #008000;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}



.formbold-form-radio {
  margin-right: 8px;
  text-align: left;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
}

.formbold-gender-options {
  display: flex;
  gap: 20px;
}

.upload-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  color: #536387;
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.upload-button:hover {
  background-color: #f8f9fa;
}

.upload-button-wrapper {
  display: inline-block;
}

/* Center the Next button */
.prev-btn {
  background-color: #008000;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}
.prev-btn:hover {
  background-color: #008000;
}

.formbold-btn-wrapper {
text-align: center;
position: relative;
margin-top: 20px;
}
.formbold-btn-wrapper .next-btn {
background-color: #008000; 
color: white; 
border: none; 
border-radius: 4px; 
padding: 10px 20px; 
font-size: 14px; 
cursor: pointer;
transition: background-color 0.3s, transform 0.3s; 
}

.formbold-btn-wrapper .next-btn:hover {
background-color: #023502; 
transform: scale(1.05); 
}

.formbold-btn-wrapper .next-btn:focus {
outline: none; 
box-shadow: 0 0 0 2px rgba(38, 143, 255, 0.5); 
}
/* Center the Terms and Conditions section */
.terms-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.terms-section label {
  display: flex;
  align-items: center;
}

.terms-section a {
  color: #008000;
  font-size: 14px;
  text-decoration: none !important;
  margin-left: 5px;
}

.terms-section a:hover {
  color: #001bce;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  padding-top: 60px;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 35%;
  max-width: 90%;
  z-index: 10000;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.formbold-form-step {
  display: none;
}

.formbold-form-step.active {
  display: block;
}


.form-radio {
position: relative;
padding-left: 40px;
margin-bottom: 22px;
cursor: pointer;
font-size: 16px;
display: inline-block;
user-select: none;
font-family: 'Open Sans', sans-serif;
}

.form-radio input {
opacity: 0;
position: absolute;
}

.checkmark {
position: absolute;
top: -1;
left: 0;
height: 24px; 
width: 24px; 
background-color: #fff; 
border: 2px solid #008000; 
border-radius: 50%;
transition: background-color 0.3s ease; 
}

.form-radio input:checked + .checkmark {
background-color: #008000; 
}

.form-radio input:checked + .checkmark:after {
content: "";
position: absolute;
left: 8px;
top: 3px;
width: 5px; 
height: 10px; 
border: solid white;
border-width: 0 2px 2px 0; 
transform: rotate(45deg); 
transition: all 0.3s ease; 
}


.form-radio:hover .checkmark {
border-color: #005700; 
}

.form-question{
text-align: left;
font-size: 16px;
font-family: 'Open Sans', sans-serif;

}
@media (max-width: 768px) {
body {
height: auto; 
padding: 20px; 
}

.container {
flex-direction: column;
height: auto;
}

.left-side {
padding: 15px; 
text-align: center; 
}

.left-side .logo img {
max-width: 120px;
}

.left-side .text h1 {
font-size: 20px; 
}

.left-side .text p {
font-size: 12px; 
}

.download-link,
.search-status-link {
font-size: 10px; 
padding: 10px 20px; 
}

.right-side {
padding: 15px; 

}

.formbold-input-flex > div {
min-width: 100%; 
}

.formbold-input-flex {
flex-direction: column; 
}

.formbold-form-input {
font-size: 12px; 
}

.formbold-btn-wrapper .next-btn {
font-size: 14px;
padding: 10px;
}
.formbold-btn-wrapper .prev-btn {
font-size: 14px;
padding: 10px; 
}

.formbold-steps {
padding-left: 20px; 
}

.formbold-steps li span {
width: 30px; 
height: 30px; 
line-height: 30px; 
}

.formbold-steps li::before {
height: 1px; 
}

.terms-section {
flex-direction: column;
align-items: center; 
}

.terms-section a {
font-size: 12px;
}

.upload-button {
font-size: 12px; 
}
.modal-content {
width: 100%;
}
}
.left-side::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #2e312e89; 
z-index: 1;
}
#cropperModal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background-color: #fefefe;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 500px;
position: relative;
}
.close {
position: absolute;
top: 10px;
right: 20px;
font-size: 24px;
cursor: pointer;
}
.crop-container {
max-height: 400px;
overflow: hidden;
}
#imageToCrop {
width: 100%;
}
#uploadedImage {
margin-top: 20px;
border: 2px solid #ddd;
padding: 5px;
max-width: 200px;
}
#cropButton{
margin-top: 10px;
padding: 13px;
color: #fff;
cursor: pointer;
background-color: #008000;
}