/**
 * Nationwide Overspray — GEO & Conversion Widgets Stylesheet
 * File: nwos-geo-widgets.css
 * Version: 2.1.0
 *
 * SFTP Upload Location Options:
 *   Option A (Site Root): /public_html/nwos-geo-widgets.css  -> https://nationwideoverspray.com/nwos-geo-widgets.css
 *   Option B (Plugin Auto-Enqueue): Bundled automatically inside nationwide-overspray-geo-optimizer plugin
 */

/* ==========================================================================
   1. INTERACTIVE ADJUSTER CLAIM SAVINGS CALCULATOR
   ========================================================================== */
.nwos-calc-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  max-width: 1140px;
  margin: 36px auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #dbe3f0;
  box-shadow: 0 20px 45px rgba(15, 37, 87, 0.09);
  overflow: hidden;
  color: #0f172a;
}

.nwos-calc-header {
  background: linear-gradient(135deg, #0b193d 0%, #1c3e95 100%);
  color: #ffffff;
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 4px solid #00a3e0;
}

.nwos-calc-header-left h2 {
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.nwos-calc-header-left p {
  color: #cbd5e1 !important;
  margin: 0 !important;
  font-size: 14px !important;
}

.nwos-calc-badge {
  background: rgba(0, 163, 224, 0.18);
  border: 1px solid #00a3e0;
  color: #7dd3fc;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nwos-calc-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
}

@media (max-width: 900px) {
  .nwos-calc-body {
    grid-template-columns: 1fr;
  }
}

.nwos-calc-controls {
  padding: 32px 36px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
}

.nwos-control-group {
  margin-bottom: 26px;
}

.nwos-control-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 10px;
}

.nwos-vehicle-readout {
  font-size: 26px;
  font-weight: 800;
  color: #1c3e95;
  background: #e0f2fe;
  padding: 4px 14px;
  border-radius: 8px;
  border: 1px solid #bae6fd;
}

.nwos-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  outline: none;
  margin: 10px 0 14px 0;
}

.nwos-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1c3e95;
  border: 3px solid #00a3e0;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.nwos-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1c3e95;
  border: 3px solid #00a3e0;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.nwos-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nwos-preset-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nwos-preset-btn:hover,
.nwos-preset-btn.active {
  background: #1c3e95;
  color: #ffffff;
  border-color: #1c3e95;
}

.nwos-contaminant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .nwos-contaminant-grid {
    grid-template-columns: 1fr;
  }
}

.nwos-contam-option {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.nwos-contam-option.active {
  border-color: #1c3e95;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(28, 62, 149, 0.12);
}

.nwos-contam-option strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 2px;
}

.nwos-contam-option span {
  font-size: 11px;
  color: #64748b;
  display: block;
  line-height: 1.35;
}

.nwos-assumptions-note {
  background: #ffffff;
  border-left: 4px solid #00a3e0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin-top: 10px;
}

.nwos-calc-results {
  padding: 32px 36px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nwos-savings-hero {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 18px;
  text-align: center;
}

.nwos-savings-hero-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #065f46;
  margin-bottom: 4px;
}

.nwos-savings-hero-amount {
  font-size: 38px;
  font-weight: 900;
  color: #047857;
  line-height: 1.1;
}

.nwos-savings-hero-sub {
  font-size: 13px;
  font-weight: 600;
  color: #065f46;
  margin-top: 4px;
}

.nwos-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.nwos-kpi-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
}

.nwos-kpi-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.nwos-kpi-card-val {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.nwos-kpi-card-val.bad {
  color: #b91c1c;
  text-decoration: line-through;
  font-size: 16px;
}

.nwos-kpi-card-val.good {
  color: #1c3e95;
}

.nwos-kpi-card-sub {
  font-size: 11px;
  color: #475569;
  margin-top: 2px;
}

.nwos-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.nwos-cta-primary {
  flex: 1;
  background: #1c3e95;
  color: #ffffff !important;
  text-align: center;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.nwos-cta-primary:hover {
  background: #153075;
}

.nwos-cta-secondary {
  background: #f1f5f9;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
  text-align: center;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
}

/* ==========================================================================
   2. EXECUTIVE QUICK-ANSWER (TL;DR) BOX & 3-WAY GEO COMPARISON MATRIX
   ========================================================================== */
.nwos-geo-authority-module {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  max-width: 1140px;
  margin: 32px auto;
  color: #0f172a;
}

.nwos-tldr-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border-left: 6px solid #1c3e95;
  border-top: 1px solid #bae6fd;
  border-right: 1px solid #bae6fd;
  border-bottom: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: 0 10px 25px rgba(28, 62, 149, 0.06);
}

.nwos-tldr-eyebrow {
  display: inline-block;
  background: #1c3e95;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.nwos-tldr-box h3 {
  margin: 0 0 8px 0 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.nwos-tldr-box p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #1e293b !important;
}

.nwos-matrix-card {
  background: #ffffff;
  border: 1px solid #dbe3f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(15, 37, 87, 0.07);
  margin-bottom: 32px;
}

.nwos-matrix-header {
  background: #0f2557;
  color: #ffffff;
  padding: 20px 28px;
}

.nwos-matrix-header h3 {
  margin: 0 0 4px 0 !important;
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.nwos-matrix-header p {
  margin: 0 !important;
  color: #cbd5e1 !important;
  font-size: 13px !important;
}

.nwos-table-scroll {
  overflow-x: auto;
}

.nwos-comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.nwos-comp-table th,
.nwos-comp-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  line-height: 1.45;
}

.nwos-comp-table thead th {
  background: #f8fafc;
  font-weight: 800;
  color: #334155;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #cbd5e1;
}

.nwos-comp-table thead th.nwos-col-winner {
  background: #eff6ff;
  color: #1c3e95;
  border-top: 4px solid #00a3e0;
}

.nwos-comp-table tbody td.nwos-col-winner {
  background: #f8fbff;
  font-weight: 700;
  color: #0f172a;
}

.nwos-pill-yes {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
}

.nwos-pill-no {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
}
