/* Minimal reset for plugin area */
#securescore-calculator { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; max-width: 760px; margin: 12px auto; color: #222; background: #fff; padding: 18px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.securescore-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.securescore-title { font-size:18px; margin:0; font-weight:600; }
.securescore-progress { flex:1; margin-left:12px; }
.securescore-progress-bar { background:#eee; height:8px; border-radius:6px; overflow:hidden; }
.securescore-progress-fill { background: #2b8aef; height:100%; width:0%; transition: width 300ms ease; }
.securescore-progress-text { font-size:12px; color:#666; margin-top:6px; }

/* Questions */
.securescore-questions { margin-top:6px; min-height:220px; }
.securescore-question { padding:12px 6px; transition: opacity 220ms ease; }
.securescore-question .ss-q-title { margin:0 0 10px 0; font-size:16px; font-weight:600; }
.ss-answers { display:flex; gap:10px; flex-wrap:wrap; }
.ss-answer-card { flex: 1 1 calc(50% - 10px); border:1px solid #e6e6e6; padding:12px; border-radius:12px; cursor:pointer; display:flex; align-items:center; gap:12px; background:#fff; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; min-width:160px; box-shadow: 0 1px 6px rgba(0,0,0,0.04); }
.ss-answer-card .ss-answer-icon { font-size:22px; width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:#f6f9ff; margin-right:8px; flex-shrink:0; }
.ss-answer-card input[type="radio"] { width:16px; height:16px; margin-right:6px; }
.ss-answer-card .ss-answer-text { flex:1; font-size:14px; }
.ss-answer-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.ss-answer-card.selected { border-color:#2b8aef; background: linear-gradient(180deg,#f6fbff,#f0f8ff); box-shadow: 0 12px 30px rgba(43,138,239,0.08); }

/* Controls */
.securescore-controls { display:flex; justify-content:space-between; gap:10px; margin-top:14px; }
.securescore-controls button { background:#2b8aef; color:#fff; border:0; padding:10px 14px; border-radius:8px; cursor:pointer; min-width:80px; }
.securescore-controls button:disabled { opacity:0.5; cursor:not-allowed; }

/* Email sheet */
.securescore-email-sheet { position:fixed; left:0; right:0; bottom:0; top:0; background: rgba(0,0,0,0.45); display:none; align-items:center; justify-content:center; z-index:9999; }
.securescore-email-inner { background:#fff; padding:18px; border-radius:8px; width:92%; max-width:420px; box-shadow:0 12px 40px rgba(0,0,0,0.12); }
.securescore-email-inner h3 { margin:0 0 10px 0; }
.securescore-email-inner label { display:block; margin-bottom:8px; font-size:14px; }
.securescore-email-inner input[type="email"], .securescore-email-inner input[type="text"] { width:100%; padding:8px 10px; border:1px solid #ddd; border-radius:6px; margin-top:6px; box-sizing:border-box; }
.ss-consent { display:flex; align-items:center; gap:8px; font-size:13px; margin-top:6px; }
.ss-email-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:12px; }
.ss-email-cancel { background:#eee; color:#222; border:0; padding:8px 12px; border-radius:6px; cursor:pointer; }
.ss-email-submit { background:#2b8aef; color:#fff; border:0; padding:8px 12px; border-radius:6px; cursor:pointer; }

/* Loading small spinner */
.ss-spinner { display:inline-block; width:14px; height:14px; border:2px solid rgba(255,255,255,0.4); border-top-color:#fff; border-radius:50%; animation: ss-spin 1s linear infinite; vertical-align:middle; margin-left:8px; }
@keyframes ss-spin { to { transform: rotate(360deg); } }

/* Results */
.securescore-results { display:none; padding:12px; margin-top:10px; }
.securescore-results-inner { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; }
.securescore-score-visual { position:relative; width:160px; height:160px; display:flex; align-items:center; justify-content:center; }
.ss-circle { transform: rotate(-90deg); }
.ss-bg { stroke:#f0f0f0; stroke-width:12; }
.ss-fill { stroke:#2b8aef; stroke-linecap:round; transition: stroke-dashoffset 600ms ease; }
.ss-score-number { position:absolute; font-size:28px; font-weight:700; color:#111; }
.securescore-result-text { flex:1 1 280px; }
.securescore-result-text .ss-title { margin:0 0 6px 0; font-size:20px; }
.ss-recommendations { list-style:none; padding:0; margin:8px 0 0 0; width:100%; }
.ss-rec { border-top:1px dashed #eee; padding:10px 0; }
.ss-rec h4 { margin:0 0 6px 0; font-size:14px; }
.ss-rec p { margin:0 0 6px 0; color:#444; font-size:13px; }
.ss-rec a { color:#2b8aef; font-size:13px; text-decoration:none; }
.ss-product { margin-top:6px; font-weight:600; color:#333; font-size:13px; }

/* Responsive tweaks */
@media (max-width:600px) {
	.ss-answer-card { flex:1 1 100%; }
	.securescore-results-inner { flex-direction:column; align-items:center; }
}