/* ================================================================
   Computer Care – Proactive IT Widget  v1.0.0
   ================================================================ */

.pit-shell { background: #12102a; border-radius: 16px; padding: 22px 20px 24px; font-family: sans-serif; color: #fff; max-width: 1100px; margin: 0 auto; }
.pit-eyebrow { font-size: 9.5px; font-weight: 700; color: #a09cb8; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.pit-step { margin-bottom: 18px; }
.pit-step-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.pit-step-sub { font-size: 11.5px; color: #a09cb8; line-height: 1.5; }

/* Staff row */
.pit-staff-row { display: flex; align-items: center; gap: 14px; background: #1d193c; border-radius: 10px; padding: 12px 16px; border: 1.5px solid #3a3560; flex-wrap: wrap; margin-bottom: 20px; }
.pit-staff-label { font-size: 10px; font-weight: 700; color: #a09cb8; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap; }
.pit-staff-slider { flex: 1; min-width: 100px; accent-color: #89bd23; }
.pit-staff-val { font-size: 17px; font-weight: 800; color: #fff; min-width: 72px; text-align: center; background: #12102a; border-radius: 8px; padding: 4px 10px; border: 1.5px solid #3a3560; }
.pit-staff-val span { font-size: 10px; font-weight: 400; color: #a09cb8; display: block; }

/* Problem grid */
.pit-problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.pit-problem-btn { background: #1d193c; border: 1.5px solid #3a3560; border-radius: 10px; padding: 11px 13px; cursor: pointer; text-align: left; transition: all .2s; display: flex; align-items: flex-start; gap: 10px; width: 100%; }
.pit-problem-btn:hover { border-color: #6b4b95; background: #241840; }
.pit-problem-btn.pit-selected { border-color: #f3963c; background: #2e1e10; }
.pit-pb-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.pit-pb-text { flex: 1; }
.pit-pb-name { font-size: 12px; font-weight: 700; color: #e8e6f0; display: block; line-height: 1.35; }
.pit-pb-hint { font-size: 10.5px; color: #a09cb8; margin-top: 2px; display: block; line-height: 1.4; }
.pit-pb-check { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #3a3560; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .2s; margin-top: 2px; font-size: 11px; color: transparent; }
.pit-problem-btn.pit-selected .pit-pb-check { background: #f3963c; border-color: #f3963c; color: #12102a; }

/* Divider */
.pit-divider { height: 1px; background: #3a3560; margin: 18px 0; }

/* Results header */
.pit-results-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.pit-results-title { font-size: 14px; font-weight: 700; color: #fff; }
.pit-results-sub { font-size: 11.5px; color: #a09cb8; margin-top: 2px; }

/* View toggle */
.pit-view-toggle { display: flex; background: #1d193c; border-radius: 30px; padding: 3px; border: 1.5px solid #3a3560; gap: 2px; }
.pit-vbtn { border: none; border-radius: 24px; padding: 6px 14px; font-size: 11px; font-weight: 700; cursor: pointer; transition: all .2s; background: transparent; color: #a09cb8; }
.pit-vbtn.pit-active-r { background: #7a1a1a; color: #ff8a8a; }
.pit-vbtn.pit-active-p { background: #2a4a10; color: #89bd23; }

/* Pills */
.pit-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pit-pill { flex: 1; min-width: 130px; background: #1d193c; border-radius: 10px; padding: 10px 13px; border: 1.5px solid; }
.pit-pill.pit-r { border-color: #7a2020; background: #1e1010; }
.pit-pill.pit-p { border-color: #3a6010; background: #101e08; }
.pit-pill-lbl { font-size: 9.5px; font-weight: 700; color: #a09cb8; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 3px; }
.pit-pill-val { font-size: 19px; font-weight: 800; }
.pit-pill.pit-r .pit-pill-val { color: #ff6060; }
.pit-pill.pit-p .pit-pill-val { color: #89bd23; }
.pit-pill-sub { font-size: 10px; color: #a09cb8; margin-top: 2px; }

/* Result cards */
.pit-result-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 14px; }
.pit-rcard { border-radius: 12px; border: 1.5px solid; padding: 13px; transition: all .3s; }
.pit-rcard.pit-r { border-color: #7a2020; background: #1e1010; }
.pit-rcard.pit-p { border-color: #3a6010; background: #101e08; }
.pit-rcard-top { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 8px; }
.pit-rcard-icon { font-size: 16px; flex-shrink: 0; }
.pit-rcard-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.pit-r .pit-rcard-dot { background: #ff4444; }
.pit-p .pit-rcard-dot { background: #89bd23; }
.pit-rcard-status { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; vertical-align: middle; }
.pit-r .pit-rcard-status { color: #ff6060; }
.pit-p .pit-rcard-status { color: #89bd23; }
.pit-rcard-title { font-size: 12.5px; font-weight: 700; margin-top: 3px; line-height: 1.3; }
.pit-r .pit-rcard-title { color: #ff8a8a; }
.pit-p .pit-rcard-title { color: #89bd23; }
.pit-rcard-stat { font-size: 20px; font-weight: 800; margin-bottom: 1px; }
.pit-r .pit-rcard-stat { color: #ff6060; }
.pit-p .pit-rcard-stat { color: #89bd23; }
.pit-rcard-stat-sub { font-size: 10px; color: #a09cb8; font-weight: 600; margin-bottom: 6px; }
.pit-rcard-desc { font-size: 11px; color: #a09cb8; line-height: 1.5; }

/* Empty state */
.pit-empty { background: #1d193c; border-radius: 12px; border: 1.5px dashed #3a3560; padding: 28px 20px; text-align: center; }
.pit-empty p { font-size: 12.5px; color: #a09cb8; line-height: 1.6; }

/* CTA */
.pit-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; background: #1d193c; border-radius: 10px; padding: 12px 16px; border: 1.5px solid #3a3560; transition: border-color .4s; }
.pit-cta.pit-p { border-color: #3a6010; }
.pit-cta-title { font-size: 13px; font-weight: 700; color: #fff; }
.pit-cta-text p { font-size: 11.5px; color: #a09cb8; margin-top: 3px; }
.pit-cta-btn { border: none; border-radius: 8px; padding: 9px 18px; font-size: 12px; font-weight: 700; cursor: pointer; background: #89bd23; color: #12102a; white-space: nowrap; }
.pit-cta-btn:hover { opacity: .85; }

/* ── Responsive ── */
@media (max-width: 700px) {
    .pit-shell { padding: 14px 12px 18px; border-radius: 12px; }
    .pit-problem-grid { grid-template-columns: 1fr; }
    .pit-result-cards { grid-template-columns: 1fr; }
    .pit-results-header { flex-direction: column; align-items: flex-start; }
    .pit-pills { flex-direction: column; }
    .pit-pill { min-width: 0; }
    .pit-cta { flex-direction: column; align-items: flex-start; }
    .pit-cta-btn { width: 100%; text-align: center; }
}
