/* ==========================================================================
   PRO UPSELL NOTICE BANNER
   Loaded conditionally — only when the banner is actually shown.
   ========================================================================== */

.ht-ctc-notice-pro-banner {
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 0 !important;
  margin: 20px 20px 20px 2px !important;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.05),
    0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
  position: relative;
  display: flex;
  overflow: hidden;
  border-left: 6px solid #25d366 !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
}

.ht-ctc-notice-pro-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(37, 211, 102, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.ht-ctc-notice-pro-banner .ht-ctc-pro-inner {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  gap: 32px;
  width: 100%;
  z-index: 1;
}

.ht-ctc-notice-pro-banner .ht_ctc_pro_icon_box {
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.1),
    rgba(18, 140, 126, 0.05)
  );
  padding: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ht-ctc-notice-pro-banner .ht_ctc_pro_icon_box svg {
  width: 38px;
  height: 38px;
  color: #128c7e;
}

.ht-ctc-notice-pro-banner .ht-ctc-pro-content {
  flex: 1;
}

.ht-ctc-notice-pro-banner .ht-ctc-pro-title {
  margin: 0 0 8px 0 !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ht-ctc-notice-pro-banner .pro-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.ht-ctc-notice-pro-banner .ht-ctc-pro-desc {
  margin: 0 0 14px 0 !important;
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
  color: #475569 !important;
}

.ht-ctc-notice-pro-banner .ht-ctc-pro-desc strong {
  color: #0f172a !important;
  font-weight: 600 !important;
}

.ht-ctc-notice-pro-banner .ht-ctc-pro-features {
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ht-ctc-notice-pro-banner .feature-tag {
  font-size: 0.85rem;
  color: #334155;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.ht-ctc-notice-pro-banner .ht-ctc-pro-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 20px;
}

.ht-ctc-notice-pro-banner .button-upgrade {
  background: #25d366 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  height: auto !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7) !important;
  animation: htCtcButtonPulse 2s infinite;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes htCtcButtonPulse {
  0% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.ht-ctc-notice-pro-banner .button-upgrade:hover {
  background: #20ba5a !important;
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3) !important;
}

.ht-ctc-notice-pro-banner .button-dismiss-text {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: color 0.2s ease;
}

.ht-ctc-notice-pro-banner .button-dismiss-text:hover {
  color: #475569 !important;
  text-decoration: underline !important;
}

.ht-ctc-notice-pro-banner .notice-dismiss {
  padding: 12px !important;
  text-decoration: none !important;
  z-index: 2;
}

.ht-ctc-notice-pro-banner .notice-dismiss:before {
  color: #cbd5e1 !important;
}

.ht-ctc-notice-pro-banner .notice-dismiss:hover:before {
  color: #64748b !important;
}

@media (max-width: 960px) {
  .ht-ctc-notice-pro-banner .ht-ctc-pro-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .ht-ctc-notice-pro-banner .ht-ctc-pro-actions {
    width: 100%;
    margin-left: 0;
  }

  .ht-ctc-notice-pro-banner .ht-ctc-pro-title {
    justify-content: center;
    flex-direction: column;
    gap: 6px;
  }

  .ht-ctc-notice-pro-banner .ht-ctc-pro-features {
    justify-content: center;
  }

  .ht-ctc-notice-pro-banner .button-upgrade {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}
