/* Exit coupon (styles for the HTML structure you provided) */
#ai-auto-sales-booster-for-woocommerce-exit-coupon-box {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 99999;
  max-width: 360px;
  width: calc(100% - 40px);
  background: linear-gradient(180deg,#fff,#fff);
  border-left: 6px solid #ff9f1c;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  padding: 14px 48px 14px 14px; /* room for close button */
  font-family: inherit;
  color: #111;
  display: none;
  line-height: 1.35;
  box-sizing: border-box;
}

/* Title (first paragraph contains the emoji + title) */
#ai-auto-sales-booster-for-woocommerce-exit-coupon-box > p:first-child {
  margin: 0 0 6px 0;
  font-weight: 700;
  font-size: 15px;
  display: block;
}

/* Message text */
#ai-auto-sales-booster-for-woocommerce-coupon-msg {
  margin: 0 0 8px 0;
  font-size: 13px;
  color: #333;
}

/* Code line: keep strong visible and style the code span */
#ai-auto-sales-booster-for-woocommerce-exit-coupon-box > p strong {
  font-weight: 700;
  font-size: 13px;
  color: #111;
}
#ai-auto-sales-booster-for-woocommerce-coupon-code {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 8px;
  background: #fff8e1;
  border-left: 4px solid #ff9f1c;
  border-radius: 6px;
  font-weight: 800;
  color: #333;
  box-shadow: 0 6px 18px rgba(255,122,24,0.08);
}

/* Close button (kept your class name so existing JS still finds it) */
.ai-auto-sales-booster-for-woocommerce-exit-coupon-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  padding: 6px;
  line-height: 1;
  border-radius: 6px;
}
.ai-auto-sales-booster-for-woocommerce-exit-coupon-close:focus,
.ai-auto-sales-booster-for-woocommerce-exit-coupon-close:hover {
  color: #333;
  background: rgba(0,0,0,0.04);
  outline: none;
}

/* Subtle CTA styling if you ever replace the code area with an anchor/button */
#ai-auto-sales-booster-for-woocommerce-exit-coupon-box .aiab-apply-btn,
#ai-auto-sales-booster-for-woocommerce-exit-coupon-box a.aiab-apply-btn {
  display: inline-block;
  background: #ff7a18;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255,122,24,0.18);
  margin-right: 8px;
}

/* Accessibility: visually separate content for screen readers */
#ai-auto-sales-booster-for-woocommerce-exit-coupon-box[role="dialog"] {
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  #ai-auto-sales-booster-for-woocommerce-exit-coupon-box {
    left: 20px;
    right: 20px;
    bottom: 16px;
    width: calc(100% - 40px);
    padding: 12px 14px 12px 12px; /* reduce right padding on small screens */
  }
  /* Make the code span less prominent on tiny screens to save space */
  #ai-auto-sales-booster-for-woocommerce-coupon-code {
    padding: 3px 6px;
    font-size: 12px;
  }
  .ai-auto-sales-booster-for-woocommerce-exit-coupon-close {
    top: 6px;
    right: 6px;
    font-size: 16px;
  }
}
