/* ============================================================
   CCTV COMPLIANCE CHECKER PRO — FULL STYLE (Theme Safe)
   Version: 4.0
============================================================ */

/* Prevent WordPress theme leakage */
#swCompliancePro,
#swCompliancePro * {
  box-sizing: border-box;
  font-family: Arial, sans-serif !important;
}

/* Reset typography inside tool */
#swCompliancePro h1,
#swCompliancePro h2,
#swCompliancePro h3,
#swCompliancePro p,
#swCompliancePro ul,
#swCompliancePro li,
#swCompliancePro details,
#swCompliancePro summary {
  margin: 0;
  padding: 0;
  line-height: 1.35;
}

/* Wrapper */
.sw-compliance-wrapper {
  max-width: 980px;
  margin: 45px auto;
  padding: 0 18px;
  font-size: 16px;
  color: #222;
}

/* Header */
.sw-header {
  background: #0b3a74;
  padding: 36px 22px;
  border-radius: 18px;
  text-align: center;
  color: white;
  margin-bottom: 22px;
}

.sw-header h1 {
  font-size: 2.15rem;
  font-weight: 900;
}

.sw-header p {
  margin-top: 10px;
  font-size: 1.05rem;
  opacity: 0.92;
}

/* Disclaimer */
.sw-disclaimer {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

/* Card */
.sw-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.sw-card h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}

/* Fields */
.sw-field {
  margin-bottom: 16px;
}

.sw-field label {
  font-weight: 800;
  display: block;
  margin-bottom: 7px;
}

.sw-field input,
.sw-field select {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* Industry Guidance Note */
.sw-state-note {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f0f8ff;
  border: 1px solid #d7ecff;
  font-size: 0.95rem;
}

/* Question Blocks */
.sw-question {
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  background: #fff;
}

.sw-question.extra {
  border: 1px solid #d7ecff;
  background: #f9fcff;
}

.sw-question h3 {
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 6px;
}

/* Helper sentence under each question */
.sw-qhelp {
  margin-top: 4px !important;
  margin-bottom: 12px !important;
  font-size: 0.92rem !important;
  color: #555 !important;
  line-height: 1.35 !important;
}

/* Option Buttons */
.sw-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sw-options button {
  padding: 10px 15px;
  border-radius: 14px;
  border: 1px solid #cfcfcf;
 /* background: white; */
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.sw-options button:hover {
  border-color: #0b3a74;
}

.sw-options button.active {
  background: #0b3a74;
  border-color: #0b3a74;
  color: white;
}

/* Primary Button */
.sw-primary-btn {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: #0b3a74;
  color: white;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  margin-top: 10px;
}

.sw-primary-btn:hover {
  background: #062a55;
}

/* Output Grid */
.sw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 860px) {
  .sw-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sw-panel {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 16px;
}

.sw-panel-warn {
  background: #fff7f7;
  border-color: #ffe1e1;
}

.sw-panel h3 {
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.sw-panel ul {
  padding-left: 18px;
}

.sw-panel li {
  margin-bottom: 6px;
}

/* Policy Box */
.sw-policy-box {
  width: 100%;
  min-height: 250px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #ccc;
  font-family: monospace !important;
  font-size: 0.92rem;
}

/* Signage CTA Button */
.sw-signage-btn {
  display: block;
  margin: 26px 0;
  padding: 16px;
  text-align: center;
  font-weight: 900;
  border-radius: 16px;
  background: #0b3a74;
  color: white !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.sw-signage-btn:hover {
  background: #062a55;
}

/* FAQ Block */
#swFaqBlock {
  margin-top: 25px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eee;
}

#swFaqBlock h2 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 14px;
}

#swFaqBlock details {
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #eee;
}

#swFaqBlock summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1rem;
}

#swFaqBlock p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #444;
}

/* SEO Landing Block */
.sw-seo-block {
  margin-top: 30px;
  padding: 22px;
  border-radius: 18px;
  background: #f9fbff;
  border: 1px solid #dde9ff;
}

.sw-seo-block h2 {
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.sw-seo-block p {
  font-size: 1rem;
  color: #333;
}
