/* Self-contained coin-scan widget (Conservative / Risk-Taker). */

.scan-h2 { text-align: center; font-size: 20px; font-weight: 700; color: #f0b90b; margin: 0 0 14px; }
.scan-embed { margin-bottom: 32px; }

.scan-line { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 16px; }
.scan-field { display: flex; flex-direction: column; gap: 6px; }
.scan-field label {
  font-size: 11px; color: #f0b90b; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
}
.scan-field input, .scan-field select {
  background: #0d1117; border: 2px solid #30363d; border-radius: 8px; color: #e6edf3;
  font-size: 16px; padding: 12px 14px; font-family: inherit; box-sizing: border-box;
}
.scan-field input { width: 150px; font-family: 'SF Mono', Monaco, monospace; }
.scan-field select { width: 15ch; }
.scan-field input:focus, .scan-field select:focus { outline: none; border-color: #f0b90b; }

.scan-tabs { display: flex; gap: 6px; }
.scan-tab {
  padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer;
  background: #0d1117; border: 1px solid #30363d; color: #8b949e; font-family: inherit;
}
.scan-tab.active { background: #3a2a1a; border-color: #f0b90b; color: #f0b90b; }
.scan-tab.risk.active { background: #3a1a1a; border-color: #f87171; color: #f87171; }

.scan-progress {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  background: #1e2329; border: 2px solid #f0b90b; border-radius: 12px; margin-bottom: 16px;
}
.scan-spinner {
  width: 20px; height: 20px; border: 3px solid #30363d; border-top-color: #f0b90b;
  border-radius: 50%; animation: swspin 0.8s linear infinite;
}
@keyframes swspin { to { transform: rotate(360deg); } }

#sw-results { margin-top: 16px; color: #8b949e; }
#sw-results table {
  width: 100%; border-collapse: collapse; background: #1e2329;
  border-radius: 12px; overflow: hidden; font-size: 13px;
}
#sw-results th {
  text-align: right; padding: 10px; color: #8b949e; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid #30363d; white-space: nowrap;
}
#sw-results th:first-child { text-align: left; }
#sw-results td {
  padding: 10px; border-bottom: 1px solid #21262d; text-align: right;
  font-family: 'SF Mono', Monaco, monospace; white-space: nowrap;
}
#sw-results td:first-child { text-align: left; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
#sw-results tr:last-child td { border-bottom: none; }
#sw-results tbody tr:hover { background: #161b22; }

.sw-hdr {
  background: #1e2329; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px;
  border-left: 4px solid #f0b90b; font-weight: 600; color: #f0b90b; font-size: 15px;
}
.sw-hdr .sw-meta { font-family: 'SF Mono', Monaco, monospace; font-size: 13px; color: #8b949e; font-weight: 400; margin-top: 4px; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill-green  { background: #1a3a1a; color: #4ade80; border: 1px solid #4ade80; }
.pill-orange { background: #3a2a1a; color: #f0b90b; border: 1px solid #f0b90b; }
.pill-red    { background: #3a1a1a; color: #f87171; border: 1px solid #f87171; }
.signal-yes { color: #4ade80; font-weight: 700; }
.signal-no  { color: #f87171; font-weight: 700; }
.blocker-list { font-size: 11px; color: #f87171; margin-top: 4px; line-height: 1.5; }
