@charset "UTF-8";

/**
 * ClinicianCore HCC ROI Calculator — Widget Styles
 * Scoped under .cc-hcc-plugin to prevent theme CSS conflicts.
 *
 * @package ClinicianCore_HCC_ROI_Calculator
 * @version 1.0.0
 */

/* ── CSS RESET & SCOPE ── */
.cc-hcc-plugin {
  all: initial;
  font-family: 'Albert Sans', system-ui, sans-serif;
  display: block;
  /* Design tokens */
  --teal: #0D98BA;
  --teal-light: #2DC8D8;
  --teal-pale: #E8F7FB;
  --navy: #1A365D;
  --navy-mid: #1E4080;
  --navy-light: #243f73;
  --coral: #F6AD55;
  --coral-bg: rgba(246,173,85,0.12);
  --coral-border: rgba(246,173,85,0.3);
  --bg: #F7FAFC;
  --white: #fff;
  --body: #2D3748;
  --list: #4A5568;
  --muted: #A0AEC0;
  --light: #E2E8F0;
  --success: #38A169;
  --font: 'Albert Sans', system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(26,54,93,0.06);
  --shadow-md: 0 4px 24px rgba(26,54,93,0.12);
  --transition: all 0.18s ease;
}

/* Box-sizing reset for all children */
.cc-hcc-plugin *,
.cc-hcc-plugin *::before,
.cc-hcc-plugin *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── FOCUS (WCAG) ── */
.cc-hcc-plugin *:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ── WIDGET SHELL ── */
.cc-hcc-plugin .cc {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 80px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  line-height: 1.5;
  font-size: 14px;
}

/* ── TABS ── */
.cc-hcc-plugin .cc-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cc-hcc-plugin .cc-tabs-wrap::-webkit-scrollbar { display: none; }

.cc-hcc-plugin .cc-tab {
  flex-shrink: 0;
  padding: 10px 20px;
  border: 1.5px solid var(--light);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--list);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cc-hcc-plugin .cc-tab svg { width: 15px; height: 15px; opacity: 0.5; transition: opacity 0.15s; }
.cc-hcc-plugin .cc-tab:hover { border-color: var(--teal); color: var(--teal); background: var(--white) !important; background-color: var(--white) !important; }
.cc-hcc-plugin .cc-tab:hover svg { opacity: 1; }
.cc-hcc-plugin .cc-tab.active {
  background: var(--navy) !important;
  background-color: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(26,54,93,0.3) !important;
}
.cc-hcc-plugin .cc-tab.active svg { opacity: 1; fill: #fff; }

/* ── PANELS ── */
.cc-hcc-plugin .cc-panel { display: none; }
.cc-hcc-plugin .cc-panel.active {
  display: block;
  animation: ccFadeUp 0.2s ease;
}

/* ── ROI LAYOUT ── */
.cc-hcc-plugin .cc-roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ── CARDS ── */
.cc-hcc-plugin .cc-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.cc-hcc-plugin .cc-card-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cc-hcc-plugin .cc-card-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light);
}

/* ── FIELDS ── */
.cc-hcc-plugin .cc-field { margin-bottom: 20px; }
.cc-hcc-plugin .cc-field:last-child { margin-bottom: 0; }

.cc-hcc-plugin .cc-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--list);
  margin-bottom: 5px;
}
.cc-hcc-plugin .cc-label-badge {
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  transition: var(--transition);
}
.cc-hcc-plugin .cc-hint {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
  line-height: 1.4;
  display: block;
}

/* Input row (number + unit) */
.cc-hcc-plugin .cc-input-row {
  display: flex;
  border: 1.5px solid var(--light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}
.cc-hcc-plugin .cc-input-row:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,152,186,0.1);
}
.cc-hcc-plugin .cc-input-row input[type=number] {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  min-width: 0;
  -moz-appearance: textfield;
}
.cc-hcc-plugin .cc-input-row input[type=number]::-webkit-inner-spin-button,
.cc-hcc-plugin .cc-input-row input[type=number]::-webkit-outer-spin-button {
  opacity: 0.4;
}
.cc-hcc-plugin .cc-unit {
  padding: 11px 13px;
  background: var(--bg);
  border-left: 1px solid var(--light);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* Range sliders */
.cc-hcc-plugin .cc-slider-wrap {
  margin-top: 10px;
  position: relative;
  padding: 10px 0;  /* vertical room so 18px thumb is never clipped */
}
.cc-hcc-plugin .cc-slider-wrap input[type=range] {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  outline: none;
  border: none;
  cursor: pointer;
  touch-action: none;
  accent-color: var(--teal);
  background: linear-gradient(to right, var(--teal) var(--pct, 0%), var(--light) var(--pct, 0%));
  -webkit-appearance: none;
  appearance: none;
  display: block;
  /* overflow must be visible so the round thumb is not cropped */
  overflow: visible;
}
.cc-hcc-plugin .cc-slider-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: transform 0.1s;
}
.cc-hcc-plugin .cc-slider-wrap input[type=range]::-webkit-slider-thumb:active {
  transform: scale(1.15);
}
.cc-hcc-plugin .cc-slider-wrap input[type=range]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cc-hcc-plugin .cc-slider-wrap input[type=range]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: transparent; /* gradient on the element itself handles colouring */
}
.cc-hcc-plugin .cc-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ── INFO BOX ── */
.cc-hcc-plugin .cc-info {
  background: var(--teal-pale);
  border: 1px solid rgba(13,152,186,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 4px;
}
.cc-hcc-plugin .cc-info-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 5px;
}
.cc-hcc-plugin .cc-info p {
  font-size: 12px;
  color: var(--list);
  line-height: 1.6;
}
.cc-hcc-plugin .cc-roi-callout {
  background: var(--coral-bg);
  border: 1px solid var(--coral-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cc-hcc-plugin .cc-roi-callout-icon { font-size: 18px; flex-shrink: 0; }
.cc-hcc-plugin .cc-roi-callout p { font-size: 12px; color: var(--body); line-height: 1.5; }
.cc-hcc-plugin .cc-roi-callout strong { color: #C05621; }

/* ── RESULTS CARD ── */
.cc-hcc-plugin .cc-results {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 20px;
}
.cc-hcc-plugin .cc-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.cc-hcc-plugin .cc-results-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-light);
}
.cc-hcc-plugin .cc-live {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(56,161,105,0.2);
  border: 1px solid rgba(56,161,105,0.3);
  color: #68D391;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.cc-hcc-plugin .cc-live-dot {
  width: 5px;
  height: 5px;
  background: #68D391;
  border-radius: 50%;
  animation: ccPulse 1.8s infinite;
}

/* Key Performance Indicator */
.cc-hcc-plugin .cc-kpi {
  background: rgba(13,152,186,0.15);
  border: 1px solid rgba(13,152,186,0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.cc-hcc-plugin .cc-kpi-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.cc-hcc-plugin .cc-kpi-val {
  font-size: clamp(32px, 5vw, 44px); /* fallback — Elementor Style › KPI Value Typography overrides this */
  font-weight: 800;
  color: var(--teal-light);
  letter-spacing: -1px;
  line-height: 1;
  display: block;
}

.cc-hcc-plugin .cc-kpi-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  display: block;
}

/* Metric grid */
.cc-hcc-plugin .cc-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.cc-hcc-plugin .cc-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
}
.cc-hcc-plugin .cc-metric-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
  display: block;
}
.cc-hcc-plugin .cc-metric-val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  display: block;
}
.cc-hcc-plugin .cc-metric-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
  display: block;
}

/* Bar Chart */
.cc-hcc-plugin .cc-bars { margin-top: 20px; }
.cc-hcc-plugin .cc-bars-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
  display: block;
}
.cc-hcc-plugin .cc-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cc-hcc-plugin .cc-bar-name {
  width: 110px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
  text-align: right;
  line-height: 1.3;
}
.cc-hcc-plugin .cc-bar-track {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 5px;
  height: 28px;
  overflow: hidden;
}
.cc-hcc-plugin .cc-bar-fill {
  height: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-size: 11px;
  font-weight: 700;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 55px;
}
.cc-hcc-plugin .cc-bar-fill.baseline {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.65);
}
.cc-hcc-plugin .cc-bar-fill.recovered {
  background: var(--teal);
  color: #fff;
}
.cc-hcc-plugin .cc-bar-fill.potential {
  background: rgba(13,152,186,0.35);
  border: 1px dashed rgba(13,152,186,0.5);
  color: rgba(255,255,255,0.75);
}

/* PDF Button */
.cc-hcc-plugin .cc-pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 13px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.75);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 48px;
}
/* .cc-pdf-btn:hover colors are controlled by Elementor: Style › PDF Download Button › Hover tab */

.cc-hcc-plugin .cc-pdf-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Footer (inside results panel) */
.cc-hcc-plugin .cc-panel-footer {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
}
.cc-hcc-plugin .cc-panel-footer svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
  margin-top: 1px;
}
.cc-hcc-plugin .cc-panel-footer p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.cc-hcc-plugin .cc-panel-footer a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

/* ── SENSITIVITY TABLE ── */
.cc-hcc-plugin .cc-sens-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cc-hcc-plugin .cc-sens-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 520px;
}
.cc-hcc-plugin .cc-sens-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: right;
}
.cc-hcc-plugin .cc-sens-table thead th:first-child {
  text-align: left;
  border-radius: var(--radius) 0 0 0;
}
.cc-hcc-plugin .cc-sens-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}
.cc-hcc-plugin .cc-sens-table tbody tr {
  border-bottom: 1px solid var(--light);
  transition: background 0.1s;
}
.cc-hcc-plugin .cc-sens-table tbody tr:hover { background: var(--bg); }
.cc-hcc-plugin .cc-sens-table tbody tr.cc-current { background: var(--teal-pale); }
.cc-hcc-plugin .cc-sens-table tbody tr:last-child { border-bottom: none; }
.cc-hcc-plugin .cc-sens-table tbody td {
  padding: 11px 16px;
  font-size: 13px;
  text-align: right;
  color: var(--body);
}
.cc-hcc-plugin .cc-sens-table tbody td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
}
.cc-hcc-plugin .cc-sens-table .cc-you {
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.cc-hcc-plugin .cc-sens-table .recovered {
  color: var(--success);
  font-weight: 700;
}

/* Sens section header text */
.cc-hcc-plugin .cc-sens-subtitle {
  font-size: 13px;
  color: var(--list);
  line-height: 1.5;
  margin-bottom: 16px;
  display: block;
}

/* ── SCENARIOS ── */
.cc-hcc-plugin .cc-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.cc-hcc-plugin .cc-scenario {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
}
.cc-hcc-plugin .cc-scenario:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cc-hcc-plugin .cc-scenario.conservative { border-color: var(--light); }
.cc-hcc-plugin .cc-scenario.base {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13,152,186,0.1), var(--shadow-md);
}
.cc-hcc-plugin .cc-scenario.optimistic { border-color: var(--navy); }

.cc-hcc-plugin .cc-scenario-head {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cc-hcc-plugin .cc-scenario.conservative .cc-scenario-head { background: var(--bg); }
.cc-hcc-plugin .cc-scenario.base .cc-scenario-head { background: var(--teal); }
.cc-hcc-plugin .cc-scenario.optimistic .cc-scenario-head { background: var(--navy); }

.cc-hcc-plugin .cc-scenario-name { font-size: 13px; font-weight: 700; }
.cc-hcc-plugin .cc-scenario.conservative .cc-scenario-name { color: var(--navy); }
.cc-hcc-plugin .cc-scenario.base .cc-scenario-name,
.cc-hcc-plugin .cc-scenario.optimistic .cc-scenario-name { color: #fff; }

.cc-hcc-plugin .cc-scenario-tag {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.cc-hcc-plugin .cc-scenario.conservative .cc-scenario-tag { color: var(--list); }
.cc-hcc-plugin .cc-scenario.base .cc-scenario-tag,
.cc-hcc-plugin .cc-scenario.optimistic .cc-scenario-tag { color: #fff; }

.cc-hcc-plugin .cc-scenario-body { background: var(--white); padding: 16px 20px; }
.cc-hcc-plugin .cc-scenario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--light);
  font-size: 12px;
}
.cc-hcc-plugin .cc-scenario-row:last-of-type { border-bottom: none; }
.cc-hcc-plugin .cc-scenario-row-label { color: var(--list); font-weight: 500; }
.cc-hcc-plugin .cc-scenario-row-val { font-weight: 700; color: var(--navy); }

.cc-hcc-plugin .cc-scenario-result {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px dashed var(--light);
}
.cc-hcc-plugin .cc-scenario-kpi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.cc-hcc-plugin .cc-scenario-kpi-label { font-size: 11px; color: var(--list); }
.cc-hcc-plugin .cc-scenario-kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
}

/* Comparison bar chart */
.cc-hcc-plugin .cc-comp-bars {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.cc-hcc-plugin .cc-comp-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: block;
}
.cc-hcc-plugin .cc-comp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cc-hcc-plugin .cc-comp-label {
  width: 120px;
  font-size: 12px;
  font-weight: 600;
  color: var(--list);
  flex-shrink: 0;
}
.cc-hcc-plugin .cc-comp-track {
  flex: 1;
  background: var(--bg);
  border-radius: 8px;
  height: 40px;
  overflow: hidden;
}
.cc-hcc-plugin .cc-comp-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 5%;
}
.cc-hcc-plugin .cc-comp-fill.con { background: linear-gradient(90deg, #90CDF4, #63B3ED); }
.cc-hcc-plugin .cc-comp-fill.base2 { background: linear-gradient(90deg, var(--teal), var(--teal-light)); }
.cc-hcc-plugin .cc-comp-fill.opt { background: linear-gradient(90deg, var(--navy), #2A4A7F); }
.cc-hcc-plugin .cc-comp-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 64px;
  text-align: right;
}

/* ── CTA BAR ── */
.cc-hcc-plugin .cc-cta {
  background: linear-gradient(135deg, var(--teal), #0A7A94);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(13,152,186,0.3);
}
.cc-hcc-plugin .cc-cta-text p {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}
.cc-hcc-plugin .cc-cta-text span { color: rgba(255,255,255,0.7); font-size: 12px; }
.cc-hcc-plugin .cc-cta-btn {
  background: #fff;
  color: var(--teal);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-decoration: none;
}
.cc-hcc-plugin .cc-cta-btn:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.cc-hcc-plugin .cc-cta-btn svg { width: 16px; height: 16px; }

/* ── WIDGET FOOTER ── */
.cc-hcc-plugin .cc-footer {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
}
.cc-hcc-plugin .cc-footer svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
  margin-top: 1px;
}
.cc-hcc-plugin .cc-footer p { font-size: 11px; color: var(--muted); line-height: 1.6; }
.cc-hcc-plugin .cc-footer a { color: var(--teal); text-decoration: none; font-weight: 600; }

/* ── ANIMATIONS ── */
@keyframes ccPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes ccFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .cc-hcc-plugin .cc-roi-grid { grid-template-columns: 1fr; }
  .cc-hcc-plugin .cc-results { position: static; }
}
@media (max-width: 767px) {
  .cc-hcc-plugin .cc-scenario-grid { grid-template-columns: 1fr; }
  .cc-hcc-plugin .cc-metric-grid { grid-template-columns: 1fr; }
  .cc-hcc-plugin .cc-bar-name { width: 80px; font-size: 10px; }
  .cc-hcc-plugin .cc-cta { padding: 20px; border-radius: var(--radius-sm); }
  .cc-hcc-plugin .cc-cta-btn { width: 100%; justify-content: center; }
  .cc-hcc-plugin .cc-card { padding: 20px; }
  .cc-hcc-plugin .cc-results { padding: 20px; }
}
@media (max-width: 479px) {
  .cc-hcc-plugin .cc-tabs-wrap { gap: 6px; }
  .cc-hcc-plugin .cc-tab { padding: 9px 14px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-hcc-plugin * {
    transition: none !important;
    animation: none !important;
  }
}
