.swym-registry-checkout-btn-parent {
  width: 100%;
}

/* Styles for Popup */
.swym-registry-checkout-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: 9999;
}

.swym-registry-checkout-modal-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 40vw;
  z-index: 9999;
  animation: drop-in .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.swym-registry-modal-header {
  padding: 1rem 2rem;
}
.swym-registry-modal-content .swym-registry-modal-content-scrollable-content {
  min-height: 40vh;
  max-height: 60vh;
  overflow-y: scroll;
  width: 100%;
  padding: 0 20px;
}
.swym-registry-modal-content-scrollable-content > div {
  width: 100%;
}

.swym-registry-modal-content,
.swym-registry-modal-footer {
  padding: 0 1rem;
}

.swym-registry-checkout-header-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.swym-registry-checkout-modal-close-container {
  text-align: center;
  align-self: center;
  padding: 5px 0;
}

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

.swym-registry-checkout-footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.swym-registry-checkout-footer-flex div {
  width: 100%;
}

#swym-registry-popup-gifter-form
  .swym-registry-checkout-popup-checkout-popup-input
  input:focus,
#swym-registry-popup-gifter-form
  .swym-registry-checkout-popup-checkout-popup-input
  textarea:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#swym-registry-checkout-btn {
  display: none;
}

#swym-registry-popup-gifter-form {
  display: none;
  padding: 32px 0px;
}

#swym-registry-popup-address-form {
  padding: 32px 0;
}
#swym-registry-popup-address-form input {
  margin: 0 1rem;
  cursor: pointer;
}

/* 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-checkout-modal-container {
    min-width: 70vw;
  }
}
@media (max-width: 768px) {
  .swym-registry-checkout-modal-container {
    min-width: 90vw;
  }
}
