/* ============================================================
   깨알도구
   차량 연비 계산기 전용 CSS
   ============================================================ */

.fuel-calculator {
  align-items: stretch;
}

/* ============================================================
   COST TITLE
   ============================================================ */

.cost-title {
  margin-top: 5px;
}

.cost-title span {
  display: inline-block;

  margin-left: 4px;

  padding: 2px 5px;

  border-radius: 999px;

  background: var(--surface-soft);

  color: var(--text-soft);

  font-size: 12px;

  font-weight: 700;

  vertical-align: middle;
}

/* ============================================================
   RESULT GRID
   ============================================================ */

.fuel-result-grid {
  margin-top: 16px;

  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ============================================================
   COST RESULT
   ============================================================ */

.fuel-cost-box {
  margin-top: 14px;

  padding: 11px 12px;

  border: 1px solid var(--line);

  border-radius: 11px;

  background: #fff;
}

.fuel-cost-title {
  margin-bottom: 4px;

  color: var(--text);

  font-size: 12px;

  font-weight: 900;
}

.fuel-cost-row {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 10px;

  min-height: 34px;

  border-bottom: 1px solid #efeee9;
}

.fuel-cost-row:last-child {
  border-bottom: 0;
}

.fuel-cost-row span {
  color: var(--text-soft);

  font-size: 12px;
}

.fuel-cost-row strong {
  color: var(--text);

  font-size: 12px;

  font-weight: 900;

  text-align: right;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 520px) {
  .fuel-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
