.modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  z-index: 1000; /* Ensure it appears above other content */
}

.modalContent {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 800px; /* Optional max width for larger screens */
  max-height: 90vh; /* Limit the maximum height to 80% of the viewport height */
  height: auto; /* Adjust height based on content */
  padding: 30px 60px 20px 60px; /* Top: 15px, Right: 30px, Bottom: 10px, Left: 30px */
  background-color: #fff; /* White background */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  overflow-y: auto; /* Enable vertical scrolling if content overflows */
  z-index: 1000;
  /* //margin-bottom: 100px; */
}

.modalHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 15px;
  /* border-bottom: 1px solid #ddd; */
  position: relative;
}

.modalHeaderText {
  display: flex;
  flex-direction: column;
}

.modalHeaderText h2 {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin: 0;
  line-height: 11.47px;
}

.modalHeaderText h6 {
  font-size: 13px;
  font-weight: 300;
  color: #8692a6;
  line-height: 24px;
  margin: 5px 0 0 0;
}

.closeButton {
  font-size: 24px;
  font-weight: bold;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  transition: color 0.3s ease;
  padding: 10px;
}

.closeButton:hover {
  color: #333;
}

.modalForm {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.inputSpan{
  gap: 20px; /* Adjust spacing between elements */
  align-items: center; 
  width:100%;
  flex: 0 0 48%;

}

.react-datepicker-wrapper {
  width: 100%;
}

.react-datepicker__input-container input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
}



.modalFormButton {
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modalFormButton:hover {
  background-color: #0056b3;
}

.modalForm .cancelBtn {
  background-color: #66c293;
}

.modalForm .cancelBtn:hover {
  background-color: #5a6268;
}
.modalFormDropdown {
  width: 100%;
  padding: 10px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  margin-top: 8px;
  /* background-color: #fff; */
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  font-size: 16px;
  font-weight: 300;
  appearance: none;
}
/* 
.modalFormInput {
  width: 100% !important;
  padding: 10px !important;
  margin-top: 8px !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  
} */

.modalFormLabel {
  display: flex;
  flex-direction: column;
  gap: 4px; /* Adjust this value as needed */
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  margin-top: 17px;
  width: 100%;
}
.modalFormInput {
  width: 100% !important;
  padding: 10px !important;
  margin-top: 4px !important; /* Reduced from 8px */
  border: 1px solid #d9d9d9 !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 300 !important;
}


.modalFormTextarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  font-size: 14px;
  font-weight: 300;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  margin-top: 8px;
  resize: vertical;
}
/* .modalFormInput:focus{
  border-color: #007bff;
  border-radius: 30px;
  /* //outline: none; 
} */


.modalFormButton {
  
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}



.modalFormLabel span {
  margin-bottom: 5px;
  font-weight: bold;
}

.toggleWrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.toggleContainer {
  display: flex;
  flex-direction: row;
  /* justify-content: space-between; */
  width: 100%; /* Make it occupy the entire width of the wrapper */
}

.toggleLabel {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  width: 100%; 
  align-items: center;
  position: relative;
  padding: 10px 0;
}

.toggleInput {
  display: none;
}

.toggleSlider {
  position: relative;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 20px;
  transition: background-color 0.3s;
}

.toggleSlider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: white;
  border-radius: 50%;
  left: 2px;
  top: 1px;
  transition: transform 0.3s;
}

.toggleInput:checked + .toggleSlider {
  background-color: #4caf50; /* Green color when checked */
}

.toggleInput:checked + .toggleSlider:before {
  transform: translateX(20px); /* Move the slider to the right when checked */
}


.react-tel-input .flag-dropdown {
  border-radius: 15px 10px 10px 15px !important;
  background-color: red !important;
}
.customPhoneInput {
  /* background-color: #0056b3 !important; */
  padding: 22px 40px 22px 40px;
  border-radius: 10px !important;
  border: 1px solid #d9d9d9;
  margin-top: 10px;
  width: 100% !important;
  font-weight: 300;
}
.customPhoneInput :focus {
  border-color: #007bff;
  outline: none;
}
