/* ============================================================
   Verisol Solar Calculator  — v2
   Change brand colours via the CSS custom properties below
   ============================================================ */

:root {
    --vsc-primary:      #F39200;
    --vsc-primary-dark: #bb7000;
    --vsc-navy:         #294685;
    --vsc-green:        #47AF5F;
    --vsc-blue:         #4a90d9;
    --vsc-bluedark:     #1e3a6e;
    --vsc-gray:         #b0b7c3;
    --vsc-bg:           #ffffff;
    --vsc-border:       #e5e7eb;
    --vsc-text:         #072A3D;
    --vsc-muted:        #707071;
    --vsc-radius:       14px;
    --vsc-shadow:       0 4px 32px rgba(0,0,0,.09);
}

/* ── Wrapper ───────────────────────────────────────────────── */
.vsc-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 36px;
    background: var(--vsc-bg);
    border-radius: var(--vsc-radius);
    box-shadow: var(--vsc-shadow);
    font-family: inherit;
    color: var(--vsc-text);
    box-sizing: border-box;
}

/* ══ TOP SECTION: sliders + flow diagram ══════════════════════ */
.vsc-top {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
}

/* ── Slider column ─────────────────────────────────────────── */
.vsc-sliders {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vsc-field:not(:last-child) {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--vsc-border);
}

.vsc-field-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* Icon circle */
.vsc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    border: 2px solid var(--vsc-navy);
    color: var(--vsc-navy);
    margin-top: 2px;
}
.vsc-icon svg {
    width: 44px;
    height: 44px;
}
.vsc-icon i {
    font-size: 20px;
    line-height: 1;
}
/* Match colours from the flow diagram */
.vsc-icon--home    { background: #f0f4ff; border-color: var(--vsc-navy);   color: var(--vsc-navy); }
.vsc-icon--solar   { background: #fff5e6; border-color: var(--vsc-primary); color: var(--vsc-primary); }
.vsc-icon--battery { background: #eef2ff; border-color: var(--vsc-navy);   color: var(--vsc-navy); }
.vsc-icon--ev      { background: #eaf7ed; border-color: var(--vsc-green);  color: var(--vsc-green); }

.vsc-field-controls {
    flex: 1;
    min-width: 0;
}

.vsc-field-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 8px;
}

.vsc-field-header label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--vsc-navy);
    cursor: default;
    line-height: 1.3;
}

.vsc-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--vsc-primary);
    white-space: nowrap;
}

.vsc-range-limits {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--vsc-muted);
    margin-top: 4px;
}

.vsc-ev-extra,
.vsc-household-extra {
    font-size: 1rem;
    color: var(--vsc-muted);
    margin-top: 5px;
}
.vsc-ev-extra strong,
.vsc-household-extra strong {
    color: var(--vsc-navy);
    font-weight: 700;
    margin-left: 4px;
}

/* ── Range input ───────────────────────────────────────────── */
.vsc-wrap input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: var(--vsc-border);
    outline: none;
    cursor: pointer;
}

.vsc-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--vsc-navy);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--vsc-navy);
    transition: box-shadow .15s;
}
.vsc-wrap input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 5px rgba(30,58,110,.18);
}

.vsc-wrap input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--vsc-navy);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--vsc-navy);
    cursor: pointer;
}
.vsc-wrap input[type="range"]::-moz-range-track {
    height: 5px;
    border-radius: 3px;
    background: var(--vsc-border);
}
.vsc-wrap input[type="range"]:focus-visible {
    outline: 2px solid var(--vsc-primary);
    outline-offset: 4px;
}

/* ── Flow diagram column ───────────────────────────────────── */
.vsc-flow {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FA icons inside SVG foreignObject nodes */
.vsc-flow-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vsc-flow-icon i { line-height: 1; }
.vsc-flow-icon--stacked {
    flex-direction: column;
    gap: 4px;
}
#vsc-flow-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
}

/* ══ RESULTS: 3 donut charts ══════════════════════════════════ */
.vsc-results {
    border-top: 1px solid var(--vsc-border);
    padding-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.vsc-donut-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vsc-chart-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--vsc-navy);
    margin: 0 0 14px;
}

/* Donut SVG */
.vsc-donut-area {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
}
.vsc-donut-svg {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}

/* r=60, C=377 */
.vsc-d-bg {
    fill: none;
    stroke: var(--vsc-border);
    stroke-width: 22;
}
.vsc-d-seg {
    fill: none;
    stroke-width: 22;
    stroke-linecap: butt;
    transition: stroke-dasharray .5s cubic-bezier(.4,0,.2,1),
                stroke-dashoffset .5s cubic-bezier(.4,0,.2,1);
}
.vsc-d-green    { stroke: var(--vsc-green); }
.vsc-d-blue     { stroke: var(--vsc-blue); }
.vsc-d-bluedark { stroke: var(--vsc-bluedark); }
.vsc-d-gray     { stroke: var(--vsc-gray); }

.vsc-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.vsc-donut-pct {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vsc-navy);
    line-height: 1;
}

/* ── Legend ────────────────────────────────────────────────── */
.vsc-legend {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: max-content;
    max-width: 100%;
}
.vsc-legend li {
    display: grid;
    grid-template-columns: 14px 44px 1fr;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--vsc-muted);
    margin-bottom: 4px;
    text-align: left;
}
.vsc-legend li span:nth-child(2) {
    font-weight: 700;
    color: var(--vsc-text);
}
.vsc-dot {
    flex-shrink: 0;
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.vsc-dot--green    { background: var(--vsc-green); }
.vsc-dot--blue     { background: var(--vsc-blue); }
.vsc-dot--bluedark { background: var(--vsc-bluedark); }
.vsc-dot--gray     { background: var(--vsc-gray); }

.vsc-ev-note {
    font-size: 0.95rem;
    color: var(--vsc-muted);
    margin: 8px 0 0;
    font-style: italic;
}

/* ── Disclaimer ─────────────────────────────────────────────── */
.vsc-disclaimer {
    font-size: 0.95rem;
    color: var(--vsc-muted);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ── CTA ────────────────────────────────────────────────────── */
.vsc-cta { display: flex; justify-content: center; margin-top: 8px; }

/* ══ SUMMARY CARD (contact page) ═════════════════════════════ */
.vsc-summary {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: var(--vsc-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(41,70,133,.13);
    margin-bottom: 32px;
    border: none;
}

/* Left zone — inputs */
.vsc-summary-inputs {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-left: 5px solid var(--vsc-primary);
    padding: 22px 28px;
    box-sizing: border-box;
}

.vsc-summary-title {
    font-size: 1.82rem;
    font-weight: 700;
    color: var(--vsc-navy);
    margin: 0 0 16px;
    white-space: normal;
    word-break: break-word;
}

.vsc-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px 24px;
}

.vsc-summary-item  { display: flex; flex-direction: column; gap: 3px; }
.vsc-summary-label { font-size: 0.95rem; color: var(--vsc-muted); text-transform: uppercase; letter-spacing: .04em; }
.vsc-summary-val   { font-size: 1.2rem; font-weight: 700; color: var(--vsc-text); }

/* Right zone — results panel */
.vsc-summary-results {
    background: var(--vsc-navy);
    display: flex;
    align-items: center;
    gap: 0;
    padding: 22px 32px;
    flex-shrink: 0;
}

.vsc-summary-result-item {
    text-align: center;
    padding: 0 24px;
}

.vsc-summary-result-pct {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--vsc-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.vsc-summary-result-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255,255,255,.65);
}

.vsc-summary-result-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,.2);
    flex-shrink: 0;
}

/* Responsive summary */
@media (max-width: 580px) {
    .vsc-summary { flex-direction: column; }
    .vsc-summary-inputs { border-left: none; border-top: 5px solid var(--vsc-primary); }
    .vsc-summary-results { justify-content: center; padding: 20px; }
    .vsc-summary-result-pct { font-size: 2rem; }
}

/* ══ RESPONSIVE ══════════════════════════════════════════════ */
@media (max-width: 720px) {
    .vsc-top {
        grid-template-columns: 1fr;
    }
    .vsc-flow {
        order: -1; /* diagram above sliders on mobile */
    }
    #vsc-flow-svg { max-width: 220px; }
    .vsc-results {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .vsc-donut-wrap { max-width: 280px; margin: 0 auto; width: 100%; }
}
.form-shortcode .wpcf7-form{
    max-width: 1120px;
    margin: 0 auto;
}
@media (max-width: 480px) {
    .vsc-wrap { padding: 24px; }
    .vsc-field-header { flex-direction: column; gap: 1px; }
    
}
@media only screen and (max-width: 767px){
.elementor-shortcode
    {
        
        
        margin:0 auto;
    }
}