/* WP Chrome Push — Prompt Styles v1.1 */
#wpcp-prompt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2147483647; /* max z-index */
  max-width: 370px;
  width: calc(100vw - 48px);
  /* Start hidden below screen */
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity   0.3s  ease;
  pointer-events: none;
}
#wpcp-prompt.wpcp-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.wpcp-prompt-inner {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0,0,0,0.08);
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  border: 1px solid rgba(0,0,0,0.06);
}
.wpcp-prompt-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.wpcp-prompt-text {
  flex: 1;
  min-width: 140px;
}
.wpcp-prompt-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
  line-height: 1.3;
}
.wpcp-prompt-text span {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}
.wpcp-prompt-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 4px;
}
.wpcp-prompt-actions button {
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.1s;
  font-family: inherit;
  line-height: 1;
}
.wpcp-prompt-actions button:hover  { opacity: 0.85; }
.wpcp-prompt-actions button:active { transform: scale(0.97); }

#wpcp-allow {
  background: #2563eb;
  color: #ffffff;
}
#wpcp-deny {
  background: #f3f4f6;
  color: #374151;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .wpcp-prompt-inner {
    background: #1f2937;
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  }
  .wpcp-prompt-text strong { color: #f9fafb; }
  .wpcp-prompt-text span   { color: #9ca3af; }
  #wpcp-deny { background: #374151; color: #d1d5db; }
}

/* Mobile */
@media (max-width: 480px) {
  #wpcp-prompt { bottom: 12px; right: 12px; left: 12px; width: auto; }
}
