.aspire-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 16px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  z-index: 1000;
}

.aspire-popup__close {
  position: absolute;
  top: 12px;
  right: 10px;
  font-size: 16px;
  color: #cdcdcd;
  cursor: pointer;
  border: none;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.aspire-popup__close:hover {
  color: #999;
}

.aspire-popup__emoji {
  margin: auto;
  font-size: 48px;
  line-height: 1.5 !important;
}

.aspire-popup__discount {
  font-size: 1.5em;
  font-weight: bold;
  color: #1f1f1f;
  font-size: 48px;
  line-height: 1.5 !important;
}
  
.aspire-popup__title {
  font-size: 16px;
  font-weight: 400;
  color: #1f1f1f;
}

.aspire-popup__subtitle-1 {
  font-size: 20px !important;
  color: #888 !important;
  margin-top: 10px !important;
}

.aspire-popup__subtitle-2 {
  font-size: 0.8em;
  color: #888;
  margin-top: 10px;
  display: none;
}

.aspire-popup__button {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 1em;
  color: #fff;
  background-color: #1f1f1f;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

.aspire-popup__discount-code {
  font-size: 16px;
  font-weight: 600;
  padding: 10px;
  background-color: #FAFAFA;
  border-radius: 8px;
  position: relative;
  overflow-wrap: anywhere;
  border: 1px dashed #b1b1b1;
  display: flex;
  justify-content: space-between;
  line-height: 1.5 !important;
}

.aspire-popup__copy-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 100%;
}

.aspire-popup__copy-icon-text {
  font-size: 28px;
  padding: 0px 0px 0px 20px;
  color: #b1b1b1e1;
}

.aspire-popup__tooltip {
  visibility: hidden;
  background-color: black;
  color: white;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  position: absolute;
  top: -30px;
  right: -10px;
  font-size: 0.8em;
}

/* Loader popup styles */
.aspire-popup-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-align: center;
  width: 335px;
  z-index: 10;
}

.aspire-popup-loader__title {
  font-size: 18px;
  font-weight: 400;
  overflow-wrap: anywhere;
    line-height: 28px;
  }
  
  .aspire-popup-loader__spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
  }
  
  .aspire-loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border: 3px solid #1f1f1f;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  
  .aspire-initial-loader {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-block !important;
    border: 3px solid #1f1f1f;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* For the button loader specifically */
  .aspire-popup__button .aspire-loader {
    width: 24px;
    height: 24px;
    border-top-color: #ffffff;
    border-width: 2px;
  }
  
  .aspire-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
  }
  
  .aspire-discount-code {
    align-items: center;
    display: flex;
  }
  
  /* Floating Widget */
  
  /* Floating Widget */
  .floating-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .widget-button {
    background: #000000;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }
  
  .widget-button:hover {
    background-color: #000000b7;
  }
  
  /* Offer Popup */
  .offer-popup {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 250px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 15px;
  }
  
  .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  
  .close-floating-popup {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #666;
  }
  
  .close-floating-popup:hover {
    color: black;
  }
  
  .floating-popup-content {
    font-size: 14px;
    color: #555;
}

.apply-offer-button {
  display: block;
  margin: 10px 0 0 auto;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
}

.apply-offer-button:hover {
  background-color: #218838;
}
