.weddyn-wishlist-page {
  /* Styles for the main container */
  max-width: 930px;
  margin: auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.weddyn-muted {
  color: #64748b;
}
.weddyn-item-details h1,
.weddyn-item-details h2,
.weddyn-item-details h3,
.weddyn-item-details h4,
.weddyn-item-details h5,
.weddyn-item-details h6,
div,
#weddyn-modal-title {
  color: rgb(55, 65, 81);
}

.weddyn-wishlist-item {
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #e1e7ef;
  padding: 0;
  border-radius: 8px;
}

.weddyn-item-details {
  width: 100%;
  flex: 1 1 0%;
  padding: 1rem;
}

.weddyn-item-details h3 {
  /* font-family: Inter; */
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -3%;
}

.weddyn-item-note {
  font-size: 0.9em;
  /* text-align: center;  */
  /* font-family: Inter; */
  font-weight: 400;
}

.weddyn-wishlist-item.funded {
  opacity: 0.7;
}

.weddyn-item-image {
  /* margin-right: 15px;  */
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  width: 100%;
  height: 10rem;
  background-color: #eee;
  overflow-y: hidden;
}

/* Added !important because elementor interferes with this styles */
.weddyn-item-image img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 4px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.weddyn-item-details h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.weddyn-item-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  color: #555;
  margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
  .weddyn-button {
    width: 100%;
    margin-top: 10px;
  }
}

.weddyn-item-progress-bar {
  display: block;
  background-color: #e0e0e0;
  border-radius: 4px;
  height: 10px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 16px;
}

.weddyn-item-progress-bar div {
  background-color: #0f172a;
  height: 100%;
}

#weddyn-modal-submit-button,
.weddyn-button {
  background-color: #a3b18a !important;
  color: white !important;
  border: none !important;
  padding: 8px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  border-radius: 999px;
  cursor: pointer;
}

#weddyn-modal-submit-button:hover {
  background: #575b47ff !important;
}

.weddyn-button.funded {
  background-color: #777;
}

.weddyn-button:hover {
  background-color: #1e6a8d;
}

/* Modal Styles */
.weddyn-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.weddyn-modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}

.weddyn-modal-close {
  color: #020617;
  float: right;
  font-size: 28px;
  font-weight: 500;
  position: absolute;
  top: 10px;
  opacity: 1px;
  right: 15px;
}

#weddyn-modal-title {
  margin-top: 20px;
  margin-bottom: 0;
}

.weddyn-modal-logo {
  display: none;
}

.weddyn-modal-close:hover,
.weddyn-modal-close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

#weddyn-payment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#weddyn-payment-form label {
  display: block;
  margin-top: 10px;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1em;
  color: rgb(2, 8, 23);
}

#weddyn-payment-form input[type="text"],
#weddyn-payment-form input[type="email"],
#weddyn-payment-form input[type="number"],
input {
  width: 100%;
  min-height: 40px;
  height: 2.5rem;
  padding: 10px;
  margin-top: 0;
  border: 1px solid rgb(222, 226, 230);
  border-radius: 8px !important;
  background-color: rgb(255, 255, 255);
  padding: 0.5rem 1rem;
  font-size: 14px;
  color: rgb(55, 65, 81);
  box-shadow: none;
  outline: none !important;
  line-height: 26px;
}
#weddyn-modal-target-info,
.muted-color {
  color: #64748b;
}

#weddyn-modal-submit-button {
  margin-top: 20px;
  width: 100%;
}

.weddyn-notice {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.weddyn-notice-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.weddyn-notice-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media screen and (min-width: 769px) {
  .weddyn-wishlist-item {
    display: grid;
    grid-template-columns: 15% 1fr;
    gap: 2px;
    align-items: center;
  }

  .weddyn-item-image {
    /* back ground: red; */
    height: 100%;
    width: 100%;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0.5rem;
    -ms-flex-negative: 0 !important;
    flex-shrink: 0 !important;
  }

  .weddyn-item-details {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 120px;
  }

  .weddyn-item-info {
    width: 60%;
    max-width: 80%;
  }

  .weddyn-item-progress-bar {
    margin-bottom: 0;
  }

  .weddyn-item-note {
    font-size: 14px;
  }

  .weddyn-item-progress-info {
    font-size: 16px;
  }

  .weddyn-modal-logo {
    display: block;
    width: 100%;
    object-fit: cover;
    max-height: 200px;
    border-radius: 10px;
  }
}
