/* RetentionFox Analytics Page Styles */
.rf-container { max-width: 1200px; margin: 20px 0 50px 0; font-family: Inter, system-ui, -apple-system, sans-serif; color: #1f2937; }
.rf-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.rf-title { font-size: 24px; font-weight: 700; color: #111827; margin: 0; letter-spacing: -0.025em; }

.rf-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); margin-bottom: 24px; padding: 24px; position: relative; }
.rf-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap:wrap; gap:10px; }
.rf-card-title { font-size: 16px; font-weight: 600; color: #111827; margin: 0; }

.rf-metrics-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.rf-metric-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.rf-metric-label { font-size: 13px; font-weight: 500; color: #6b7280; margin-bottom: 8px; text-transform: uppercase; }
.rf-metric-value { font-size: 28px; font-weight: 700; color: #111827; line-height: 1; }

.rf-table-wrapper { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 8px; }
.rf-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; min-width: 800px; }
.rf-table th { background: #f9fafb; color: #4b5563; font-weight: 600; font-size: 12px; text-transform: uppercase; padding: 12px 16px; border-bottom: 1px solid #e5e7eb; }
.rf-table td { padding: 14px 16px; border-bottom: 1px solid #f3f4f6; color: #374151; vertical-align: middle; }
.rf-table tr:last-child td { border-bottom: none; }
.rf-table tr:hover td { background: #f9fafb; }

.rf-input { border: 1px solid #d1d5db !important; border-radius: 6px !important; padding: 0 12px !important; font-size: 13px !important; height:36px; box-sizing:border-box; line-height: normal; }
.rf-btn { background: #fff !important; border: 1px solid #d1d5db !important; color: #374151 !important; font-weight: 500 !important; padding: 0 14px !important; border-radius: 6px !important; cursor: pointer; height:36px; display:inline-flex; align-items:center; text-decoration:none; transition: all 0.2s; font-size:13px; line-height:1; }
.rf-btn:hover { border-color: #9ca3af !important; color: #111827 !important; }

/* Pro Blocker Styles */
.rf-pro-locked { position: relative; overflow: hidden; }
.rf-pro-blur { filter: blur(4px); opacity: 0.6; pointer-events: none; user-select: none; }
.rf-pro-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,0.4); }
.rf-pro-badge { background: #f43f5e; color: white; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-bottom: 8px; }
.rf-btn-upgrade { background: #111827 !important; color: #fff !important; border: none !important; padding: 0 20px !important; height: 40px; font-weight: 600 !important; }
.rf-btn-upgrade:hover { background: #000 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }