.kycjourney .popup {
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dddddd;
  box-shadow: 4px 4px 12px rgba(30, 51, 72, 0.15);
  width: 600px;
  margin: 80px auto 0;
  /*display: none;*/
}
.kycjourney .popup.active {
  display: block;
}
.kycjourney .popupheader {
  border-bottom: solid 1px #ddd;
  padding: 15px;
}
.kycjourney .popupheader span {
  font-weight: 700;
  font-size: 18px;
}
.kycjourney .dflex {
  display: flex;
}
.kycjourney .d48 {
  flex: 0 0 48%;
  max-width: 48%;
}
.kycjourney .d100 {
  flex: 0 0 100%;
  max-width: 100%;
}
.kycjourney .aligncenter {
  align-items: center;
}
.kycjourney .justifycenter {
  justify-content: center;
}
.kycjourney .justifyend {
  justify-content: end;
}
.kycjourney .spacebetween {
  justify-content: space-between;
}
.kycjourney .close {
  cursor: pointer;
}
.kycjourney .popupbody {
  padding: 15px;
}
.kycjourney .mtop20 {
  margin-top: 20px;
}
.kycjourney .mtop10 {
  margin-top: 10px;
}
.kycjourney .form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-weight: 600;
  margin-top: 10px;
  height: 42px;
}
.kycjourney .mtop5 {
  margin-top: 5px;
}
.kycjourney .form-group label {
  color: #666666;
}
.kycjourney .bluebg {
  background: #d9e6ff;
  padding: 15px;
  border-radius: 12px;
}
.kycjourney .text-center {
  text-align: center;
}
.kycjourney .bluecolor {
  color: #2e2a94;
}
.kycjourney .semibold {
  font-weight: 600;
}
.kycjourney .bluecta {
  width: 100%;
  border-radius: 8px;
  background: #2e2a94;
  color: #fff;
  text-align: center;
  font-weight: 600;
  display: block;
  padding: 10px;
  font-size: 16px;
}
.kycjourney .bluecta1 {
  width: 100%;
  border-radius: 8px;
  background: #2e2a94;
  color: #fff;
  text-align: center;
  font-weight: 600;
  display: block;
  padding: 10px;
  font-size: 16px;
}
.kycjourney .greycta {
  width: 100%;
  border-radius: 8px;
  background: #F2F2F2;
  color: #8C8E90;
  text-align: center;
  font-weight: 600;
  display: block;
  padding: 10px;
  font-size: 16px;
}
.kycjourney .f16 {
  font-size: 16px;
}
.kycjourney .f20 {
  font-size: 20px;
}
.kycjourney .chips {
  border: solid 2px #ddd;
  border-radius: 38px;
  padding: 5px 10px;
  cursor: pointer;
}
.kycjourney .chips.active {
  font-weight: 600;
  border: solid 2px #2e2a94;
  color: #2e2a94;
}
.kycjourney .gap15 {
  gap: 15px;
}
.kycjourney .gap10 {
  gap: 10px;
}
.kycjourney .f18 {
  font-size: 18px;
}
.kycjourney .greytext {
  color: #666666;
}
span.semibold.blacktext {
  color: #000;
}
.kycjourney .fileuploadbox {
  display: block;
  width: 100%;
  padding: 10px 15px;
  border: solid 1px #ddd;
  border-radius: 8px;
  position: relative;
}
.kycjourney .fileuploadbox.success {
  background: #defff0;
  border: solid 1px #2db777;
}
.kycjourney .fileuploadbox.error {
  background: #fff2f4;
  border: solid 1px #d1596b;
}
.kycjourney .fileuploadbox input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}
.kycjourney .fileuploadbox .cta {
  z-index: 2;
}
.kycjourney .cta {
  border-radius: 8px;
  background: #2e2a94;
  color: #fff;
  text-align: center;
  display: block;
  padding: 5px 10px;
}
.kycjourney .errormessage {
  color: #d1596b;
}
.kycjourney .digilockeraccess,
.kycjourney .withoutdigilocker {
  display: none;
}
.kycjourney .digilockeraccess.active,
.kycjourney .withoutdigilocker.active {
  display: block;
}
.kycjourney .visible {
  display: block;
}
.kycjourney .hidden {
  display: none;
}
.kycjourney .successmessage {
  color: #2db777;
  font-size: 12px;
}
.kycjourney a.borderedcta {
  width: 100%;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-weight: 600;
  display: block;
  padding: 10px;
  font-size: 16px;
  border: solid 1px #2e2a94;
  text-align: center;
  color: #2e2a94;
}
.kycjourney ::placeholder {
  font-size: 16px;
  font-weight: 400;
}

.kycjourney input[type="date"] {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #000;
}

.kycjourney .date-picker-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.kycjourney .date-picker-container input {
  width: 100%;
  padding-right: 40px; /* Space for the icon */
}

.kycjourney .date-icon {
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  top: 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  ::placeholder {
    font-size: 12px;
    font-weight: 400;
  }
  .kycdetails {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%); /* Start hidden below */
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    display: block; /* Hide initially */
  }

  .yesdigilocker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%); /* Start hidden below */
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    display: none; /* Hide initially */
  }

  .viewupload {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%); /* Start hidden below */
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    display: block; /* Hide initially */
  }

  .closewindow {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%); /* Start hidden below */
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    display: contents; /* Hide initially */
  }

  .thankyou {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%); /* Start hidden below */
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    display: contents; /* Hide initially */
  }

  .kyccompleted {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%); /* Start hidden below */
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    display: contents; /* Hide initially */
  }

  .kranotcompliant {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%); /* Start hidden below */
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    display: contents; /* Hide initially */
  }

  .kycjourney .popup {
    width: 100%;
    bottom: 0;
    position: absolute;
  }

  .kycjourney .popup.kycverify .popupbody .dflex {
    display: block;
  }
  .kycjourney .popup.kycverify .dflex .d48 {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 20px 0;
  }
}
