/* ── Phishing Spot the Difference — /tools/phishing-spot-the-difference ─── */

.pspot-wrap { color: #0d1f3c; }

/* Hero */
.pspot-hero {
  background: #0f2544;
  padding: 56px 24px 40px;
  text-align: center;
}
.pspot-hero-inner { max-width: 660px; margin: 0 auto; }
.pspot-hero-icon { margin-bottom: 14px; }
.pspot-hero-icon svg { width: 52px; height: 52px; }
.pspot-hero-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
}
.pspot-hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin: 0 0 26px;
}

.pspot-progress { max-width: 420px; margin: 0 auto; }
.pspot-progress-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
  margin-bottom: 10px;
}
.pspot-progress-fill {
  height: 100%;
  width: 20%;
  border-radius: 4px;
  background: #f05a28;
  transition: width .3s ease;
}
.pspot-progress-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.pspot-dot { margin: 0 8px; opacity: .5; }

/* Body */
.pspot-outer { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }

/* Email mockup card */
.pspot-game { margin-bottom: 18px; }
.pspot-email-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,37,68,.06);
}
.pspot-email-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 20px;
  background: #f8fafc;
}
.pspot-email-header-row {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #475569;
}
.pspot-email-header-row strong { color: #0d1f3c; flex-shrink: 0; width: 58px; }
.pspot-email-subject {
  font-size: 15.5px;
  font-weight: 700;
  color: #0d1f3c;
  margin-top: 6px;
}

.pspot-email-body { padding: 20px 20px 22px; }
.pspot-email-body p { font-size: 14.5px; line-height: 1.7; color: #1e293b; margin: 0 0 14px; }
.pspot-email-body p:last-child { margin-bottom: 0; }

.pspot-link-btn {
  display: inline-block;
  background: #017bbd;
  color: #fff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 6px;
  margin: 4px 0 4px;
  cursor: pointer;
  text-decoration: none;
}
.pspot-link-preview {
  font-family: 'Courier New', monospace;
  font-size: 11.5px;
  color: #64748b;
  margin: 4px 0 14px;
}

.pspot-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 4px 0 14px;
  font-size: 13.5px;
  color: #334155;
  max-width: fit-content;
}
.pspot-attachment svg { width: 20px; height: 20px; flex-shrink: 0; color: #64748b; }

/* Clickable / flag states */
.pspot-clickable { cursor: pointer; border-radius: 3px; padding: 0 1px; transition: background-color .15s; }
.pspot-clickable:hover { background: rgba(1,123,189,.08); }

.pspot-flag.is-found {
  background: #dcfce7;
  box-shadow: 0 0 0 1px #16a34a;
}
.pspot-flag.is-missed {
  background: #fee2e2;
  box-shadow: 0 0 0 1px #dc2626;
}
.pspot-wrong-flash {
  background: #fee2e2 !important;
  box-shadow: 0 0 0 1px #dc2626;
}

.pspot-explain {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 4px;
  padding: 6px 9px;
  border-radius: 6px;
}
.pspot-flag.is-found .pspot-explain { background: #16a34a; color: #fff; }
.pspot-flag.is-missed .pspot-explain { background: #dc2626; color: #fff; }

/* Controls */
.pspot-controls { display: flex; gap: 12px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.pspot-btn {
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 8px;
  padding: 12px 26px;
  border: none;
  cursor: pointer;
}
.pspot-btn-secondary { background: #e2e8f0; color: #0d1f3c; }
.pspot-btn-secondary:hover { background: #cbd5e1; }
.pspot-btn-primary { background: #f05a28; color: #fff; }
.pspot-btn-primary:hover { opacity: .9; }

/* Results */
.pspot-results {
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 26px;
  margin-bottom: 28px;
}
.pspot-results-score { font-size: 40px; font-weight: 800; margin-bottom: 6px; }
.pspot-results-score.pspot-grade-good { color: #16a34a; }
.pspot-results-score.pspot-grade-mid { color: #f59e0b; }
.pspot-results-score.pspot-grade-low { color: #dc2626; }
.pspot-results-headline { font-size: 17px; font-weight: 700; color: #0d1f3c; margin-bottom: 8px; }
.pspot-results-sub { font-size: 14px; color: #475569; margin-bottom: 20px; }
.pspot-results-restart {
  background: #0f2544;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  padding: 11px 24px;
  cursor: pointer;
}
.pspot-results-restart:hover { opacity: .9; }

/* CTA */
.pspot-cta {
  background: #eef6fc;
  border: 1px solid #c7dff0;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 18px;
}
.pspot-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.pspot-cta-title { font-size: 16px; font-weight: 700; color: #0d1f3c; margin: 0 0 6px; }
.pspot-cta-sub { font-size: 13.5px; color: #475569; margin: 0; max-width: 560px; line-height: 1.6; }
.pspot-cta-btn {
  flex-shrink: 0;
  background: #017bbd;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.pspot-cta-btn:hover { background: #0f2544; color: #fff; text-decoration: none; }

.pspot-related-note { font-size: 13px; color: #64748b; text-align: center; }
.pspot-related-note a { color: #017bbd; }

/* Responsive */
@media (max-width: 640px) {
  .pspot-hero { padding: 40px 18px 32px; }
  .pspot-outer { padding: 28px 16px 56px; }
  .pspot-cta-inner { flex-direction: column; align-items: flex-start; }
  .pspot-cta-btn { width: 100%; text-align: center; }
  .pspot-email-header-row { flex-direction: column; gap: 2px; }
  .pspot-email-header-row strong { width: auto; }
}
