/* Single Product Customizer Admin Campaign Notice */
.sppcfw-campaign-notice {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 0 !important;
  margin: 18px 20px 18px 0 !important;
  box-shadow:
    0 10px 25px -5px rgba(99, 102, 241, 0.12),
    0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  transition: all 0.3s ease;
}

.sppcfw-campaign-notice .notice-dismiss {
  position: absolute !important;
  z-index: 99999 !important;
  top: 14px !important;
  right: 14px !important;
  padding: 8px !important;
  border: none !important;
  background: transparent !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sppcfw-campaign-notice .notice-dismiss:hover {
  background-color: #f1f5f9 !important;
}

.sppcfw-campaign-notice .notice-dismiss::before {
  color: #64748b !important;
  font-size: 16px !important;
}

.sppcfw-notice-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.sppcfw-notice-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
}

@media (max-width: 960px) {
  .sppcfw-notice-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .sppcfw-notice-actions {
    width: 100%;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

.sppcfw-notice-icon-container {
  flex-shrink: 0;
  position: relative;
}

.sppcfw-notice-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  background: #ffffff;
  padding: 4px;
  border: 2px solid #e0e7ff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: block;
}

.sppcfw-notice-icon:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.25);
}

.sppcfw-notice-body {
  flex: 1;
  min-width: 0;
}

.sppcfw-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
  color: #4338ca;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  border: 1px solid #c7d2fe;
}

.sppcfw-badge-dot {
  width: 6px;
  height: 6px;
  background-color: #6366f1;
  border-radius: 50%;
  display: inline-block;
  animation: sppcfwPulse 2s infinite;
}

@keyframes sppcfwPulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.sppcfw-badge-discount {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.sppcfw-notice-title {
  margin: 0 0 6px 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em;
}

.sppcfw-notice-slogan {
  margin: 0 !important;
  font-size: 13.5px !important;
  color: #475569 !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  max-width: 680px;
}

.sppcfw-notice-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.sppcfw-notice-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.sppcfw-notice-cta-btn:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
}

.sppcfw-notice-cta-btn:active {
  transform: translateY(0);
}

.sppcfw-notice-cta-btn svg {
  transition: transform 0.2s ease;
}

.sppcfw-notice-cta-btn:hover svg {
  transform: translateX(3px);
}
