.member-details-loader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: rgb(255 255 255 / 80%);
}

.member-fetch-form {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 490px;
  margin-top: 20px;
  padding: 30px;
  border-radius: 8px;
  background: #0e1b71;
}

.member-fetch-form .member-fetch-form_label {
  margin-bottom: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
}

.member-fetch-form .member-fetch-form_field {
  padding: 8px 195px 8px 16px;
  border: none;
  border-radius: 0;
  height: auto;
  color: #000;
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 1px;
}

.member-fetch-form .member-fetch-form_button {
  position: absolute !important;
  right: 30px;
  bottom: 30px;
}

body .member-fetch-form_button {
  border: none !important;
  border-radius: 0;
  padding: 14px 10px;
  background: #ff9016;
  color: #fff !important;
  font-size: 16px !important;
  line-height: normal !important;
}

.member-fetch-form_button:hover {
  background: #000000;
}

.member-fetched-details {
  width: 100%;
  margin: 20px 0;
}

.member-fetched-details .fetched-details-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
  line-height: normal;
}

.member-fetched-details .fetched-details-wrapper .fetched-details-lists {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  border: 1px solid #c9c9c9;
  background: #fff;
}

.member-fetched-details .fetched-details-wrapper .fetched-details-lists .fetched-details-label {
  display: inline-block;
  width: 100%;
  min-width: 300px;
  max-width: 130px;
  padding: 12px 15px;
  border-right: 1px solid #c9c9c9;
  background: #ebebeb;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

.member-fetched-details .fetched-details-wrapper .fetched-details-lists .fetched-details-data {
  padding: 12px 15px;
  color: #000;
  font-size: 16px;
}

#certificate-container {
  margin-bottom: 20px;
}

#certificate_preview_code {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  padding: 22px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  background: #ebebeb;
  margin-top: 30px;
}

#certificate-preview {
  width: 100%;
  max-width: 3in;
}

#generate-certificate-code {
  width: calc(100% - 3in - 16px);
  padding: 14px;
  border: 1px solid #c9c9c9;
  background: #ffffff;
  color: #000;
  font-size: 14px;
  line-height: normal;
}

#copyEmbedCode {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .member-fetch-form {
    max-width: 100%;
  }

  .member-fetched-details .fetched-details-wrapper {
    gap: 4px;
  }

  .member-fetched-details .fetched-details-wrapper .fetched-details-lists {
    flex-direction: column;
  }

  .member-fetched-details .fetched-details-wrapper .fetched-details-lists .fetched-details-label {
    min-width: 100%;
    max-width: 100%;
    border-right: 0;
    border-bottom: 1px solid #c9c9c9;
  }

  #certificate_preview_code {
    flex-direction: column;
  }

    #generate-certificate-code, #certificate-container button#generate-certificate {
        width: 100%;
    }
}
