/* Drumroll Health Check form. Upload to wp-content/uploads/drumroll-hc/health-check.css */
#dp-hc {
  --hc-navy: #0C2C54;
  --hc-accent: #1E5AA8;
  --hc-accent-dark: #143F78;
  --hc-text: #2B3442;
  --hc-muted: #5B6472;
  --hc-line: #B9C0CA;
  --hc-soft: #F4F8FD;
  --hc-soft-line: #BFD3EC;
  --hc-sand: #F3F1EC;
  --hc-red: #A33A1E;
  --hc-green: #1D6B45;
  max-width: 760px;
  margin: 0 auto;
  color: var(--hc-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}
#dp-hc *, #dp-hc *::before, #dp-hc *::after { box-sizing: border-box; }
#dp-hc .hc-card {
  background: #fff;
  border-radius: 14px;
  padding: 44px;
  box-shadow: 0 1px 2px rgba(22,36,59,.06), 0 8px 24px rgba(22,36,59,.06);
}
#dp-hc form { display: flex; flex-direction: column; gap: 36px; margin: 0; }
#dp-hc .hc-head { display: flex; flex-direction: column; gap: 12px; }
#dp-hc .hc-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 8px; flex-wrap: wrap; }
#dp-hc .hc-brand img { height: 56px; width: auto; display: block; }
#dp-hc .hc-badge { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hc-accent); }
#dp-hc h2.hc-title { margin: 0; padding: 0; font-size: 34px; line-height: 1.15; font-weight: 800; color: var(--hc-navy); }
#dp-hc .hc-lead { margin: 0; padding: 0; font-size: 18px; color: #3D4654; }
#dp-hc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
#dp-hc legend { font-size: 20px; font-weight: 700; color: var(--hc-navy); padding: 0; margin-bottom: 6px; }
#dp-hc .hc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
#dp-hc .hc-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#dp-hc label.hc-lbl { display: block; font-size: 15px; font-weight: 600; color: var(--hc-navy); margin: 0 0 6px; }
#dp-hc .hc-req { color: var(--hc-red); font-weight: 700; }
#dp-hc input.hc-inp, #dp-hc select.hc-inp {
  display: block; width: 100%; height: 48px; margin: 0; padding: 0 14px;
  border: 1px solid var(--hc-line); border-radius: 8px; background: #fff;
  font-family: inherit; font-size: 16px; color: var(--hc-text); box-shadow: none;
}
#dp-hc select.hc-inp { padding: 0 12px; }
#dp-hc input.hc-inp:focus, #dp-hc select.hc-inp:focus { outline: 3px solid rgba(30,90,168,.25); border-color: var(--hc-accent); }
#dp-hc .hc-invalid { border-color: var(--hc-red) !important; }
#dp-hc .hc-err { display: block; margin: 6px 0 0; font-size: 14px; color: var(--hc-red); }
#dp-hc .hc-err:empty { display: none; }
#dp-hc .hc-hint { font-size: 14px; color: var(--hc-muted); margin: 0; padding: 0; line-height: 1.45; }
#dp-hc .hc-box { border: 1px solid var(--hc-soft-line); background: var(--hc-soft); border-radius: 10px; padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
#dp-hc .hc-box[hidden] { display: none; }
#dp-hc .hc-box .hc-more { display: flex; flex-direction: column; gap: 16px; }
#dp-hc .hc-box .hc-more[hidden] { display: none; }
#dp-hc label.hc-tick { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; cursor: pointer; font-size: 16px; color: var(--hc-text); }
#dp-hc label.hc-tick.hc-tick-big { font-size: 17px; font-weight: 700; color: var(--hc-navy); }
#dp-hc label.hc-tick input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--hc-accent); }
#dp-hc .hc-opts { display: flex; flex-direction: column; gap: 6px; }
#dp-hc .hc-trust { background: var(--hc-sand); border-radius: 10px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
#dp-hc .hc-trust p { margin: 0; padding: 0; font-size: 15px; line-height: 1.55; }
#dp-hc .hc-trust svg { flex: none; margin-top: 2px; }
#dp-hc a { color: var(--hc-accent); }
#dp-hc a:hover { color: var(--hc-accent-dark); }
#dp-hc .hc-submit { display: flex; flex-direction: column; gap: 12px; }
#dp-hc button.hc-btn {
  height: 56px; width: 100%; border: 0; border-radius: 10px; margin: 0;
  background: var(--hc-accent); color: #fff; font-family: inherit; font-size: 18px; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
#dp-hc button.hc-btn:hover { background: var(--hc-accent-dark); }
#dp-hc button.hc-btn:disabled { opacity: .7; cursor: progress; }
#dp-hc .hc-spin { width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: hc-spin .8s linear infinite; }
@keyframes hc-spin { to { transform: rotate(360deg); } }
#dp-hc .hc-alert { border-radius: 10px; padding: 14px 16px; background: #FBEDE8; color: #7A2A15; font-size: 15px; }
#dp-hc .hc-alert:empty { display: none; }
#dp-hc .hc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#dp-hc .hc-ts { min-height: 0; }

/* Result screens */
#dp-hc .hc-screen { display: flex; flex-direction: column; gap: 22px; }
#dp-hc .hc-icon { width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; }
#dp-hc .hc-screen h2 { margin: 0; padding: 0; font-size: 30px; line-height: 1.2; font-weight: 800; color: var(--hc-navy); }
#dp-hc .hc-screen h3 { margin: 0; padding: 0; font-size: 18px; font-weight: 700; color: var(--hc-navy); }
#dp-hc .hc-screen p { margin: 0; padding: 0; font-size: 17px; line-height: 1.5; color: #3D4654; }
#dp-hc .hc-steps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
#dp-hc .hc-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.45; margin: 0; padding: 0; }
#dp-hc .hc-steps li::before { content: none; }
#dp-hc .hc-num { flex: none; width: 28px; height: 28px; border-radius: 14px; background: var(--hc-navy); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: -2px; }
#dp-hc .hc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#dp-hc .hc-actions a, #dp-hc .hc-actions button {
  display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 10px; margin: 0;
  font-family: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--hc-accent); color: var(--hc-accent); background: #fff;
}
#dp-hc .hc-actions .hc-primary { background: var(--hc-accent); color: #fff; }
#dp-hc .hc-divider { border-top: 1px solid #E2E5EA; padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 640px) {
  #dp-hc .hc-card { padding: 24px 20px; border-radius: 12px; }
  #dp-hc form { gap: 30px; }
  #dp-hc .hc-grid, #dp-hc .hc-grid-3 { grid-template-columns: 1fr; gap: 16px; }
  #dp-hc h2.hc-title { font-size: 28px; line-height: 1.2; }
  #dp-hc .hc-lead { font-size: 16px; }
  #dp-hc .hc-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  #dp-hc .hc-brand img { height: 48px; }
  #dp-hc .hc-trust { padding: 16px; }
  #dp-hc .hc-trust svg { display: none; }
  #dp-hc .hc-screen h2 { font-size: 26px; }
}

/* Running and results screens */
#dp-hc .hc-spin-dark { border-color: rgba(12,44,84,.2); border-top-color: var(--hc-navy); width: 24px; height: 24px; flex: none; }
#dp-hc .hc-run { display: flex; flex-direction: column; gap: 18px; }
#dp-hc .hc-run-head { display: flex; align-items: center; gap: 14px; }
#dp-hc .hc-run-head h2 { font-size: 26px; }
#dp-hc .hc-run-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#dp-hc .hc-run-steps li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; font-size: 16px; color: var(--hc-muted); }
#dp-hc .hc-run-dot { width: 14px; height: 14px; border-radius: 7px; border: 2px solid #B9C0CA; flex: none; }
#dp-hc .hc-run-steps li.hc-now { color: var(--hc-navy); font-weight: 700; }
#dp-hc .hc-run-steps li.hc-now .hc-run-dot { border-color: var(--hc-accent); background: var(--hc-accent); animation: hc-pulse 1.2s ease-in-out infinite; }
#dp-hc .hc-run-steps li.hc-done { color: var(--hc-text); }
#dp-hc .hc-run-steps li.hc-done .hc-run-dot { border-color: var(--hc-green); background: var(--hc-green); }
@keyframes hc-pulse { 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { #dp-hc .hc-spin, #dp-hc .hc-run-steps li.hc-now .hc-run-dot { animation: none; } }

#dp-hc .hc-kicker { font-size: 14px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hc-accent) !important; margin: 0 0 -8px !important; }
#dp-hc .hc-score { display: flex; align-items: center; gap: 24px; background: var(--hc-soft); border: 1px solid var(--hc-soft-line); border-radius: 12px; padding: 20px; }
#dp-hc .hc-score h2 { font-size: 26px; margin-bottom: 6px; }
#dp-hc .hc-score p { font-size: 16px; }
#dp-hc .hc-ring { width: 112px; height: 112px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; }
#dp-hc .hc-ring-in { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
#dp-hc .hc-ring-in strong { font-size: 32px; font-weight: 800; color: var(--hc-navy); }
#dp-hc .hc-ring-in span { font-size: 12px; color: var(--hc-muted); margin-top: 4px; }
#dp-hc .hc-glance { list-style: none; margin: -8px 0 0; padding: 0; }
#dp-hc .hc-glance li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; margin: 0; border-bottom: 1px solid #E6E8EC; font-size: 15px; }
#dp-hc .hc-glance li:last-child { border-bottom: 0; }
#dp-hc .hc-g-status { font-weight: 700; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
#dp-hc .hc-g-dot { width: 10px; height: 10px; border-radius: 5px; display: inline-block; }
#dp-hc .hc-fixes { list-style: none; margin: -8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#dp-hc .hc-fix { border: 1px solid #E2E5EA; border-radius: 10px; padding: 16px 18px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
#dp-hc .hc-fix h4, #dp-hc .hc-strength h4 { margin: 0; padding: 0; font-size: 16px; font-weight: 700; color: var(--hc-navy); line-height: 1.4; }
#dp-hc .hc-fix p { font-size: 15px; color: var(--hc-text); }
#dp-hc .hc-strength { background: #EEF6F1; border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
#dp-hc .hc-strength h4 { color: var(--hc-green); }
#dp-hc .hc-strength p { font-size: 15px; color: var(--hc-text); }
@media (max-width: 640px) {
  #dp-hc .hc-score { flex-direction: column; align-items: flex-start; gap: 16px; }
  #dp-hc .hc-run-head h2 { font-size: 22px; }
}
