/* ── WebAudit Website Widget — Frontend Styles ── */
.webaw-widget { max-width: 420px; font-family: inherit; }
.webaw-widget-inner { background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:22px 24px; box-shadow:0 1px 3px rgba(0,0,0,.06); }
.webaw-widget-title { margin:0 0 4px; font-size:19px; font-weight:700; color:#111827; }
.webaw-widget-sub { margin:0 0 16px; font-size:13px; color:#6b7280; }

.webaw-url-form { display:flex; gap:8px; flex-wrap:wrap; }
.webaw-url-input { flex:1; min-width:180px; padding:10px 12px; border:1px solid #d1d5db; border-radius:8px; font-size:14px; }
.webaw-btn { flex-shrink:0; padding:10px 18px; border:none; border-radius:8px; background:#4338ca; color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
.webaw-btn:hover { background:#3730a3; }
.webaw-btn:disabled { opacity:.6; cursor:default; }

.webaw-error { color:#dc2626; font-size:13px; margin:10px 0 0; }

.webaw-result { margin-top:18px; }
.webaw-score-row { display:flex; align-items:center; gap:14px; margin-bottom:12px; }
.webaw-score-box { flex-shrink:0; min-width:80px; border-radius:10px; padding:10px 14px; text-align:center; border:2px solid; }
.webaw-score-box .webaw-score-number { display:block; font-size:26px; font-weight:800; line-height:1; }
.webaw-score-box .webaw-score-label { display:block; font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.4px; margin-top:3px; opacity:.75; }
.webaw-score-good    { border-color:#10b981; background:#ecfdf5; color:#065f46; }
.webaw-score-average { border-color:#f59e0b; background:#fffbeb; color:#92400e; }
.webaw-score-poor    { border-color:#ef4444; background:#fef2f2; color:#991b1b; }

.webaw-issue-list { margin:0 0 14px; padding:0; list-style:none; }
.webaw-issue-list li { font-size:12.5px; padding:6px 10px; border-radius:6px; margin-bottom:5px; background:#fef2f2; color:#7f1d1d; }

.webaw-lead-form { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.webaw-lead-prompt { font-size:13px; font-weight:600; color:#374151; margin:0 0 8px; }
.webaw-email-input { flex:1; min-width:160px; padding:10px 12px; border:1px solid #d1d5db; border-radius:8px; font-size:14px; }
.webaw-thanks { font-size:13.5px; color:#059669; font-weight:600; }

.webaw-powered-by { margin:16px 0 0; font-size:11.5px; color:#9ca3af; text-align:right; }
.webaw-powered-by a { color:#6366f1; text-decoration:none; font-weight:600; }
.webaw-powered-by a:hover { text-decoration:underline; }

.webaw-widget-notice { border:1px dashed #f59e0b; background:#fffbeb; border-radius:8px; padding:12px 16px; font-size:13px; }
.webaw-widget-notice a { font-weight:600; }

.webaw-floating { position:fixed; top:20px; right:20px; z-index:999999; font-family:inherit; }
.webaw-floating-toggle { border:none; border-radius:999px; padding:12px 20px; background:#4338ca; color:#fff; font-size:14px; font-weight:600; cursor:pointer; box-shadow:0 4px 14px rgba(0,0,0,.18); }
.webaw-floating-toggle:hover { background:#3730a3; }
.webaw-floating-panel { margin-top:10px; width:360px; max-width:calc(100vw - 40px); }
.webaw-floating-panel[hidden] { display:none; }
.webaw-floating-panel .webaw-widget { max-width:none; }
.webaw-floating-panel .webaw-widget-inner { box-shadow:0 12px 32px rgba(0,0,0,.18); }
