
/* =========================================================
   KUTAISI CARGO V8 — Calculator polish
   ========================================================= */

.v8-calculator-shell{
  max-width:1040px;
  margin:0 auto;
}

.v8-progress{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:28px 0 20px;
}

.v8-progress button{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  display:flex;
  align-items:center;
  gap:9px;
  opacity:.45;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  padding:0;
}

.v8-progress button b{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.08);
  transition:.2s ease;
}

.v8-progress button.active,
.v8-progress button.complete{
  opacity:1;
}

.v8-progress button.active b{
  background:var(--color-primary,#ff6b00);
  color:#fff;
  box-shadow:0 0 0 6px rgba(255,107,0,.12);
}

.v8-progress button.complete b{
  background:rgba(54,211,153,.18);
  color:#47d9a0;
}

.v8-progress>i{
  width:52px;
  height:2px;
  background:rgba(255,255,255,.12);
}

.v8-live-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:16px;
}

.v8-live-summary>div{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  border-radius:14px;
  padding:12px 14px;
}

.v8-live-summary small{
  display:block;
  opacity:.55;
  font-size:11px;
  margin-bottom:4px;
}

.v8-live-summary strong{
  display:block;
  font-size:14px;
}

.v8-step-card{
  background:rgba(7,17,31,.96);
  border:1px solid rgba(255,255,255,.09);
  border-radius:26px;
  padding:28px;
  color:#fff;
  box-shadow:0 20px 60px rgba(0,0,0,.16);
}

.v8-step-card[hidden]{
  display:none!important;
}

.v8-step-title{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:22px;
}

.v8-step-title>span{
  flex:0 0 auto;
  font-size:12px;
  font-weight:900;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(255,107,0,.15);
  color:#ff914a;
}

.v8-step-title strong{
  display:block;
  font-size:22px;
  line-height:1.25;
}

.v8-step-title small{
  display:block;
  opacity:.66;
  margin-top:3px;
}

.v8-service-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.v8-inline-fields,
.v8-details-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.v8-inline-fields{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.v8-distance-card{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:20px;
  padding:26px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
}

.v8-distance-card>i{
  font-size:34px;
  color:#ff7a1a;
}

.v8-distance-card label{
  font-weight:800;
  display:block;
  margin-bottom:8px;
}

.v8-distance-card small{
  display:block;
  opacity:.58;
  margin-top:7px;
}

.v8-waste-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:16px;
}

.v8-help-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.v8-help-grid label{
  position:relative;
}

.v8-help-grid label input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.v8-help-grid label span{
  height:100%;
  min-height:152px;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:18px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  cursor:pointer;
  background:rgba(255,255,255,.025);
  transition:.2s ease;
}

.v8-help-grid label span:hover{
  transform:translateY(-2px);
  border-color:rgba(255,122,26,.45);
}

.v8-help-grid input:checked+span{
  border-color:#ff7a1a;
  background:rgba(255,122,26,.11);
  box-shadow:0 0 0 3px rgba(255,122,26,.08);
}

.v8-help-grid i{
  font-size:27px;
  color:#ff7a1a;
}

.v8-help-grid small{
  opacity:.64;
}

.v8-switches{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}

.v8-switches .modern-switch{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
  border-radius:14px;
  padding:13px;
}

.v8-switches .modern-switch[hidden]{
  display:none!important;
}

.v8-promo-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:end;
  margin-top:18px;
}

.v8-promo-row>small{
  grid-column:1/-1;
}

.v8-promo-ok{
  color:#47d9a0;
}

.v8-promo-error{
  color:#ff9393;
}

.v8-step-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:24px;
}

.v8-step-actions-end{
  justify-content:flex-end;
}

.v8-validation{
  color:#ffb3b3;
  background:rgba(255,72,72,.1);
  border:1px solid rgba(255,72,72,.18);
  border-radius:12px;
  padding:10px 12px;
  margin:14px 0 0;
  font-size:13px;
}

.v8-info-note{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:16px;
  padding:12px 14px;
  border-radius:13px;
  background:rgba(47,132,255,.09);
  border:1px solid rgba(47,132,255,.16);
}

.v8-info-note i{
  color:#6ba7ff;
  margin-top:2px;
}

.v8-result{
  margin-top:18px;
}

.v8-result.is-ready{
  animation:v8ResultIn .35s ease;
}

@keyframes v8ResultIn{
  from{
    opacity:.55;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:none;
  }
}

@media(max-width:820px){
  .v8-service-grid,
  .v8-help-grid,
  .v8-inline-fields,
  .v8-details-grid,
  .v8-waste-fields,
  .v8-switches,
  .v8-live-summary{
    grid-template-columns:1fr;
  }

  .v8-progress{
    gap:6px;
  }

  .v8-progress>i{
    width:24px;
  }

  .v8-progress button span{
    display:none;
  }

  .v8-step-card{
    padding:18px;
    border-radius:20px;
  }

  .v8-distance-card{
    grid-template-columns:1fr;
  }

  .v8-promo-row{
    grid-template-columns:1fr;
  }

  .v8-promo-row>small{
    grid-column:auto;
  }
}
