.formUI {
  width: 100%;
  min-width: 400px;
  margin: 0 auto;
  /* padding: 20px; */
  border-radius: 0;
  background-color: #FEFEFE;
}

.milesMentorCss {
  display: flex;
}

.textarea_width {
  width: 100%;
}

.formUI label {
  display: block;
  font-weight: bold;
  color: black;
  background-color: transparent !important;
  padding: 8px 0 !important;
}

.modal-header {
  border: 0 !important;
}

.radiolabel_w {
  padding: 20px 40px;
}

.radiolabel {
  display: flex;
  flex-direction: row;
}

.radiolabel a {
  color: #035CE1;
  font-weight: bold;
}

#hkstp_consent_ai_l,
#hkstp_consent_dirmkt_l,
#hkstp_consent_peoplehub_l,
#radiolabel_1,
#radiolabel_2,
#radiolabel_3,
#radiolabel_4,
#radiolabel_5,
#radiolabel_6,
#radiolabel_7,
#radiolabel_8 {
  display: flex;
  background-color: white;
}



#hkstp_mobilenumber::placeholder,
#hkstp_linkedinlink::placeholder,
#hkstp_firstname::placeholder,
#hkstp_lastname::placeholder,
#hkstp_emailaddress::placeholder,
#hkstp_mobilenumber::placeholder,
#hkstp_bio::placeholder,
#hkstp_startupkindlookingfor::placeholder,
#hkstp_providingstostartup::placeholder {
  opacity: 0.4;
}

.formUI input[type="text"],
.formUI input[type="datetime-local"],
.formUI input[type="number"],
.formUI input[type="url"],
.formUI input[type="tel"] {
  width: 100%;
  padding: 16px 20px !important;
  border: 1px solid #ccc !important;
  border-radius: 16px !important;
  box-sizing: border-box;
  margin-bottom: 0;
  background-color: #fff !important;
  color: black;
  font-size: 15px;
}

input[type="text"]::placeholder {
  color: #999999
}

.formUI input[type="email"] {
  width: 100%;
  padding: 16px 20px !important;
  border: 1px solid #ccc !important;
  border-radius: 16px !important;
  box-sizing: border-box;
  margin-bottom: 0;
  color: #999999;
  font-size: 15px;
}

#hkstp_emailaddress::placeholder {
  color: #999999
}

.formUI textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px 20px !important;
  box-sizing: border-box;
  border: 1px solid #ccc !important;
  border-radius: 16px !important;
  resize: vertical;
  margin-bottom: 0;
  font-family: inherit;
  font-size: 15px;
}

.formUI input[type="radio"] {
  display: flex;
  /* width: 40%; */
  padding: 20px 40px;
}

.formUI select {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #ccc;
  border-radius: 16px;
  color: #999999;
}

input[type=file]::file-selector-button {
  margin-right: 20px;
  border: none;
  background: #084cdf;
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease-in-out;
}

input[type=file]::file-selector-button:hover {
  background: #0d45a5;
}

.radio_checkbox_align {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
}

.bottommargin {
  margin-bottom: 0;
}

form .error {
  font-size: x-small;
  color: #ff0000;
}

input:disabled,
textarea:disabled,
input[type="email"]:disabled,
select:disabled {
  background-color: #ededed;
}

.submitbtn {
  background-color: #035ce1;
  color: #fff;
  border-radius: 9999px;
  display: block;
  margin: 20px auto 0;
  min-height: 46px;
  min-width: 200px;
  padding: 12px 48px;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

/* Modal styles */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}
.modal-backdrop {
   z-index: 1 !important;
}

.modal-content {
  display: block;
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  z-index: 999;
  /* Could be more or less, depending on screen size */
  text-align: center;
}

.modal-content-mentorrole {
  display: block;
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  /* Could be more or less, depending on screen size */
  border-radius: 12px;
}

.close {
  color: #aaa;
  display: flex;
  flex-direction: row-reverse;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* terms overlay */
#terms_popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 20px;
  overflow: hidden;
}

#terms_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

#terms {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.terms p {
  font-size: 16px;
}

#agreeButton {
  /* background: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  opacity: 0.5;
  pointer-events: none; */
  background-color: #035ce1;
  color: #fff;
  border-radius: 9999px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  padding: 2px 1.5rem 2px 1.5rem;
  border: none;
  font-weight: bold;
  opacity: 0.5;
  pointer-events: none;
}

#agreeButton.enabled {
  opacity: 1;
  pointer-events: auto;
}

.leftpad {
  margin: 0 1.8em;
}

a {
  color: #035CE1;
  font-weight: bold;
}

.lineup {
  display: flex;
  flex-direction: row;
  margin-bottom: 0.6em;
}

.error-message-m {
  color: red;
  font-size: 1em;
  display: none;
  /* Initially hidden */
  padding: 0 40px;
}

/* Mobile responsive */
@media (max-width: 576px) {
  .formUI {
    min-width: 0 !important;
  }
  .error-message-m {
    padding: 0 20px;
  }
  .radiolabel_w {
    padding: 10px 20px;
  }
}