:root {
  --zc-purple: #7c3aed;
  --zc-purple-form-control: #b58bfd;
  --zc-blue: #3b82f6;
  --zc-orange: #fb923c;
  --zc-bg: #f8fafc;
  --zc-text: #0f172a;
  --zc-white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}


.text-benefit{
  color:var(--zc-purple);
}

.zc-main{
    background: linear-gradient(135deg,var(--zc-bg),var(--zc-white));
}


/* ======================================================
   SIP CALCULATOR PREMIUM REDESIGN
====================================================== */

/* ======================================================
   SIP HERO COMPARISON REDESIGN
====================================================== */

.zc-sip-shell{
  background-image: url('../images/hero-bg.png'), linear-gradient(180deg,#0f2c63 0%, #0f2c63 38%, #f8fafc 38%);
}

.zc-sip-hero-head{
  padding-top:12px;
}

.zc-sip-breadcrumb{
  font-size:13px;
  color:var(--zc-orange);
  margin-bottom:18px;
}

.zc-sip-breadcrumb a{
  color:var(--zc-white);
  text-decoration:none;
}

.zc-sip-breadcrumb span{
  margin:0 8px;
}

.zc-sip-title{
  font-size:48px;
  font-weight:700;
  color:var(--zc-white);
  margin-bottom:10px;
}

.zc-sip-desc{
  color:var(--zc-orange);
  font-size:17px;
  max-width:760px;
}

.zc-sip-hero-card{
  background:var(--zc-bg);
  border-radius:20px;
  padding:28px;
  box-shadow:0 24px 60px rgba(0,0,0,.12);
}

.zc-summary-side{
  border-left:1px solid #edf1f7;
  padding-left:24px;
}

.sip-card{
  background:#ffffff;
  border:1px solid #edf1f7;
  border-radius:16px;
  padding:18px;
  box-shadow:0 4px 14px rgba(0,0,0,.03);
}

.sip-summary-card{
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #edf1f7;
  background:#fbfcff;
  box-shadow:0 6px 16px rgba(0,0,0,.04);
}

.sip-summary-card h6{
  font-size:13px;
  margin-bottom:8px;
  font-weight:600;
}

.sip-summary-card h4{
  font-size:18px;
  font-weight:700;
  margin-bottom:6px;
}

.sip-summary-card h3{
  font-size:18px;
  font-weight:700;
}

.sip-summary-card p{
  margin-bottom:4px;
}

.form-range::-webkit-slider-thumb{
  background:#f59e0b;
  width:16px;
  height:16px;
  border:none;
}

.form-range::-moz-range-thumb{
  background:#f59e0b;
}

@media(max-width:992px){

  .zc-summary-side{
    border-left:none;
    padding-left:0;
    border-top:1px solid #edf1f7;
    padding-top:20px;
  }

}

@media(max-width:768px){

  .zc-sip-title{
    font-size:30px;
  }

  .zc-sip-desc{
    font-size:14px;
  }

  .zc-sip-hero-card{
    padding:18px;
  }

}


.sip-inline-summary{
  margin-top:12px;
  background:#f8fbff;
  border:1px solid #e5edf8;
}

.sip-inline-summary h6{
  font-size:12px;
  margin-bottom:6px;
}

.sip-inline-summary h4,
.sip-inline-summary h3{
  font-size:16px;
}


.metric-block p{
  font-size:11px;
  color:#64748b;
  margin-bottom:2px;
}

.metric-block h4,
.metric-block h3{
  font-size:16px;
  margin-bottom:0;
  font-weight:700;
}

.sip-best-badge{
  font-size:10px;
  font-weight:600;
  padding:4px 8px;
  border-radius:20px;
  background:#ecfdf5;
  color:#15803d;
  border:1px solid #bbf7d0;
}

.sip-inline-summary{
  background:#ffffff;
  border:1px solid #e8eef8;
  box-shadow:0 8px 22px rgba(0,0,0,.04);
  transition:.25s ease;
}

.sip-inline-summary:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(0,0,0,.06);
}


.mini-donut{
  width:68px;
  height:68px;
  border-radius:50%;
  background:
    conic-gradient(
      var(--zc-purple) 0 calc(var(--gain)*1%),
      #000 calc(var(--gain)*1%) 100%
    );
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  flex-shrink:0;
}

.mini-donut::before{
  content:"";
  position:absolute;
  width:46px;
  height:46px;
  border-radius:50%;
  background:#fff;
}

.mini-donut span{
  position:relative;
  font-size:11px;
  font-weight:700;
  color:#0f172a;
}


@media (max-width: 768px){

  .sip-toolbar-mobile{
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px;
  }

  .sip-toolbar-mobile .sip-share-buttons{
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .sip-toolbar-mobile #addSipRow{
    width: 100%;
  }

}


@media (max-width: 768px){

  /* HERO CONTAINER */
  .zc-sip-hero-card{
    padding:16px;
    border-radius:16px;
  }

  /* EACH SIP ROW */
  .sip-row{
    padding:14px;
    border-radius:14px;
  }

  /* ALL INPUT COLUMNS FULL WIDTH */
  .sip-row > div[class*="col-md-2"],
  .sip-row > div[class*="col-md-5"],
  .sip-row > div[class*="col-md-1"]{
    width:100%;
    max-width:100%;
    flex:0 0 100%;
  }

  /* INPUT SPACING */
  .sip-row .field-group{
    margin-bottom:10px;
  }

  /* SUMMARY CARD BELOW INPUTS */
  .sip-inline-summary{
    margin-top:10px;
    padding:14px;
  }

  /* SUMMARY INTERNAL STACK */
  .sip-inline-summary > div{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:14px;
  }

  /* METRICS STACK */
  .sip-inline-summary .metric-block{
    width:100%;
  }

  /* DONUT BELOW METRICS */
  .mini-donut{
    margin-top:6px;
    width:62px;
    height:62px;
    align-self:flex-start;
  }

  .mini-donut::before{
    width:42px;
    height:42px;
  }

  .mini-donut span{
    font-size:10px;
    line-height:1.1;
  }

  /* DELETE BUTTON RIGHT ALIGN */
  .sip-delete{
    margin-top:8px;
    float:right;
  }

  /* SHARE TOOLBAR */
  .sip-toolbar-mobile{
    flex-direction:column;
    align-items:stretch !important;
    gap:12px;
  }

  .sip-toolbar-mobile .sip-share-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    width:100%;
  }

  .sip-toolbar-mobile .share-btn{
    flex:1 1 calc(50% - 4px);
    justify-content:center;
  }

  .sip-toolbar-mobile #addSipRow{
    width:100%;
  }

  /* TITLE */
  .zc-sip-title{
    font-size:30px;
    line-height:1.2;
  }

  .zc-sip-desc{
    font-size:14px;
    line-height:1.5;
  }

}