/**
 * Help Flow for ACF and Elementor – Admin styles
 * Brand: Dark Blue #1e3a5f, Orange #ea580c
 */

.shfacfe-admin-wrap { max-width: 960px; }
.shfacfe-admin-title { color: #1e3a5f; margin-bottom: 8px; }
.shfacfe-btn-primary { background: #ea580c !important; border-color: #c2410c !important; color: #fff !important; }
.shfacfe-btn-primary:hover { background: #c2410c !important; border-color: #9a3412 !important; color: #fff !important; }
.shfacfe-btn-secondary { border-color: #1e3a5f; color: #1e3a5f; }
.shfacfe-btn-secondary:hover { background: #f0f4f8; color: #1e3a5f; }
.shfacfe-toggle { position: relative; display: inline-block; width: 48px; height: 26px; }
.shfacfe-toggle input { opacity: 0; width: 0; height: 0; }
.shfacfe-toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #cbd5e1; border-radius: 26px; transition: 0.2s; }
.shfacfe-toggle-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.shfacfe-toggle input:checked + .shfacfe-toggle-slider { background: #ea580c; }
.shfacfe-toggle input:checked + .shfacfe-toggle-slider:before { transform: translateX(22px); }
.shfacfe-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0 32px; }
@media (max-width: 782px) { .shfacfe-steps { grid-template-columns: 1fr; } }
.shfacfe-step-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.shfacfe-step-card .shfacfe-step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #1e3a5f; color: #fff; border-radius: 50%; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.shfacfe-step-title { color: #1e3a5f; font-size: 18px; margin: 0 0 8px 0; }
.shfacfe-step-desc { color: #64748b; font-size: 14px; line-height: 1.5; margin: 0 0 16px 0; }
.shfacfe-useful-links { margin: 32px 0; padding: 24px; background: #f8fafc; border-radius: 12px; border-left: 4px solid #ea580c; }
.shfacfe-section-title { color: #1e3a5f; font-size: 18px; margin: 0 0 12px 0; }
.shfacfe-links-list { margin: 0; padding-left: 20px; }
.shfacfe-links-list a { color: #1e3a5f; }
.shfacfe-links-list a:hover { color: #ea580c; }
.shfacfe-go-pro-banner { margin: 32px 0; padding: 28px; background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%); border-radius: 12px; color: #fff; text-align: center; }
.shfacfe-go-pro-title { color: #fff; font-size: 22px; margin: 0 0 12px 0; }
.shfacfe-go-pro-desc { color: #e2e8f0; font-size: 15px; line-height: 1.5; margin: 0 0 20px 0; max-width: 560px; margin-left: auto; margin-right: auto; }
.shfacfe-go-pro-btn { background: #ea580c !important; border-color: #c2410c !important; }
.shfacfe-go-pro-btn:hover { background: #f97316 !important; border-color: #ea580c !important; color: #fff !important; }

/* Pricing page */
.shfacfe-pricing-wrap { max-width: 960px; margin: 24px 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif; }
.shfacfe-pricing-title { font-size: 28px; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.shfacfe-pricing-subtitle { color: #64748b; font-size: 16px; margin-bottom: 28px; }
.shfacfe-pricing-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 32px; }
.shfacfe-pricing-toggle-label { font-size: 14px; color: #64748b; font-weight: 500; }
.shfacfe-pricing-toggle-label.active { color: #0f172a; }
.shfacfe-pricing-toggle { position: relative; width: 48px; height: 26px; background: #cbd5e1; border: none; border-radius: 26px; cursor: pointer; transition: background 0.2s; }
.shfacfe-pricing-toggle:hover { background: #94a3b8; }
.shfacfe-pricing-toggle[aria-checked="true"] { background: #0ea5e9; }
.shfacfe-pricing-toggle[aria-checked="true"] .shfacfe-pricing-toggle-slider { transform: translateX(22px); }
.shfacfe-pricing-toggle-slider { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.shfacfe-pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 782px) { .shfacfe-pricing-cards { grid-template-columns: 1fr; } }
.shfacfe-pricing-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px 24px; position: relative; box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: box-shadow 0.2s; }
.shfacfe-pricing-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.shfacfe-pricing-card-featured { border-color: #0ea5e9; box-shadow: 0 4px 14px rgba(14,165,233,0.15); }
.shfacfe-pricing-card-featured:hover { box-shadow: 0 6px 20px rgba(14,165,233,0.2); }
.shfacfe-pricing-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #0ea5e9; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.shfacfe-pricing-card-title { font-size: 20px; font-weight: 600; color: #1e293b; margin: 0 0 8px 0; }
.shfacfe-pricing-card-desc { font-size: 14px; color: #64748b; margin: 0 0 20px 0; line-height: 1.4; }
.shfacfe-pricing-card-price { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 24px; }
.shfacfe-pricing-card-price .shfacfe-pricing-period { font-size: 16px; font-weight: 500; color: #64748b; }
.shfacfe-pricing-btn { display: inline-block; width: 100%; padding: 12px 20px; text-align: center; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 8px; border: none; cursor: pointer; transition: background 0.2s, color 0.2s; box-sizing: border-box; }
.shfacfe-pricing-btn-personal { background: #f1f5f9; color: #334155; }
.shfacfe-pricing-btn-personal:hover { background: #e2e8f0; color: #0f172a; }
.shfacfe-pricing-btn-business { background: #0ea5e9; color: #fff; }
.shfacfe-pricing-btn-business:hover { background: #0284c7; color: #fff; }
.shfacfe-pricing-btn-agency { background: #0f172a; color: #fff; }
.shfacfe-pricing-btn-agency:hover { background: #1e293b; color: #fff; }

/* SEO Quick Wins */
.shfacfe-seo-quick-wins .shfacfe-seo-win-list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.shfacfe-seo-win-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px 22px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border-left: 4px solid #94a3b8; }
.shfacfe-seo-win-card.shfacfe-seo-win-high { border-left-color: #dc2626; }
.shfacfe-seo-win-card.shfacfe-seo-win-medium { border-left-color: #ea580c; }
.shfacfe-seo-win-card.shfacfe-seo-win-low { border-left-color: #64748b; }
.shfacfe-seo-win-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.shfacfe-seo-win-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #475569; background: #f1f5f9; padding: 4px 8px; border-radius: 6px; }
.shfacfe-seo-win-time { font-size: 13px; color: #64748b; }
.shfacfe-seo-win-title { color: #1e3a5f; font-size: 17px; margin: 0 0 10px 0; line-height: 1.35; }
.shfacfe-seo-win-body { color: #475569; font-size: 14px; line-height: 1.6; margin: 0 0 12px 0; max-width: 720px; }
.shfacfe-seo-win-actions { margin: 0; }
.shfacfe-seo-win-allclear { margin-top: 12px; padding: 22px 24px; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 12px; color: #065f46; max-width: 720px; }
.shfacfe-seo-win-allclear p { margin: 0 0 14px 0; line-height: 1.6; }

/* Agency workflow */
.shfacfe-health-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0 24px; }
@media (max-width: 782px) { .shfacfe-health-summary { grid-template-columns: 1fr 1fr; } }
.shfacfe-health-summary div { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.shfacfe-health-summary strong { display: block; color: #1e3a5f; font-size: 28px; line-height: 1; margin-bottom: 6px; }
.shfacfe-health-summary span { color: #64748b; font-size: 13px; }
.shfacfe-status { display: inline-block; min-width: 62px; text-align: center; border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.shfacfe-status-broken { background: #fee2e2; color: #991b1b; }
.shfacfe-status-warning { background: #ffedd5; color: #9a3412; }
.shfacfe-status-ok { background: #dcfce7; color: #166534; }
.shfacfe-intent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; }
.shfacfe-health-table code { white-space: normal; }
