/**
 * Blocksy diKemasPack - Kalkulator Efisiensi Styles
 * Prefix: dikpack
 */

.dikpack-calc-section {
  --ink: #1F232A;
  --ink-2: #2A2F38;
  --ink-3: #353B46;
  --yellow: #FFC20E;
  --yellow-2: #FFD34D;
  --yellow-soft: #FFF4CC;
  --paper: #F0F1F3;
  --white: #FFFFFF;
  --text: #1F232A;
  --muted: #5B6270;
  --line: #D9DCE1;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9BEC7;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(20, 24, 30, .35);
  --max: 1180px;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  
  background: var(--ink);
  color: var(--on-dark);
}



/* Calculator Grid */
.dikpack-calc-section .calc {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

@media (min-width: 900px) {
  .dikpack-calc-section .calc {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

.dikpack-calc-section .calc > * {
  min-width: 0;
}

/* Calculator Input Column */
.dikpack-calc-section .calc-in {
  background: var(--ink-2);
  border-radius: 18px 18px 0 0;
  padding: 26px;
}

@media (min-width: 900px) {
  .dikpack-calc-section .calc-in {
    border-radius: 18px 0 0 18px;
    padding: 34px;
  }
}

.dikpack-calc-section .grp-t {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-3);
}

.dikpack-calc-section .grp-t:not(:first-child) {
  margin-top: 30px;
}

.dikpack-calc-section .field {
  margin-bottom: 22px;
}

.dikpack-calc-section .field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 8px;
  gap: 10px;
  color: #fff;
  font-size: 15.5px;
}

.dikpack-calc-section .field label output {
  font-family: var(--display);
  font-size: 24px;
  color: var(--yellow);
  font-weight: 700;
  white-space: nowrap;
}

.dikpack-calc-section input[type=range] {
  width: 100%;
  accent-color: var(--yellow);
  height: 28px;
  cursor: pointer;
  display: block;
}

.dikpack-calc-section .field small {
  color: var(--on-dark-muted);
  font-size: 14px;
  display: block;
  margin-top: 5px;
  line-height: 1.4;
}

.dikpack-calc-section .money {
  display: flex;
  align-items: center;
  background: var(--ink);
  border: 1.5px solid var(--ink-3);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .15s;
}

.dikpack-calc-section .money:focus-within {
  border-color: var(--yellow);
}

.dikpack-calc-section .money span {
  padding: 0 4px 0 14px;
  font-weight: 700;
  color: var(--on-dark-muted);
  font-size: 18px;
}

.dikpack-calc-section .money input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  padding: 8px 14px 8px 4px;
  outline: none;
}

/* Calculator Output Column */
.dikpack-calc-section .calc-out {
  background: var(--yellow);
  color: var(--ink);
  border-radius: 0 0 18px 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 900px) {
  .dikpack-calc-section .calc-out {
    border-radius: 0 18px 18px 0;
    padding: 34px;
  }
}

.dikpack-calc-section .out-blk {
  border-bottom: 2px solid rgba(31, 35, 42, .15);
  padding-bottom: 16px;
}

.dikpack-calc-section .ot {
  display: block;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
  color: var(--ink);
}

.dikpack-calc-section .duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dikpack-calc-section .duo div {
  min-width: 0;
  background: rgba(255, 255, 255, .45);
  border-radius: 10px;
  padding: 10px 12px;
}

.dikpack-calc-section .duo em {
  display: block;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.dikpack-calc-section .duo b {
  display: block;
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
}

.dikpack-calc-section .duo span {
  font-size: 13.5px;
  color: var(--ink);
}

.dikpack-calc-section .pill-x {
  margin: 12px 0 0 0;
  font-size: 15.5px;
  color: var(--ink);
}

.dikpack-calc-section .pill-x strong {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
}

.dikpack-calc-section .need {
  font-size: 16px;
  margin: 0 0 10px 0;
  color: var(--ink);
}

.dikpack-calc-section .perpack {
  margin: 10px 0 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* Save Highlight Box */
.dikpack-calc-section .save {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 18px 20px;
}

.dikpack-calc-section .save small {
  display: block;
  color: var(--on-dark-muted);
  font-weight: 600;
  font-size: 15px;
}

.dikpack-calc-section .save strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.05;
  margin: 4px 0;
}

.dikpack-calc-section .save span {
  display: block;
  color: var(--on-dark-muted);
  font-size: 14.5px;
  line-height: 1.4;
}

.dikpack-calc-section .save.neg strong {
  color: #fff;
  font-size: 28px;
}

.dikpack-calc-section .calc-out .fine {
  font-size: 13.5px;
  opacity: .85;
  line-height: 1.5;
  margin: 0;
  color: var(--ink);
}

/* CTA Button */
.dikpack-calc-section .calc-out .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--ink);
  color: var(--yellow);
  transition: transform .15s ease, background .15s ease;
  align-self: flex-start;
  margin-top: auto;
}

.dikpack-calc-section .calc-out .btn:hover {
  transform: translateY(-2px);
  background: var(--ink-2);
}
