#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none;
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
  align-items: center;
  justify-content: center;
}
.popup-wrapper {
  flex-basis: 450px;
  height: 400px;
  margin: 25px;
  background-color: #f7f7f7;
  padding: 32px;
  /* border-radius: 24px; */
  position: relative;
  box-sizing: border-box;
  z-index: 3000;
  cursor: default;
}
.popup-header {
  font-family: "Poppins", sans-serif;
  font-size: 19px;
  font-weight: 400;
  margin-top: 24px;
  display: flex;
  justify-content: center;
  background-color: silver;
  border: 1px solid orangered;
  opacity: 0.7;
  border-radius: 4px;
}
.popup-header.success{
  background-color: #5cb85c;
  border: 1px solid green;
  color:white;
}
.popup-header.failed{
  background-color: #cc0000;
  color: white;
}
.popup-close {
  position: absolute;
  right: 24px;
  bottom: 24px;
  cursor: pointer;
}

.popup-body {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.popup-subtitle {
  font-size: 16px;
  font-weight: 300;
  text-align: center;
}

.success-gif{
  width:100px;
  height:100px;
  background: url("/assets/img/success.gif");
  background-position: center;
  background-size: cover;
  margin: auto;
}
.failed-gif{
  margin-top: 50px;
  width:70px;
  height:70px;
  background: url("/assets/img/failed.png");
  background-position: center;
  background-size: cover;
  margin: auto;
}
.popup-error-list {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 200;
}
.popup-error-list > li {
  margin: 8px;
}
