/* Styling */
.mlc-card{
  max-width:720px;
  margin:16px auto;
  padding:30px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  font:16px/1.4 system-ui,-apple-system,Segoe UI,Roboto
}
.mlc-card h2{
  font-size:40px;
  color: #333645;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}
.mlc-card label{
  display:block;
  margin:14px 0 6px;
  color:#333;
  font-weight:600
}
.mlc-row{
  display:flex;
  align-items:center;
  gap:12px
}
.mlc-card input[type=range]{
  flex:1
}
.mlc-card output{
  min-width:82px;
  text-align:right;
  font-variant-numeric:tabular-nums
}
.mlc-pillgrp{
  display:flex;
  gap:10px;
  margin:6px 0 4px
}
.mlc-pillgrp button{
  border:2px solid #fec415 !important;
  color:#fec415 !important;
  background:#fff !important;
  padding:8px 12px !important;
  border-radius:50px !important;
  font-weight:700;
  cursor:pointer;
  height: 38px;
   width: 38px;
   line-height: 1.2 !important;
}
.mlc-pillgrp button:hover{
  background:#fec415 !important;
  color:#fff !important;
  border:2px solid #fec415 !important;
}
.mlc-pillgrp button.on{
  background:#fec415 !important;
  color:#fff !important;
  border:2px solid #fec415 !important;
}
.mlc-results{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px
}
.mlc-kpi{
  background:#f2f6ff;
  border:1px solid #e1e9ff;
  border-radius:14px;
  padding:12px
}
.kpi-label{
  color:#6b7280;
  font-size:13px
}
.kpi-value{
  font-size:20px;
  font-weight:600
}
.mlc-cta {
    display: inline-block;
    margin: 10px 0 0;
    background: #fec415;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}
a.mlc-cta:hover {
	color:#fff;
}
@media (min-width:680px){
  .mlc-results{
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
}



.mlc-card input[type="range"] {
  -webkit-appearance: none; 
  width: 100%;
  height: 6px;
  background: transparent;
}


.mlc-card input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: #ddd;
}
.mlc-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  background: #fec415; 
  border-radius: 50%;
  border: 2px solid white;
  margin-top: -5px;     
  position: relative;
  z-index: 2;
}

.mlc-card input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(#fec415 0 0) no-repeat #ddd;
  background-size: var(--sx,0%) 100%;
}
.mlc-card input[type="range"]:focus {
  outline: none;
}


.mlc-card input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #ddd;
}
.mlc-card input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: #fec415;
}
.mlc-card input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  background: #1e73be;
  border-radius: 50%;
  border: 2px solid white;
}


.mlc-card input[type="range"]::-ms-fill-lower { background: #fec415; }
.mlc-card input[type="range"]::-ms-fill-upper { background: #ddd; }


.mlc-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fec415; 
  border: 2px solid #fff;  
  cursor: pointer;
  margin-top: -6px;     
}

.mlc-card input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fec415;    
  border: 2px solid #fff;
  cursor: pointer;
}

.mlc-card input[type="range"]::-ms-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fec415;
  border: 2px solid #fff;
  cursor: pointer;
}
@media only screen and (max-width: 667px) {
	.mlc-card {
    padding: 20px;
    }
    .mlc-card h2 {
        font-size: 22px !important;
        font-weight: 500;
    }
    .kpi-label {
    font-size: 12px;
}
    canvas.mlc-donut{
    height: 280px !important;
    width: 280px !important;
	}
	
}

	.mlc-row input {
        border: none !important;
    }

    .mlc-row input:focus {
        outline: none !important;
    }