/* Styles for Popup */
.swym-registry-add-to-registry-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
  animation-name: animateopacity;
  animation-duration: 0.5s;
  z-index: 999;
}

.swym-registry-add-to-registry-modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-25%);
  z-index: 9999;
}

.swym-registry-modal-close {
  position: absolute;
  right: 20px;
  border: none;
  background: none;
  font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1564 - 320)));
  cursor: pointer;
}

.swym-registry-disable-add-to-registry-btn {
  pointer-events: none;
  cursor: not-allowed;

  opacity: 0.6;
}

.swym-registry-list-container {
  width: 100%;
  margin: 0 auto;
  color: inherit;
  text-align: center;
}

#swym-registry-unordered-list {
  margin: 0;
  padding: 0;
}
#swym-registry-unordered-list {
  height: 250px;
  overflow-y: scroll;
  width: 75%;
  margin: 0 auto;
  margin-top: 3rem;
}

.swym-registry-pdp-btn-container {
  display: flex;
  width: 100%;
}

.swym-registry-no-registry h2 {
  text-align: center;
}
.swym-registry-no-registry p {
  width: 100%;
  margin-bottom: 70px;
  text-align: center;
}
.swym-registry-no-registry button {
  width: 100%;
}

/* Styles for Success Popup */
.swym-registry-add-to-registry-success-modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-25%);
  z-index: 9999;
}

.swym-registry-add-to-registry-success-modal-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.swym-registry-success-registry {
  text-align: center;
  width: 80%;
  margin-bottom: 0;
}

.swym-registry-view-success-registry .swym-registry-success-registry-name {
  text-decoration: underline;
}

.swym-registry-disabled {
  pointer-events: none;
}
.swym-registry-hidden {
  display: none;
}

/* Animations Popup */
@keyframes animateopacity {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(0, 0, 0, 0.7);
  }
}
@keyframes drop-in {
  from {
    top: 10%;
  }
  to {
    top: 25%
  }
}

/* Media queries Popup */
@media (max-width: 1040px) {
  .swym-registry-add-to-registry-modal-container
    .swym-registry-modal-container {
    width: 70%;
  }
}
@media (max-width: 768px) {
  .swym-registry-add-to-registry-modal-container
    .swym-registry-modal-container {
    width: 90%;
  }
  .swym-registry-unordered-list {
    width: 100%;
  }
}
/* Media queries Success */
@media (max-width: 1040px) {
  .swym-registry-success-modal-container {
    width: 90% !important;
  }
}
@media (max-width: 770px) {
  .swym-add-to-registry-success-modal {
    width: 70%;
  }
  .swym-gr-success-btn-container,
  .swym-registry-add-to-registry-success-modal-content p {
    width: 100%;
  }
}
@media (max-width: 436px) {
  .swym-add-to-registry-success-modal {
    width: 85%;
    padding: 20px 20px 40px 20px;
  }
}
