/**
 * Blocksy diKemasPack - Kapasitas Packing Styles
 * Prefix: dikpack
 */


.dikpack-calc-card {
  --ink: #1f2329;
  --ink-2: #2b3038;
  --ink-3: #3a404a;
  --y: #ffc20e;
  --y-d: #e9ae00;
  --y-soft: #fff4cc;
  --bg: #eeeff1;
  --white: #fff;
  --muted: #5d6470;
  --muted-d: #a6adb8;
  --line: #d6d9de;
  --coffee: #6b4226;
  --coffee-l: #a06a43;
  --r: 10px;
  --head: 'Oswald', system-ui, sans-serif;

  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--line);
  box-sizing: border-box;
}

.dikpack-calc-card * {
  box-sizing: border-box;
}

.dikpack-calc-card h3 {
  font-family: var(--head);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--ink);
  line-height: 1.1;
}

.dikpack-calc-card .sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 22px 0;
  line-height: 1.5;
}

.dikpack-calc-card .field {
  margin-bottom: 18px;
}

.dikpack-calc-card .field:last-of-type {
  margin-bottom: 0;
}

.dikpack-calc-card .field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--ink);
}

.dikpack-calc-card .field label output {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  background: var(--y-soft);
  padding: 2px 10px;
  border-radius: 4px;
  line-height: 1.2;
}

.dikpack-calc-card input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg);
  outline: none;
  cursor: pointer;
  display: block;
}

.dikpack-calc-card input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--y);
  border: 4px solid var(--ink);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.dikpack-calc-card input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.dikpack-calc-card input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--y);
  border: 4px solid var(--ink);
  cursor: pointer;
}

.dikpack-calc-card .res {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 500px) {
  .dikpack-calc-card .res {
    grid-template-columns: 1fr;
  }
}

.dikpack-calc-card .res div {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
}

.dikpack-calc-card .res div.hl {
  background: var(--ink);
  color: #fff;
}

.dikpack-calc-card .res small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.dikpack-calc-card .res div.hl small {
  color: var(--muted-d);
}

.dikpack-calc-card .res b {
  font-family: var(--head);
  font-size: 34px;
  font-weight: 800;
  display: block;
  line-height: 1.1;
  color: var(--ink);
}

.dikpack-calc-card .res div.hl b {
  color: var(--y);
}

.dikpack-calc-card .res .unit {
  font-size: 13px;
  color: var(--muted);
}

.dikpack-calc-card .res div.hl .unit {
  color: var(--muted-d);
}

.dikpack-calc-card .verdict {
  margin-top: 16px;
  padding: 16px;
  border-radius: 10px;
  background: var(--y);
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}

.dikpack-calc-card .verdict b {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 800;
}

.dikpack-calc-card .disc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}
