/* Modal styles moved out of app.css so they are cached (not inlined into every SSR page).
   Wrapped in :root to keep specificity close to the old emulated-encapsulation selectors. */
@keyframes appFadeInOut {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

:root {
/* Signup Modal Specific Styles - Won't affect other modals */
.signup-modal-content {
  border: none;
  border-radius: 0 30px 30px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  /* overflow: hidden; */
  background: #ffffff;
}

.signup-modal-header {
  /* background: #ffffff; */
  border-bottom: none;
  padding: 10px;
  position: relative;
  text-align: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  /* display: none; */
}

.signup-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 5px;
  line-height: 1.2;
}

.signup-close-btn{
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    line-height: 1;
    border-radius: 50%;
    color: #050505;
    z-index: 999;
    background: transparent;
}

.giftCard-iconBox {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;

}

.signup-close-btn:hover {
  color: #666666;
}

.signup-modal-body {
  padding: 0px 24px 24px;
  background: #ffffff;
  border-radius: 0 30px 30px;
}

.signup-description {
  font-size: 15px;
  color: #666666;
  text-align: center;
  font-family: "Lato";
  font-weight: 500;
  max-width: 360px;
  margin: auto;
}

.signup-disclaimer {
  font-size: 14px;
  margin: 15px 0;
  text-align: left;
  font-family: "Lato";
  color: #6b7280;
  line-height: unset;
  margin-bottom: 15px;
  padding: 8px;
  background: rgba(156, 163, 175, 0.05);
  border-radius: 12px;
  /* border-left: 4px solid #f97316; */

}

.signup-button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.signup-submit-btn {
  width: 100%;
  padding: 10px 20px;
  background: #FF6B4A;
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  font-family: "Lato";
  /* box-shadow: 0 2px 17px rgba(249, 114, 22, 0.4); */
}

.signup-submit-btn:hover {
  background: #e55a42;
}

.signup-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 107, 74, 0.3);
}

.signup-cancel-btn {
  width: 100%;
  padding: 0px 20px;
  background: transparent;
  border: none;
  color: #666666;
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: underline;
  font-family: "lato";
}

.signup-cancel-btn:hover {
  color: #333333;
  text-decoration: underline;
}

.signup-cancel-btn:focus {
  outline: none;
  color: #333333;
}


.coupon-message p {
  font-family: 'Lato';
  font-size: 16px;
  margin-bottom: 0;
  color: #7A7A7D;
}

.couponCode-text {
  font-size: 15px;
  font-family: 'Lato';
  color: #000;
  font-weight: 600;
  text-align: left;
  display: block;
}

/* Responsive design */
@media (max-width: 576px) {


  .signup-modal-body {
    padding: 0px 20px 20px;
  }

  .signup-modal-title {
    font-size: 20px;
    padding-right: 40px;
  }

  .signup-close-btn {
    right: 12px;
  }
}

.coupon-modal-dialog {
  max-width: 400px;
  margin: 1.75rem auto;
}

.coupon-modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  background: white;
  overflow: hidden;
}

.coupon-modal-header {
  position: relative;
  padding: 20px 20px 0;
  border-bottom: none;
}

.coupon-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.coupon-close-btn:hover {
  background-color: #f0f0f0;
  color: #333;
}

.coupon-modal-body {
  padding: 20px;
  text-align: center;
}

.coupon-brand-logo {
  margin-bottom: 20px;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.coupon-thank-you {
  margin-bottom: 10px;
}

.coupon-thank-you h2 {
  font-size: 25px;
  font-weight: 600;
  color: #333;
  margin: 0;
  font-family: 'Lato';
  z-index: 9;
  position: relative;
}

.coupon-code-section {
  margin: 15px 0px;
}

.coupon-code-container {
  background: rgba(255, 107, 74, 0.05);
  border: 2px dashed #FF6B4A;
  border-radius: 8px;
  padding: 7px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.coupon-code-container:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  transform: translateY(-1px);
}

.coupon-code-container:active {
  transform: translateY(0);
}

.coupon-code-text {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
  margin-top: 5px;
}

.coupon-copy-icon {
  font-size: 16px;
  opacity: 0.7;
}

.coupon-code-container:hover::after {
  opacity: 1;
}

.coupon-message {
  color: #666;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 30px;
  z-index: 9;
  position: relative;
}

.thanksYou-img img {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.coupon-message p:last-child {
  margin-bottom: 0;
}

/* Success message for copy */
.coupon-copy-success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 9999;
  animation: appFadeInOut 2s ease-in-out;
}



.modal-dialog-width.influencerTerms-modal {
  max-width: 650px !important;
}

.influencerTerms-modal .modal-body {
  height: calc(100vh - 200px);
  overflow: auto;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .coupon-modal-dialog {
    margin: 1rem;
    max-width: none;
  }

  .coupon-thank-you h2 {
    font-size: 24px;
  }

  .coupon-code-text {
    font-size: 16px;
  }
}


}
